Change SS_PB as states are
This commit is contained in:
parent
90951c338d
commit
244394321f
@ -41,7 +41,7 @@
|
||||
"position": {
|
||||
"height": 0.0907,
|
||||
"width": 0.1271,
|
||||
"x": 0.0639,
|
||||
"x": 0.4187,
|
||||
"y": 0.6156
|
||||
},
|
||||
"props": {
|
||||
@ -50,39 +50,7 @@
|
||||
"forceFaultStatus": null,
|
||||
"forceRunningStatus": null,
|
||||
"tagProps": [
|
||||
"System/MCM01/Station/SSPB/SS_PB1",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
"value"
|
||||
]
|
||||
},
|
||||
"path": "Symbol-Views/Equipment-Views/SS_Button"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "SS_PB2"
|
||||
},
|
||||
"position": {
|
||||
"height": 0.0907,
|
||||
"width": 0.1271,
|
||||
"x": 0.0639,
|
||||
"y": 0.261
|
||||
},
|
||||
"props": {
|
||||
"params": {
|
||||
"directionLeft": false,
|
||||
"forceFaultStatus": null,
|
||||
"forceRunningStatus": null,
|
||||
"tagProps": [
|
||||
"System/MCM01/Station/SSPB/SS_PB2",
|
||||
"System/MCM01/Station/SSPB/UL6_1_SS1",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
|
||||
@ -10,12 +10,12 @@
|
||||
"MCM07"
|
||||
],
|
||||
"running_state": -1,
|
||||
"state": 0,
|
||||
"state": null,
|
||||
"views_data": []
|
||||
},
|
||||
"params": {
|
||||
"tagProps": [
|
||||
"System/MCM01/Station/SSPB/SS_PB1",
|
||||
"System/MCM01/Station/SSPB/UL6_1_SS1",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
@ -476,17 +476,37 @@
|
||||
"fallback": "UNKNOWN",
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": 0,
|
||||
"output": "OFF"
|
||||
},
|
||||
{
|
||||
"input": 1,
|
||||
"output": "ON"
|
||||
},
|
||||
{
|
||||
"input": 0,
|
||||
"input": 2,
|
||||
"output": "ON"
|
||||
},
|
||||
{
|
||||
"input": 2,
|
||||
"input": 3,
|
||||
"output": "ON"
|
||||
},
|
||||
{
|
||||
"input": 4,
|
||||
"output": "OFF"
|
||||
},
|
||||
{
|
||||
"input": 5,
|
||||
"output": "ON"
|
||||
},
|
||||
{
|
||||
"input": 6,
|
||||
"output": "ON"
|
||||
},
|
||||
{
|
||||
"input": 7,
|
||||
"output": "ON"
|
||||
}
|
||||
],
|
||||
"outputType": "scalar",
|
||||
@ -820,6 +840,7 @@
|
||||
"grow": 1
|
||||
},
|
||||
"props": {
|
||||
"currentTabIndex": 1,
|
||||
"menuType": "modern",
|
||||
"tabSize": {
|
||||
"width": 1000
|
||||
|
||||
@ -1,19 +1,19 @@
|
||||
{
|
||||
"custom": {
|
||||
"alarm_message": null,
|
||||
"disconnected": true,
|
||||
"plc": "SS_PB1",
|
||||
"disconnected": false,
|
||||
"plc": "System",
|
||||
"priority": 5,
|
||||
"priority_string": "Unknown",
|
||||
"priority_string": "No active alarms",
|
||||
"searchId": "PLC01",
|
||||
"state": 0,
|
||||
"state_string": "Stopped"
|
||||
"state": 4,
|
||||
"state_string": "Disabled"
|
||||
},
|
||||
"params": {
|
||||
"forceFaultStatus": null,
|
||||
"forceStatus": null,
|
||||
"tagProps": [
|
||||
"SS_PB1",
|
||||
"System/MCM01/Station/SSPB/UL6_1_SS1",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
@ -75,13 +75,37 @@
|
||||
"fallback": 5,
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": 0,
|
||||
"output": 5
|
||||
},
|
||||
{
|
||||
"input": 1,
|
||||
"output": 3
|
||||
},
|
||||
{
|
||||
"input": 2,
|
||||
"output": 3
|
||||
},
|
||||
{
|
||||
"input": 3,
|
||||
"output": 3
|
||||
},
|
||||
{
|
||||
"input": 4,
|
||||
"output": 5
|
||||
},
|
||||
{
|
||||
"input": 5,
|
||||
"output": 5
|
||||
},
|
||||
{
|
||||
"input": 6,
|
||||
"output": 5
|
||||
},
|
||||
{
|
||||
"input": 7,
|
||||
"output": 3
|
||||
}
|
||||
],
|
||||
"outputType": "scalar",
|
||||
@ -95,7 +119,7 @@
|
||||
"custom.priority_string": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "case({view.custom.state},\r\n3, \"Medium\",\r\n5, \"No active alarms\",\r\n\"Unknown\")"
|
||||
"expression": "case({view.custom.priority},\r\n3, \"Medium\",\r\n5, \"No active alarms\",\r\n\"Unknown\")"
|
||||
},
|
||||
"type": "expr"
|
||||
},
|
||||
@ -137,6 +161,26 @@
|
||||
{
|
||||
"input": 2,
|
||||
"output": 2
|
||||
},
|
||||
{
|
||||
"input": 3,
|
||||
"output": 3
|
||||
},
|
||||
{
|
||||
"input": 4,
|
||||
"output": 4
|
||||
},
|
||||
{
|
||||
"input": 5,
|
||||
"output": 5
|
||||
},
|
||||
{
|
||||
"input": 6,
|
||||
"output": 6
|
||||
},
|
||||
{
|
||||
"input": 7,
|
||||
"output": 7
|
||||
}
|
||||
],
|
||||
"outputType": "scalar",
|
||||
@ -150,7 +194,7 @@
|
||||
"custom.state_string": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "case({view.custom.state},\r\n1, \"Started\",\r\n0, \"Stopped\",\r\n2, \"Disabled\",\r\n\"Unknown\")"
|
||||
"expression": "case({view.custom.state},\r\n0, \"Stopped\",\r\n1, \"Started\",\r\n2, \"Stopped\",\r\n3, \"Stopped\",\r\n4, \"Disabled\",\r\n5, \"Started\",\r\n6, \"Started\",\r\n7, \"Stopped\",\r\n\"Unknown\")"
|
||||
},
|
||||
"type": "expr"
|
||||
},
|
||||
@ -189,7 +233,7 @@
|
||||
"props.elements[0].fill.paint": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "if(\r\n {view.custom.disconnected},\r\n \"#4F4F4F\",\r\n switch(\r\n toInt({view.custom.state}),\r\n 0, 1, 2, 3,\r\n \"#AAAAAA\", \"#AAAAAA\", \"#AAAAAA\", \"#AAAAAA\",\r\n \"#FFFF00\"\r\n )\r\n)"
|
||||
"expression": "if(\r\n {view.custom.disconnected},\r\n \"#000000\",\r\n switch(\r\n toInt({view.custom.state}),\r\n 0, 1, 2, 3, 4, 5, 6 ,7,\r\n \"#AAAAAA\", \"#AAAAAA\", \"#AAAAAA\", \"#AAAAAA\", \"#AAAAAA\",\r\n \"#AAAAAA\", \"#AAAAAA\", \"#AAAAAA\", \r\n \"#FFFF00\"\r\n )\r\n)\r\n"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
@ -204,17 +248,37 @@
|
||||
"fallback": "#00CC00",
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": 0,
|
||||
"output": "#007400"
|
||||
},
|
||||
{
|
||||
"input": 1,
|
||||
"output": "#00FF00"
|
||||
},
|
||||
{
|
||||
"input": 0,
|
||||
"input": 2,
|
||||
"output": "#00FF00"
|
||||
},
|
||||
{
|
||||
"input": 2,
|
||||
"input": 3,
|
||||
"output": "#00FF00"
|
||||
},
|
||||
{
|
||||
"input": 4,
|
||||
"output": "#007400"
|
||||
},
|
||||
{
|
||||
"input": 5,
|
||||
"output": "#00FF00"
|
||||
},
|
||||
{
|
||||
"input": 6,
|
||||
"output": "#00FF00"
|
||||
},
|
||||
{
|
||||
"input": 7,
|
||||
"output": "#00FF00"
|
||||
}
|
||||
],
|
||||
"outputType": "color",
|
||||
@ -231,11 +295,11 @@
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"fallback": "#D90000",
|
||||
"fallback": "#940003",
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": 2,
|
||||
"input": 0,
|
||||
"output": "#940003"
|
||||
},
|
||||
{
|
||||
@ -243,11 +307,27 @@
|
||||
"output": "#940003"
|
||||
},
|
||||
{
|
||||
"input": 0,
|
||||
"input": 2,
|
||||
"output": "#940003"
|
||||
},
|
||||
{
|
||||
"input": 3,
|
||||
"output": "#D90000"
|
||||
},
|
||||
{
|
||||
"input": 4,
|
||||
"output": "#940003"
|
||||
},
|
||||
{
|
||||
"input": 5,
|
||||
"output": "#940003"
|
||||
},
|
||||
{
|
||||
"input": 6,
|
||||
"output": "#940003"
|
||||
}
|
||||
],
|
||||
"outputType": "scalar",
|
||||
"outputType": "color",
|
||||
"type": "map"
|
||||
}
|
||||
],
|
||||
|
||||
1920
tags/Simulation/MIAN_UDT_TAGS.json
Normal file
1920
tags/Simulation/MIAN_UDT_TAGS.json
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user