|
|
@ -14,6 +14,26 @@ |
|
|
if( ( $CCCV & 0x08 ) == 0x08 ) $P4 = 'true'; else $P4 = 'false'; |
|
|
if( ( $CCCV & 0x08 ) == 0x08 ) $P4 = 'true'; else $P4 = 'false'; |
|
|
$MODBUS=<<<DATA_BOUNDARY |
|
|
$MODBUS=<<<DATA_BOUNDARY |
|
|
{ |
|
|
{ |
|
|
|
|
|
xtype: 'panel', |
|
|
|
|
|
layout: 'table', |
|
|
|
|
|
border: false, |
|
|
|
|
|
frame: false, |
|
|
|
|
|
width: '100%', |
|
|
|
|
|
defaults: { |
|
|
|
|
|
// applied to each contained panel
|
|
|
|
|
|
bodyStyle:'padding:10px; text-align: center;' |
|
|
|
|
|
}, |
|
|
|
|
|
layoutConfig: { |
|
|
|
|
|
// The total column count must be specified here
|
|
|
|
|
|
columns: 2 |
|
|
|
|
|
}, |
|
|
|
|
|
items:[{ |
|
|
|
|
|
xtype: 'panel', |
|
|
|
|
|
border: false, |
|
|
|
|
|
frame: false, |
|
|
|
|
|
rowspan: 2, |
|
|
|
|
|
html: '<table width="100%" border=0><tr><td class="small_prop_logo" id="adam"> </td></tr></table>' |
|
|
|
|
|
},{ |
|
|
xtype: 'form', |
|
|
xtype: 'form', |
|
|
labelWidth: 150, |
|
|
labelWidth: 150, |
|
|
labelAlign: 'right', |
|
|
labelAlign: 'right', |
|
|
@ -22,7 +42,7 @@ |
|
|
xtype: 'panel', |
|
|
xtype: 'panel', |
|
|
border: false, |
|
|
border: false, |
|
|
frame: false, |
|
|
frame: false, |
|
|
html: '<table width="100%" border=0><tr><td class="small_prop_logo" id="adam"> </td><td class="small_prop_title" align="center">{$Labels->GetLabel('_MODBUS_RTU_')}:{$SC['label']}</td></tr></table>' |
|
|
|
|
|
|
|
|
html: '<table width="100%" border=0><tr><td class="small_prop_title" align="center" style="font-size: 14px; font-weight: bold;">{$Labels->GetLabel('_MODBUS_RTU_')}:{$SC['label']}</td></tr></table>' |
|
|
},{ |
|
|
},{ |
|
|
xtype: 'textfield', |
|
|
xtype: 'textfield', |
|
|
id: 'sca_label', |
|
|
id: 'sca_label', |
|
|
@ -98,23 +118,22 @@ |
|
|
}, |
|
|
}, |
|
|
items:[{ |
|
|
items:[{ |
|
|
xtype: 'panel', |
|
|
xtype: 'panel', |
|
|
bodyCssClass:'_infoPanel', bodyStyle: 'background-color: #000; text-align: center;', |
|
|
|
|
|
|
|
|
bodyCssClass:'_infoPanel', bodyStyle: 'font-size: 10px; background-color: #000; text-align: center;', |
|
|
html: 'Upper Track' |
|
|
html: 'Upper Track' |
|
|
},{ |
|
|
},{ |
|
|
xtype: 'panel', |
|
|
xtype: 'panel', |
|
|
bodyCssClass:'_infoPanel', bodyStyle: 'background-color: #000; text-align: center;', |
|
|
|
|
|
|
|
|
bodyCssClass:'_infoPanel', bodyStyle: 'font-size: 10px; background-color: #000; text-align: center;', |
|
|
html: 'Bottom Track' |
|
|
html: 'Bottom Track' |
|
|
},{ |
|
|
},{ |
|
|
xtype: 'panel', |
|
|
xtype: 'panel', |
|
|
bodyCssClass:'_infoPanel', bodyStyle: 'background-color: #000; text-align: center;', |
|
|
|
|
|
|
|
|
bodyCssClass:'_infoPanel', bodyStyle: 'font-size: 10px; background-color: #000; text-align: center;', |
|
|
html: 'Health Signal' |
|
|
html: 'Health Signal' |
|
|
},{ |
|
|
},{ |
|
|
xtype: 'panel', |
|
|
xtype: 'panel', |
|
|
bodyCssClass:'_infoPanel', bodyStyle: 'background-color: #000; text-align: center;', |
|
|
|
|
|
|
|
|
bodyCssClass:'_infoPanel', bodyStyle: 'font-size: 10px; background-color: #000; text-align: center;', |
|
|
html: 'AUX Signal' |
|
|
html: 'AUX Signal' |
|
|
},{ |
|
|
},{ |
|
|
xtype: 'combo', |
|
|
xtype: 'combo', |
|
|
fieldLabel: "Upper Track", |
|
|
|
|
|
lazyRender: true, |
|
|
lazyRender: true, |
|
|
mode: 'local', |
|
|
mode: 'local', |
|
|
forceSelection: true, |
|
|
forceSelection: true, |
|
|
@ -139,7 +158,6 @@ |
|
|
} |
|
|
} |
|
|
},{ |
|
|
},{ |
|
|
xtype: 'combo', |
|
|
xtype: 'combo', |
|
|
fieldLabel: "Upper Track", |
|
|
|
|
|
lazyRender: true, |
|
|
lazyRender: true, |
|
|
mode: 'local', |
|
|
mode: 'local', |
|
|
forceSelection: true, |
|
|
forceSelection: true, |
|
|
@ -164,7 +182,6 @@ |
|
|
} |
|
|
} |
|
|
},{ |
|
|
},{ |
|
|
xtype: 'combo', |
|
|
xtype: 'combo', |
|
|
fieldLabel: "Upper Track", |
|
|
|
|
|
lazyRender: true, |
|
|
lazyRender: true, |
|
|
mode: 'local', |
|
|
mode: 'local', |
|
|
forceSelection: true, |
|
|
forceSelection: true, |
|
|
@ -189,7 +206,6 @@ |
|
|
} |
|
|
} |
|
|
},{ |
|
|
},{ |
|
|
xtype: 'combo', |
|
|
xtype: 'combo', |
|
|
fieldLabel: "Upper Track", |
|
|
|
|
|
lazyRender: true, |
|
|
lazyRender: true, |
|
|
mode: 'local', |
|
|
mode: 'local', |
|
|
forceSelection: true, |
|
|
forceSelection: true, |
|
|
@ -219,7 +235,7 @@ |
|
|
},{ |
|
|
},{ |
|
|
xtype: 'panel', |
|
|
xtype: 'panel', |
|
|
colspan: 4, |
|
|
colspan: 4, |
|
|
bodyCssClass:'_infoPanel', bodyStyle: 'background-color: #000; text-align: center;', |
|
|
|
|
|
|
|
|
bodyCssClass:'_infoPanel', bodyStyle: 'font-size: 10px; background-color: #000; text-align: center;', |
|
|
html: 'TEST MODBUS MODULE COILS' |
|
|
html: 'TEST MODBUS MODULE COILS' |
|
|
},{ |
|
|
},{ |
|
|
xtype: 'spacer', |
|
|
xtype: 'spacer', |
|
|
@ -294,6 +310,7 @@ |
|
|
doScadaOperation( {$SC['platform_id']}, {$SC['id']}, 13, 'true', true ); |
|
|
doScadaOperation( {$SC['platform_id']}, {$SC['id']}, 13, 'true', true ); |
|
|
} |
|
|
} |
|
|
}] |
|
|
}] |
|
|
|
|
|
}] |
|
|
} |
|
|
} |
|
|
DATA_BOUNDARY; |
|
|
DATA_BOUNDARY; |
|
|
echo $MODBUS; |
|
|
echo $MODBUS; |
|
|
|