2 Commits

  1. 5
      files.list
  2. 2
      lib/1.json
  3. 169
      lib/controller/doPlatformOperations.php
  4. 263
      lib/controller/getPlatformEditor.php
  5. 259
      lib/controller/getScadaEditor.php
  6. 13
      lib/controller/getScadaModules.php
  7. 38
      lib/controller/getScadaStatus.php
  8. 165
      lib/javascript/jsapi_dynamic/argus_settings.js
  9. 27
      lib/upgrade_database.php
  10. BIN
      style/assets/scada_fn_icons.psd
  11. BIN
      style/assets/scada_fn_l.png
  12. BIN
      style/assets/scada_fn_na.png
  13. BIN
      style/assets/scada_fn_r.png
  14. BIN
      style/assets/scada_fn_tcc.png
  15. BIN
      style/assets/sm_ico_gw.png
  16. 13
      style/style.css

5
files.list

@ -3424,6 +3424,11 @@
./style/assets/vspc-icon-256.png
./style/assets/igr.png
./style/assets/sm_ico_w.png
./style/assets/sm_ico_gw.png
./style/assets/scada_fn_tcc.png
./style/assets/scada_fn_l.png
./style/assets/scada_fn_r.png
./style/assets/scada_fn_na.png
./style/assets/1141811-512.png
./style/assets/ms_ul.png
./style/assets/sm_ico_rl.png

2
lib/1.json
File diff suppressed because it is too large
View File

169
lib/controller/doPlatformOperations.php

