Files
jikimo_sf/sf_machine_connect/views/machine_monitor.xml
2023-03-10 18:18:12 +08:00

171 lines
10 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="view_tree_mrs_machine_tool_inherited" model="ir.ui.view">
<field name="name">sf_base_extension</field>
<field name="model">sf.machine_tool</field>
<field name="inherit_id" ref="sf_base.sf_machine_tool_form"/>
<field eval="20" name="priority"/>
<field name="arch" type="xml">
<!-- <xpath expr="//field[@name='knife_type']" position="before">-->
<xpath expr="//form//notebook//page[1]" position="inside">
<!-- <xpath expr="//page[@name='other']" position="before">-->
<notebook>
<page string="机床监控">
<!-- <group string="监控">-->
<group col='12'>
<field name="timestamp"/>
<field name="signed"/>
<field name="status"/>
<field name="time_on"/>
<field name="time_on_now"/>
<field name="run_status"/>
<field name="run_time"/>
<field name="cut_status"/>
<!-- <field name="cut_time"/>-->
<field name="program"/>
<field name="tool_num"/>
<field name="spindle_speed"/>
</group>
<group string='刀位统计' col='8'>
<field name="tool_num_process_time1"/>
<field name="tool_num_process_time2"/>
<field name="tool_num_process_time3"/>
<field name="tool_num_process_time4"/>
<field name="tool_num_process_time5"/>
<field name="tool_num_process_time6"/>
<field name="tool_num_process_time7"/>
<field name="tool_num_process_time8"/>
<field name="tool_num_process_time9"/>
<field name="tool_num_process_time10"/>
<field name="tool_num_process_time11"/>
<field name="tool_num_process_time12"/>
<field name="tool_num_process_time13"/>
<field name="tool_num_process_time14"/>
<field name="tool_num_process_time15"/>
<field name="tool_num_process_time16"/>
<field name="tool_num_process_time17"/>
<field name="tool_num_process_time18"/>
<field name="tool_num_process_time19"/>
<field name="tool_num_process_time20"/>
<field name="tool_num_process_time21"/>
<field name="tool_num_process_time22"/>
<field name="tool_num_process_time23"/>
<field name="tool_num_process_time24"/>
<!-- <div class="o_address_format"> -->
<!-- <label for="tool_num_process_time1" string="刀位1"/> -->
<!-- <field name="tool_num_process_time1" class="o_form_label"/> -->
<!-- <span>&amp;nbsp;</span> -->
<!-- <label for="tool_num_process_time2" string="刀位2"/> -->
<!-- <field name="tool_num_process_time2" class="o_form_label"/> -->
<!-- <span>&amp;nbsp;</span> -->
<!-- <label for="tool_num_process_time3" string="刀位3"/> -->
<!-- <field name="tool_num_process_time3" class="o_form_label"/> -->
<!-- <span>&amp;nbsp;</span> -->
<!-- <label for="tool_num_process_time4" string="刀位4"/> -->
<!-- <field name="tool_num_process_time4" class="o_form_label"/> -->
<!-- <div></div> -->
<!-- <label for="tool_num_process_time5" string="刀位5"/> -->
<!-- <field name="tool_num_process_time5" class="o_form_label"/> -->
<!-- <span>&amp;nbsp;</span> -->
<!-- <label for="tool_num_process_time6" string="刀位6"/> -->
<!-- <field name="tool_num_process_time6" class="o_form_label"/> -->
<!-- <span>&amp;nbsp;</span> -->
<!-- <label for="tool_num_process_time7" string="刀位7"/> -->
<!-- <field name="tool_num_process_time7" class="o_form_label"/> -->
<!-- <span>&amp;nbsp;</span> -->
<!-- <label for="tool_num_process_time8" string="刀位8"/> -->
<!-- <field name="tool_num_process_time8" class="o_form_label"/> -->
<!-- <div></div> -->
<!-- <label for="tool_num_process_time9" string="刀位9"/> -->
<!-- <field name="tool_num_process_time9" class="o_form_label"/> -->
<!-- <span>&amp;nbsp;</span> -->
<!-- <label for="tool_num_process_time10" string="刀位10"/> -->
<!-- <field name="tool_num_process_time10" class="o_form_label"/> -->
<!-- <span>&amp;nbsp;</span> -->
<!-- <label for="tool_num_process_time11" string="刀位11"/> -->
<!-- <field name="tool_num_process_time11" class="o_form_label"/> -->
<!-- <span>&amp;nbsp;</span> -->
<!-- <label for="tool_num_process_time12" string="刀位12"/> -->
<!-- <field name="tool_num_process_time12" class="o_form_label"/> -->
<!-- <div></div> -->
<!-- <label for="tool_num_process_time13" string="刀位13"/> -->
<!-- <field name="tool_num_process_time13" class="o_form_label"/> -->
<!-- <span>&amp;nbsp;</span> -->
<!-- <label for="tool_num_process_time14" string="刀位14"/> -->
<!-- <field name="tool_num_process_time14" class="o_form_label"/> -->
<!-- <span>&amp;nbsp;</span> -->
<!-- <label for="tool_num_process_time15" string="刀位15"/> -->
<!-- <field name="tool_num_process_time15" class="o_form_label"/> -->
<!-- <span>&amp;nbsp;</span> -->
<!-- <label for="tool_num_process_time16" string="刀位16"/> -->
<!-- <field name="tool_num_process_time16" class="o_form_label"/> -->
<!-- <div></div> -->
<!-- <label for="tool_num_process_time17" string="刀位17"/> -->
<!-- <field name="tool_num_process_time17" class="o_form_label"/> -->
<!-- <span>&amp;nbsp;</span> -->
<!-- <label for="tool_num_process_time18" string="刀位18"/> -->
<!-- <field name="tool_num_process_time18" class="o_form_label"/> -->
<!-- <span>&amp;nbsp;</span> -->
<!-- <label for="tool_num_process_time19" string="刀位19"/> -->
<!-- <field name="tool_num_process_time19" class="o_form_label"/> -->
<!-- <span>&amp;nbsp;</span> -->
<!-- <label for="tool_num_process_time20" string="刀位20"/> -->
<!-- <field name="tool_num_process_time20" class="o_form_label"/> -->
<!-- <div></div> -->
<!-- <label for="tool_num_process_time21" string="刀位21"/> -->
<!-- <field name="tool_num_process_time21" class="o_form_label"/> -->
<!-- <span>&amp;nbsp;</span> -->
<!-- <label for="tool_num_process_time22" string="刀位22"/> -->
<!-- <field name="tool_num_process_time22" class="o_form_label"/> -->
<!-- <span>&amp;nbsp;</span> -->
<!-- <label for="tool_num_process_time23" string="刀位23"/> -->
<!-- <field name="tool_num_process_time23" class="o_form_label"/> -->
<!-- <span>&amp;nbsp;</span> -->
<!-- <label for="tool_num_process_time24" string="刀位24"/> -->
<!-- <field name="tool_num_process_time24" class="o_form_label"/> -->
<!-- </div> -->
</group>
</page>
<page string="机床配置">
<!-- <group string="机床配置">-->
<group>
<group string="ftp相关">
<field name="ftp_num"/>
<field name="ftp_pwd"/>
<field name="ftp_host"/>
<field name="ftp_port"/>
<field name="ftp_remote_path"/>
</group>
<group string="补偿值相关">
<field name="x_compensation_node"/>
<field name="y_compensation_node"/>
</group>
<group string="数采相关">
<field name="machine_ip"/>
<field name="machine_signed"/>
<field name="machine_status"/>
<field name="machine_time_on"/>
<field name="machine_tool_num"/>
<field name="machine_program"/>
<field name="machine_run_status"/>
<field name="machine_run_time"/>
<field name="machine_cut_time"/>
<field name="machine_cut_status"/>
<field name="machine_emg_status"/>
<field name="machine_mode"/>
<field name="machine_spindle_speed"/>
</group>
</group>
</page>
</notebook>
</xpath>
</field>
</record>
</odoo>