|
|
|
@ -14,132 +14,50 @@ |
|
|
|
if( ( $CCCV & 0x08 ) == 0x08 ) $P4 = 'true'; else $P4 = 'false'; |
|
|
|
$MODBUS=<<<DATA_BOUNDARY |
|
|
|
{ |
|
|
|
xtype: 'form', |
|
|
|
labelWidth: 150, |
|
|
|
labelAlign: 'right', |
|
|
|
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, |
|
|
|
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>' |
|
|
|
rowspan: 2, |
|
|
|
html: '<table width="100%" border=0><tr><td class="small_prop_logo" id="adam"> </td></tr></table>' |
|
|
|
},{ |
|
|
|
xtype: 'textfield', |
|
|
|
id: 'sca_label', |
|
|
|
fieldLabel: '{$Labels->GetLabel('_NAME_LABEL_')}', |
|
|
|
maxlength: 64, |
|
|
|
value: '{$SC['label']}', |
|
|
|
listeners:{ |
|
|
|
change: function( a, c, b ){ |
|
|
|
doScadaOperation( {$SC['platform_id']}, {$SC['id']}, 14, c, true ); |
|
|
|
} |
|
|
|
} |
|
|
|
},{ |
|
|
|
xtype: 'combo', |
|
|
|
id: 'sca_ena', |
|
|
|
fieldLabel: "{$Labels->GetLabel('_STATUS_')}", |
|
|
|
lazyRender: true, |
|
|
|
mode: 'local', |
|
|
|
forceSelection: true, |
|
|
|
triggerAction: 'all', |
|
|
|
editable: false, |
|
|
|
disableKeyFilter: true, |
|
|
|
store: new Ext.data.ArrayStore({ |
|
|
|
fields: ['mode','mode_txt'], |
|
|
|
data: [ |
|
|
|
['D','{$Labels->GetLabel('__DISABLED__')}'], |
|
|
|
['E','{$Labels->GetLabel('___ENABLED__')}'] |
|
|
|
] |
|
|
|
}), |
|
|
|
valueField: 'mode', |
|
|
|
displayField: 'mode_txt', |
|
|
|
value: '{$SC['wm']}', |
|
|
|
fwidth: 200, |
|
|
|
listeners:{ |
|
|
|
select: function( a, c, b ){ |
|
|
|
doScadaOperation( {$SC['platform_id']}, {$SC['id']}, 17, b, true ); |
|
|
|
} |
|
|
|
} |
|
|
|
},{ |
|
|
|
xtype: 'textfield', |
|
|
|
id: 'sca_ip', |
|
|
|
fieldLabel: '{$Labels->GetLabel('_DEVICE_IP_')}', |
|
|
|
maxlength: 64, |
|
|
|
value: '{$SC['ip4']}', |
|
|
|
listeners:{ |
|
|
|
change: function( a, c, b ){ |
|
|
|
doScadaOperation( {$SC['platform_id']}, {$SC['id']}, 15, c, true ); |
|
|
|
} |
|
|
|
} |
|
|
|
},{ |
|
|
|
xtype: 'textfield', |
|
|
|
id: 'sca_port', |
|
|
|
fieldLabel: '{$Labels->GetLabel('_DEVICE_PORT_')}', |
|
|
|
maxlength: 2, |
|
|
|
value: '{$SC['port']}', |
|
|
|
listeners:{ |
|
|
|
change: function( a, c, b ){ |
|
|
|
doPlatformOperation( {$SC['platform_id']}, 16, c, true ); |
|
|
|
} |
|
|
|
} |
|
|
|
},{ |
|
|
|
xtype: 'panel', |
|
|
|
layout: 'table', |
|
|
|
border: false, |
|
|
|
frame: false, |
|
|
|
xtype: 'form', |
|
|
|
labelWidth: 150, |
|
|
|
labelAlign: 'right', |
|
|
|
width: '100%', |
|
|
|
defaults: { |
|
|
|
// applied to each contained panel
|
|
|
|
bodyStyle:'padding:10px; text-align: center;' |
|
|
|
}, |
|
|
|
layoutConfig: { |
|
|
|
// The total column count must be specified here
|
|
|
|
columns: 4 |
|
|
|
}, |
|
|
|
items:[{ |
|
|
|
xtype: 'panel', |
|
|
|
bodyCssClass:'_infoPanel', bodyStyle: 'background-color: #000; text-align: center;', |
|
|
|
html: 'Upper Track' |
|
|
|
border: false, |
|
|
|
frame: false, |
|
|
|
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: 'panel', |
|
|
|
bodyCssClass:'_infoPanel', bodyStyle: 'background-color: #000; text-align: center;', |
|
|
|
html: 'Bottom Track' |
|
|
|
},{ |
|
|
|
xtype: 'panel', |
|
|
|
bodyCssClass:'_infoPanel', bodyStyle: 'background-color: #000; text-align: center;', |
|
|
|
html: 'Health Signal' |
|
|
|
},{ |
|
|
|
xtype: 'panel', |
|
|
|
bodyCssClass:'_infoPanel', bodyStyle: 'background-color: #000; text-align: center;', |
|
|
|
html: 'AUX Signal' |
|
|
|
},{ |
|
|
|
xtype: 'combo', |
|
|
|
fieldLabel: "Upper Track", |
|
|
|
lazyRender: true, |
|
|
|
mode: 'local', |
|
|
|
forceSelection: true, |
|
|
|
triggerAction: 'all', |
|
|
|
editable: false, |
|
|
|
disableKeyFilter: true, |
|
|
|
store: new Ext.data.ArrayStore({ |
|
|
|
fields: ['mode','mode_txt'], |
|
|
|
data: [ |
|
|
|
[-1,'{$Labels->GetLabel('__DISABLED__')}'], |
|
|
|
[0,'Coil D1'],[1,'Coil D2'],[2,'Coil D3'],[3,'Coil D4'] |
|
|
|
] |
|
|
|
}), |
|
|
|
valueField: 'mode', |
|
|
|
displayField: 'mode_txt', |
|
|
|
value: '{$SC['crossbar_a']}', |
|
|
|
width: 100, |
|
|
|
xtype: 'textfield', |
|
|
|
id: 'sca_label', |
|
|
|
fieldLabel: '{$Labels->GetLabel('_NAME_LABEL_')}', |
|
|
|
maxlength: 64, |
|
|
|
value: '{$SC['label']}', |
|
|
|
listeners:{ |
|
|
|
select: function( a, c, b ){ |
|
|
|
//doPlatformOperation( {$SC['platform_id']}, 12, b, true );
|
|
|
|
change: function( a, c, b ){ |
|
|
|
doScadaOperation( {$SC['platform_id']}, {$SC['id']}, 14, c, true ); |
|
|
|
} |
|
|
|
} |
|
|
|
},{ |
|
|
|
xtype: 'combo', |
|
|
|
fieldLabel: "Upper Track", |
|
|
|
id: 'sca_ena', |
|
|
|
fieldLabel: "{$Labels->GetLabel('_STATUS_')}", |
|
|
|
lazyRender: true, |
|
|
|
mode: 'local', |
|
|
|
forceSelection: true, |
|
|
|
@ -149,150 +67,249 @@ |
|
|
|
store: new Ext.data.ArrayStore({ |
|
|
|
fields: ['mode','mode_txt'], |
|
|
|
data: [ |
|
|
|
[-1,'{$Labels->GetLabel('__DISABLED__')}'], |
|
|
|
[0,'Coil D1'],[1,'Coil D2'],[2,'Coil D3'],[3,'Coil D4'] |
|
|
|
['D','{$Labels->GetLabel('__DISABLED__')}'], |
|
|
|
['E','{$Labels->GetLabel('___ENABLED__')}'] |
|
|
|
] |
|
|
|
}), |
|
|
|
valueField: 'mode', |
|
|
|
displayField: 'mode_txt', |
|
|
|
value: '{$SC['crossbar_b']}', |
|
|
|
width: 100, |
|
|
|
value: '{$SC['wm']}', |
|
|
|
fwidth: 200, |
|
|
|
listeners:{ |
|
|
|
select: function( a, c, b ){ |
|
|
|
//doPlatformOperation( {$SC['platform_id']}, 12, b, true );
|
|
|
|
doScadaOperation( {$SC['platform_id']}, {$SC['id']}, 17, b, true ); |
|
|
|
} |
|
|
|
} |
|
|
|
},{ |
|
|
|
xtype: 'combo', |
|
|
|
fieldLabel: "Upper Track", |
|
|
|
lazyRender: true, |
|
|
|
mode: 'local', |
|
|
|
forceSelection: true, |
|
|
|
triggerAction: 'all', |
|
|
|
editable: false, |
|
|
|
disableKeyFilter: true, |
|
|
|
store: new Ext.data.ArrayStore({ |
|
|
|
fields: ['mode','mode_txt'], |
|
|
|
data: [ |
|
|
|
[-1,'{$Labels->GetLabel('__DISABLED__')}'], |
|
|
|
[0,'Coil D1'],[1,'Coil D2'],[2,'Coil D3'],[3,'Coil D4'] |
|
|
|
] |
|
|
|
}), |
|
|
|
valueField: 'mode', |
|
|
|
displayField: 'mode_txt', |
|
|
|
value: '{$SC['crossbar_c']}', |
|
|
|
width: 100, |
|
|
|
xtype: 'textfield', |
|
|
|
id: 'sca_ip', |
|
|
|
fieldLabel: '{$Labels->GetLabel('_DEVICE_IP_')}', |
|
|
|
maxlength: 64, |
|
|
|
value: '{$SC['ip4']}', |
|
|
|
listeners:{ |
|
|
|
select: function( a, c, b ){ |
|
|
|
//doPlatformOperation( {$SC['platform_id']}, 12, b, true );
|
|
|
|
change: function( a, c, b ){ |
|
|
|
doScadaOperation( {$SC['platform_id']}, {$SC['id']}, 15, c, true ); |
|
|
|
} |
|
|
|
} |
|
|
|
},{ |
|
|
|
xtype: 'combo', |
|
|
|
fieldLabel: "Upper Track", |
|
|
|
lazyRender: true, |
|
|
|
mode: 'local', |
|
|
|
forceSelection: true, |
|
|
|
triggerAction: 'all', |
|
|
|
editable: false, |
|
|
|
disableKeyFilter: true, |
|
|
|
store: new Ext.data.ArrayStore({ |
|
|
|
fields: ['mode','mode_txt'], |
|
|
|
data: [ |
|
|
|
[-1,'{$Labels->GetLabel('__DISABLED__')}'], |
|
|
|
[0,'Coil D1'],[1,'Coil D2'],[2,'Coil D3'],[3,'Coil D4'] |
|
|
|
] |
|
|
|
}), |
|
|
|
valueField: 'mode', |
|
|
|
displayField: 'mode_txt', |
|
|
|
value: '{$SC['crossbar_d']}', |
|
|
|
width: 100, |
|
|
|
xtype: 'textfield', |
|
|
|
id: 'sca_port', |
|
|
|
fieldLabel: '{$Labels->GetLabel('_DEVICE_PORT_')}', |
|
|
|
maxlength: 2, |
|
|
|
value: '{$SC['port']}', |
|
|
|
listeners:{ |
|
|
|
select: function( a, c, b ){ |
|
|
|
//doPlatformOperation( {$SC['platform_id']}, 12, b, true );
|
|
|
|
change: function( a, c, b ){ |
|
|
|
doPlatformOperation( {$SC['platform_id']}, 16, c, true ); |
|
|
|
} |
|
|
|
} |
|
|
|
},{ |
|
|
|
xtype: 'spacer', |
|
|
|
height: 10, |
|
|
|
colspan: 4 |
|
|
|
},{ |
|
|
|
xtype: 'panel', |
|
|
|
colspan: 4, |
|
|
|
bodyCssClass:'_infoPanel', bodyStyle: 'background-color: #000; text-align: center;', |
|
|
|
html: 'TEST MODBUS MODULE COILS' |
|
|
|
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: 4 |
|
|
|
}, |
|
|
|
items:[{ |
|
|
|
xtype: 'panel', |
|
|
|
bodyCssClass:'_infoPanel', bodyStyle: 'font-size: 10px; background-color: #000; text-align: center;', |
|
|
|
html: 'Upper Track' |
|
|
|
},{ |
|
|
|
xtype: 'panel', |
|
|
|
bodyCssClass:'_infoPanel', bodyStyle: 'font-size: 10px; background-color: #000; text-align: center;', |
|
|
|
html: 'Bottom Track' |
|
|
|
},{ |
|
|
|
xtype: 'panel', |
|
|
|
bodyCssClass:'_infoPanel', bodyStyle: 'font-size: 10px; background-color: #000; text-align: center;', |
|
|
|
html: 'Health Signal' |
|
|
|
},{ |
|
|
|
xtype: 'panel', |
|
|
|
bodyCssClass:'_infoPanel', bodyStyle: 'font-size: 10px; background-color: #000; text-align: center;', |
|
|
|
html: 'AUX Signal' |
|
|
|
},{ |
|
|
|
xtype: 'combo', |
|
|
|
lazyRender: true, |
|
|
|
mode: 'local', |
|
|
|
forceSelection: true, |
|
|
|
triggerAction: 'all', |
|
|
|
editable: false, |
|
|
|
disableKeyFilter: true, |
|
|
|
store: new Ext.data.ArrayStore({ |
|
|
|
fields: ['mode','mode_txt'], |
|
|
|
data: [ |
|
|
|
[-1,'{$Labels->GetLabel('__DISABLED__')}'], |
|
|
|
[0,'Coil D1'],[1,'Coil D2'],[2,'Coil D3'],[3,'Coil D4'] |
|
|
|
] |
|
|
|
}), |
|
|
|
valueField: 'mode', |
|
|
|
displayField: 'mode_txt', |
|
|
|
value: '{$SC['crossbar_a']}', |
|
|
|
width: 100, |
|
|
|
listeners:{ |
|
|
|
select: function( a, c, b ){ |
|
|
|
//doPlatformOperation( {$SC['platform_id']}, 12, b, true );
|
|
|
|
} |
|
|
|
} |
|
|
|
},{ |
|
|
|
xtype: 'combo', |
|
|
|
lazyRender: true, |
|
|
|
mode: 'local', |
|
|
|
forceSelection: true, |
|
|
|
triggerAction: 'all', |
|
|
|
editable: false, |
|
|
|
disableKeyFilter: true, |
|
|
|
store: new Ext.data.ArrayStore({ |
|
|
|
fields: ['mode','mode_txt'], |
|
|
|
data: [ |
|
|
|
[-1,'{$Labels->GetLabel('__DISABLED__')}'], |
|
|
|
[0,'Coil D1'],[1,'Coil D2'],[2,'Coil D3'],[3,'Coil D4'] |
|
|
|
] |
|
|
|
}), |
|
|
|
valueField: 'mode', |
|
|
|
displayField: 'mode_txt', |
|
|
|
value: '{$SC['crossbar_b']}', |
|
|
|
width: 100, |
|
|
|
listeners:{ |
|
|
|
select: function( a, c, b ){ |
|
|
|
//doPlatformOperation( {$SC['platform_id']}, 12, b, true );
|
|
|
|
} |
|
|
|
} |
|
|
|
},{ |
|
|
|
xtype: 'combo', |
|
|
|
lazyRender: true, |
|
|
|
mode: 'local', |
|
|
|
forceSelection: true, |
|
|
|
triggerAction: 'all', |
|
|
|
editable: false, |
|
|
|
disableKeyFilter: true, |
|
|
|
store: new Ext.data.ArrayStore({ |
|
|
|
fields: ['mode','mode_txt'], |
|
|
|
data: [ |
|
|
|
[-1,'{$Labels->GetLabel('__DISABLED__')}'], |
|
|
|
[0,'Coil D1'],[1,'Coil D2'],[2,'Coil D3'],[3,'Coil D4'] |
|
|
|
] |
|
|
|
}), |
|
|
|
valueField: 'mode', |
|
|
|
displayField: 'mode_txt', |
|
|
|
value: '{$SC['crossbar_c']}', |
|
|
|
width: 100, |
|
|
|
listeners:{ |
|
|
|
select: function( a, c, b ){ |
|
|
|
//doPlatformOperation( {$SC['platform_id']}, 12, b, true );
|
|
|
|
} |
|
|
|
} |
|
|
|
},{ |
|
|
|
xtype: 'combo', |
|
|
|
lazyRender: true, |
|
|
|
mode: 'local', |
|
|
|
forceSelection: true, |
|
|
|
triggerAction: 'all', |
|
|
|
editable: false, |
|
|
|
disableKeyFilter: true, |
|
|
|
store: new Ext.data.ArrayStore({ |
|
|
|
fields: ['mode','mode_txt'], |
|
|
|
data: [ |
|
|
|
[-1,'{$Labels->GetLabel('__DISABLED__')}'], |
|
|
|
[0,'Coil D1'],[1,'Coil D2'],[2,'Coil D3'],[3,'Coil D4'] |
|
|
|
] |
|
|
|
}), |
|
|
|
valueField: 'mode', |
|
|
|
displayField: 'mode_txt', |
|
|
|
value: '{$SC['crossbar_d']}', |
|
|
|
width: 100, |
|
|
|
listeners:{ |
|
|
|
select: function( a, c, b ){ |
|
|
|
//doPlatformOperation( {$SC['platform_id']}, 12, b, true );
|
|
|
|
} |
|
|
|
} |
|
|
|
},{ |
|
|
|
xtype: 'spacer', |
|
|
|
height: 10, |
|
|
|
colspan: 4 |
|
|
|
},{ |
|
|
|
xtype: 'panel', |
|
|
|
colspan: 4, |
|
|
|
bodyCssClass:'_infoPanel', bodyStyle: 'font-size: 10px; background-color: #000; text-align: center;', |
|
|
|
html: 'TEST MODBUS MODULE COILS' |
|
|
|
},{ |
|
|
|
xtype: 'spacer', |
|
|
|
height: 5, |
|
|
|
colspan: 4 |
|
|
|
},{ |
|
|
|
xtype: 'button', |
|
|
|
enableToggle: true, |
|
|
|
allowDepress: true, |
|
|
|
width: '80%', |
|
|
|
text: 'Test D1', |
|
|
|
pressed: {$P1}, |
|
|
|
handler: function( b, e ){ |
|
|
|
if( b.pressed ){ |
|
|
|
doPlatformOperation( {$SC['platform_id']}, 18, ({$CCCV} | 1 ), true ); |
|
|
|
} else { |
|
|
|
doPlatformOperation( {$SC['platform_id']}, 18, ({$CCCV} & ( ~1 ) ), true ); |
|
|
|
}; |
|
|
|
} |
|
|
|
},{ |
|
|
|
xtype: 'button', |
|
|
|
width: '80%', |
|
|
|
enableToggle: true, |
|
|
|
allowDepress: true, |
|
|
|
text: 'Test D2', |
|
|
|
pressed: {$P2}, |
|
|
|
handler: function( b, e ){ |
|
|
|
if( b.pressed ){ |
|
|
|
doPlatformOperation( {$SC['platform_id']}, 18, ({$CCCV} | 2 ), true ); |
|
|
|
} else { |
|
|
|
doPlatformOperation( {$SC['platform_id']}, 18, ({$CCCV} & ( ~2 ) ), true ); |
|
|
|
}; |
|
|
|
} |
|
|
|
},{ |
|
|
|
xtype: 'button', |
|
|
|
enableToggle: true, |
|
|
|
allowDepress: true, |
|
|
|
width: '80%', |
|
|
|
text: 'Test D3', |
|
|
|
pressed: {$P3}, |
|
|
|
handler: function( b, e ){ |
|
|
|
if( b.pressed ){ |
|
|
|
doPlatformOperation( {$SC['platform_id']}, 18, ({$CCCV} | 4 ), true ); |
|
|
|
} else { |
|
|
|
doPlatformOperation( {$SC['platform_id']}, 18, ({$CCCV} & ( ~4 ) ), true ); |
|
|
|
}; |
|
|
|
} |
|
|
|
},{ |
|
|
|
xtype: 'button', |
|
|
|
enableToggle: true, |
|
|
|
allowDepress: true, |
|
|
|
width: '80%', |
|
|
|
text: 'Test D4', |
|
|
|
pressed: {$P4}, |
|
|
|
handler: function( b, e ){ |
|
|
|
if( b.pressed ){ |
|
|
|
doPlatformOperation( {$SC['platform_id']}, 18, ({$CCCV} | 8 ), true ); |
|
|
|
} else { |
|
|
|
doPlatformOperation( {$SC['platform_id']}, 18, ({$CCCV} & ( ~8 ) ), true ); |
|
|
|
}; |
|
|
|
} |
|
|
|
}] |
|
|
|
},{ |
|
|
|
xtype: 'spacer', |
|
|
|
height: 5, |
|
|
|
colspan: 4 |
|
|
|
},{ |
|
|
|
xtype: 'button', |
|
|
|
enableToggle: true, |
|
|
|
allowDepress: true, |
|
|
|
width: '80%', |
|
|
|
text: 'Test D1', |
|
|
|
pressed: {$P1}, |
|
|
|
handler: function( b, e ){ |
|
|
|
if( b.pressed ){ |
|
|
|
doPlatformOperation( {$SC['platform_id']}, 18, ({$CCCV} | 1 ), true ); |
|
|
|
} else { |
|
|
|
doPlatformOperation( {$SC['platform_id']}, 18, ({$CCCV} & ( ~1 ) ), true ); |
|
|
|
}; |
|
|
|
} |
|
|
|
},{ |
|
|
|
xtype: 'button', |
|
|
|
width: '80%', |
|
|
|
enableToggle: true, |
|
|
|
allowDepress: true, |
|
|
|
text: 'Test D2', |
|
|
|
pressed: {$P2}, |
|
|
|
handler: function( b, e ){ |
|
|
|
if( b.pressed ){ |
|
|
|
doPlatformOperation( {$SC['platform_id']}, 18, ({$CCCV} | 2 ), true ); |
|
|
|
} else { |
|
|
|
doPlatformOperation( {$SC['platform_id']}, 18, ({$CCCV} & ( ~2 ) ), true ); |
|
|
|
}; |
|
|
|
} |
|
|
|
},{ |
|
|
|
xtype: 'button', |
|
|
|
enableToggle: true, |
|
|
|
allowDepress: true, |
|
|
|
width: '80%', |
|
|
|
text: 'Test D3', |
|
|
|
pressed: {$P3}, |
|
|
|
handler: function( b, e ){ |
|
|
|
if( b.pressed ){ |
|
|
|
doPlatformOperation( {$SC['platform_id']}, 18, ({$CCCV} | 4 ), true ); |
|
|
|
} else { |
|
|
|
doPlatformOperation( {$SC['platform_id']}, 18, ({$CCCV} & ( ~4 ) ), true ); |
|
|
|
}; |
|
|
|
} |
|
|
|
},{ |
|
|
|
xtype: 'button', |
|
|
|
enableToggle: true, |
|
|
|
allowDepress: true, |
|
|
|
width: '80%', |
|
|
|
text: 'Test D4', |
|
|
|
pressed: {$P4}, |
|
|
|
handler: function( b, e ){ |
|
|
|
if( b.pressed ){ |
|
|
|
doPlatformOperation( {$SC['platform_id']}, 18, ({$CCCV} | 8 ), true ); |
|
|
|
} else { |
|
|
|
doPlatformOperation( {$SC['platform_id']}, 18, ({$CCCV} & ( ~8 ) ), true ); |
|
|
|
}; |
|
|
|
text: 'Remove this Scada Module', |
|
|
|
width: '100%', |
|
|
|
handler: function(){ |
|
|
|
doScadaOperation( {$SC['platform_id']}, {$SC['id']}, 13, 'true', true ); |
|
|
|
} |
|
|
|
}] |
|
|
|
},{ |
|
|
|
xtype: 'spacer', |
|
|
|
height: 5, |
|
|
|
colspan: 4 |
|
|
|
},{ |
|
|
|
xtype: 'button', |
|
|
|
text: 'Remove this Scada Module', |
|
|
|
width: '100%', |
|
|
|
handler: function(){ |
|
|
|
doScadaOperation( {$SC['platform_id']}, {$SC['id']}, 13, 'true', true ); |
|
|
|
} |
|
|
|
}] |
|
|
|
} |
|
|
|
DATA_BOUNDARY; |
|
|
|
|