| <?xml version="1.0" encoding="UTF-8"?> | 
| <ViewConfig> | 
|   <Arguments/> | 
|   <Context/> | 
|   <Model> | 
|     <DataType name="dtTH"> | 
|       <Property name="creationType">com.ld.igds.common.dto.THDto</Property> | 
|       <PropertyDef name="companyId"> | 
|         <Property></Property> | 
|         <Property name="label">组织编码</Property> | 
|       </PropertyDef> | 
|       <PropertyDef name="serId"> | 
|         <Property></Property> | 
|         <Property name="label">所属分机</Property> | 
|         <Property name="mapping"> | 
|           <Property name="mapValues">${dorado.getDataProvider("deviceSerPR#getAllSerCache").getResult()}</Property> | 
|           <Property name="keyProperty">id</Property> | 
|           <Property name="valueProperty">name</Property> | 
|         </Property> | 
|       </PropertyDef> | 
|       <PropertyDef name="depotId"> | 
|         <Property></Property> | 
|         <Property name="label">所属仓库</Property> | 
|       </PropertyDef> | 
|       <PropertyDef name="thConf"> | 
|         <Property></Property> | 
|         <Property name="label">温湿度地址</Property> | 
|       </PropertyDef> | 
|       <PropertyDef name="tempIn"> | 
|         <Property name="dataType">Double</Property> | 
|         <Property name="label">仓内温度</Property> | 
|       </PropertyDef> | 
|       <PropertyDef name="humidityIn"> | 
|         <Property name="dataType">Double</Property> | 
|         <Property name="label">仓内湿度</Property> | 
|       </PropertyDef> | 
|       <PropertyDef name="receiveDate"> | 
|         <Property name="dataType">DateTime</Property> | 
|         <Property name="label">检测时间</Property> | 
|       </PropertyDef> | 
|       <PropertyDef name="remark"> | 
|         <Property></Property> | 
|         <Property name="label">备注说明</Property> | 
|       </PropertyDef> | 
|     </DataType> | 
|     <DataType name="dataParam"> | 
|       <PropertyDef name="serId"> | 
|         <Property name="label">所属分机</Property> | 
|       </PropertyDef> | 
|       <PropertyDef name="editTag"> | 
|         <Property name="label">修改标识</Property> | 
|       </PropertyDef> | 
|       <PropertyDef name="passCode"> | 
|         <Property name="label">通道号</Property> | 
|         <Property name="dataType">Integer</Property> | 
|       </PropertyDef> | 
|       <PropertyDef name="editCol"> | 
|         <Property name="label">列号</Property> | 
|         <Property name="dataType">Integer</Property> | 
|       </PropertyDef> | 
|       <PropertyDef name="value1"> | 
|         <Property name="label">修改值</Property> | 
|         <Property name="dataType">Integer</Property> | 
|       </PropertyDef> | 
|       <PropertyDef name="value2"> | 
|         <Property name="label">修改后</Property> | 
|         <Property name="dataType">Integer</Property> | 
|       </PropertyDef> | 
|     </DataType> | 
|     <DataType name="dtGrainSerCableData"> | 
|       <Property name="creationType">com.ld.igds.grain.dto.GrainSerCableData</Property> | 
|       <PropertyDef name="passCode"> | 
|         <Property name="dataType">Integer</Property> | 
|         <Property name="label">所属通道</Property> | 
|       </PropertyDef> | 
|       <PropertyDef name="iotNum"> | 
|         <Property name="dataType">int</Property> | 
|         <Property name="label">传感器个数</Property> | 
|       </PropertyDef> | 
|       <PropertyDef name="temp"> | 
|         <Property name="dataType">Double</Property> | 
|         <Property name="label">传感器-温度</Property> | 
|       </PropertyDef> | 
|       <PropertyDef name="rootIndex"> | 
|         <Property name="dataType">int</Property> | 
|         <Property name="label">传感器-根号</Property> | 
|       </PropertyDef> | 
|       <PropertyDef name="pointIndex"> | 
|         <Property name="dataType">int</Property> | 
|         <Property name="label">传感器-点号</Property> | 
|       </PropertyDef> | 
|       <PropertyDef name="conf"> | 
|         <Property></Property> | 
|         <Property name="label">传感器-配置</Property> | 
|       </PropertyDef> | 
|       <PropertyDef name="receiveDate"> | 
|         <Property name="dataType">DateTime</Property> | 
|         <Property name="label">返回时间</Property> | 
|       </PropertyDef> | 
|       <PropertyDef name="iotErrNum"> | 
|         <Property name="dataType">int</Property> | 
|         <Property name="label">传感器故障个数</Property> | 
|       </PropertyDef> | 
|     </DataType> | 
|   </Model> | 
|   <View layout="padding:5;regionPadding:5"> | 
|     <ClientEvent name="onReady">var CABLE_EDIT_TAG = 2;//电缆编辑类型 2点号修改 3列号修改,4根号修改,5同步电缆,6根号替换
 | 
| 
 | 
| addData = function(){
 | 
|     view.get("#dsDeviceSer").insert();
 | 
|     view.get("#dialog1").set("caption","添加分机");
 | 
| 
 | 
|     view.get("#dialog1").show();
 | 
| };
 | 
| 
 | 
| delData = function(){
 | 
|     var cur = view.get("#dsDeviceSer.data:#");
 | 
|     if(!cur) return;
 | 
|     cur.setState(dorado.Entity.STATE_DELETED);
 | 
|     $confirm("确定要删除该数据么?",function(){
 | 
|         view.get("#uaSave").execute(function(){
 | 
|             cur.remove();
 | 
|         });
 | 
|     });
 | 
| };
 | 
| 
 | 
| showData = function(){
 | 
|     view.get("#dialog1").set("caption","调整分机");
 | 
|     view.get("#dialog1").show();
 | 
| };
 | 
| 
 | 
| btnCancel = function(){
 | 
|     view.get("#dialog1").hide();
 | 
| };
 | 
| 
 | 
