Update everything as PLC update
This commit is contained in:
parent
d7968863f9
commit
f27acdd176
@ -17756,7 +17756,7 @@
|
||||
"forceRunningStatus": null,
|
||||
"has_state": false,
|
||||
"tagProps": [
|
||||
"System/MCM01/Conveyor/VFD/UL1_1_VFD1",
|
||||
"System/MCM01/Conveyor/Extendo/UL1_1_EX1",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
@ -17789,7 +17789,7 @@
|
||||
"forceRunningStatus": null,
|
||||
"has_state": false,
|
||||
"tagProps": [
|
||||
"System/MCM01/Conveyor/VFD/UL2_1_VFD1",
|
||||
"System/MCM01/Conveyor/Extendo/UL2_1_EX1",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
@ -17822,7 +17822,7 @@
|
||||
"forceRunningStatus": null,
|
||||
"has_state": false,
|
||||
"tagProps": [
|
||||
"System/MCM01/Conveyor/VFD/UL4_1_VFD1",
|
||||
"System/MCM01/Conveyor/Extendo/UL4_1_EX1",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
@ -17855,7 +17855,7 @@
|
||||
"forceRunningStatus": null,
|
||||
"has_state": false,
|
||||
"tagProps": [
|
||||
"System/MCM01/Conveyor/VFD/UL5_1_VFD1",
|
||||
"System/MCM01/Conveyor/Extendo/UL5_1_EX1",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
@ -17888,7 +17888,7 @@
|
||||
"forceRunningStatus": null,
|
||||
"has_state": false,
|
||||
"tagProps": [
|
||||
"System/MCM01/Conveyor/VFD/UL7_1_VFD1",
|
||||
"System/MCM01/Conveyor/Extendo/UL7_1_EX1",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
@ -17921,7 +17921,7 @@
|
||||
"forceRunningStatus": null,
|
||||
"has_state": false,
|
||||
"tagProps": [
|
||||
"System/MCM01/Conveyor/VFD/UL9_1_VFD1",
|
||||
"System/MCM01/Conveyor/Extendo/UL9_1_EX1",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
@ -17954,7 +17954,7 @@
|
||||
"forceRunningStatus": null,
|
||||
"has_state": false,
|
||||
"tagProps": [
|
||||
"System/MCM01/Conveyor/VFD/UL11_1_VFD1",
|
||||
"System/MCM01/Conveyor/Extendo/UL11_1_EX1",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
@ -17987,7 +17987,7 @@
|
||||
"forceRunningStatus": null,
|
||||
"has_state": false,
|
||||
"tagProps": [
|
||||
"System/MCM01/Conveyor/VFD/UL12_1_VFD1",
|
||||
"System/MCM01/Conveyor/Extendo/UL12_1_EX1",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
|
||||
@ -10192,7 +10192,7 @@
|
||||
"forceFaultStatus": null,
|
||||
"forceRunningStatus": null,
|
||||
"tagProps": [
|
||||
"System/MCM04/Conveyor/VFD/FL1038_4_VFD1",
|
||||
"System/MCM04/Conveyor/Extendo/FL1038_4_EX1",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
@ -12804,7 +12804,7 @@
|
||||
"forceFaultStatus": null,
|
||||
"forceRunningStatus": null,
|
||||
"tagProps": [
|
||||
"System/MCM04/Station/JR/FL1038_2_JR1",
|
||||
"System/MCM04/Station/Chute_JR/FL1038_2_JR1",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
@ -12839,7 +12839,7 @@
|
||||
"forceFaultStatus": null,
|
||||
"forceRunningStatus": null,
|
||||
"tagProps": [
|
||||
"System/MCM04/Station/JR/FL1034_2_JR1",
|
||||
"System/MCM04/Station/Chute_JR/FL1034_2_JR1",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
@ -12874,7 +12874,7 @@
|
||||
"forceFaultStatus": null,
|
||||
"forceRunningStatus": null,
|
||||
"tagProps": [
|
||||
"System/MCM04/Station/JR/FL1026_2_JR1",
|
||||
"System/MCM04/Station/Chute_JR/FL1026_2_JR1",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
@ -12909,7 +12909,7 @@
|
||||
"forceFaultStatus": null,
|
||||
"forceRunningStatus": null,
|
||||
"tagProps": [
|
||||
"System/MCM04/Station/JR/FL1022_2_JR1",
|
||||
"System/MCM04/Station/Chute_JR/FL1022_2_JR1",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
@ -12944,7 +12944,7 @@
|
||||
"forceFaultStatus": null,
|
||||
"forceRunningStatus": null,
|
||||
"tagProps": [
|
||||
"System/MCM04/Station/JR/FL1018_2_JR1",
|
||||
"System/MCM04/Station/Chute_JR/FL1018_2_JR1",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
@ -12979,7 +12979,7 @@
|
||||
"forceFaultStatus": null,
|
||||
"forceRunningStatus": null,
|
||||
"tagProps": [
|
||||
"System/MCM04/Station/JR/FL1014_2_JR1",
|
||||
"System/MCM04/Station/Chute_JR/FL1014_2_JR1",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
@ -13014,7 +13014,7 @@
|
||||
"forceFaultStatus": null,
|
||||
"forceRunningStatus": null,
|
||||
"tagProps": [
|
||||
"System/MCM04/Station/JR/FL3012_2_JR1",
|
||||
"System/MCM04/Station/Chute_JR/FL3012_2_JR1",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
@ -13049,7 +13049,7 @@
|
||||
"forceFaultStatus": null,
|
||||
"forceRunningStatus": null,
|
||||
"tagProps": [
|
||||
"System/MCM04/Station/JR/FL3016_2_JR1",
|
||||
"System/MCM04/Station/Chute_JR/FL3016_2_JR1",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
@ -13084,7 +13084,7 @@
|
||||
"forceFaultStatus": null,
|
||||
"forceRunningStatus": null,
|
||||
"tagProps": [
|
||||
"System/MCM04/Station/JR/FL3020_2_JR1",
|
||||
"System/MCM04/Station/Chute_JR/FL3020_2_JR1",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
@ -13119,7 +13119,7 @@
|
||||
"forceFaultStatus": null,
|
||||
"forceRunningStatus": null,
|
||||
"tagProps": [
|
||||
"System/MCM04/Station/JR/FL3024_2_JR1",
|
||||
"System/MCM04/Station/Chute_JR/FL3024_2_JR1",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
@ -13415,7 +13415,7 @@
|
||||
"forceFaultStatus": null,
|
||||
"forceRunningStatus": null,
|
||||
"tagProps": [
|
||||
"System/MCM04/Station/JR/FL1014_2_JR2",
|
||||
"System/MCM04/Station/Chute_JR/FL1014_2_JR2",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
@ -13451,7 +13451,7 @@
|
||||
"forceFaultStatus": null,
|
||||
"forceRunningStatus": null,
|
||||
"tagProps": [
|
||||
"System/MCM04/Station/JR/FL1018_2_JR2",
|
||||
"System/MCM04/Station/Chute_JR/FL1018_2_JR2",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
@ -13487,7 +13487,7 @@
|
||||
"forceFaultStatus": null,
|
||||
"forceRunningStatus": null,
|
||||
"tagProps": [
|
||||
"System/MCM04/Station/JR/FL1022_2_JR2",
|
||||
"System/MCM04/Station/Chute_JR/FL1022_2_JR2",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
@ -13523,7 +13523,7 @@
|
||||
"forceFaultStatus": null,
|
||||
"forceRunningStatus": null,
|
||||
"tagProps": [
|
||||
"System/MCM04/Station/JR/FL1026_2_JR2",
|
||||
"System/MCM04/Station/Chute_JR/FL1026_2_JR2",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
@ -13559,7 +13559,7 @@
|
||||
"forceFaultStatus": null,
|
||||
"forceRunningStatus": null,
|
||||
"tagProps": [
|
||||
"System/MCM04/Station/JR/FL1034_2_JR2",
|
||||
"System/MCM04/Station/Chute_JR/FL1034_2_JR2",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
@ -13595,7 +13595,7 @@
|
||||
"forceFaultStatus": null,
|
||||
"forceRunningStatus": null,
|
||||
"tagProps": [
|
||||
"System/MCM04/Station/JR/FL1038_2_JR2",
|
||||
"System/MCM04/Station/Chute_JR/FL1038_2_JR2",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
@ -13631,7 +13631,7 @@
|
||||
"forceFaultStatus": null,
|
||||
"forceRunningStatus": null,
|
||||
"tagProps": [
|
||||
"System/MCM04/Station/JR/FL3012_2_JR2",
|
||||
"System/MCM04/Station/Chute_JR/FL3012_2_JR2",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
@ -13667,7 +13667,7 @@
|
||||
"forceFaultStatus": null,
|
||||
"forceRunningStatus": null,
|
||||
"tagProps": [
|
||||
"System/MCM04/Station/JR/FL3016_2_JR2",
|
||||
"System/MCM04/Station/Chute_JR/FL3016_2_JR2",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
@ -13703,7 +13703,7 @@
|
||||
"forceFaultStatus": null,
|
||||
"forceRunningStatus": null,
|
||||
"tagProps": [
|
||||
"System/MCM04/Station/JR/FL3020_2_JR2",
|
||||
"System/MCM04/Station/Chute_JR/FL3020_2_JR2",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
@ -13739,7 +13739,7 @@
|
||||
"forceFaultStatus": null,
|
||||
"forceRunningStatus": null,
|
||||
"tagProps": [
|
||||
"System/MCM04/Station/JR/FL3024_2_JR2",
|
||||
"System/MCM04/Station/Chute_JR/FL3024_2_JR2",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
|
||||
@ -25,7 +25,7 @@
|
||||
"forceFaultStatus": null,
|
||||
"forceRunningStatus": null,
|
||||
"tagProps": [
|
||||
"/System/Field_Devices/SIO/SIO1",
|
||||
"System/MCM01/IO_BLOCK/SIO/SIO",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
@ -57,7 +57,7 @@
|
||||
"forceFaultStatus": null,
|
||||
"forceRunningStatus": null,
|
||||
"tagProps": [
|
||||
"/System/Field_Devices/FIO/FIO1",
|
||||
"System/MCM01/IO_BLOCK/FIO/FIO",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
@ -89,7 +89,7 @@
|
||||
"forceFaultStatus": null,
|
||||
"forceRunningStatus": null,
|
||||
"tagProps": [
|
||||
"/System/Field_Devices/HUB/HUB1",
|
||||
"System/MCM01/IO_BLOCK/HUB/HUB",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
|
||||
@ -25,7 +25,7 @@
|
||||
"forceFaultStatus": null,
|
||||
"forceRunningStatus": null,
|
||||
"tagProps": [
|
||||
"MCM",
|
||||
"System/MCM01/MCM",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
|
||||
@ -50,7 +50,7 @@
|
||||
"forceFaultStatus": null,
|
||||
"forceRunningStatus": null,
|
||||
"tagProps": [
|
||||
"System/MCM01/Station/SSPB/UL6_1_SS1",
|
||||
"System/MCM01/Station/SS_PB/UL6_1_SS1",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
@ -82,7 +82,7 @@
|
||||
"forceFaultStatus": null,
|
||||
"forceRunningStatus": null,
|
||||
"tagProps": [
|
||||
"/System/Conveyor/UL1_3_VFD1",
|
||||
"System/MCM01/Conveyor/VFD/UL6_1_VFD",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
|
||||
@ -58,72 +58,6 @@
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "UL1_3_EPC2_Line"
|
||||
},
|
||||
"position": {
|
||||
"height": 0.0278,
|
||||
"rotate": {
|
||||
"angle": 0
|
||||
},
|
||||
"width": 0.7156,
|
||||
"x": 0.1557,
|
||||
"y": 0.2722
|
||||
},
|
||||
"props": {
|
||||
"params": {
|
||||
"forceFaultStatus": null,
|
||||
"tagProps": [
|
||||
"System/MCM01/Station/EPC/UL1_3_EPC2",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
"value"
|
||||
]
|
||||
},
|
||||
"path": "Symbol-Views/Equipment-Views/PullChord_Line"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "UL1_3_EPC2"
|
||||
},
|
||||
"position": {
|
||||
"height": 0.1648,
|
||||
"rotate": {
|
||||
"angle": 90
|
||||
},
|
||||
"width": 0.0964,
|
||||
"x": 0.0698,
|
||||
"y": 0.2037
|
||||
},
|
||||
"props": {
|
||||
"params": {
|
||||
"forceFaultStatus": null,
|
||||
"tagProps": [
|
||||
"System/MCM01/Station/EPC/UL1_3_EPC2",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
"value"
|
||||
]
|
||||
},
|
||||
"path": "Symbol-Views/Equipment-Views/PullChord"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "UL1_3_EPC1"
|
||||
@ -190,39 +124,6 @@
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "UL1_3_EPC2_END"
|
||||
},
|
||||
"position": {
|
||||
"height": 0.1389,
|
||||
"rotate": {
|
||||
"angle": 90
|
||||
},
|
||||
"width": 0.0417,
|
||||
"x": 0.8765,
|
||||
"y": 0.2178
|
||||
},
|
||||
"props": {
|
||||
"params": {
|
||||
"forceFaultStatus": null,
|
||||
"tagProps": [
|
||||
"System/MCM01/Station/EPC/UL1_3_EPC2",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
"value"
|
||||
]
|
||||
},
|
||||
"path": "Symbol-Views/Equipment-Views/PullChord_End"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "UL1_3_VFD1"
|
||||
@ -239,7 +140,7 @@
|
||||
"forceFaultStatus": null,
|
||||
"forceRunningStatus": null,
|
||||
"tagProps": [
|
||||
"System/Conveyor/UL1_3_VFD1",
|
||||
"System/MCM01/Conveyor/VFD/UL1_3_VFD1",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
|
||||
@ -48,7 +48,7 @@
|
||||
"params": {
|
||||
"forceFaultStatus": null,
|
||||
"tagProps": [
|
||||
"/System/Station/Buttons/UL1_3_JR_PB1",
|
||||
"System/MCM01/Station/JR/UL1_3_JR_PB1",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
@ -78,7 +78,7 @@
|
||||
"params": {
|
||||
"forceFaultStatus": null,
|
||||
"tagProps": [
|
||||
"/System/Station/Buttons/UL1_3_JR_PB2",
|
||||
"System/MCM01/Station/JR/UL1_3_JR_PB2",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
@ -110,7 +110,7 @@
|
||||
"forceFaultStatus": null,
|
||||
"forceRunningStatus": null,
|
||||
"tagProps": [
|
||||
"/System/Conveyor/UL1_3_VFD1",
|
||||
"/System/MCM01/Conveyor/VFD/UL1_3_VFD1",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
|
||||
@ -1,7 +1,12 @@
|
||||
{
|
||||
"custom": {},
|
||||
"params": {},
|
||||
"props": {},
|
||||
"props": {
|
||||
"defaultSize": {
|
||||
"height": 1080,
|
||||
"width": 1920
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
@ -11,8 +16,8 @@
|
||||
"position": {
|
||||
"height": 186.64,
|
||||
"width": 97.92,
|
||||
"x": 460.6,
|
||||
"y": 287.6
|
||||
"x": 1140,
|
||||
"y": 445
|
||||
},
|
||||
"props": {
|
||||
"params": {
|
||||
@ -20,7 +25,7 @@
|
||||
"forceFaultStatus": null,
|
||||
"forceRunningStatus": null,
|
||||
"tagProps": [
|
||||
"/System/Conveyor/UL1_3_VFD1",
|
||||
"System/MCM01/Conveyor/VFD/UL1_3_VFD1",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
@ -43,8 +48,8 @@
|
||||
"position": {
|
||||
"height": 186.64,
|
||||
"width": 97.92,
|
||||
"x": 260.6,
|
||||
"y": 294.6
|
||||
"x": 740,
|
||||
"y": 445
|
||||
},
|
||||
"props": {
|
||||
"params": {
|
||||
@ -52,7 +57,7 @@
|
||||
"forceFaultStatus": null,
|
||||
"forceRunningStatus": null,
|
||||
"tagProps": [
|
||||
"System/Conveyor/APF/FL1038_2_VFD1",
|
||||
"System/MCM01/Conveyor/APF/FL1038_2_VFD1",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
@ -75,8 +80,8 @@
|
||||
"position": {
|
||||
"height": 32,
|
||||
"width": 50,
|
||||
"x": 459.5555610656738,
|
||||
"y": 262.59722900390625
|
||||
"x": 1154.52,
|
||||
"y": 445
|
||||
},
|
||||
"props": {
|
||||
"text": "VFD"
|
||||
@ -90,8 +95,8 @@
|
||||
"position": {
|
||||
"height": 32,
|
||||
"width": 50,
|
||||
"x": 267,
|
||||
"y": 260
|
||||
"x": 763.9583358764648,
|
||||
"y": 445
|
||||
},
|
||||
"props": {
|
||||
"text": "APF"
|
||||
|
||||
@ -1,13 +1,21 @@
|
||||
{
|
||||
"custom": {
|
||||
"PLC_list": null,
|
||||
"PLC_list": [
|
||||
"MCM01",
|
||||
"MCM02",
|
||||
"MCM03",
|
||||
"MCM04",
|
||||
"MCM05",
|
||||
"MCM06",
|
||||
"MCM07"
|
||||
],
|
||||
"running_state": -1,
|
||||
"state": 0,
|
||||
"views_data": []
|
||||
},
|
||||
"params": {
|
||||
"tagProps": [
|
||||
"System/MCM01/Station/EPC/UL1_3_EPC1",
|
||||
"System/MCM04/Chute/PalletBuild/S011054",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
@ -413,7 +421,166 @@
|
||||
"style": {
|
||||
"paddingLeft": 20
|
||||
},
|
||||
"text": "LIGHT"
|
||||
"text": "PR PB LIGHT"
|
||||
},
|
||||
"type": "ia.display.label"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "PB_Light"
|
||||
},
|
||||
"position": {
|
||||
"basis": "50%",
|
||||
"grow": 1
|
||||
},
|
||||
"propConfig": {
|
||||
"props.style.backgroundColor": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "this.props.text"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"fallback": "#D5D5D5",
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": "UNKNOWN",
|
||||
"output": "#FFFFFF"
|
||||
}
|
||||
],
|
||||
"outputType": "color",
|
||||
"type": "map"
|
||||
}
|
||||
],
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.text": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"fallbackDelay": 2.5,
|
||||
"mode": "indirect",
|
||||
"references": {
|
||||
"0": "{view.params.tagProps[0]}",
|
||||
"fc": "{session.custom.fc}"
|
||||
},
|
||||
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/PR_PB_STATE"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"expression": "coalesce({value},{view.params.forceFaultStatus},\"UNKNOWN\")",
|
||||
"type": "expression"
|
||||
},
|
||||
{
|
||||
"fallback": "UNKNOWN",
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": 1,
|
||||
"output": "ON"
|
||||
},
|
||||
{
|
||||
"input": 0,
|
||||
"output": "OFF"
|
||||
}
|
||||
],
|
||||
"outputType": "scalar",
|
||||
"type": "map"
|
||||
}
|
||||
],
|
||||
"type": "tag"
|
||||
}
|
||||
},
|
||||
"props.textStyle.color": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "this.props.text"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"fallback": "#000000",
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": "ON",
|
||||
"output": "#47FF47"
|
||||
},
|
||||
{
|
||||
"input": "OFF",
|
||||
"output": "#FF0000"
|
||||
}
|
||||
],
|
||||
"outputType": "color",
|
||||
"type": "map"
|
||||
}
|
||||
],
|
||||
"type": "property"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"style": {
|
||||
"classes": "Text-Styles/Ariel-Bold-12pt",
|
||||
"paddingLeft": 10
|
||||
}
|
||||
},
|
||||
"type": "ia.display.label"
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"name": "Property"
|
||||
},
|
||||
"position": {
|
||||
"basis": "35px",
|
||||
"shrink": 2
|
||||
},
|
||||
"props": {
|
||||
"style": {
|
||||
"classes": "PopUp-Styles/InfoLabel"
|
||||
}
|
||||
},
|
||||
"type": "ia.container.flex"
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"name": "FlexContainer_2"
|
||||
},
|
||||
"position": {
|
||||
"basis": "35px"
|
||||
},
|
||||
"propConfig": {
|
||||
"meta.visible": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "if(\r\n indexOf({view.params.tagProps[0]}, \"EPC\") \u003e\u003d 0,\r\n false,\r\n true\r\n)\r\n"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"direction": "column"
|
||||
},
|
||||
"type": "ia.container.flex"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"meta": {
|
||||
"name": "NameField"
|
||||
},
|
||||
"position": {
|
||||
"basis": "50%",
|
||||
"grow": 1
|
||||
},
|
||||
"props": {
|
||||
"style": {
|
||||
"paddingLeft": 20
|
||||
},
|
||||
"text": "EPC BEACON"
|
||||
},
|
||||
"type": "ia.display.label"
|
||||
},
|
||||
@ -461,7 +628,7 @@
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"expression": "if(\r\n indexOf({view.params.tagProps[0]}, \"EPC\") \u003e\u003d 0,\r\n coalesce(\r\n if({value} \u003d 0, 1, {value}),\r\n {view.params.forceFaultStatus},\r\n \"UNKNOWN\"\r\n ),\r\n coalesce({value}, {view.params.forceFaultStatus}, \"UNKNOWN\")\r\n)\r\n",
|
||||
"expression": "if(\r\n indexOf({view.params.tagProps[0]}, \"EPC\") \u003e\u003d 0,\r\n coalesce(\r\n if({value} \u003d 0, 1, {value}),\r\n {view.params.forceFaultStatus},\r\n \"UNKNOWN\"\r\n ),\r\n \"UNKNOWN\"\r\n)\r\n",
|
||||
"type": "expression"
|
||||
},
|
||||
{
|
||||
@ -549,6 +716,16 @@
|
||||
"position": {
|
||||
"basis": "35px"
|
||||
},
|
||||
"propConfig": {
|
||||
"meta.visible": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "if(\r\n indexOf({view.params.tagProps[0]}, \"EPC\") \u003e\u003d 0,\r\n true,\r\n false\r\n)\r\n"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"direction": "column"
|
||||
},
|
||||
@ -577,6 +754,7 @@
|
||||
"grow": 1
|
||||
},
|
||||
"props": {
|
||||
"currentTabIndex": 1,
|
||||
"menuType": "modern",
|
||||
"tabSize": {
|
||||
"width": 1000
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
},
|
||||
"params": {
|
||||
"tagProps": [
|
||||
"System/Extendo/FL4066_4_EX1",
|
||||
"System/MCM04/Conveyor/Extendo/FL1038_4_EX1",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
@ -1186,16 +1186,12 @@
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"fallback": "#FFFFFF",
|
||||
"fallback": "#D5D5D5",
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": "TRUE",
|
||||
"input": "UNKNOWN",
|
||||
"output": "#FFFFFF"
|
||||
},
|
||||
{
|
||||
"input": "FALSE",
|
||||
"output": "#D5D5D5"
|
||||
}
|
||||
],
|
||||
"outputType": "color",
|
||||
@ -1329,7 +1325,7 @@
|
||||
"component": {
|
||||
"onActionPerformed": {
|
||||
"config": {
|
||||
"script": "\ttag_name \u003d self.view.params.tagProps[0]\n\ttag_path \u003d \"[\" + self.session.custom.fc+ \"_SCADA_TAG_PROVIDER]\"+tag_name+\"/PEC_Override_PB\"\n\tsystem.tag.writeBlocking([tag_path],[True])"
|
||||
"script": "\ttag_name \u003d self.view.params.tagProps[0]\n\ttag_path \u003d \"[\" + self.session.custom.fc + \"_SCADA_TAG_PROVIDER]\" + tag_name + \"/PEC_Override_PB\"\n\tcurrent_value \u003d system.tag.readBlocking([tag_path])[0].value\n\tnew_value \u003d not current_value\n\tsystem.tag.writeBlocking([tag_path], [new_value])"
|
||||
},
|
||||
"scope": "G",
|
||||
"type": "script"
|
||||
@ -1422,7 +1418,7 @@
|
||||
"component": {
|
||||
"onActionPerformed": {
|
||||
"config": {
|
||||
"script": "\ttag_name \u003d self.view.params.tagProps[0]\n\ttag_path \u003d \"[\" + self.session.custom.fc+ \"_SCADA_TAG_PROVIDER]\"+tag_name+\"/Extendo_Faults_Reset_PB\"\n\tsystem.tag.writeBlocking([tag_path],[True])"
|
||||
"script": "\ttag_name \u003d self.view.params.tagProps[0]\n\ttag_path \u003d \"[\" + self.session.custom.fc + \"_SCADA_TAG_PROVIDER]\" + tag_name + \"/Extendo_Faults_Reset_PB\"\n\tcurrent_value \u003d system.tag.readBlocking([tag_path])[0].value\n\tnew_value \u003d not current_value\n\tsystem.tag.writeBlocking([tag_path], [new_value])"
|
||||
},
|
||||
"scope": "G",
|
||||
"type": "script"
|
||||
@ -1551,7 +1547,6 @@
|
||||
"grow": 1
|
||||
},
|
||||
"props": {
|
||||
"currentTabIndex": 1,
|
||||
"menuType": "modern",
|
||||
"tabSize": {
|
||||
"width": 1000
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
},
|
||||
"params": {
|
||||
"tagProps": [
|
||||
"System/MCM01/Station/JR/S011050_JR1",
|
||||
"System/MCM04/Station/Chute_JR/FL1038_2_JR1",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
@ -476,6 +476,14 @@
|
||||
"fallback": "UNKNOWN",
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": 1,
|
||||
"output": "ON"
|
||||
},
|
||||
{
|
||||
"input": 0,
|
||||
"output": "OFF"
|
||||
},
|
||||
{
|
||||
"input": true,
|
||||
"output": "ON"
|
||||
|
||||
@ -10,12 +10,12 @@
|
||||
"MCM07"
|
||||
],
|
||||
"running_state": -1,
|
||||
"state": 0,
|
||||
"state": 2,
|
||||
"views_data": []
|
||||
},
|
||||
"params": {
|
||||
"tagProps": [
|
||||
"System/MCM01/Station/SS_PB/UL6_1_SS1",
|
||||
"System/MCM02/Station/S_PB/UL21_3_S2",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
@ -577,332 +577,6 @@
|
||||
"direction": "column"
|
||||
},
|
||||
"type": "ia.container.flex"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"meta": {
|
||||
"name": "Name"
|
||||
},
|
||||
"position": {
|
||||
"basis": "50%",
|
||||
"grow": 1
|
||||
},
|
||||
"props": {
|
||||
"style": {
|
||||
"paddingLeft": 20
|
||||
},
|
||||
"text": "FULL"
|
||||
},
|
||||
"type": "ia.display.label"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "Full"
|
||||
},
|
||||
"position": {
|
||||
"basis": "50%",
|
||||
"grow": 1
|
||||
},
|
||||
"propConfig": {
|
||||
"props.style.backgroundColor": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "this.props.text"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"fallback": "#FFFFFF",
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": "FULL",
|
||||
"output": "#D5D5D5"
|
||||
},
|
||||
{
|
||||
"input": "NOT FULL",
|
||||
"output": "#D5D5D5"
|
||||
}
|
||||
],
|
||||
"outputType": "color",
|
||||
"type": "map"
|
||||
}
|
||||
],
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.text": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"fallbackDelay": 2.5,
|
||||
"mode": "indirect",
|
||||
"references": {
|
||||
"0": "{view.params.tagProps[0]}",
|
||||
"fc": "{session.custom.fc}"
|
||||
},
|
||||
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Full"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"expression": "coalesce({value},{view.params.forceFaultStatus},\"UNKNOWN\")",
|
||||
"type": "expression"
|
||||
},
|
||||
{
|
||||
"fallback": "UNKNOWN",
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": 1,
|
||||
"output": "FULL"
|
||||
},
|
||||
{
|
||||
"input": 0,
|
||||
"output": "NOT FULL"
|
||||
}
|
||||
],
|
||||
"outputType": "scalar",
|
||||
"type": "map"
|
||||
}
|
||||
],
|
||||
"type": "tag"
|
||||
}
|
||||
},
|
||||
"props.textStyle.color": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "this.props.text"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"fallback": "#000000",
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": "FULL",
|
||||
"output": "#0008FF"
|
||||
},
|
||||
{
|
||||
"input": "NOT FULL",
|
||||
"output": "#47FF47"
|
||||
}
|
||||
],
|
||||
"outputType": "color",
|
||||
"type": "map"
|
||||
}
|
||||
],
|
||||
"type": "property"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"style": {
|
||||
"classes": "Text-Styles/Ariel-Bold-12pt",
|
||||
"paddingLeft": 10
|
||||
}
|
||||
},
|
||||
"type": "ia.display.label"
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"name": "Property"
|
||||
},
|
||||
"position": {
|
||||
"basis": "35px",
|
||||
"shrink": 2
|
||||
},
|
||||
"props": {
|
||||
"style": {
|
||||
"classes": "PopUp-Styles/InfoLabel"
|
||||
}
|
||||
},
|
||||
"type": "ia.container.flex"
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"name": "Full"
|
||||
},
|
||||
"position": {
|
||||
"basis": "35px"
|
||||
},
|
||||
"propConfig": {
|
||||
"meta.visible": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "if(indexOf({view.params.tagProps[0]}, \"SS_PB\") \u003e\u003d 0, false, true)\r\n"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"direction": "column"
|
||||
},
|
||||
"type": "ia.container.flex"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"meta": {
|
||||
"name": "Name"
|
||||
},
|
||||
"position": {
|
||||
"basis": "50%",
|
||||
"grow": 1
|
||||
},
|
||||
"props": {
|
||||
"style": {
|
||||
"paddingLeft": 20
|
||||
},
|
||||
"text": "JAM"
|
||||
},
|
||||
"type": "ia.display.label"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "Jam"
|
||||
},
|
||||
"position": {
|
||||
"basis": "50%",
|
||||
"grow": 1
|
||||
},
|
||||
"propConfig": {
|
||||
"props.style.backgroundColor": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "this.props.text"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"fallback": "#FFFFFF",
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": "JAMMED",
|
||||
"output": "#D5D5D5"
|
||||
},
|
||||
{
|
||||
"input": "NOT JAMMED",
|
||||
"output": "#D5D5D5"
|
||||
}
|
||||
],
|
||||
"outputType": "color",
|
||||
"type": "map"
|
||||
}
|
||||
],
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.text": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"fallbackDelay": 2.5,
|
||||
"mode": "indirect",
|
||||
"references": {
|
||||
"0": "{view.params.tagProps[0]}",
|
||||
"fc": "{session.custom.fc}"
|
||||
},
|
||||
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Jam"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"expression": "coalesce({value},{view.params.forceFaultStatus},\"UNKNOWN\")",
|
||||
"type": "expression"
|
||||
},
|
||||
{
|
||||
"fallback": "UNKNOWN",
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": 1,
|
||||
"output": "JAMMED"
|
||||
},
|
||||
{
|
||||
"input": 0,
|
||||
"output": "NOT JAMMED"
|
||||
}
|
||||
],
|
||||
"outputType": "scalar",
|
||||
"type": "map"
|
||||
}
|
||||
],
|
||||
"type": "tag"
|
||||
}
|
||||
},
|
||||
"props.textStyle.color": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "this.props.text"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"fallback": "#000000",
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": "JAMMED",
|
||||
"output": "#FF8C00"
|
||||
},
|
||||
{
|
||||
"input": "NOT JAMMED",
|
||||
"output": "#47FF47"
|
||||
}
|
||||
],
|
||||
"outputType": "color",
|
||||
"type": "map"
|
||||
}
|
||||
],
|
||||
"type": "property"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"style": {
|
||||
"classes": "Text-Styles/Ariel-Bold-12pt",
|
||||
"paddingLeft": 10
|
||||
}
|
||||
},
|
||||
"type": "ia.display.label"
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"name": "Property"
|
||||
},
|
||||
"position": {
|
||||
"basis": "35px",
|
||||
"shrink": 2
|
||||
},
|
||||
"props": {
|
||||
"style": {
|
||||
"classes": "PopUp-Styles/InfoLabel"
|
||||
}
|
||||
},
|
||||
"type": "ia.container.flex"
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"name": "Jam"
|
||||
},
|
||||
"position": {
|
||||
"basis": "35px"
|
||||
},
|
||||
"propConfig": {
|
||||
"meta.visible": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "if(indexOf({view.params.tagProps[0]}, \"SS_PB\") \u003e\u003d 0, false, true)\r\n"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"direction": "column"
|
||||
},
|
||||
"type": "ia.container.flex"
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
|
||||
@ -1,14 +1,22 @@
|
||||
{
|
||||
"custom": {
|
||||
"PLC_list": null,
|
||||
"PLC_list": [
|
||||
"MCM01",
|
||||
"MCM02",
|
||||
"MCM03",
|
||||
"MCM04",
|
||||
"MCM05",
|
||||
"MCM06",
|
||||
"MCM07"
|
||||
],
|
||||
"running_state": -1,
|
||||
"state": 0,
|
||||
"type": 0,
|
||||
"state": 2,
|
||||
"type": 3,
|
||||
"views_data": []
|
||||
},
|
||||
"params": {
|
||||
"tagProps": [
|
||||
"System/MCM04/Chute/D2C/S011003",
|
||||
"System/MCM04/Chute/FL_CHUTE/FL1038_1CH",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
|
||||
@ -10,12 +10,12 @@
|
||||
"MCM07"
|
||||
],
|
||||
"running_state": -1,
|
||||
"state": 0,
|
||||
"state": 2,
|
||||
"views_data": []
|
||||
},
|
||||
"params": {
|
||||
"tagProps": [
|
||||
"System/Conveyor/APF/FL1038_2_VFD1",
|
||||
"System/MCM01/Conveyor/VFD/UL1_3_VFD1",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
@ -785,7 +785,7 @@
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"code": "\n provider \u003d self.session.custom.fc + \"_SCADA_TAG_PROVIDER\"\n baseTag \u003d self.view.params.tagProps[0]\n basePath \u003d \"[\"+ provider + \"]\" + baseTag\n child \u003d \"\"\n unit \u003d \"\"\n \n\n if value \u003d\u003d 1:\n child \u003d \"Velocity\"\n unit \u003d \" Rev/s\"\n else:\n child \u003d \"Frequency\"\n unit \u003d \" Hz\"\n\n fullPath \u003d basePath + \"/\" + child\n tagValue \u003d system.tag.readBlocking([fullPath])[0]\n result \u003d tagValue.value\n\t\n if result is None or str(result) \u003d\u003d \"None\":\n return \"UNKNOWN\"\n else:\n return str(result) + unit",
|
||||
"code": " provider \u003d self.session.custom.fc + \"_SCADA_TAG_PROVIDER\"\n baseTag \u003d self.view.params.tagProps[0]\n basePath \u003d \"[\"+ provider + \"]\" + baseTag\n child \u003d \"\"\n unit \u003d \"\"\n \n\n if value \u003d\u003d 1:\n child \u003d \"Velocity\"\n unit \u003d \" Rev/s\"\n else:\n child \u003d \"Frequency\"\n unit \u003d \" Hz\"\n\n fullPath \u003d basePath + \"/\" + child\n tagValue \u003d system.tag.readBlocking([fullPath])[0]\n result \u003d tagValue.value\n\t\n if result is None or str(result) \u003d\u003d \"None\":\n return \"UNKNOWN\"\n else:\n return str(result) + unit",
|
||||
"type": "script"
|
||||
}
|
||||
],
|
||||
|
||||
@ -1,19 +1,20 @@
|
||||
{
|
||||
"custom": {
|
||||
"alarm_message": null,
|
||||
"button_type": "",
|
||||
"disconnected": false,
|
||||
"plc": "System",
|
||||
"priority": 0,
|
||||
"priority_string": "Unknown",
|
||||
"searchId": "value",
|
||||
"state": 0,
|
||||
"state_string": "Normal"
|
||||
"priority_string": "No Active Alarms",
|
||||
"searchId": "PLC01",
|
||||
"state": 2,
|
||||
"state_string": "Unknown"
|
||||
},
|
||||
"params": {
|
||||
"color": 1,
|
||||
"color": 3,
|
||||
"forceFaultStatus": null,
|
||||
"tagProps": [
|
||||
"System/MCM01/StationR/UL1_3_JR_PB1",
|
||||
"System/MCM01/Station/S_PB/UL12_3_S2",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
@ -29,6 +30,15 @@
|
||||
"custom.alarm_message": {
|
||||
"persistent": true
|
||||
},
|
||||
"custom.button_type": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "if({view.params.color} \u003d 1, \"PR_PB_\",\r\n if({view.params.color} \u003d 2, \"GS_PB_\", \"\")\r\n)\r\n"
|
||||
},
|
||||
"type": "expr"
|
||||
},
|
||||
"persistent": true
|
||||
},
|
||||
"custom.disconnected": {
|
||||
"binding": {
|
||||
"config": {
|
||||
@ -38,7 +48,7 @@
|
||||
"0": "{view.params.tagProps[0]}",
|
||||
"fc": "{session.custom.fc}"
|
||||
},
|
||||
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Pressed"
|
||||
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/STATE"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
@ -78,6 +88,10 @@
|
||||
{
|
||||
"input": 1,
|
||||
"output": 1
|
||||
},
|
||||
{
|
||||
"input": 2,
|
||||
"output": 0
|
||||
}
|
||||
],
|
||||
"outputType": "scalar",
|
||||
@ -91,7 +105,7 @@
|
||||
"custom.priority_string": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "case({view.custom.state},\r\n1, \"Low\",\r\n\"Unknown\")"
|
||||
"expression": "case({view.custom.state},\r\n1, \"Low\",\r\n2, \"No Active Alarms\",\r\n0, \"No Active Alarms\",\r\n\"Unknown\")"
|
||||
},
|
||||
"type": "expr"
|
||||
},
|
||||
@ -113,9 +127,10 @@
|
||||
"mode": "indirect",
|
||||
"references": {
|
||||
"0": "{view.params.tagProps[0]}",
|
||||
"fc": "{session.custom.fc}"
|
||||
"fc": "{session.custom.fc}",
|
||||
"type": "{view.custom.button_type}"
|
||||
},
|
||||
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/PR_Pressed"
|
||||
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/{type}STATE"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
@ -130,7 +145,7 @@
|
||||
"custom.state_string": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "case({view.custom.state},\r\n1, \"Package Release Pressed\",\r\n0, \"Normal\",\r\n\"Unknown\")"
|
||||
"expression": "case(\r\n {view.custom.state} + \"-\" + {view.params.color},\r\n \"1-1\", \"Package Release Pressed\",\r\n \"1-2\", \"Gaylord Start Pressed\",\r\n \"0-1\", \"Normal\",\r\n \"0-2\", \"Normal\",\r\n \"2-2\", \"Normal\",\r\n \"Unknown\"\r\n)\r\n"
|
||||
},
|
||||
"type": "expr"
|
||||
},
|
||||
@ -169,7 +184,7 @@
|
||||
"props.elements[0].fill.paint": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "if(\r\n {view.custom.disconnected},\r\n \u0027#999999\u0027,\r\n if(\r\n {view.custom.state} \u003d 1,\r\n \u0027#D5D5D5\u0027,\r\n if(\r\n {view.custom.state} \u003d 0,\r\n \u0027#D5D5D5\u0027,\r\n \u0027#fff700\u0027\r\n )\r\n )\r\n)\r\n"
|
||||
"expression": "if(\r\n {view.custom.disconnected},\r\n \u0027#999999\u0027,\r\n if(\r\n {view.custom.state} \u003d 1 || {view.custom.state} \u003d 2,\r\n \u0027#D5D5D5\u0027,\r\n if(\r\n {view.custom.state} \u003d 0,\r\n \u0027#D5D5D5\u0027,\r\n \u0027#fff700\u0027\r\n )\r\n )\r\n)\r\n"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
@ -177,7 +192,7 @@
|
||||
"props.elements[1].fill.paint": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "if(\r\n {view.custom.disconnected} \u0026\u0026 {view.params.color} \u003d 1,\r\n \"#D5D5D5\",\r\n if(\r\n {view.custom.disconnected} \u0026\u0026 {view.params.color} \u003d 2,\r\n \"#00D900\",\r\n if(\r\n {view.params.color} \u003d 1,\r\n if(\r\n {view.custom.state} \u003d 1,\r\n \"#FF0000\",\r\n \"#D5D5D5\"\r\n ),\r\n if(\r\n {view.params.color} \u003d 2,\r\n if(\r\n {view.custom.state} \u003d 1,\r\n \"#FF0000\",\r\n \"#00D900\"\r\n ),\r\n \"#D5D5D5\"\r\n )\r\n )\r\n )\r\n)\r\n"
|
||||
"expression": "if(\r\n {view.custom.disconnected} \u0026\u0026 {view.params.color} \u003d 1,\r\n \"#D5D5D5\",\r\n if(\r\n {view.custom.disconnected} \u0026\u0026 {view.params.color} \u003d 2,\r\n \"#00D900\",\r\n if(\r\n {view.params.color} \u003d 1,\r\n if(\r\n {view.custom.state} \u003d 1,\r\n \"#FF0000\",\r\n \"#D5D5D5\"\r\n ),\r\nif(\r\n {view.params.color} \u003d 2,\r\n if(\r\n {view.custom.state} \u003d 1,\r\n \"#FF0000\",\r\n if(\r\n {view.custom.state} \u003d 2,\r\n \"#FF0000\",\r\n \"#00D900\"\r\n )\r\n ),\r\n \"#D5D5D5\"\r\n )\r\n )\r\n )\r\n)\r\n"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
|
||||
@ -254,7 +254,7 @@
|
||||
"dom": {
|
||||
"onClick": {
|
||||
"config": {
|
||||
"script": "\tsystem.perspective.openDock(\u0027Docked-East\u0027,params\u003d{\u0027tagProps\u0027:self.view.params.tagProps})"
|
||||
"script": "\tsystem.perspective.openDock(\u0027Docked-East-SS-BTN\u0027,params\u003d{\u0027tagProps\u0027:self.view.params.tagProps})"
|
||||
},
|
||||
"scope": "G",
|
||||
"type": "script"
|
||||
|
||||
@ -1,10 +1,10 @@
|
||||
{
|
||||
"custom": {
|
||||
"disconnected": false,
|
||||
"disconnected": true,
|
||||
"plc": "System",
|
||||
"priority": 0,
|
||||
"priority_string": "No active alarms",
|
||||
"searchId": "value",
|
||||
"searchId": "PLC01",
|
||||
"state": 0,
|
||||
"state_string": "Normal"
|
||||
},
|
||||
@ -285,7 +285,7 @@
|
||||
"dom": {
|
||||
"onClick": {
|
||||
"config": {
|
||||
"script": "\tsystem.perspective.openDock(\u0027Docked-East\u0027,params\u003d{\u0027tagProps\u0027:self.view.params.tagProps})"
|
||||
"script": "\tsystem.perspective.openDock(\u0027Docked-East-BTN\u0027,params\u003d{\u0027tagProps\u0027:self.view.params.tagProps})"
|
||||
},
|
||||
"scope": "G",
|
||||
"type": "script"
|
||||
|
||||
@ -1,10 +1,10 @@
|
||||
{
|
||||
"custom": {
|
||||
"disconnected": false,
|
||||
"disconnected": true,
|
||||
"plc": "value",
|
||||
"priority": 0,
|
||||
"priority_string": "No active alarms",
|
||||
"searchId": "value",
|
||||
"searchId": "PLC01",
|
||||
"state": 0,
|
||||
"state_string": "Normal"
|
||||
},
|
||||
@ -208,7 +208,7 @@
|
||||
"dom": {
|
||||
"onClick": {
|
||||
"config": {
|
||||
"script": "\tsystem.perspective.openDock(\u0027Docked-East\u0027,params\u003d{\u0027tagProps\u0027:self.view.params.tagProps})"
|
||||
"script": "\tsystem.perspective.openDock(\u0027Docked-East-BTN\u0027,params\u003d{\u0027tagProps\u0027:self.view.params.tagProps})"
|
||||
},
|
||||
"scope": "G",
|
||||
"type": "script"
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
"plc": "value",
|
||||
"priority": 0,
|
||||
"priority_string": "No active alarms",
|
||||
"searchId": "value",
|
||||
"searchId": "PLC01",
|
||||
"state": 0,
|
||||
"state_string": "Normal"
|
||||
},
|
||||
@ -222,7 +222,7 @@
|
||||
"dom": {
|
||||
"onClick": {
|
||||
"config": {
|
||||
"script": "\tsystem.perspective.openDock(\u0027Docked-East\u0027,params\u003d{\u0027tagProps\u0027:self.view.params.tagProps})"
|
||||
"script": "\tsystem.perspective.openDock(\u0027Docked-East-BTN\u0027,params\u003d{\u0027tagProps\u0027:self.view.params.tagProps})"
|
||||
},
|
||||
"scope": "G",
|
||||
"type": "script"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user