@ -281,15 +281,15 @@
case 13:{//Remove SCADA Module
break;
};
case 14:{//Edit SCADA Module Name
case 14:{//Edit SCADA Module Function
$SCA = intval( $_POST['SCA'] );
if( $OID == 0 ) {
$Data['msg']='Wrong Parameters!';
echo json_encode( $Data );
exit();
};
$NAME = $DATABASE->escape( $_POST['OPCODE'] );
$QS = "UPDATE `modbus_modules` SET `label`='{$NAME}' WHERE `platform_id`={$OID} AND `id`={$SCA}";
$FUNC = intval( $_POST['OPCODE'] );
$QS = "UPDATE `modbus_modules` SET `func`='{$FUNC}' WHERE `platform_id`={$OID} AND `id`={$SCA}";
$DATABASE->Query( $QS );
$Data['success'] = true;
$LOG->reg_op( $_POST );
@ -398,6 +398,169 @@
$LOG->reg_op( $_POST );
break;
};
case 21:{ // change Crossbar Output 'A'
$SCA = intval( $_POST['SCA'] );
$NMD = intval( $_POST['OPCODE'] );
if( $OID == 0 ) {
$Data['msg']='Wrong Parameters!';
echo json_encode( $Data );
exit();
};
$QS="SELECT `crossbar_a` FROM `modbus_modules` WHERE `platform_id`={$OID} AND `id`={$SCA}";
$RR = $DATABASE->Query( $QS, false );
$NMD = ( intval( $RR[0]['crossbar_a'] ) & 0xF0 ) | ( $NMD & 0x0F );
$QS="UPDATE `modbus_modules` SET `crossbar_a` = {$NMD} WHERE `platform_id`={$OID} AND `id`={$SCA}";
$DATABASE->Query( $QS );
$Data['success'] = true;
$LOG->reg_op( $_POST );
break;
};
case 22:{ // change Crossbar Output 'A'
$SCA = intval( $_POST['SCA'] );
$NMD = intval( $_POST['OPCODE'] );
if( $OID == 0 ) {
$Data['msg']='Wrong Parameters!';
echo json_encode( $Data );
exit();
};
$QS="SELECT `crossbar_b` FROM `modbus_modules` WHERE `platform_id`={$OID} AND `id`={$SCA}";
$RR = $DATABASE->Query( $QS, false );
$NMD = ( intval( $RR[0]['crossbar_b'] ) & 0xF0 ) | ( $NMD & 0x0F );
$QS="UPDATE `modbus_modules` SET `crossbar_b` = {$NMD} WHERE `platform_id`={$OID} AND `id`={$SCA}";
$DATABASE->Query( $QS );
$Data['success'] = true;
$LOG->reg_op( $_POST );
break;
};
case 23:{ // change Crossbar Output 'A'
$SCA = intval( $_POST['SCA'] );
$NMD = intval( $_POST['OPCODE'] );
if( $OID == 0 ) {
$Data['msg']='Wrong Parameters!';
echo json_encode( $Data );
exit();
};
$QS="SELECT `crossbar_c` FROM `modbus_modules` WHERE `platform_id`={$OID} AND `id`={$SCA}";
$RR = $DATABASE->Query( $QS, false );
$NMD = ( intval( $RR[0]['crossbar_c'] ) & 0xF0 ) | ( $NMD & 0x0F );
$QS="UPDATE `modbus_modules` SET `crossbar_c` = {$NMD} WHERE `platform_id`={$OID} AND `id`={$SCA}";
$DATABASE->Query( $QS );
$Data['success'] = true;
$LOG->reg_op( $_POST );
break;
};
case 24:{ // change Crossbar Output 'A'
$SCA = intval( $_POST['SCA'] );
$NMD = intval( $_POST['OPCODE'] );
if( $OID == 0 ) {
$Data['msg']='Wrong Parameters!';
echo json_encode( $Data );
exit();
};
$QS="SELECT `crossbar_d` FROM `modbus_modules` WHERE `platform_id`={$OID} AND `id`={$SCA}";
$RR = $DATABASE->Query( $QS, false );
$NMD = ( intval( $RR[0]['crossbar_d'] ) & 0xF0 ) | ( $NMD & 0x0F );
$QS="UPDATE `modbus_modules` SET `crossbar_d` = {$NMD} WHERE `platform_id`={$OID} AND `id`={$SCA}";
$DATABASE->Query( $QS );
$Data['success'] = true;
$LOG->reg_op( $_POST );
break;
};
case 25:{ // Change Platform Left Side Name
if( $OID == 0 ) {
$Data['msg']='Wrong Parameters!';
echo json_encode( $Data );
exit();
};
$NAME = $DATABASE->escape( $_POST['OPCODE'] );
$QS = "UPDATE `metro_platforms` SET `left_side`='{$NAME}' WHERE `id`={$OID}";
$DATABASE->Query( $QS );
$Data['success'] = true;
$LOG->reg_op( $_POST );
break;
};
case 26:{ // Change Platform Left Side Name
if( $OID == 0 ) {
$Data['msg']='Wrong Parameters!';
echo json_encode( $Data );
exit();
};
$NAME = $DATABASE->escape( $_POST['OPCODE'] );
$QS = "UPDATE `metro_platforms` SET `right_side`='{$NAME}' WHERE `id`={$OID}";
$DATABASE->Query( $QS );
$Data['success'] = true;
$LOG->reg_op( $_POST );
break;
};
case 27:{ // Change Input Func crossbar A
$SCA = intval( $_POST['SCA'] );
$NMD = intval( $_POST['OPCODE'] ) * 16;
if( $OID == 0 ) {
$Data['msg']='Wrong Parameters!';
echo json_encode( $Data );
exit();
};
$QS="SELECT `crossbar_a` FROM `modbus_modules` WHERE `platform_id`={$OID} AND `id`={$SCA}";
$RR = $DATABASE->Query( $QS, false );
$NMD = ( intval( $RR[0]['crossbar_a'] ) & 0x0F ) | ( $NMD & 0xF0 );
$QS="UPDATE `modbus_modules` SET `crossbar_a` = {$NMD} WHERE `platform_id`={$OID} AND `id`={$SCA}";
$DATABASE->Query( $QS );
$Data['Q'] = $QS;
$Data['success'] = true;
$LOG->reg_op( $_POST );
break;
};
case 28:{ // Change Input Func crossbar A
$SCA = intval( $_POST['SCA'] );
$NMD = ( intval( $_POST['OPCODE'] ) << 4 );
if( $OID == 0 ) {
$Data['msg']='Wrong Parameters!';
echo json_encode( $Data );
exit();
};
$QS="SELECT `crossbar_b` FROM `modbus_modules` WHERE `platform_id`={$OID} AND `id`={$SCA}";
$RR = $DATABASE->Query( $QS, false );
$NMD = ( intval( $RR[0]['crossbar_b'] ) & 0x0F ) | ( $NMD & 0xF0 );
$QS="UPDATE `modbus_modules` SET `crossbar_b` = {$NMD} WHERE `platform_id`={$OID} AND `id`={$SCA}";
$DATABASE->Query( $QS );
$Data['success'] = true;
$LOG->reg_op( $_POST );
break;
};
case 29:{ // Change Input Func crossbar A
$SCA = intval( $_POST['SCA'] );
$NMD = ( intval( $_POST['OPCODE'] ) << 4 );
if( $OID == 0 ) {
$Data['msg']='Wrong Parameters!';
echo json_encode( $Data );
exit();
};
$QS="SELECT `crossbar_c` FROM `modbus_modules` WHERE `platform_id`={$OID} AND `id`={$SCA}";
$RR = $DATABASE->Query( $QS, false );
$NMD = ( intval( $RR[0]['crossbar_c'] ) & 0x0F ) | ( $NMD & 0xF0 );
$QS="UPDATE `modbus_modules` SET `crossbar_c` = {$NMD} WHERE `platform_id`={$OID} AND `id`={$SCA}";
$DATABASE->Query( $QS );
$Data['success'] = true;
$LOG->reg_op( $_POST );
break;
};
case 30:{ // Change Input Func crossbar A
$SCA = intval( $_POST['SCA'] );
$NMD = ( intval( $_POST['OPCODE'] ) << 4 );
if( $OID == 0 ) {
$Data['msg']='Wrong Parameters!';
echo json_encode( $Data );
exit();
};
$QS="SELECT `crossbar_d` FROM `modbus_modules` WHERE `platform_id`={$OID} AND `id`={$SCA}";
$RR = $DATABASE->Query( $QS, false );
$NMD = ( intval( $RR[0]['crossbar_d'] ) & 0x0F ) | ( $NMD & 0xF0 );
$QS="UPDATE `modbus_modules` SET `crossbar_d` = {$NMD} WHERE `platform_id`={$OID} AND `id`={$SCA}";
$DATABASE->Query( $QS );
$Data['success'] = true;
$LOG->reg_op( $_POST );
break;
};
case 200:{ //Remove Platform
if( $OID ){
$QS = "SELECT `id` FROM `metro_tracks` WHERE `platform_id`={$OID}";

263
lib/controller/getPlatformEditor.php

@ -79,7 +79,7 @@ JOJOKA;
};
$LINES.='</tr></table>';
};
$ROUTING = "{ xtype:'panel', width: '100%', layout: 'table', defaults: {margins: {top:10, right:10, bottom:10, left:10},padding:8},baseCls: 'x-plain', layoutConfig: {columns: 2},frame: false,border: false,items:[{xtype:'panel',border:false,frame:false,colspan:2,html:'{$Labels->GetLabel('_SMM_MET_ROUTE_')}'}";
$ROUTING = "{ xtype:'panel', width: '100%', layout: 'table', defaults: {margins: {top:10, right:10, bottom:10, left:10},padding:8},baseCls: 'x-plain', layoutConfig: {columns: 2},frame: false,border: false, height: PanelH - 500, items:[{xtype:'panel',border:false,frame:false,colspan:2,html:'{$Labels->GetLabel('_SMM_MET_ROUTE_')}'}";
foreach( $Sz as $Z ){
$AS = 'false';
for( $idx = 0; $idx < $PINFO['INFO_COUNT']; $idx++){
@ -93,7 +93,7 @@ JOJOKA;
};
$ROUTING .= "]}";
} else {
$ROUTING = "{xtype:'spacer',height:0}";
$ROUTING = "{xtype:'spacer',height: PanelH - 500}";
};
$TOP ="<td><table width=\"100%\" border=0><tr><td><table border=0 width=\"100%\" style=\"border-collapse: collapse; border-spacing: 5px 5px;\">";
if( $PINFO['PREV_IS_MULTI'] ){
@ -143,127 +143,160 @@ JOJOKA;
xtype: 'panel',
title: '{$Labels->GetLabel('_GENERAL_')}',
items: [{
xtype: 'form',
height: PanelH - 283,
labelWidth: 150,
labelAlign: 'right',
margins: {top:10, right:10, bottom:10, left:10},
padding:8,
items: [{
xtype: 'combo',
id: 'sens_se',
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: '{$CR['status']}',
width: 200,
listeners:{
select: function( a, c, b ){
doPlatformOperation( {$CR['id']}, 2, b, true );
xtype: 'panel',
layout: 'table',
border: false,
frame: false,
width: '100%',
wdefaults: { bodyStyle:'padding:10px; text-align: center;'},
layoutConfig: { columns: 2 },
items:[{
xtype: 'form',
height: PanelH - 500,
labelWidth: 150,
labelAlign: 'right',
border: false,
frame: false,
margins: {top:10, right:10, bottom:10, left:10},
padding:8,
items: [{
xtype: 'combo',
id: 'sens_se',
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: '{$CR['status']}',
width: 200,
listeners:{
select: function( a, c, b ){
doPlatformOperation( {$CR['id']}, 2, b, true );
}
}
}
},{
xtype: 'textfield',
id: 'plt_name',
fieldLabel: '{$Labels->GetLabel('_SMM_PAT_NAME_')}',
maxlength: 64,
value: '{$CR['name']}',
listeners:{
change: function( a, c, b ){
doPlatformOperation( {$CR['id']}, 6, c, true );
},{
xtype: 'textfield',
id: 'plt_name',
fieldLabel: '{$Labels->GetLabel('_SMM_PAT_NAME_')}',
maxlength: 64,
value: '{$CR['name']}',
listeners:{
change: function( a, c, b ){
doPlatformOperation( {$CR['id']}, 6, c, true );
}
}
}
},{
xtype: 'textfield',
id: 'plt_lvl',
fieldLabel: '{$Labels->GetLabel('_SMM_PAT_LEVEL_')}',
maxlength: 2,
value: '{$CR['level']}',
listeners:{
change: function( a, c, b ){
doPlatformOperation( {$CR['id']}, 7, c, true );
},{
xtype: 'textfield',
id: 'plt_lvl',
fieldLabel: '{$Labels->GetLabel('_SMM_PAT_LEVEL_')}',
maxlength: 2,
value: '{$CR['level']}',
listeners:{
change: function( a, c, b ){
doPlatformOperation( {$CR['id']}, 7, c, true );
}
}
}
},{
xtype: 'combo',
fieldLabel: "Platform Type",
id: 'pl_lay_A',
width: 200,
lazyRender: true,
mode: 'local',
forceSelection: true,
triggerAction: 'all',
editable: false,
readOnly: false,
disableKeyFilter: true,
tpl:'<tpl for="."><div class="x-combo-list-item"><img width="16px" src="{icon}"/>&nbsp;{name}</div></tpl>',
store: new Ext.data.ArrayStore({
fields: ['abbr','name','icon'],
data: [['A','Layout A','/style/assets/pt_layout_A.png'],['B','Layout B','/style/assets/pt_layout_B.png'],['C','Layout C','/style/assets/pt_layout_C.png'],['D','Layout D','/style/assets/pt_layout_D.png'],['E','Layout E','/style/assets/pt_layout_E.png'],['F','Layout F','/style/assets/pt_layout_F.png']]
}),
valueField: 'abbr',
displayField: 'name',
value: '{$CR['layout']}',
init_value: '{$CR['layout']}',
listeners:{
select: function( t, r, i ){
if( r.data.abbr < 'C' && t.init_value > 'B' ){
Ext.Msg.show({
title:'{$Labels->GetLabel('_REMOVE_PLATFORM_')}?',
msg: '{$Labels->GetLabel('_REMOVE_PLAT_QUES_')}?',
buttons: Ext.Msg.OKCANCEL,
fn: function(btn){
if( btn == 'ok' ){
doPlatformOperation( {$CR['id']}, 20, r.data.abbr, true );
} else {
t.suspendEvents();
t.setValue( t.init_value, true );
t.resumeEvents();
t.getEl().setStyle({
'background-image': 'url(' + t.store.data.items[t.store.findExact( 'abbr', t.init_value )].data.icon + ')',
'background-repeat': 'no-repeat',
'background-position': '3px center',
'background-size': '16px 16px',
'padding-left': '25px'
});
};
},
icon: Ext.MessageBox.QUESTION
});
} else {
},{
xtype: 'textfield',
id: 'plt_lsname',
fieldLabel: '{$Labels->GetLabel('_SMM_PAT_LSNAME_')}',
maxlength: 2,
value: '{$CR['left_side']}',
listeners:{
change: function( a, c, b ){
doPlatformOperation( {$CR['id']}, 25, c, true );
}
}
},{
xtype: 'textfield',
id: 'plt_rsname',
fieldLabel: '{$Labels->GetLabel('_SMM_PAT_RSNAME_')}',
maxlength: 2,
value: '{$CR['right_side']}',
listeners:{
change: function( a, c, b ){
doPlatformOperation( {$CR['id']}, 26, c, true );
}
}
},{
xtype: 'combo',
fieldLabel: "Platform Type",
id: 'pl_lay_A',
width: 200,
lazyRender: true,
mode: 'local',
forceSelection: true,
triggerAction: 'all',
editable: false,
readOnly: false,
disableKeyFilter: true,
tpl:'<tpl for="."><div class="x-combo-list-item"><img width="16px" src="{icon}"/>&nbsp;{name}</div></tpl>',
store: new Ext.data.ArrayStore({
fields: ['abbr','name','icon'],
data: [['A','Layout A','/style/assets/pt_layout_A.png'],['B','Layout B','/style/assets/pt_layout_B.png'],['C','Layout C','/style/assets/pt_layout_C.png'],['D','Layout D','/style/assets/pt_layout_D.png'],['E','Layout E','/style/assets/pt_layout_E.png'],['F','Layout F','/style/assets/pt_layout_F.png']]
}),
valueField: 'abbr',
displayField: 'name',
value: '{$CR['layout']}',
init_value: '{$CR['layout']}',
listeners:{
select: function( t, r, i ){
if( r.data.abbr < 'C' && t.init_value > 'B' ){
Ext.Msg.show({
title:'{$Labels->GetLabel('_REMOVE_PLATFORM_')}?',
msg: '{$Labels->GetLabel('_REMOVE_PLAT_QUES_')}?',
buttons: Ext.Msg.OKCANCEL,
fn: function(btn){
if( btn == 'ok' ){
doPlatformOperation( {$CR['id']}, 20, r.data.abbr, true );
} else {
t.suspendEvents();
t.setValue( t.init_value, true );
t.resumeEvents();
t.getEl().setStyle({
'background-image': 'url(' + t.store.data.items[t.store.findExact( 'abbr', t.init_value )].data.icon + ')',
'background-repeat': 'no-repeat',
'background-position': '3px center',
'background-size': '16px 16px',
'padding-left': '25px'
});
};
},
icon: Ext.MessageBox.QUESTION
});
} else {
t.getEl().setStyle({
'background-image': 'url(' + r.data.icon + ')',
'background-repeat': 'no-repeat',
'background-position': '3px center',
'background-size': '16px 16px',
'padding-left': '25px'
});
doPlatformOperation( {$CR['id']}, 20, r.data.abbr, true );
};
},
afterrender: function( t ){
t.getEl().setStyle({
'background-image': 'url(' + r.data.icon + ')',
'background-repeat': 'no-repeat',
'background-image': 'url(' + t.store.data.items[t.store.findExact( 'abbr', t.value )].data.icon + ')',
'background-repeat': 'no-repeat',
'background-position': '3px center',
'background-size': '16px 16px',
'padding-left': '25px'
'padding-left': '25px'
});
doPlatformOperation( {$CR['id']}, 20, r.data.abbr, true );
};
},
afterrender: function( t ){
t.getEl().setStyle({
'background-image': 'url(' + t.store.data.items[t.store.findExact( 'abbr', t.value )].data.icon + ')',
'background-repeat': 'no-repeat',
'background-position': '3px center',
'background-size': '16px 16px',
'padding-left': '25px'
});
}
}
}
}]
},{$ROUTING}]
}]
},{

259
lib/controller/getScadaEditor.php

@ -12,6 +12,29 @@
if( ( $CCCV & 0x02 ) == 0x02 ) $P2 = 'true'; else $P2 = 'false';
if( ( $CCCV & 0x04 ) == 0x04 ) $P3 = 'true'; else $P3 = 'false';
if( ( $CCCV & 0x08 ) == 0x08 ) $P4 = 'true'; else $P4 = 'false';
$QS = "SELECT `left_side`,`right_side` FROM `metro_platforms` WHERE `id`={$SC['platform_id']}";
$ZZ = $DATABASE->Query( $QS, false );
$SN = $ZZ[0];
switch($SC['func']){
case 1: $FFF=$SN['left_side'] . ' ' . $Labels->GetLabel('___SIDE__'); break;
case 2: $FFF=$SN['right_side'] . ' ' . $Labels->GetLabel('___SIDE__'); break;
case 3: $FFF='TCC ' . $Labels->GetLabel('___MODULE__'); break;
default: $FFF='Not Assignet';
};
$QS="SELECT `short` FROM `metro_tracks` WHERE `side`='U' AND `platform_id`={$SC['platform_id']}";
$ZZ = $DATABASE->Query( $QS, false );
$UTN = $ZZ[0]['short'];
$QS="SELECT `short` FROM `metro_tracks` WHERE `side`='B' AND `platform_id`={$SC['platform_id']}";
$ZZ = $DATABASE->Query( $QS, false );
$BTN = $ZZ[0]['short'];
$CBOV_A =( intval($SC['crossbar_a']) & 0x0F );
$CBOV_B =( intval($SC['crossbar_a']) & 0x0F );
$CBOV_C =( intval($SC['crossbar_a']) & 0x0F );
$CBOV_D =( intval($SC['crossbar_a']) & 0x0F );
$CBIV_A =( intval($SC['crossbar_a']) >> 4 );
$CBIV_B =( intval($SC['crossbar_a']) >> 4 );
$CBIV_C =( intval($SC['crossbar_a']) >> 4 );
$CBIV_D =( intval($SC['crossbar_a']) >> 4 );
$MODBUS=<<<DATA_BOUNDARY
{
xtype: 'panel',
@ -31,28 +54,49 @@
xtype: 'panel',
border: false,
frame: false,
html: '<table width="100%" border=0><tr><td class="small_prop_logo" id="adam">&nbsp;</td></tr></table>'
width: 160,
html: '<table width="128px" border=0><tr><td class="medium_prop_logo" id="adam">&nbsp;</td></tr></table>'
},{
xtype: 'form',
border: false,
frame: false,
labelWidth: 150,
labelWidth: 100,
labelAlign: 'right',
width: '100%',
items:[{
xtype: 'panel',
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><td><img id="scae_onl_sts" src="/style/assets/bul_gray.png"></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_')}:{$FFF}</td><td><img id="scae_onl_sts" src="/style/assets/bul_gray.png"></td></tr></table>'
},{
xtype: 'textfield',
id: 'sca_label',
fieldLabel: '{$Labels->GetLabel('_NAME_LABEL_')}',
maxlength: 64,
value: '{$SC['label']}',
xtype: 'spacer',
height: 5
},{
xtype: 'combo',
id: 'sca_func',
fieldLabel: "{$Labels->GetLabel('_MO_FUNC_')}",
lazyRender: true,
mode: 'local',
forceSelection: true,
triggerAction: 'all',
editable: false,
disableKeyFilter: true,
store: new Ext.data.ArrayStore({
fields: ['mode','mode_txt'],
data: [
['0','{$Labels->GetLabel('__DEFAULT__')}'],
['1','{$SN['left_side']} {$Labels->GetLabel('___MODULE__')}'],
['2','{$SN['right_side']} {$Labels->GetLabel('___MODULE__')}'],
['3','TCC Module']
]
}),
valueField: 'mode',
displayField: 'mode_txt',
value: '{$SC['func']}',
width: 200,
listeners:{
change: function( a, c, b ){
doScadaOperation( {$SC['platform_id']}, {$SC['id']}, 14, c, true );
select: function( a, c, b ){
doScadaOperation( {$SC['platform_id']}, {$SC['id']}, 14, b, true );
}
}
},{
@ -100,7 +144,7 @@
value: '{$SC['port']}',
listeners:{
change: function( a, c, b ){
doPlatformOperation( {$SC['platform_id']}, 16, c, true );
doScadaOperation( {$SC['platform_id']}, {$SC['id']}, 16, c, true );
}
}
}]
@ -116,11 +160,11 @@
items:[{
xtype: 'panel',
bodyCssClass:'_infoPanel', bodyStyle: 'font-size: 10px; background-color: #000; text-align: center;',
html: 'Upper Track'
html: '{$UTN} {$Labels->GetLabel('_LBL_TRACK_')}'
},{
xtype: 'panel',
bodyCssClass:'_infoPanel', bodyStyle: 'font-size: 10px; background-color: #000; text-align: center;',
html: 'Bottom Track'
html: '{$BTN} {$Labels->GetLabel('_LBL_TRACK_')}'
},{
xtype: 'panel',
bodyCssClass:'_infoPanel', bodyStyle: 'font-size: 10px; background-color: #000; text-align: center;',
@ -131,6 +175,7 @@
html: 'AUX Signal'
},{
xtype: 'combo',
id: 'sce_cb_o_1',
lazyRender: true,
mode: 'local',
forceSelection: true,
@ -140,21 +185,22 @@
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']
[0,'{$Labels->GetLabel('__DISABLED__')}'],
[1,'Coil D0'],[2,'Coil D1'],[3,'Coil D2'],[4,'Coil D3']
]
}),
valueField: 'mode',
displayField: 'mode_txt',
value: '{$SC['crossbar_a']}',
value: '{$CBOV_A}',
width: 120,
listeners:{
select: function( a, c, b ){
//doPlatformOperation( {$SC['platform_id']}, 12, b, true );
doScadaOperation( {$SC['platform_id']}, {$SC['id']}, 21, b, false );
}
}
},{
xtype: 'combo',
id: 'sce_cb_o_2',
lazyRender: true,
mode: 'local',
forceSelection: true,
@ -164,21 +210,22 @@
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']
[0,'{$Labels->GetLabel('__DISABLED__')}'],
[1,'Coil D0'],[2,'Coil D1'],[3,'Coil D2'],[4,'Coil D3']
]
}),
valueField: 'mode',
displayField: 'mode_txt',
value: '{$SC['crossbar_b']}',
value: '{$CBOV_B}',
width: 120,
listeners:{
select: function( a, c, b ){
//doPlatformOperation( {$SC['platform_id']}, 12, b, true );
doScadaOperation( {$SC['platform_id']}, {$SC['id']}, 22, b, false );
}
}
},{
xtype: 'combo',
id: 'sce_cb_o_3',
lazyRender: true,
mode: 'local',
forceSelection: true,
@ -188,21 +235,22 @@
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']
[0,'{$Labels->GetLabel('__DISABLED__')}'],
[1,'Coil D0'],[2,'Coil D1'],[3,'Coil D2'],[4,'Coil D3']
]
}),
valueField: 'mode',
displayField: 'mode_txt',
value: '{$SC['crossbar_c']}',
value: '{$CBOV_C}',
width: 120,
listeners:{
select: function( a, c, b ){
//doPlatformOperation( {$SC['platform_id']}, 12, b, true );
doScadaOperation( {$SC['platform_id']}, {$SC['id']}, 23, b, false );
}
}
},{
xtype: 'combo',
id: 'sce_cb_o_4',
lazyRender: true,
mode: 'local',
forceSelection: true,
@ -212,40 +260,32 @@
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']
[0,'{$Labels->GetLabel('__DISABLED__')}'],
[1,'Coil D0'],[2,'Coil D1'],[3,'Coil D2'],[4,'Coil D3']
]
}),
valueField: 'mode',
displayField: 'mode_txt',
value: '{$SC['crossbar_d']}',
value: '{$CBOV_D}',
width: 120,
listeners:{
select: function( a, c, b ){
//doPlatformOperation( {$SC['platform_id']}, 12, b, true );
doScadaOperation( {$SC['platform_id']}, {$SC['id']}, 24, b, false );
}
}
},{
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',
id: 'sc_tbtn_1',
enableToggle: true,
allowDepress: true,
width: '80%',
text: 'Test D1',
text: 'Test D0',
pressed: {$P1},
disabled: true,
handler: function( b, e ){
b.disable();
if( b.pressed ){
@ -260,8 +300,9 @@
width: '80%',
enableToggle: true,
allowDepress: true,
text: 'Test D2',
text: 'Test D1',
pressed: {$P2},
disabled: true,
handler: function( b, e ){
b.disable();
if( b.pressed ){
@ -276,8 +317,9 @@
enableToggle: true,
allowDepress: true,
width: '80%',
text: 'Test D3',
text: 'Test D2',
pressed: {$P3},
disabled: true,
handler: function( b, e ){
b.disable();
if( b.pressed ){
@ -292,8 +334,9 @@
enableToggle: true,
allowDepress: true,
width: '80%',
text: 'Test D4',
text: 'Test D3',
pressed: {$P4},
disabled: true,
handler: function( b, e ){
b.disable();
if( b.pressed ){
@ -302,6 +345,130 @@
doPlatformOperation( {$SC['platform_id']}, 18, ({$CCCV} & ( ~8 ) ), false );
};
}
},{
xtype: 'spacer',
height: 5,
colspan: 4
},{
xtype: 'panel',
bodyCssClass:'_infoPanel', bodyStyle: 'font-size: 10px; background-color: #000; text-align: center;',
html: 'DI 0 <img id="sce_in_1_img" width="8px" src="/style/assets/sm_ico_gw.png">'
},{
xtype: 'panel',
bodyCssClass:'_infoPanel', bodyStyle: 'font-size: 10px; background-color: #000; text-align: center;',
html: 'DI 1 <img id="sce_in_2_img" width="8px" src="/style/assets/sm_ico_gw.png">'
},{
xtype: 'panel',
bodyCssClass:'_infoPanel', bodyStyle: 'font-size: 10px; background-color: #000; text-align: center;',
html: 'DI 2 <img id="sce_in_3_img" width="8px" src="/style/assets/sm_ico_gw.png">'
},{
xtype: 'panel',
bodyCssClass:'_infoPanel', bodyStyle: 'font-size: 10px; background-color: #000; text-align: center;',
html: 'DI 3 <img id="sce_in_4_img" width="8px" src="/style/assets/sm_ico_gw.png">'
},{
xtype: 'spacer',
height: 5,
colspan: 4
},{
xtype: 'combo',
id: 'sce_cb_i_1',
lazyRender: true,
mode: 'local',
forceSelection: true,
triggerAction: 'all',
editable: false,
disableKeyFilter: true,
store: new Ext.data.ArrayStore({
fields: ['mode','mode_txt'],
data: [
[0,'{$Labels->GetLabel('__DISABLED__')}'],
[1,'{$UTN} {$Labels->GetLabel('_LBL_TRACK_')}'],[2,'{$BTN} {$Labels->GetLabel('_LBL_TRACK_')}'],[3,'Both'],[4,'TCC AUX']
]
}),
valueField: 'mode',
displayField: 'mode_txt',
value: '{$CBIV_A}',
width: 120,
listeners:{
select: function( a, c, b ){
doScadaOperation( {$SC['platform_id']}, {$SC['id']}, 27, b, false );
}
}
},{
xtype: 'combo',
id: 'sce_cb_i_2',
lazyRender: true,
mode: 'local',
forceSelection: true,
triggerAction: 'all',
editable: false,
disableKeyFilter: true,
store: new Ext.data.ArrayStore({
fields: ['mode','mode_txt'],
data: [
[0,'{$Labels->GetLabel('__DISABLED__')}'],
[1,'{$UTN} {$Labels->GetLabel('_LBL_TRACK_')}'],[2,'{$BTN} {$Labels->GetLabel('_LBL_TRACK_')}'],[3,'Both'],[4,'TCC AUX']
]
}),
valueField: 'mode',
displayField: 'mode_txt',
value: '{$CBIV_B}',
width: 120,
listeners:{
select: function( a, c, b ){
doScadaOperation( {$SC['platform_id']}, {$SC['id']}, 28, b, false );
}
}
},{
xtype: 'combo',
id: 'sce_cb_i_3',
lazyRender: true,
mode: 'local',
forceSelection: true,
triggerAction: 'all',
editable: false,
disableKeyFilter: true,
store: new Ext.data.ArrayStore({
fields: ['mode','mode_txt'],
data: [
[0,'{$Labels->GetLabel('__DISABLED__')}'],
[1,'{$UTN} {$Labels->GetLabel('_LBL_TRACK_')}'],[2,'{$BTN} {$Labels->GetLabel('_LBL_TRACK_')}'],[3,'Both'],[4,'TCC AUX']
]
}),
valueField: 'mode',
displayField: 'mode_txt',
value: '{$CBIV_C}',
width: 120,
listeners:{
select: function( a, c, b ){
doScadaOperation( {$SC['platform_id']}, {$SC['id']}, 29, b, false );
}
}
},{
xtype: 'combo',
id: 'sce_cb_i_4',
lazyRender: true,
mode: 'local',
forceSelection: true,
triggerAction: 'all',
editable: false,
disableKeyFilter: true,
store: new Ext.data.ArrayStore({
fields: ['mode','mode_txt'],
data: [
[0,'{$Labels->GetLabel('__DISABLED__')}'],
[1,'{$UTN} {$Labels->GetLabel('_LBL_TRACK_')}'],[2,'{$BTN} {$Labels->GetLabel('_LBL_TRACK_')}'],[3,'Both'],[4,'TCC AUX']
]
}),
valueField: 'mode',
displayField: 'mode_txt',
value: '{$CBIV_D}',
width: 120,
listeners:{
select: function( a, c, b ){
doScadaOperation( {$SC['platform_id']}, {$SC['id']}, 30, b, false );
}
}
}]
},{
xtype: 'spacer',
@ -317,14 +484,10 @@
}],
listeners: {
afterrender: function( panel ){
console.log('Panel is Rendered');
fetchScadaEditorStatus();
},
beforedestroy: function(panel) {
// Return false to halt destruction
console.log('Panel is about to be destroyed');
},
destroy: function(panel) {
console.log('Panel has been destroyed');
stopScadaEditorStatusUpdate();
}
}
}

13
lib/controller/getScadaModules.php

@ -6,11 +6,20 @@
$EID = intval( $_POST['PID'] );
$QS = "SELECT * FROM `modbus_modules` WHERE `platform_id`={$EID}";
$Result = $DATABASE->Query( $QS, false );
if( count( $Result ) ){
if( count( $Result ) ){
$QS = "SELECT `left_side`, `right_side` FROM `metro_platforms` WHERE `id`={$EID}";
$ZZ = $DATABASE->Query( $QS, false );
$CP = $ZZ[0];
$SenPart = array();
foreach( $Result as $R ){
$AA = ($R['wm']=='E')?'active_green':'active_gray';
$SenPart[] = '{ xtype: \'panel\', boder: false, frame: false, html: \'<a class="sideInfo_item '.$AA.'" onclick="editScadaModule('.$R['id'].');">'.$R['ip4'].' '.urldecode($R['label']).'</a>\'}';
switch( $R['func'] ){
case 1: $IM = '/style/assets/scada_fn_l.png'; $FLAB = $CP['left_side'].' '.$Labels->GetLabel('___SIDE__'); break;
case 2: $IM = '/style/assets/scada_fn_r.png'; $FLAB = $CP['right_side'].' '.$Labels->GetLabel('___SIDE__'); break;
case 3: $IM = '/style/assets/scada_fn_tcc.png'; $FLAB = 'TCC ' . $Labels->GetLabel('___MODULE__'); break;
default: $IM = '/style/assets/scada_fn_na.png'; $FLAB = 'No Func.';break;
};
$SenPart[] = '{ xtype: \'panel\', boder: false, frame: false, html: \'<a class="sideInfo_item '.$AA.'" onclick="editScadaModule('.$R['id'].');"><table width="100%"><tr><td>'.$R['ip4'].' '.urldecode($R['label']).' ['.$FLAB.']</td><td width="24px"><img src="'.$IM.'"></td></tr></table></a>\'}';
};
$Data['status']='ok';
$Data['modules'] = '['.implode( ',', $SenPart ) .']';

38
lib/controller/getScadaStatus.php

@ -14,12 +14,40 @@
if( $MID ){
unset( $Data['msg'] );
$Data['status'] = 'ok';
$QS = "SELECT `status`, `values`, `crossbar_a`,`crossbar_b`,`crossbar_c`,`crossbar_d` WHERE `id`={$MID}";
$QS = "SELECT `wm`, `status`, `values`, `crossbar_a`,`crossbar_b`,`crossbar_c`,`crossbar_d` FROM `modbus_modules` WHERE `id`={$MID}";
$RR = $DATABASE->Query( $QS, false );
$VV = intval( $RR[0]['values'];
$VO = $VV & 0xFF;
$VI = ($VV >> 8 ) & 0xFF;
if( $RR[0]['wm'] == 'E' ){
$Data['online'] = (intval($RR[0]['status']))?true:false;
if( $Data['online'] ){
$VV = intval( $RR[0]['values'] );
$VO = $VV & 0xFF;
$Data['outputs']=array();
$Data['outputs'][] = ($VO & 1)?true:false;
$Data['outputs'][] = ($VO & 2)?true:false;
$Data['outputs'][] = ($VO & 4)?true:false;
$Data['outputs'][] = ($VO & 8)?true:false;
$VI = ($VV >> 8 ) & 0xFF;
$Data['inputs']=array();
$Data['inputs'][] = ($VI & 1)?true:false;
$Data['inputs'][] = ($VI & 2)?true:false;
$Data['inputs'][] = ($VI & 4)?true:false;
$Data['inputs'][] = ($VI & 8)?true:false;
};
} else {
$Data['online'] = false;
};
$VV = intval( $RR[0]['crossbar_a'] );
$Data['cb_out_a'] = $VV & 0x0F;
$Data['cb_in_a'] = ( $VV >> 4 ) & 0x0F;
$VV = intval( $RR[0]['crossbar_b'] );
$Data['cb_out_b'] = $VV & 0x0F;
$Data['cb_in_b'] = ( $VV >> 4 ) & 0x0F;
$VV = intval( $RR[0]['crossbar_c'] );
$Data['cb_out_c'] = $VV & 0x0F;
$Data['cb_in_c'] = ( $VV >> 4 ) & 0x0F;
$VV = intval( $RR[0]['crossbar_d'] );
$Data['cb_out_d'] = $VV & 0x0F;
$Data['cb_in_d'] = ( $VV >> 4 ) & 0x0F;
};
};
break;

165
lib/javascript/jsapi_dynamic/argus_settings.js

@ -1188,32 +1188,165 @@ function stopScadaEditorStatusUpdate(){
};
function fetchScadaEditorStatus(){
clearTimeout( scadaEditorStatusTimeout );
if( scadaEditorStatusTimeout != null ) clearTimeout( scadaEditorStatusTimeout );
scadaEditorStatusTimeout = null;
Ext.Ajax.request({
url: '/lib/controller/getScadaStatus.php',
params: {
UID: <?=$UserID;?>,
SID: '<?=$Session;?>',
DID: devUploadID
MODE: 0,
MID: SelectedScadaModule
},
success: function( response, opts ){
var data = Ext.decode(response.responseText);
var tT = Ext.getCmp('upp_ttext');
if( tT != undefined ){
if( data.count > 0 ){
scadaEditorStatusTimeout = setTimeout( fetchScadaEditorStatus, 1000 );
};
if( data.current != undefined ){
tT.update('<p class="UPTTEXT">Uploading '+data.count+' file(s)</p>');
document.getElementById('upp_ctext').innerHTML ='<p class="UPCTEXT">Current File: '+data.current+'</p>';
Ext.getCmp('upp_pbar').updateProgress( data.progress, Math.round( data.progress*100 )+'%', true );
scadaEditorStatusTimeout = setTimeout( fetchScadaEditorStatus, 1000 );
var data = Ext.decode(response.responseText);
if( data.status == 'ok' ){
if( data.online ){
var lt = document.getElementById('scae_onl_sts');
if( lt != undefined ) lt.src = "/style/assets/bul_green.png";
lt = document.getElementById('sce_in_1_img');
if( data.inputs[0] ){
if( lt != undefined ) lt.src = "/style/assets/sm_ico_o.png";
} else {
if( lt != undefined ) lt.src = "/style/assets/sm_ico_gw.png";
};
lt = document.getElementById('sce_in_2_img');
if( data.inputs[1] ){
if( lt != undefined ) lt.src = "/style/assets/sm_ico_o.png";
} else {
if( lt != undefined ) lt.src = "/style/assets/sm_ico_gw.png";
};
lt = document.getElementById('sce_in_3_img');
if( data.inputs[2] ){
if( lt != undefined ) lt.src = "/style/assets/sm_ico_o.png";
} else {
if( lt != undefined ) lt.src = "/style/assets/sm_ico_gw.png";
};
lt = document.getElementById('sce_in_4_img');
if( data.inputs[3] ){
if( lt != undefined ) lt.src = "/style/assets/sm_ico_o.png";
} else {
if( lt != undefined ) lt.src = "/style/assets/sm_ico_gw.png";
};
var tT = Ext.getCmp('sc_tbtn_1');
if( tT != undefined ){
tT.enable();
tT.suspendEvents();
tT.toggle( data.outputs[0] );
tT.resumeEvents();
};
tT = Ext.getCmp('sc_tbtn_2');
if( tT != undefined ){
tT.enable();
tT.suspendEvents();
tT.toggle( data.outputs[1] );
tT.resumeEvents();
};
tT = Ext.getCmp('sc_tbtn_3');
if( tT != undefined ){
tT.enable();
tT.suspendEvents();
tT.toggle( data.outputs[2] );
tT.resumeEvents();
};
tT = Ext.getCmp('sc_tbtn_4');
if( tT != undefined ){
tT.enable();
tT.suspendEvents();
tT.toggle( data.outputs[3] );
tT.resumeEvents();
};
} else {
Ext.getCmp('upload_progres_panel').hide();
Ext.getCmp('uploaded_grid').show();
loadModuleFiles( devUploadID );
var lt = document.getElementById('scae_onl_sts');
if( lt != undefined ) lt.src = "/style/assets/bul_gray.png";
lt = document.getElementById('sce_in_1_img');
if( lt != undefined ) lt.src = "/style/assets/sm_ico_gw.png";
lt = document.getElementById('sce_in_2_img');
if( lt != undefined ) lt.src = "/style/assets/sm_ico_gw.png";
lt = document.getElementById('sce_in_3_img');
if( lt != undefined ) lt.src = "/style/assets/sm_ico_gw.png";
lt = document.getElementById('sce_in_4_img');
if( lt != undefined ) lt.src = "/style/assets/sm_ico_gw.png";
var tT = Ext.getCmp('sc_tbtn_1');
if( tT != undefined ){
tT.disable();
tT.suspendEvents();
tT.toggle( false );
tT.resumeEvents();
};
tT = Ext.getCmp('sc_tbtn_2');
if( tT != undefined ){
tT.disable();
tT.suspendEvents();
tT.toggle( false );
tT.resumeEvents();
};
tT = Ext.getCmp('sc_tbtn_3');
if( tT != undefined ){
tT.disable();
tT.suspendEvents();
tT.toggle( false );
tT.resumeEvents();
};
tT = Ext.getCmp('sc_tbtn_4');
if( tT != undefined ){
tT.disable();
tT.suspendEvents();
tT.toggle( false );
tT.resumeEvents();
};
};
var tT = Ext.getCmp('sce_cb_o_1');
if( tT != undefined ){
tT.suspendEvents();
tT.setValue( data.cb_out_a );
tT.resumeEvents();
};
tT = Ext.getCmp('sce_cb_o_2');
if( tT != undefined ){
tT.suspendEvents();
tT.setValue( data.cb_out_b );
tT.resumeEvents();
};
tT = Ext.getCmp('sce_cb_o_3');
if( tT != undefined ){
tT.suspendEvents();
tT.setValue( data.cb_out_c );
tT.resumeEvents();
};
tT = Ext.getCmp('sce_cb_o_4');
if( tT != undefined ){
tT.suspendEvents();
tT.setValue( data.cb_out_d );
tT.resumeEvents();
};
tT = Ext.getCmp('sce_cb_i_1');
if( tT != undefined ){
tT.suspendEvents();
tT.setValue( data.cb_in_a );
tT.resumeEvents();
};
tT = Ext.getCmp('sce_cb_i_2');
if( tT != undefined ){
tT.suspendEvents();
tT.setValue( data.cb_in_b );
tT.resumeEvents();
};
tT = Ext.getCmp('sce_cb_i_3');
if( tT != undefined ){
tT.suspendEvents();
tT.setValue( data.cb_in_c );
tT.resumeEvents();
};
tT = Ext.getCmp('sce_cb_i_4');
if( tT != undefined ){
tT.suspendEvents();
tT.setValue( data.cb_in_d );
tT.resumeEvents();
};
scadaEditorStatusTimeout = setTimeout( fetchScadaEditorStatus, 1000 );
} else {
//show error msg
};
},
failure: failureAJAXFunction

27
lib/upgrade_database.php

@ -73,6 +73,33 @@ DATA_BOUNDARY;
$QS = "INSERT INTO `session_statuses`(`lvl`,`label`,`min_access`,`class`) VALUES(1,'Dismiss by Station',3,'active_yellow')";
$DATABASE->Query( $QS );
};
$QS = "SHOW COLUMNS FROM `metro_platforms` LIKE 'left_side'";
$R = $DATABASE->Query( $QS );
if( count( $R ) == 0 ){
$QS = "ALTER TABLE `metro_platforms` ADD `left_side` CHAR(16) DEFAULT ''";
$DATABASE->Query( $QS );
$UPGRADE = true;
};
$QS = "SHOW COLUMNS FROM `metro_platforms` LIKE 'right_side'";
$R = $DATABASE->Query( $QS );
if( count( $R ) == 0 ){
$QS = "ALTER TABLE `metro_platforms` ADD `right_side` CHAR(16) DEFAULT ''";
$DATABASE->Query( $QS );
$UPGRADE = true;
};
$QS = "SHOW COLUMNS FROM `modbus_modules` LIKE 'func'";
$R = $DATABASE->Query( $QS );
if( count( $R ) == 0 ){
$QS = "ALTER TABLE `modbus_modules` DROP COLUMN `label`";
$DATABASE->Query( $QS );
$QS = "ALTER TABLE `modbus_modules` ADD `func` TINYINT(3) UNSIGNED DEFAULT 0";
$DATABASE->Query( $QS );
$UPGRADE = true;
};
if( $UPGRADE ){
echo "Upgrade Done!\n\n";
} else {

BIN
style/assets/scada_fn_icons.psd

Binary file not shown.

BIN
style/assets/scada_fn_l.png

Binary file not shown.

After

Width: 22  |  Height: 11  |  Size: 2.8 KiB

BIN
style/assets/scada_fn_na.png

Binary file not shown.

After

Width: 22  |  Height: 11  |  Size: 2.7 KiB

BIN
style/assets/scada_fn_r.png

Binary file not shown.

After

Width: 22  |  Height: 11  |  Size: 2.8 KiB

BIN
style/assets/scada_fn_tcc.png

Binary file not shown.

After

Width: 22  |  Height: 11  |  Size: 2.8 KiB

BIN
style/assets/sm_ico_gw.png

Binary file not shown.

After

Width: 16  |  Height: 16  |  Size: 642 B

13
style/style.css

@ -2316,6 +2316,19 @@ input[type="range"]:focus::-moz-range-thumb {
background-image: url("assets/adam-1.png")!important;
}
.medium_prop_logo{
width: 128px;
height: 128px;
border-radius: 64px;
}
.medium_prop_logo#adam{
background-color: orange;
background-repeat: no-repeat;
background-position: 12px 12px;
background-size: 100px 100px;
background-image: url("assets/adam-1.png")!important;
}
.small_vd_btn{
cursor: pointer;
background-color: yellow;

Loading…
Cancel
Save