| onDialogHide = function(){
 | 
|     var cur = view.get("#dsDeviceSer.data:#");
 | 
|     cur.cancel();
 | 
| };</ClientEvent> | 
|     <Property name="packages">font-awesome,css-common</Property> | 
|     <DataSet id="dsDeviceSer"> | 
|       <Property name="parameter"></Property> | 
|       <Property name="dataProvider">deviceSerPR#getAllSer</Property> | 
|       <Property name="dataType">[dtDeviceSer]</Property> | 
|     </DataSet> | 
|     <Container layout="regionPadding:10" layoutConstraint="top"> | 
|       <Property name="exClassName">bg-color</Property> | 
|       <Property name="height">55</Property> | 
|       <Property name="contentOverflow">hidden</Property> | 
|       <Label layoutConstraint="left"> | 
|         <Property name="text">菜单栏:</Property> | 
|       </Label> | 
|       <Button layoutConstraint="left"> | 
|         <ClientEvent name="onClick">addData();</ClientEvent> | 
|         <Property name="caption">新增</Property> | 
|         <Property name="exClassName">btn-normal</Property> | 
|         <Property name="iconClass">fa fa-plus</Property> | 
|       </Button> | 
|       <Button layoutConstraint="left"> | 
|         <ClientEvent name="onClick">showData();</ClientEvent> | 
|         <Property name="caption">修改</Property> | 
|         <Property name="exClassName">btn-warm</Property> | 
|         <Property name="iconClass">fa fa-pencil</Property> | 
|       </Button> | 
|       <Button layoutConstraint="left"> | 
|         <ClientEvent name="onClick">var currentEntity = view.get("#dsDeviceSer").get("data:#");
 | 
| dorado.MessageBox.confirm("确认需要删除记录吗?",function(){
 | 
|         view.get("#ajaxActionDel").set("parameter",{
 | 
|         id:currentEntity.get("id")
 | 
|     }).execute(function(){
 | 
|         currentEntity.remove();
 | 
|     });
 | 
| });        
 | 
| </ClientEvent> | 
|         <Property name="caption">删除</Property> | 
|         <Property name="action">ajaxActionDel</Property> | 
|         <Property name="exClassName">btn-warn</Property> | 
|         <Property name="iconClass">fa fa-trash-o</Property> | 
|       </Button> | 
|       <Button layoutConstraint="left"> | 
|         <ClientEvent name="onClick">view.get("#dsDeviceSer").flushAsync();</ClientEvent> | 
|         <Property name="caption">刷新数据</Property> | 
|         <Property name="exClassName">btn-default</Property> | 
|         <Property name="iconClass">fa fa-refresh</Property> | 
|       </Button> | 
|       <Button layoutConstraint="left"> | 
|         <Property name="caption">刷新缓存</Property> | 
|         <Property name="exClassName">btn-flush</Property> | 
|         <Property name="iconClass">fa fa-refresh</Property> | 
|         <Property name="action">ajaxRefreshCache</Property> | 
|       </Button> | 
|       <Button layoutConstraint="left"> | 
|         <ClientEvent name="onClick">view.get("#dialogTH").show();</ClientEvent> | 
|         <Property name="caption">温湿度检测</Property> | 
|         <Property name="iconClass">fa fa-eraser</Property> | 
|       </Button> | 
|       <Button layoutConstraint="left"> | 
|         <ClientEvent name="onClick">view.get("#dialogGrain").show();</ClientEvent> | 
|         <Property name="caption">电缆配置</Property> | 
|         <Property name="iconClass">fa fa-eraser</Property> | 
|       </Button> | 
|       <Button layoutConstraint="left"> | 
|         <ClientEvent name="onClick">var data = view.get("#dsDeviceSer").get("data:#");
 | 
| if(!data) return;
 | 
| 
 | 
| if("04" != data.get("type")){
 | 
|     $alert("当前命令只针对分机类型=【粮库子系统】生效!");
 | 
|     return;
 | 
| }
 | 
| view.get("#ajaxUpdateSysDepot").set("parameter",{
 | 
|     serId: data.get("id"),
 | 
|     sn: data.get("sn")
 | 
| }).execute();</ClientEvent> | 
|         <Property name="caption">同步仓库列表</Property> | 
|         <Property name="iconClass">fa fa-eraser</Property> | 
|       </Button> | 
|     </Container> | 
|     <DataGrid id="dataGridMain" layoutConstraint="center"> | 
|       <ClientEvent name="onDataRowDoubleClick">showData();</ClientEvent> | 
|       <ClientEvent name="onDataRowClick">self.set("selection",arg.data);</ClientEvent> | 
|       <Property name="dataSet">dsDeviceSer</Property> | 
|       <Property name="readOnly">true</Property> | 
|       <Property name="selectionMode">singleRow</Property> | 
|       <RowNumColumn/> | 
|       <RowSelectorColumn/> | 
|       <DataColumn name="name"> | 
|         <Property name="property">name</Property> | 
|         <Property name="align">center</Property> | 
|       </DataColumn> | 
|       <DataColumn name="id"> | 
|         <Property name="property">id</Property> | 
|         <Property name="align">center</Property> | 
|       </DataColumn> | 
|       <DataColumn name="ip"> | 
|         <Property name="property">ip</Property> | 
|         <Property name="align">center</Property> | 
|       </DataColumn> | 
|       <DataColumn name="port"> | 
|         <Property name="property">port</Property> | 
|         <Property name="align">center</Property> | 
|       </DataColumn> | 
|       <DataColumn name="status"> | 
|         <ClientEvent name="onRenderCell">arg.dom.style.background = arg.data.get("status")== 'N' ?"#FF0000":"";
 | 
| arg.processDefault = true;</ClientEvent> | 
|         <Property name="property">status</Property> | 
|         <Property name="align">center</Property> | 
|       </DataColumn> | 
|       <DataColumn name="controlModel"> | 
|         <Property name="property">controlModel</Property> | 
|         <Property name="align">center</Property> | 
|       </DataColumn> | 
|       <DataColumn name="protocol"> | 
|         <Property name="property">protocol</Property> | 
|         <Property name="align">center</Property> | 
|       </DataColumn> | 
|       <DataColumn name="updateTime"> | 
|         <Property name="property">updateTime</Property> | 
|         <Property name="align">center</Property> | 
|       </DataColumn> | 
|     </DataGrid> | 
|     <Dialog id="dialog1"> | 
|       <ClientEvent name="onHide">onDialogHide();</ClientEvent> | 
|       <Property name="width">950</Property> | 
|       <Property name="caption">新增分机</Property> | 
|       <Property name="closeable">false</Property> | 
|       <Buttons> | 
|         <Button> | 
|           <ClientEvent name="onClick">var cur = view.get("#dsDeviceSer.data:#");
 | 
