| | |
| | | </DataType> |
| | | </Model> |
| | | <View layout="padding:5;regionPadding:5"> |
| | | <ClientEvent name="onReady">view.get("#dataSetC").insert();</ClientEvent> |
| | | <ClientEvent name="onReady">view.get("#dataSetC").insert();
 |
| | | 
 |
| | | openModbusDevice = function(){
 |
| | | view.get("#dialogModbus").show();
 |
| | | }</ClientEvent> |
| | | <Property name="packages">font-awesome,css-common</Property> |
| | | <DataSet id="dsDevice"> |
| | | <Property name="dataProvider">devicePR#loadDeviceByContion</Property> |
| | |
| | | </DataColumn> |
| | | <DataColumn name="link"> |
| | | <Property name="property">link</Property> |
| | | <Property name="caption">关联设备</Property> |
| | | <Property name="caption">风机编码</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn name="serId"> |
| | |
| | | <DataColumn name="remark"> |
| | | <Property name="property">remark</Property> |
| | | <Property name="align">center</Property> |
| | | </DataColumn> |
| | | <DataColumn> |
| | | <ClientEvent name="onRenderCell">arg.dom.innerHTML ="<a href='javascripe:;' onclick='openModbusDevice()'>Modbus配置</a>";
 |
| | | arg.progressDefault = false;</ClientEvent> |
| | | <Property name="name">id</Property> |
| | | <Property name="property">id</Property> |
| | | <Property name="width">100</Property> |
| | | <Property name="caption">操作</Property> |
| | | <Editor/> |
| | | </DataColumn> |
| | | </DataGrid> |
| | | <ToolBar layoutConstraint="bottom"> |
| | |
| | | <Property name="property">power</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement layoutConstraint="colSpan:2"> |
| | | <Property name="name">modbus</Property> |
| | | <Property name="property">modbus</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement layoutConstraint="colSpan:2"> |
| | | <Property name="name">linkModbus</Property> |
| | | <Property name="property">linkModbus</Property> |
| | | <Property name="label">风机Modbus</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <Label layoutConstraint="colSpan:2"> |
| | | <Property name="text">modbus规则:开地址-关地址-停地址-开到位-关到位-开故障-关故障,无地址用N代替</Property> |
| | | <Property name="style"> |
| | | <Property name="padding-left">100px</Property> |
| | | <Property name="color">blue</Property> |
| | | </Property> |
| | | </Label> |
| | | <AutoFormElement layoutConstraint="colSpan:2"> |
| | | <Property name="name">remark</Property> |
| | | <Property name="property">remark</Property> |
| | |
| | | <Property name="successMessage">刷新成功!</Property> |
| | | <Property name="confirmMessage">确定要刷新缓存么?</Property> |
| | | </AjaxAction> |
| | | <Dialog id="dialogModbus"> |
| | | <Property name="width">100%</Property> |
| | | <Property name="height">95%</Property> |
| | | <Property name="caption">设备MOBUS-TCP相关配置</Property> |
| | | <Buttons/> |
| | | <Children> |
| | | <IFrame id="iframeModbusDevice"> |
| | | <Property name="path">com.ld.igds.modbus.DeviceModbus.d</Property> |
| | | </IFrame> |
| | | </Children> |
| | | <Tools/> |
| | | </Dialog> |
| | | </View> |
| | | </ViewConfig> |