| if(cur.validate() != 'ok'){
 | 
|     $alert("数据校验失败!");
 | 
| }else{
 | 
|     view.get("#updateAction1").execute(function(){
 | 
|         view.get("#dialog1").close();
 | 
|     });
 | 
| }</ClientEvent> | 
|           <Property name="caption">确定保存</Property> | 
|           <Property name="iconClass">fa fa-check</Property> | 
|           <Property name="exClassName">btn-normal</Property> | 
|         </Button> | 
|         <Button> | 
|           <ClientEvent name="onClick">btnCancel();</ClientEvent> | 
|           <Property name="caption">取消操作</Property> | 
|           <Property name="iconClass">fa fa-times</Property> | 
|           <Property name="exClassName">btn-warn</Property> | 
|         </Button> | 
|       </Buttons> | 
|       <Children> | 
|         <FieldSet layout="padding:5" layoutConstraint="padding:5"> | 
|           <Property name="caption">基本信息</Property> | 
|           <Buttons/> | 
|           <Children> | 
|             <AutoForm> | 
|               <Property name="dataSet">dsDeviceSer</Property> | 
|               <Property name="cols">*,*,*</Property> | 
|               <Property name="labelSeparator">:</Property> | 
|               <Property name="labelAlign">right</Property> | 
|               <Property name="labelWidth">90</Property> | 
|               <AutoFormElement> | 
|                 <Property name="name">id</Property> | 
|                 <Property name="property">id</Property> | 
|                 <Editor/> | 
|               </AutoFormElement> | 
|               <AutoFormElement> | 
|                 <Property name="name">name</Property> | 
|                 <Property name="property">name</Property> | 
|                 <Editor/> | 
|               </AutoFormElement> | 
|               <AutoFormElement> | 
|                 <Property name="name">status</Property> | 
|                 <Property name="property">status</Property> | 
|                 <Editor/> | 
|               </AutoFormElement> | 
|               <AutoFormElement> | 
|                 <Property name="name">ip</Property> | 
|                 <Property name="property">ip</Property> | 
|                 <Editor/> | 
|               </AutoFormElement> | 
|               <AutoFormElement> | 
|                 <Property name="name">port</Property> | 
|                 <Property name="property">port</Property> | 
|                 <Editor/> | 
|               </AutoFormElement> | 
|               <AutoFormElement> | 
|                 <Property name="name">sn</Property> | 
|                 <Property name="property">sn</Property> | 
|                 <Editor/> | 
|               </AutoFormElement> | 
|               <AutoFormElement> | 
|                 <Property name="name">type</Property> | 
|                 <Property name="property">type</Property> | 
|                 <Editor/> | 
|               </AutoFormElement> | 
|             </AutoForm> | 
|           </Children> | 
|         </FieldSet> | 
|         <FieldSet layout="padding:5" layoutConstraint="padding:5"> | 
|           <Property name="caption">参数配置</Property> | 
|           <Buttons/> | 
|           <Children> | 
|             <AutoForm> | 
|               <Property name="dataSet">dsDeviceSer</Property> | 
|               <Property name="cols">*,*,*</Property> | 
|               <Property name="labelSeparator">:</Property> | 
|               <Property name="labelAlign">right</Property> | 
|               <Property name="labelWidth">100</Property> | 
|               <AutoFormElement> | 
|                 <Property name="name">cableZ</Property> | 
|                 <Property name="property">cableZ</Property> | 
|                 <Editor/> | 
|               </AutoFormElement> | 
|               <AutoFormElement> | 
|                 <Property name="name">cableY</Property> | 
|                 <Property name="property">cableY</Property> | 
|                 <Editor/> | 
|               </AutoFormElement> | 
|               <AutoFormElement> | 
|                 <Property name="name">cableX</Property> | 
|                 <Property name="property">cableX</Property> | 
|                 <Editor/> | 
|               </AutoFormElement> | 
|               <AutoFormElement> | 
|                 <Property name="name">cableStart</Property> | 
|                 <Property name="property">cableStart</Property> | 
|                 <Editor/> | 
|               </AutoFormElement> | 
|               <AutoFormElement> | 
|                 <Property name="name">controlModel</Property> | 
|                 <Property name="property">controlModel</Property> | 
|                 <Editor/> | 
|               </AutoFormElement> | 
|               <AutoFormElement> | 
|                 <Property name="name">cableType</Property> | 
|                 <Property name="property">cableType</Property> | 
|                 <Editor/> | 
|               </AutoFormElement> | 
|               <AutoFormElement> | 
|                 <Property name="name">cableFormat</Property> | 
|                 <Property name="property">cableFormat</Property> | 
|                 <Editor/> | 
|               </AutoFormElement> | 
|               <AutoFormElement> | 
|                 <Property name="name">powerModel</Property> | 
|                 <Property name="property">powerModel</Property> | 
|                 <Editor/> | 
|               </AutoFormElement> | 
|               <AutoFormElement> | 
|                 <Property name="name">protocol</Property> | 
|                 <Property name="property">protocol</Property> | 
|                 <Editor/> | 
|               </AutoFormElement> | 
|             </AutoForm> | 
|           </Children> | 
|         </FieldSet> | 
|         <FieldSet layout="padding:5" layoutConstraint="padding:5"> | 
|           <Property name="caption">其他信息</Property> | 
|           <Buttons/> | 
|           <Children> | 
|             <AutoForm> | 
|               <Property name="dataSet">dsDeviceSer</Property> | 
|               <Property name="cols">*,*</Property> | 
|               <Property name="labelSeparator">:</Property> | 
|               <Property name="labelAlign">right</Property> | 
|               <Property name="labelWidth">100</Property> | 
|               <AutoFormElement> | 
|                 <Property name="name">producer</Property> | 
|                 <Property name="property">producer</Property> | 
|                 <Editor/> | 
|               </AutoFormElement> | 
|               <AutoFormElement> | 
|                 <Property name="name">contactUser</Property> | 
|                 <Property name="property">contactUser</Property> | 
|                 <Property name="label">联系人</Property> | 
|                 <Editor/> | 
|               </AutoFormElement> | 
|               <AutoFormElement> | 
|                 <Property name="name">contactPhone</Property> | 
|                 <Property name="property">contactPhone</Property> | 
|                 <Property name="label">联系电话</Property> | 
|                 <Editor/> | 
|               </AutoFormElement> | 
|               <AutoFormElement> | 
|                 <Property name="name">updateTime</Property> | 
|                 <Property name="property">updateTime</Property> | 
|                 <Property name="readOnly">true</Property> | 
|                 <Editor/> | 
|               </AutoFormElement> | 
|               <AutoFormElement> | 
|                 <Property name="name">updateUser</Property> | 
|                 <Property name="property">updateUser</Property> | 
|                 <Property name="readOnly">true</Property> | 
|                 <Editor/> | 
|               </AutoFormElement> | 
|               <AutoFormElement layoutConstraint="colSpan:2"> | 
|                 <Property name="name">remark</Property> | 
|                 <Property name="property">remark</Property> | 
|                 <Property name="editorType">TextArea</Property> | 
|                 <Editor/> | 
|               </AutoFormElement> | 
|             </AutoForm> | 
|           </Children> | 
|         </FieldSet> | 
|       </Children> | 
|       <Tools/> | 
|     </Dialog> | 
|     <UpdateAction id="updateAction1"> | 
|       <Property name="dataResolver">deviceSerPR#updateSer</Property> | 
|       <Property name="successMessage">保存完成!!</Property> | 
|       <UpdateItem> | 
|         <Property name="dataSet">dsDeviceSer</Property> | 
|         <Property name="dataPath">[#current]</Property> | 
|       </UpdateItem> | 
|     </UpdateAction> | 
|     <AjaxAction id="ajaxActionDel"> | 
|       <Property name="service">deviceSerPR#delSerById</Property> | 
|     </AjaxAction> | 
|     <AjaxAction id="ajaxRefreshCache"> | 
|       <Property name="service">deviceSerPR#refreshCache</Property> | 
|       <Property name="successMessage">刷新成功!</Property> | 
|       <Property name="confirmMessage">确定要刷新缓存么?</Property> | 
|     </AjaxAction> | 
|     <UpdateAction id="ajaxUpdateSysDepot"> | 
|       <Property name="dataResolver">grainMacPR#updateSysDepotConf</Property> | 
|       <Property name="successMessage">命令发送完成,待终端反馈信息……</Property> | 
|       <UpdateItem> | 
|         <Property name="dataSet">dsDeviceSer</Property> | 
|         <Property name="dataPath">[#current]</Property> | 
|       </UpdateItem> | 
|     </UpdateAction> | 
|     <Dialog id="dialogTH"> | 
|       <Property name="caption">温湿度信息</Property> | 
|       <Property name="width">75%</Property> | 
|       <Property name="height">75%</Property> | 
|       <Buttons> | 
|         <Button> | 
|           <ClientEvent name="onClick">view.get("#dsTH").flushAsync();</ClientEvent> | 
|           <Property name="caption">刷新数据</Property> | 
|         </Button> | 
|         <Button> | 
|           <Property name="caption">重新检测</Property> | 
|           <Property name="action">ajaxCheckTh</Property> | 
|         </Button> | 
|         <Button> | 
|           <ClientEvent name="onClick">self.get("parent").hide();
 | 
| </ClientEvent> | 
|           <Property name="caption">退出关闭</Property> | 
|         </Button> | 
|       </Buttons> | 
|       <Children> | 
|         <DataSet id="dsTH"> | 
|           <ClientEvent name="onLoadData">var data = self.get("data");
 | 
| if(!data || data.entityCount == 0){
 | 
|     $alert("没有获取到数据!");
 | 
| }</ClientEvent> | 
|           <Property name="dataType">[dtTH]</Property> | 
|           <Property name="dataProvider">thService#getData</Property> | 
|         </DataSet> | 
|         <DataGrid> | 
|           <Property name="dataSet">dsTH</Property> | 
|           <Property name="readOnly">true</Property> | 
|           <RowNumColumn/> | 
|           <DataColumn name="serId"> | 
|             <Property name="property">serId</Property> | 
|             <Property name="align">center</Property> | 
|           </DataColumn> | 
|           <DataColumn name="thConf"> | 
|             <Property name="property">thConf</Property> | 
|             <Property name="align">center</Property> | 
|           </DataColumn> | 
|           <DataColumn name="tempIn"> | 
|             <Property name="property">tempIn</Property> | 
|             <Property name="align">center</Property> | 
|           </DataColumn> | 
|           <DataColumn name="humidityIn"> | 
|             <Property name="property">humidityIn</Property> | 
|             <Property name="align">center</Property> | 
|           </DataColumn> | 
|           <DataColumn name="receiveDate"> | 
|             <Property name="property">receiveDate</Property> | 
|             <Property name="align">center</Property> | 
|           </DataColumn> | 
|           <DataColumn name="remark"> | 
|             <Property name="property">remark</Property> | 
|             <Property name="align">center</Property> | 
|           </DataColumn> | 
|         </DataGrid> | 
|         <AjaxAction id="ajaxCheckTh"> | 
|           <Property name="service">thService#checkThAll</Property> | 
|           <Property name="executingMessage">正在执行温湿度检测……</Property> | 
|           <Property name="confirmMessage">确定要重新检测所有温湿度么?</Property> | 
|         </AjaxAction> | 
|       </Children> | 
|       <Tools/> | 
|     </Dialog> | 
|     <Dialog id="dialogGrain"> | 
|       <Property name="caption">粮情参数调整</Property> | 
|       <Property name="width">75%</Property> | 
|       <Property name="height">95%</Property> | 
|       <Buttons/> | 
|       <Children> | 
|         <FieldSet> | 
|           <Property name="caption">分机基本信息</Property> | 
|           <Buttons> | 
|             <Button layoutConstraint="left"> | 
|               <ClientEvent name="onClick">var data = view.get("#dsDeviceSer.data:#");
 | 
| view.get("#ajaxReadConf").set("parameter",data).execute(function(result){
 | 
|     $notify(result);
 | 
|     //view.get("#dsDeviceSer").flushAsync();
 | 
| });</ClientEvent> | 
|               <Property name="caption">远程读取</Property> | 
|               <Property name="iconClass">fa fa-paper-plane-o</Property> | 
|               <Property name="exClassName">btn-normal</Property> | 
|             </Button> | 
|             <Button layoutConstraint="left"> | 
|               <ClientEvent name="onClick">var data = view.get("#dsDeviceSer.data:#");
 | 
| view.get("#ajaxWriteConf").set("parameter",data).execute(function(result){
 | 
|     $notify(result);
 | 
|     //view.get("#dsDeviceSer").flushAsync();
 | 
| });</ClientEvent> | 
|               <Property name="caption">远程写入</Property> | 
|               <Property name="iconClass">fa fa-pencil</Property> | 
|               <Property name="exClassName">btn-normal</Property> | 
|             </Button> | 
|             <Button layoutConstraint="left"> | 
|               <ClientEvent name="onClick">var data = view.get("#dsDeviceSer.data:#");
 | 
| view.get("#ajaxDestory").set("parameter",data).execute(function(result){
 | 
|     $notify(result);
 | 
| });</ClientEvent> | 
|               <Property name="caption">断开连接</Property> | 
|               <Property name="iconClass">fa fa-eraser</Property> | 
|               <Property name="exClassName">btn-normal</Property> | 
|             </Button> | 
|             <Button layoutConstraint="left"> | 
|               <ClientEvent name="onClick">var data = view.get("#dsDeviceSer.data:#");
 | 
| var id = data.get("id");
 | 
| view.get("#ajaxGetData").set("parameter",id).execute(function(result){
 | 
|     view.get("#dataGridMain").setCurrentEntity(result);
 | 
|     view.get("#autoForm1").refreshData();
 | 
| });
 | 
| </ClientEvent> | 
|               <Property name="caption">刷新数据</Property> | 
|               <Property name="iconClass">fa fa-eraser</Property> | 
|               <Property name="exClassName">btn-normal</Property> | 
|             </Button> | 
|           </Buttons> | 
|           <Children> | 
|             <AutoForm id="autoForm1"> | 
|               <Property name="dataSet">dsDeviceSer</Property> | 
|               <Property name="cols">*,*,*,*</Property> | 
|               <Property name="labelSeparator">:</Property> | 
|               <Property name="labelWidth">90</Property> | 
|               <Property name="labelAlign">right</Property> | 
|               <AutoFormElement> | 
|                 <Property name="name">id</Property> | 
|                 <Property name="property">id</Property> | 
|                 <Property name="readOnly">true</Property> | 
|                 <Editor/> | 
|               </AutoFormElement> | 
|               <AutoFormElement> | 
|                 <Property name="name">name</Property> | 
|                 <Property name="property">name</Property> | 
|                 <Property name="readOnly">true</Property> | 
|                 <Editor/> | 
|               </AutoFormElement> | 
|               <AutoFormElement> | 
|                 <Property name="name">status</Property> | 
|                 <Property name="property">status</Property> | 
|                 <Property name="readOnly">true</Property> | 
|                 <Editor/> | 
|               </AutoFormElement> | 
|               <AutoFormElement> | 
|                 <Property name="name">powerModel</Property> | 
|                 <Property name="property">powerModel</Property> | 
|                 <Editor/> | 
|               </AutoFormElement> | 
|               <AutoFormElement> | 
|                 <Property name="name">controlModel</Property> | 
|                 <Property name="property">controlModel</Property> | 
|                 <Editor/> | 
|               </AutoFormElement> | 
|               <AutoFormElement> | 
|                 <Property name="name">cableType</Property> | 
|                 <Property name="property">cableType</Property> | 
|                 <Editor/> | 
|               </AutoFormElement> | 
|               <AutoFormElement> | 
|                 <Property name="name">cableFormat</Property> | 
|                 <Property name="property">cableFormat</Property> | 
|                 <Editor/> | 
|               </AutoFormElement> | 
|               <AutoFormElement> | 
|                 <Property name="name">cableZ</Property> | 
|                 <Property name="property">cableZ</Property> | 
|                 <Editor/> | 
|               </AutoFormElement> | 
|               <AutoFormElement> | 
|                 <Property name="name">cableY</Property> | 
|                 <Property name="property">cableY</Property> | 
|                 <Editor/> | 
|               </AutoFormElement> | 
|               <AutoFormElement> | 
|                 <Property name="name">cableX</Property> | 
|                 <Property name="property">cableX</Property> | 
|                 <Editor/> | 
|               </AutoFormElement> | 
|               <AutoFormElement> | 
|                 <Property name="name">cableStart</Property> | 
|                 <Property name="property">cableStart</Property> | 
|                 <Editor/> | 
|               </AutoFormElement> | 
|               <AutoFormElement> | 
|                 <Property name="name">orgId</Property> | 
|                 <Property name="property">orgId</Property> | 
|                 <Property name="label">分机组织</Property> | 
|                 <Editor/> | 
|               </AutoFormElement> | 
|             </AutoForm> | 
|           </Children> | 
|         </FieldSet> | 
|         <ToolBar layoutConstraint="padding:10"> | 
|           <ToolBarLabel> | 
|             <Property name="text">更多功能:</Property> | 
|             <Property name="style"> | 
|               <Property name="font-weight">bold</Property> | 
|             </Property> | 
|           </ToolBarLabel> | 
|           <ToolBarButton> | 
|             <ClientEvent name="onClick">var serData = view.get("#dsDeviceSer.data:#");
 | 
| if(!serData){
 | 
|     $alert("没有分机配置,无法操作!");
 | 
|     return;
 | 
| }
 | 
| 
 | 
| /**
 | 
| view.get("#passCode").set("visible",false);
 | 
| view.get("#editCol").set("visible",true);
 | 
| view.get("#value1").set("visible",true);
 | 
| view.get("#value2").set("visible",true);
 | 
| 
 | 
| view.get("#editCol").set("label","修改的点序号");
 | 
| view.get("#value1").set("label","原点号");
 | 
| view.get("#value2").set("label","新点号");
 | 
| 
 | 
| */
 | 
| 
 | 
| CABLE_EDIT_TAG = 2;
 | 
| view.get("#dsGrainSerParam").set("data",{"editTag":CABLE_EDIT_TAG});
 | 
| 
 | 
| view.get("#dialogCableEdit").set("caption","点号修改参数配置");
 | 
| view.get("#dialogCableEdit").show();</ClientEvent> | 
|             <Property name="caption">点号修改</Property> | 
|             <Property name="iconClass">fa fa-exclamation-circle</Property> | 
|           </ToolBarButton> | 
|           <Separator/> | 
|           <ToolBarButton> | 
|             <ClientEvent name="onClick">var serData = view.get("#dsDeviceSer.data:#");
 | 
| if(!serData){
 | 
|     $alert("没有分机配置,无法操作!");
 | 
|     return;
 | 
| }
 | 
| /**
 | 
| // 根据修改标识处理不同的逻辑 -- 2点号修改 3列号修改,4根号修改,5同步电缆,6根号替换
 | 
| view.get("#passCode").set("visible",true);
 | 
| view.get("#editCol").set("visible",true);
 | 
| view.get("#value1").set("visible",false);
 | 
| view.get("#value2").set("visible",false);
 | 
| **/
 | 
| 
 | 
| CABLE_EDIT_TAG = 3;
 | 
| view.get("#dsGrainSerParam").set("data",{"editTag":CABLE_EDIT_TAG});
 | 
| view.get("#dialogCableEdit").set("caption","列号修改参数配置");
 | 
| view.get("#dialogCableEdit").show();</ClientEvent> | 
|             <Property name="caption">列号修改</Property> | 
|             <Property name="iconClass">fa fa-exclamation-circle</Property> | 
|           </ToolBarButton> | 
|           <Separator/> | 
|           <ToolBarButton> | 
|             <ClientEvent name="onClick">var serData = view.get("#dsDeviceSer.data:#");
 | 
| if(!serData){
 | 
|     $alert("没有分机配置,无法操作!");
 | 
| }
 | 
| 
 | 
| /**
 | 
| // 根据修改标识处理不同的逻辑 -- 2点号修改 3列号修改,4根号修改,5同步电缆,6根号替换
 | 
| view.get("#editCol").set("visible",false);
 | 
| view.get("#passCode").set("visible",true);
 | 
| view.get("#value1").set("visible",true);
 | 
| view.get("#value2").set("visible",true);
 | 
| 
 | 
| view.get("#value1").set("label","原根号");
 | 
| view.get("#value2").set("label","新根号");
 | 
| **/
 | 
| 
 | 
| 
 | 
| CABLE_EDIT_TAG = 4;
 | 
| view.get("#dsGrainSerParam").set("data",{"editTag":CABLE_EDIT_TAG});
 | 
| view.get("#dialogCableEdit").set("caption","根号修改参数配置");
 | 
| view.get("#dialogCableEdit").show();</ClientEvent> | 
|             <Property name="caption">根号修改</Property> | 
|             <Property name="iconClass">fa fa-exclamation-circle</Property> | 
|           </ToolBarButton> | 
|           <Separator/> | 
|           <ToolBarButton> | 
|             <ClientEvent name="onClick">var serData = view.get("#dsDeviceSer.data:#");
 | 
| if(!serData){
 | 
|     $alert("没有分机配置,无法操作!");
 | 
|     return;
 | 
| }
 | 
| /**
 | 
| // 根据修改标识处理不同的逻辑 -- 2点号修改 3列号修改,4根号修改,5同步电缆,6根号替换
 | 
| view.get("#editCol").set("visible",false);
 | 
| view.get("#passCode").set("visible",true);
 | 
| view.get("#value1").set("visible",true);
 | 
| view.get("#value2").set("visible",true);
 | 
| 
 | 
| view.get("#value1").set("label","起始根号");
 | 
| view.get("#value2").set("label","电缆层数");
 | 
| **/
 | 
| 
 | 
| CABLE_EDIT_TAG = 5;
 | 
| view.get("#dsGrainSerParam").set("data",{"editTag":CABLE_EDIT_TAG});
 | 
| view.get("#dialogCableEdit").set("caption","电缆同步参数配置");
 | 
| view.get("#dialogCableEdit").show();</ClientEvent> | 
|             <Property name="caption">同步电缆</Property> | 
|             <Property name="iconClass">fa fa-exclamation-circle</Property> | 
|           </ToolBarButton> | 
|           <Separator/> | 
|           <ToolBarButton> | 
|             <ClientEvent name="onClick">var serData = view.get("#dsDeviceSer.data:#");
 | 
| if(!serData){
 | 
|     $alert("没有分机配置,无法操作!");
 | 
|     return;
 | 
| }
 | 
| /**
 | 
| // 根据修改标识处理不同的逻辑 -- 2点号修改 3列号修改,4根号修改,5同步电缆,6根号替换
 | 
| view.get("#editCol").set("visible",false);
 | 
| view.get("#passCode").set("visible",true);
 | 
| view.get("#value1").set("visible",true);
 | 
| view.get("#value2").set("visible",true);
 | 
| 
 | 
| view.get("#value1").set("label","原根号");
 | 
| view.get("#value2").set("label","新根号");
 | 
| 
 | 
| */
 | 
| 
 | 
| CABLE_EDIT_TAG = 6;
 | 
| view.get("#dsGrainSerParam").set("data",{"editTag":CABLE_EDIT_TAG});
 | 
| view.get("#dialogCableEdit").set("caption","根号替换参数配置");
 | 
| view.get("#dialogCableEdit").show();</ClientEvent> | 
|             <Property name="caption">根号替换</Property> | 
|             <Property name="iconClass">fa fa-exclamation-circle</Property> | 
|           </ToolBarButton> | 
|           <Separator> | 
|             <ClientEvent name="onClick">var serData = view.get("#dsDeviceSer.data:#");
 | 
| if(!serData){
 | 
|     $alert("没有分机配置,无法操作!");
 | 
| }
 | 
| 
 | 
| var param = view.get("#dsGrainSerParam.data");
 | 
| param.set("serId",serData.get("id"));
 | 
| 
 | 
| view.get("#ajaxCheckCable").set("parameter",param.toJSON()).execute(function(result){
 | 
|     $alert(result);
 | 
| });</ClientEvent> | 
|           </Separator> | 
|           <MenuButton> | 
|             <Property name="caption">电缆汇总</Property> | 
|             <Property name="iconClass">fa fa-exclamation-circle</Property> | 
|             <MenuItem> | 
|               <ClientEvent name="onClick">var serData = view.get("#dsDeviceSer.data:#");
 | 
| if(!serData){
 | 
|     $alert("没有分机配置,无法操作!");
 | 
|     return;
 | 
| }
 | 
| var param = view.get("#dsGrainSerParam.data");
 | 
| param.set("serId",serData.get("id"));
 | 
| view.get("#ajaxSumCable").set("parameter",param.toJSON()).execute(function(result){
 | 
|     $alert(result);
 | 
| });</ClientEvent> | 
|               <Property name="caption">电缆汇总</Property> | 
|               <Property name="iconClass">fa fa-exclamation-circle</Property> | 
|             </MenuItem> | 
|             <MenuItem> | 
|               <ClientEvent name="onClick">var serData = view.get("#dsDeviceSer.data:#");
 | 
| if(!serData){
 | 
|     $alert("没有分机配置,无法操作!");
 | 
|     return;
 | 
| }
 | 
| 
 | 
| var param = view.get("#dsGrainSerParam.data");
 | 
| param.set("serId",serData.get("id"));
 | 
| param.set("passCode",null);
 | 
| view.get("^tagCable").set("visible",false);//隐藏电缆配置信息
 | 
| view.get("^tagSum").set("visible",true);//显示汇总信息
 | 
| view.get("#dsGrainSerCableData").set("parameter",param.toJSON()).flushAsync();
 | 
| 
 | 
| view.get("#iotNum").set("caption",'传感器个数');
 | 
| </ClientEvent> | 
|               <Property name="caption">结果查询</Property> | 
|               <Property name="iconClass">fa fa-exclamation-circle</Property> | 
|             </MenuItem> | 
|           </MenuButton> | 
|           <Separator/> | 
|           <MenuButton> | 
|             <Property name="caption">通道电缆信息</Property> | 
|             <Property name="iconClass">fa fa-exclamation-circle</Property> | 
|             <MenuItem> | 
|               <ClientEvent name="onClick">var serData = view.get("#dsDeviceSer.data:#");
 | 
| if(!serData){
 | 
|     $alert("没有分机配置,无法操作!");
 | 
|     return;
 | 
| }
 | 
| 
 | 
| view.get("#editTag").set("readOnly",true);
 | 
| view.get("#editCol").set("readOnly",true);
 | 
| view.get("#value1").set("readOnly",true);
 | 
| view.get("#value2").set("readOnly",true);
 | 
| 
 | 
| CABLE_EDIT_TAG = 0;//表示读取通道电缆
 | 
| view.get("#dsGrainSerParam").set("data",{"editTag":CABLE_EDIT_TAG});
 | 
| view.get("#dialogCableEdit").set("caption","读取电缆配置参数");
 | 
| view.get("#dialogCableEdit").show();</ClientEvent> | 
|               <Property name="caption">读取通道电缆</Property> | 
|               <Property name="iconClass">fa fa-exclamation-circle</Property> | 
|             </MenuItem> | 
|             <MenuItem> | 
|               <ClientEvent name="onClick">var serData = view.get("#dsDeviceSer.data:#");
 | 
| if(!serData){
 | 
|     $alert("没有分机配置,无法操作!");
 | 
| }
 | 
| 
 | 
| dorado.MessageBox.prompt("请输入要查询的通道?",function(text){
 | 
|     var param = view.get("#dsGrainSerParam.data");
 | 
|     param.set("serId",serData.get("id"));
 | 
|     param.set("passCode",text);
 | 
|     view.get("^tagCable").set("visible",true);//显示电缆结果
 | 
|     view.get("^tagSum").set("visible",false);//隐藏汇总
 | 
|     view.get("#dsGrainSerCableData").set("parameter",param.toJSON()).flushAsync();
 | 
|     
 | 
|     view.get("#iotNum").set("caption",'点序号');
 | 
| });
 | 
| </ClientEvent> | 
|               <Property name="caption">结果查询</Property> | 
|               <Property name="iconClass">fa fa-exclamation-circle</Property> | 
|             </MenuItem> | 
|           </MenuButton> | 
|           <Separator/> | 
|           <ToolBarButton> | 
|             <ClientEvent name="onClick">var data = view.get("#dsDeviceSer.data:#");
 | 
| view.get("#ajaxInitCable").set("parameter",data).execute(function(result){
 | 
|     $notify(result);
 | 
| });</ClientEvent> | 
|             <Property name="caption">初始化电缆</Property> | 
|             <Property name="iconClass">fa fa-exclamation-circle</Property> | 
|           </ToolBarButton> | 
|           <Separator/> | 
|         </ToolBar> | 
|         <DataGrid id="dataGridCable" layoutConstraint="padding:10"> | 
|           <Property name="dataSet">dsGrainSerCableData</Property> | 
|           <Property name="readOnly">true</Property> | 
|           <DataColumn name="passCode"> | 
|             <Property name="property">passCode</Property> | 
|             <Property name="align">center</Property> | 
|           </DataColumn> | 
|           <DataColumn id="iotNum" name="iotNum"> | 
|             <Property name="property">iotNum</Property> | 
|             <Property name="align">center</Property> | 
|           </DataColumn> | 
|           <DataColumn name="temp"> | 
|             <Property name="property">temp</Property> | 
|             <Property name="align">center</Property> | 
|             <Property name="tags">tagCable</Property> | 
|           </DataColumn> | 
|           <DataColumn name="rootIndex"> | 
|             <Property name="property">rootIndex</Property> | 
|             <Property name="align">center</Property> | 
|             <Property name="tags">tagCable</Property> | 
|           </DataColumn> | 
|           <DataColumn name="pointIndex"> | 
|             <Property name="property">pointIndex</Property> | 
|             <Property name="align">center</Property> | 
|             <Property name="tags">tagCable</Property> | 
|           </DataColumn> | 
|           <DataColumn name="conf"> | 
|             <Property name="property">conf</Property> | 
|             <Property name="align">center</Property> | 
|             <Property name="tags">tagCable</Property> | 
|           </DataColumn> | 
|           <DataColumn name="iotErrNum"> | 
|             <Property name="property">iotErrNum</Property> | 
|             <Property name="align">center</Property> | 
|             <Property name="tags">tagSum</Property> | 
|           </DataColumn> | 
|           <DataColumn name="receiveDate"> | 
|             <Property name="property">receiveDate</Property> | 
|             <Property name="align">center</Property> | 
|           </DataColumn> | 
|         </DataGrid> | 
|         <DataSet id="dsGrainSerParam"> | 
|           <Property name="dataType">dataParam</Property> | 
|         </DataSet> | 
|         <DataSet id="dsGrainSerCableData"> | 
|           <ClientEvent name="onLoadData">var data = self.get("data");
 | 
| if(!data || data.entityCount == 0){
 | 
|     $alert("没有获取到数据!");
 | 
| }</ClientEvent> | 
|           <Property name="dataType">[dtGrainSerCableData]</Property> | 
|           <Property name="dataProvider">grainMacPR#listSerCableData</Property> | 
|           <Property name="loadMode">manual</Property> | 
|         </DataSet> | 
|         <AjaxAction id="ajaxReadConf"> | 
|           <Property name="service">grainMacPR#readConf</Property> | 
|           <Property name="confirmMessage">确定要执行读取配置?</Property> | 
|         </AjaxAction> | 
|         <AjaxAction id="ajaxInitCable"> | 
|           <Property name="confirmMessage">确定要初始化电缆?</Property> | 
|           <Property name="service">grainMacPR#initCable</Property> | 
|         </AjaxAction> | 
|         <AjaxAction id="ajaxWriteConf"> | 
|           <Property name="service">grainMacPR#writeConf</Property> | 
|           <Property name="confirmMessage">确定要写入参数?</Property> | 
|         </AjaxAction> | 
|         <AjaxAction id="ajaxDestory"> | 
|           <Property name="confirmMessage">确定要断开当前连接么?</Property> | 
|           <Property name="service">grainMacPR#destoryCon</Property> | 
|         </AjaxAction> | 
|         <AjaxAction id="ajaxUpdateCable"> | 
|           <Property name="confirmMessage">确定要执行么?</Property> | 
|           <Property name="service">grainMacPR#updateCable</Property> | 
|         </AjaxAction> | 
|         <AjaxAction id="ajaxCheckCable"> | 
|           <Property name="confirmMessage">确定要读取电缆配置么?</Property> | 
|           <Property name="service">grainMacPR#checkCable</Property> | 
|         </AjaxAction> | 
|         <AjaxAction id="ajaxSumCable"> | 
|           <Property name="confirmMessage">确定要请求电缆汇总?</Property> | 
|           <Property name="service">grainMacPR#sumCable</Property> | 
|         </AjaxAction> | 
|         <AjaxAction id="ajaxGetData"> | 
|           <Property name="service">deviceSerPR#getDataById</Property> | 
|         </AjaxAction> | 
|       </Children> | 
|       <Tools/> | 
|     </Dialog> | 
|     <Dialog id="dialogCableEdit"> | 
|       <ClientEvent name="onHide">view.get("#editTag").set("readOnly",false);
 | 
| view.get("#editCol").set("readOnly",false);
 | 
| view.get("#value1").set("readOnly",false);
 | 
| view.get("#value2").set("readOnly",false);</ClientEvent> | 
|       <Property name="width">810</Property> | 
|       <Property name="caption">电缆配置参数</Property> | 
|       <Buttons> | 
|         <Button> | 
|           <ClientEvent name="onClick">// 根据修改标识处理不同的逻辑 -- 2点号修改 3列号修改,4根号修改,5同步电缆,6根号替换
 | 
| var serData = view.get("#dsDeviceSer.data:#");
 | 
| var param = view.get("#dsGrainSerParam.data");
 | 
| param.set("serId",serData.get("id"));
 | 
| //param.set("editTag",CABLE_EDIT_TAG);
 | 
| 
 | 
| if(0 == CABLE_EDIT_TAG){//读取通道电缆
 | 
|     view.get("#ajaxCheckCable").set("parameter",param.toJSON()).execute(function(result){
 | 
|         self.get("parent").hide();
 | 
|         $alert(result);
 | 
|     });
 | 
| }else{
 | 
|     view.get("#ajaxUpdateCable").set("parameter",param.toJSON()).execute(function(result){
 | 
|         self.get("parent").hide();
 | 
|         $alert(result);
 | 
|     });
 | 
| }</ClientEvent> | 
|           <Property name="caption">确定执行</Property> | 
|         </Button> | 
|         <Button> | 
|           <ClientEvent name="onClick">self.get("parent").hide();
 | 
| </ClientEvent> | 
|           <Property name="caption">取消执行</Property> | 
|         </Button> | 
|       </Buttons> | 
|       <Children> | 
|         <AutoForm> | 
|           <Property name="dataSet">dsGrainSerParam</Property> | 
|           <Property name="cols">250,*</Property> | 
|           <Property name="labelSeparator">:</Property> | 
|           <Property name="labelAlign">right</Property> | 
|           <Property name="labelWidth">100</Property> | 
|           <AutoFormElement id="editTag"> | 
|             <Property name="name">editTag</Property> | 
|             <Property name="property">editTag</Property> | 
|             <Editor/> | 
|           </AutoFormElement> | 
|           <Label> | 
|             <Property name="text">注:2-点号修改,3-列号修改,4-根号修改,5-同步电缆,6-根号替换</Property> | 
|             <Property name="style"> | 
|               <Property name="color">blue</Property> | 
|             </Property> | 
|           </Label> | 
|           <AutoFormElement id="passCode"> | 
|             <Property name="name">passCode</Property> | 
|             <Property name="property">passCode</Property> | 
|             <Property name="hideMode">display</Property> | 
|             <Editor/> | 
|           </AutoFormElement> | 
|           <Label> | 
|             <Property name="text">注:1到16,这个是物理测温电缆通道,目前硬件有4个通道</Property> | 
|             <Property name="style"> | 
|               <Property name="color">blue</Property> | 
|             </Property> | 
|           </Label> | 
|           <AutoFormElement id="editCol"> | 
|             <Property name="name">editCol</Property> | 
|             <Property name="property">editCol</Property> | 
|             <Property name="hideMode">display</Property> | 
|             <Editor/> | 
|           </AutoFormElement> | 
|           <Label> | 
|             <Property name="text">注:需要修改的列号</Property> | 
|             <Property name="style"> | 
|               <Property name="color">blue</Property> | 
|             </Property> | 
|           </Label> | 
|           <AutoFormElement id="value1"> | 
|             <Property name="name">value1</Property> | 
|             <Property name="property">value1</Property> | 
|             <Property name="hideMode">display</Property> | 
|             <Editor/> | 
|           </AutoFormElement> | 
|           <Label> | 
|             <Property name="text">注:点号修改为点序号/根号替换为原根号/同步电缆为起始根号/根号修改为根序号</Property> | 
|             <Property name="style"> | 
|               <Property name="color">blue</Property> | 
|             </Property> | 
|           </Label> | 
|           <AutoFormElement id="value2"> | 
|             <Property name="name">value2</Property> | 
|             <Property name="property">value2</Property> | 
|             <Property name="hideMode">display</Property> | 
|             <Editor/> | 
|           </AutoFormElement> | 
|           <Label> | 
|             <Property name="text">注:点号修改为新点号/根号替换为新的根号/同步电缆为电缆层数/根号修改为新根号</Property> | 
|             <Property name="style"> | 
|               <Property name="color">blue</Property> | 
|             </Property> | 
|           </Label> | 
|         </AutoForm> | 
|       </Children> | 
|       <Tools/> | 
|     </Dialog> | 
|   </View> | 
| </ViewConfig> |