Update everything

This commit is contained in:
b.makharadze 2025-09-07 15:54:55 +04:00
parent 48ddcf16d1
commit aa2acf3e5b
12 changed files with 68801 additions and 59006 deletions

View File

@ -21,6 +21,70 @@
},
"root": {
"children": [
{
"meta": {
"name": "PS1_8_EPC1_Line"
},
"position": {
"height": 0.0778,
"width": 0.0031,
"x": 0.5,
"y": 0.0398
},
"props": {
"params": {
"directionLeft": false,
"forceFaultStatus": null,
"forceRunningStatus": null,
"tagProps": [
"System/MCM02/Station/EPC/PS1_8_EPC1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Symbol-Views/Equipment-Views/PullChord_Line_Vertical"
},
"type": "ia.display.view"
},
{
"meta": {
"name": "PS1_8_EPC2_Line"
},
"position": {
"height": 0.0787,
"width": 0.0036,
"x": 0.5223,
"y": 0.0408
},
"props": {
"params": {
"directionLeft": false,
"forceFaultStatus": null,
"forceRunningStatus": null,
"tagProps": [
"System/MCM02/Station/EPC/PS1_8_EPC2",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Symbol-Views/Equipment-Views/PullChord_Line_Vertical"
},
"type": "ia.display.view"
},
{
"meta": {
"name": "MCM02 Fluid Inbound"
@ -1155,6 +1219,64 @@
},
"type": "ia.shapes.svg"
},
{
"meta": {
"name": "PS2_7_EPC1_Line_1"
},
"position": {
"height": 0.1287,
"width": 0.0036,
"x": 0.6908,
"y": 0.2873
},
"props": {
"params": {
"tagProps": [
"System/MCM02/Station/EPC/PS2_7_EPC1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Symbol-Views/Equipment-Views/PullChord_Line_Vertical"
},
"type": "ia.display.view"
},
{
"meta": {
"name": "PS2_7_EPC2_Line_1"
},
"position": {
"height": 0.1685,
"width": 0.0036,
"x": 0.7127,
"y": 0.2854
},
"props": {
"params": {
"tagProps": [
"System/MCM02/Station/EPC/PS2_7_EPC2",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Symbol-Views/Equipment-Views/PullChord_Line_Vertical"
},
"type": "ia.display.view"
},
{
"meta": {
"name": "UL5_5"
@ -3147,76 +3269,6 @@
},
"type": "ia.display.view"
},
{
"meta": {
"name": "PS1_8_EPC1_Line"
},
"position": {
"height": 0.0056,
"rotate": {
"angle": 90
},
"width": 0.0417,
"x": 0.4813,
"y": 0.0778
},
"props": {
"params": {
"directionLeft": false,
"forceFaultStatus": null,
"forceRunningStatus": null,
"tagProps": [
"System/MCM02/Station/EPC/PS1_8_EPC1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Symbol-Views/Equipment-Views/PullChord_Line"
},
"type": "ia.display.view"
},
{
"meta": {
"name": "PS1_8_EPC2_Line"
},
"position": {
"height": 0.0056,
"rotate": {
"angle": 90
},
"width": 0.0417,
"x": 0.5031,
"y": 0.0778
},
"props": {
"params": {
"directionLeft": false,
"forceFaultStatus": null,
"forceRunningStatus": null,
"tagProps": [
"System/MCM02/Station/EPC/PS1_8_EPC2",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Symbol-Views/Equipment-Views/PullChord_Line"
},
"type": "ia.display.view"
},
{
"meta": {
"name": "PS1_1_JR2"
@ -3388,13 +3440,10 @@
"name": "UL1_1_EPC1_Line"
},
"position": {
"height": 0.0056,
"rotate": {
"angle": 90
},
"width": 0.1042,
"x": 0.1774,
"y": 0.7676
"height": 0.1852,
"width": 0.0031,
"x": 0.2274,
"y": 0.6833
},
"props": {
"params": {
@ -3414,7 +3463,7 @@
"value"
]
},
"path": "Symbol-Views/Equipment-Views/PullChord_Line"
"path": "Symbol-Views/Equipment-Views/PullChord_Line_Vertical"
},
"type": "ia.display.view"
},
@ -3458,13 +3507,10 @@
"name": "UL1_1_EPC2_Line"
},
"position": {
"height": 0.0056,
"rotate": {
"angle": 90
},
"width": 0.1042,
"x": 0.2005,
"y": 0.7704
"height": 0.1833,
"width": 0.0031,
"x": 0.2508,
"y": 0.6829
},
"props": {
"params": {
@ -3484,7 +3530,7 @@
"value"
]
},
"path": "Symbol-Views/Equipment-Views/PullChord_Line"
"path": "Symbol-Views/Equipment-Views/PullChord_Line_Vertical"
},
"type": "ia.display.view"
},
@ -3720,13 +3766,10 @@
"name": "UL6_1_EPC1_Line"
},
"position": {
"height": 0.0056,
"rotate": {
"angle": 90
},
"width": 0.0995,
"x": 0.3759,
"y": 0.8644
"height": 0.1815,
"width": 0.0026,
"x": 0.4233,
"y": 0.7755
},
"props": {
"params": {
@ -3746,7 +3789,7 @@
"value"
]
},
"path": "Symbol-Views/Equipment-Views/PullChord_Line"
"path": "Symbol-Views/Equipment-Views/PullChord_Line_Vertical"
},
"type": "ia.display.view"
},
@ -3825,13 +3868,10 @@
"name": "UL6_1_EPC2_Line"
},
"position": {
"height": 0.0056,
"rotate": {
"angle": 90
},
"width": 0.101,
"x": 0.3981,
"y": 0.8602
"height": 0.1796,
"width": 0.0031,
"x": 0.447,
"y": 0.7751
},
"props": {
"params": {
@ -3851,7 +3891,7 @@
"value"
]
},
"path": "Symbol-Views/Equipment-Views/PullChord_Line"
"path": "Symbol-Views/Equipment-Views/PullChord_Line_Vertical"
},
"type": "ia.display.view"
},
@ -4204,14 +4244,14 @@
},
{
"meta": {
"name": "PS2_7_EPC2_Line_3"
"name": "PS2_7_EPC2_Line_2"
},
"position": {
"height": 0.0056,
"rotate": {
"angle": 0
},
"width": 0.0167,
"width": 0.038,
"x": 0.6766,
"y": 0.4501
},
@ -4237,111 +4277,6 @@
},
"type": "ia.display.view"
},
{
"meta": {
"name": "PS2_7_EPC2_Line_2"
},
"position": {
"height": 0.0052,
"rotate": {
"angle": -40
},
"width": 0.0298,
"x": 0.6891,
"y": 0.4338
},
"props": {
"params": {
"directionLeft": false,
"forceFaultStatus": null,
"forceRunningStatus": null,
"tagProps": [
"System/MCM02/Station/EPC/PS2_7_EPC2",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Symbol-Views/Equipment-Views/PullChord_Line"
},
"type": "ia.display.view"
},
{
"meta": {
"name": "PS2_7_EPC1_Line_2"
},
"position": {
"height": 0.0056,
"rotate": {
"angle": -40
},
"width": 0.0104,
"x": 0.6839,
"y": 0.4069
},
"props": {
"params": {
"directionLeft": false,
"forceFaultStatus": null,
"forceRunningStatus": null,
"tagProps": [
"System/MCM02/Station/EPC/PS2_7_EPC1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Symbol-Views/Equipment-Views/PullChord_Line"
},
"type": "ia.display.view"
},
{
"meta": {
"name": "PS2_7_EPC1_Line_1"
},
"position": {
"height": 0.0056,
"rotate": {
"angle": 90
},
"width": 0.0641,
"x": 0.6607,
"y": 0.3455
},
"props": {
"params": {
"directionLeft": false,
"forceFaultStatus": null,
"forceRunningStatus": null,
"tagProps": [
"System/MCM02/Station/EPC/PS2_7_EPC1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Symbol-Views/Equipment-Views/PullChord_Line"
},
"type": "ia.display.view"
},
{
"meta": {
"name": "PS2_7_EPC1"
@ -4441,41 +4376,6 @@
},
"type": "ia.display.view"
},
{
"meta": {
"name": "PS2_7_EPC2_Line_1"
},
"position": {
"height": 0.0065,
"rotate": {
"angle": 90
},
"width": 0.0745,
"x": 0.6776,
"y": 0.353
},
"props": {
"params": {
"directionLeft": false,
"forceFaultStatus": null,
"forceRunningStatus": null,
"tagProps": [
"System/MCM02/Station/EPC/PS2_7_EPC2",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Symbol-Views/Equipment-Views/PullChord_Line"
},
"type": "ia.display.view"
},
{
"meta": {
"name": "PS2_3"
@ -4755,14 +4655,14 @@
},
{
"meta": {
"name": "PS2_7_EPC1_Line_3"
"name": "PS2_7_EPC1_Line_2"
},
"position": {
"height": 0.0056,
"rotate": {
"angle": 0
},
"width": 0.0083,
"width": 0.0151,
"x": 0.6771,
"y": 0.4131
},

View File

@ -1137,6 +1137,102 @@
},
"type": "ia.shapes.svg"
},
{
"meta": {
"name": "PS3_7_EPC2_Line"
},
"position": {
"height": 0.1046,
"width": 0.0042,
"x": 0.5605,
"y": 0.1457
},
"props": {
"params": {
"directionLeft": false,
"forceFaultStatus": null,
"forceRunningStatus": null,
"tagProps": [
"System/MCM03/Station/EPC/PS3_7_EPC2",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Symbol-Views/Equipment-Views/PullChord_Line_Vertical"
},
"type": "ia.display.view"
},
{
"meta": {
"name": "PS4_7_EPC2_Line"
},
"position": {
"height": 0.1074,
"width": 0.0042,
"x": 0.6373,
"y": 0.1461
},
"props": {
"params": {
"directionLeft": false,
"forceFaultStatus": null,
"forceRunningStatus": null,
"tagProps": [
"System/MCM03/Station/EPC/PS4_7_EPC2",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Symbol-Views/Equipment-Views/PullChord_Line_Vertical"
},
"type": "ia.display.view"
},
{
"meta": {
"name": "UL7_1_EPC2_Line"
},
"position": {
"height": 0.1806,
"width": 0.0042,
"x": 0.3194,
"y": 0.6324
},
"props": {
"params": {
"directionLeft": false,
"forceFaultStatus": null,
"forceRunningStatus": null,
"tagProps": [
"System/MCM03/Station/EPC/UL7_1_EPC2",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Symbol-Views/Equipment-Views/PullChord_Line_Vertical"
},
"type": "ia.display.view"
},
{
"meta": {
"name": "UL7_3"
@ -3527,13 +3623,10 @@
"name": "PS3_7_EPC1_Line"
},
"position": {
"height": 0.0056,
"rotate": {
"angle": 90
},
"width": 0.0573,
"x": 0.5344,
"y": 0.1966
"height": 0.1037,
"width": 0.0036,
"x": 0.5839,
"y": 0.1475
},
"props": {
"params": {
@ -3553,42 +3646,7 @@
"value"
]
},
"path": "Symbol-Views/Equipment-Views/PullChord_Line"
},
"type": "ia.display.view"
},
{
"meta": {
"name": "PS3_7_EPC2_Line"
},
"position": {
"height": 0.0056,
"rotate": {
"angle": 90
},
"width": 0.0552,
"x": 0.5573,
"y": 0.1947
},
"props": {
"params": {
"directionLeft": false,
"forceFaultStatus": null,
"forceRunningStatus": null,
"tagProps": [
"System/MCM03/Station/EPC/PS3_7_EPC2",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Symbol-Views/Equipment-Views/PullChord_Line"
"path": "Symbol-Views/Equipment-Views/PullChord_Line_Vertical"
},
"type": "ia.display.view"
},
@ -3699,13 +3757,10 @@
"name": "PS4_7_EPC_Line"
},
"position": {
"height": 0.0056,
"rotate": {
"angle": 90
},
"width": 0.0573,
"x": 0.6109,
"y": 0.1966
"height": 0.1046,
"width": 0.0036,
"x": 0.6599,
"y": 0.1466
},
"props": {
"params": {
@ -3725,42 +3780,7 @@
"value"
]
},
"path": "Symbol-Views/Equipment-Views/PullChord_Line"
},
"type": "ia.display.view"
},
{
"meta": {
"name": "PS4_7_EPC2_Line"
},
"position": {
"height": 0.0056,
"rotate": {
"angle": 90
},
"width": 0.0557,
"x": 0.6336,
"y": 0.1952
},
"props": {
"params": {
"directionLeft": false,
"forceFaultStatus": null,
"forceRunningStatus": null,
"tagProps": [
"System/MCM03/Station/EPC/PS4_7_EPC2",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Symbol-Views/Equipment-Views/PullChord_Line"
"path": "Symbol-Views/Equipment-Views/PullChord_Line_Vertical"
},
"type": "ia.display.view"
},
@ -3836,13 +3856,10 @@
"name": "UL7_1_EPC1_Line"
},
"position": {
"height": 0.0056,
"rotate": {
"angle": 90
},
"width": 0.0995,
"x": 0.2491,
"y": 0.7213
"height": 0.1824,
"width": 0.0047,
"x": 0.2965,
"y": 0.6324
},
"props": {
"params": {
@ -3862,7 +3879,7 @@
"value"
]
},
"path": "Symbol-Views/Equipment-Views/PullChord_Line"
"path": "Symbol-Views/Equipment-Views/PullChord_Line_Vertical"
},
"type": "ia.display.view"
},
@ -3936,53 +3953,15 @@
},
"type": "ia.display.view"
},
{
"meta": {
"name": "UL7_1_EPC2_Line"
},
"position": {
"height": 0.0056,
"rotate": {
"angle": 90
},
"width": 0.101,
"x": 0.271,
"y": 0.7167
},
"props": {
"params": {
"directionLeft": false,
"forceFaultStatus": null,
"forceRunningStatus": null,
"tagProps": [
"System/MCM03/Station/EPC/UL7_1_EPC2",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Symbol-Views/Equipment-Views/PullChord_Line"
},
"type": "ia.display.view"
},
{
"meta": {
"name": "UL12_1_EPC1_Line"
},
"position": {
"height": 0.0056,
"rotate": {
"angle": 90
},
"width": 0.0995,
"x": 0.458,
"y": 0.7213
"height": 0.1806,
"width": 0.0047,
"x": 0.5049,
"y": 0.6324
},
"props": {
"params": {
@ -4002,7 +3981,7 @@
"value"
]
},
"path": "Symbol-Views/Equipment-Views/PullChord_Line"
"path": "Symbol-Views/Equipment-Views/PullChord_Line_Vertical"
},
"type": "ia.display.view"
},
@ -4011,13 +3990,10 @@
"name": "UL12_1_EPC2_Line"
},
"position": {
"height": 0.0056,
"rotate": {
"angle": 90
},
"width": 0.099,
"x": 0.4809,
"y": 0.7204
"height": 0.1824,
"width": 0.0042,
"x": 0.5278,
"y": 0.6324
},
"props": {
"params": {
@ -4037,7 +4013,7 @@
"value"
]
},
"path": "Symbol-Views/Equipment-Views/PullChord_Line"
"path": "Symbol-Views/Equipment-Views/PullChord_Line_Vertical"
},
"type": "ia.display.view"
},
@ -5065,7 +5041,7 @@
"angle": 0
},
"width": 0.0073,
"x": 0.5043,
"x": 0.5038,
"y": 0.6083
},
"props": {

View File

@ -1385,6 +1385,70 @@
},
"type": "ia.shapes.svg"
},
{
"meta": {
"name": "BYCB_3_EPC1_Line"
},
"position": {
"height": 0.0546,
"width": 0.0042,
"x": 0.5449,
"y": 0.4425
},
"props": {
"params": {
"directionLeft": false,
"forceFaultStatus": null,
"forceRunningStatus": null,
"tagProps": [
"System/MCM04/Station/EPC/BYCB_3_EPC1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Symbol-Views/Equipment-Views/PullChord_Line_Vertical"
},
"type": "ia.display.view"
},
{
"meta": {
"name": "BYCB_3_EPC2_Line"
},
"position": {
"height": 0.0537,
"width": 0.0042,
"x": 0.5655,
"y": 0.4437
},
"props": {
"params": {
"directionLeft": false,
"forceFaultStatus": null,
"forceRunningStatus": null,
"tagProps": [
"System/MCM04/Station/EPC/BYCB_3_EPC2",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Symbol-Views/Equipment-Views/PullChord_Line_Vertical"
},
"type": "ia.display.view"
},
{
"meta": {
"elementPrefix": null,
@ -8218,13 +8282,10 @@
"name": "BYAB_3_EPC1_Line"
},
"position": {
"height": 0.0056,
"rotate": {
"angle": 90
},
"width": 0.0969,
"x": 0.4539,
"y": 0.5285
"height": 0.1657,
"width": 0.0042,
"x": 0.4998,
"y": 0.4405
},
"props": {
"params": {
@ -8244,7 +8305,7 @@
"value"
]
},
"path": "Symbol-Views/Equipment-Views/PullChord_Line"
"path": "Symbol-Views/Equipment-Views/PullChord_Line_Vertical"
},
"type": "ia.display.view"
},
@ -8323,13 +8384,10 @@
"name": "BYAB_3_EPC2_Line"
},
"position": {
"height": 0.0056,
"rotate": {
"angle": 90
},
"width": 0.0708,
"x": 0.4869,
"y": 0.5059
"height": 0.1185,
"width": 0.0042,
"x": 0.5197,
"y": 0.442
},
"props": {
"params": {
@ -8349,7 +8407,7 @@
"value"
]
},
"path": "Symbol-Views/Equipment-Views/PullChord_Line"
"path": "Symbol-Views/Equipment-Views/PullChord_Line_Vertical"
},
"type": "ia.display.view"
},
@ -8458,41 +8516,6 @@
},
"type": "ia.display.view"
},
{
"meta": {
"name": "BYCB_3_EPC1_Line"
},
"position": {
"height": 0.0056,
"rotate": {
"angle": 90
},
"width": 0.0396,
"x": 0.5275,
"y": 0.4783
},
"props": {
"params": {
"directionLeft": false,
"forceFaultStatus": null,
"forceRunningStatus": null,
"tagProps": [
"System/MCM04/Station/EPC/BYCB_3_EPC1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Symbol-Views/Equipment-Views/PullChord_Line"
},
"type": "ia.display.view"
},
{
"meta": {
"name": "BYCB_3_EPC2"
@ -8528,41 +8551,6 @@
},
"type": "ia.display.view"
},
{
"meta": {
"name": "BYCB_3_EPC2_Line"
},
"position": {
"height": 0.0056,
"rotate": {
"angle": 90
},
"width": 0.0375,
"x": 0.5484,
"y": 0.4761
},
"props": {
"params": {
"directionLeft": false,
"forceFaultStatus": null,
"forceRunningStatus": null,
"tagProps": [
"System/MCM04/Station/EPC/BYCB_3_EPC2",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Symbol-Views/Equipment-Views/PullChord_Line"
},
"type": "ia.display.view"
},
{
"meta": {
"name": "BYCB_3_EPC2_END"

View File

@ -535,20 +535,20 @@
"inputType": "scalar",
"mappings": [
{
"input": 1,
"output": "Alarms-Styles/Diagnostic"
"input": "High",
"output": "Alarms-Styles/High"
},
{
"input": 2,
"output": "Alarms-Styles/Low"
},
{
"input": 3,
"input": "Medium",
"output": "Alarms-Styles/Medium"
},
{
"input": 4,
"output": "Alarms-Styles/High"
"input": "Low",
"output": "Alarms-Styles/Low"
},
{
"input": "Diagnostic",
"output": "Alarms-Styles/Diagnostic"
}
],
"outputType": "style-list",
@ -561,10 +561,18 @@
"meta.tooltip.text": {
"binding": {
"config": {
"expression": "if(\n {view.custom.disconnected} \u003d false,\n \"Source Id: \" + {view.params.tagProps[0]} + \", Priority: \" + {view.custom.priority_string} + \", State: \" + {view.custom.state_string},\n \"Device Disconnected\"\n)\n"
"expression": "if(\n {view.custom.state} !\u003d \"Closed\",\n \"Source Id: \" + {view.params.tagProps[0]} + \", Priority: \" + {view.custom.priority} + \", State: \" + {view.custom.state},\n \"Device Disconnected\"\n)\n"
},
"type": "expr"
}
},
"meta.visible": {
"binding": {
"config": {
"path": "session.custom.alarm_filter.show_gateways"
},
"type": "property"
}
}
},
"props": {

View File

@ -594,6 +594,14 @@
},
"type": "expr"
}
},
"meta.visible": {
"binding": {
"config": {
"path": "session.custom.alarm_filter.show_running"
},
"type": "property"
}
}
},
"props": {

View File

@ -556,6 +556,14 @@
},
"type": "expr"
}
},
"meta.visible": {
"binding": {
"config": {
"path": "session.custom.alarm_filter.show_gateways"
},
"type": "property"
}
}
},
"props": {

View File

@ -0,0 +1,16 @@
{
"scope": "G",
"version": 1,
"restricted": false,
"overridable": false,
"files": [
"view.json"
],
"attributes": {
"lastModification": {
"actor": "admin",
"timestamp": "2025-09-07T10:59:25Z"
},
"lastModificationSignature": "c47e1f18dc6132883e0b0932d5119e3c0bcb4e7f04a2939338d08f16b49ed001"
}
}

View File

@ -0,0 +1,571 @@
{
"custom": {
"color": "000000",
"priority": "No Active Alarms",
"state": "Closed"
},
"params": {
"forceFaultStatus": null,
"forceRunningStatus": null,
"tagProps": [
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"propConfig": {
"custom.color": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[0]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Color"
},
"transforms": [
{
"expression": "coalesce({value},{view.params.forceFaultStatus},0)",
"type": "expression"
},
{
"fallback": "#000000",
"inputType": "scalar",
"mappings": [
{
"input": 0,
"output": "#C2C2C2"
},
{
"input": 1,
"output": "#FF0000"
},
{
"input": 2,
"output": "#FFA500"
},
{
"input": 3,
"output": "#0008FF"
},
{
"input": 4,
"output": "#00FF00"
},
{
"input": 5,
"output": "#FFF700"
},
{
"input": 6,
"output": "#87CEEB"
},
{
"input": 7,
"output": "#90EE90"
},
{
"input": 8,
"output": "#964B00"
},
{
"input": 9,
"output": "#FFFFFF"
},
{
"input": 10,
"output": "#000000"
},
{
"input": 11,
"output": "#8B0000"
},
{
"input": 12,
"output": "#808080"
},
{
"input": 13,
"output": "#8B8000"
},
{
"input": 14,
"output": "#006400"
},
{
"input": 15,
"output": "#FFFFC5"
},
{
"input": 16,
"output": "#00008B"
},
{
"input": 17,
"output": "#FF7276"
},
{
"input": 18,
"output": "#556B2F"
},
{
"input": 19,
"output": "#B43434"
},
{
"input": 20,
"output": "#4682B4"
},
{
"input": 21,
"output": "#FFD700"
}
],
"outputType": "color",
"type": "map"
}
],
"type": "tag"
},
"persistent": true
},
"custom.priority": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[0]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Priority"
},
"transforms": [
{
"expression": "coalesce({value},{view.params.forceFaultStatus},0)",
"type": "expression"
},
{
"fallback": null,
"inputType": "scalar",
"mappings": [
{
"input": 0,
"output": "No Active Alarms"
},
{
"input": 1,
"output": "High"
},
{
"input": 2,
"output": "Medium"
},
{
"input": 3,
"output": "Low"
},
{
"input": 4,
"output": "Diagnostic"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "tag"
},
"persistent": true
},
"custom.state": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[0]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/State"
},
"transforms": [
{
"expression": "coalesce({value},{view.params.forceFaultStatus},0)",
"type": "expression"
},
{
"fallback": "Unknown",
"inputType": "scalar",
"mappings": [
{
"input": 0,
"output": "Closed"
},
{
"input": 1,
"output": "Actuated"
},
{
"input": 2,
"output": "Communication Faulted"
},
{
"input": 3,
"output": "Conveyor Running In Maintenance Mode"
},
{
"input": 4,
"output": "Disabled"
},
{
"input": 5,
"output": "Disconnected"
},
{
"input": 6,
"output": "Stopped"
},
{
"input": 7,
"output": "Enabled Not Running"
},
{
"input": 8,
"output": "Encoder Fault"
},
{
"input": 9,
"output": "Energy Management"
},
{
"input": 10,
"output": "ESTOP Was Actuated"
},
{
"input": 11,
"output": "EStopped"
},
{
"input": 12,
"output": "EStopped Locally"
},
{
"input": 13,
"output": "Extended Faulted"
},
{
"input": 14,
"output": "Full"
},
{
"input": 15,
"output": "Gaylord Start Pressed"
},
{
"input": 16,
"output": "Jam Fault"
},
{
"input": 17,
"output": "Jammed"
},
{
"input": 18,
"output": "Loading Allowed"
},
{
"input": 19,
"output": "Loading Not Allowed"
},
{
"input": 20,
"output": "Low Air Pressure Fault Was Present"
},
{
"input": 21,
"output": "Maintenance Mode"
},
{
"input": 22,
"output": "Conveyor Stopped In Maintenance Mode"
},
{
"input": 23,
"output": "Motor Faulted"
},
{
"input": 24,
"output": "Motor Was Faulted"
},
{
"input": 25,
"output": "Normal"
},
{
"input": 26,
"output": "Off Inactive"
},
{
"input": 27,
"output": "Open"
},
{
"input": 28,
"output": "PLC Ready To Run"
},
{
"input": 29,
"output": "Package Release Pressed"
},
{
"input": 30,
"output": "Power Branch Was Faulted"
},
{
"input": 31,
"output": "Pressed"
},
{
"input": 32,
"output": "Ready To Receive"
},
{
"input": 33,
"output": "Running"
},
{
"input": 34,
"output": "Started"
},
{
"input": 35,
"output": "Stopped"
},
{
"input": 36,
"output": "System Started"
},
{
"input": 37,
"output": "Unknown"
},
{
"input": 38,
"output": "VFD Fault"
},
{
"input": 39,
"output": "Conveyor Running In Power Saving Mode"
},
{
"input": 40,
"output": "Conveyor Jogging In Maintenance Mode"
},
{
"input": 41,
"output": "VFD Reset Required"
},
{
"input": 42,
"output": "Jam Reset Push Button Pressed"
},
{
"input": 43,
"output": "Start Push Button Pressed"
},
{
"input": 44,
"output": "Stop Push Button Pressed"
},
{
"input": 45,
"output": "No Container"
},
{
"input": 46,
"output": "Ready To Be Enabled"
},
{
"input": 47,
"output": "Half Full"
},
{
"input": 48,
"output": "Enabled"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "tag"
},
"persistent": true
},
"params.forceFaultStatus": {
"paramDirection": "input",
"persistent": true
},
"params.forceRunningStatus": {
"paramDirection": "input",
"persistent": true
},
"params.tagProps": {
"paramDirection": "inout",
"persistent": true
}
},
"props": {
"defaultSize": {
"height": 100,
"width": 10
}
},
"root": {
"children": [
{
"meta": {
"name": "PullChord_Line"
},
"position": {
"height": 1,
"width": 1
},
"propConfig": {
"props.elements[0].stroke.paint": {
"binding": {
"config": {
"expression": "if({view.custom.state} \u003d \"Closed\", \"#000000\", {view.custom.color})"
},
"type": "expr"
}
},
"props.elements[0].visibility": {
"binding": {
"config": {
"expression": "if({parent.meta.visible}, \u0027visible\u0027, \u0027hidden\u0027)"
},
"type": "expr"
}
}
},
"props": {
"elements": [
{
"d": "m 5.5101192,-0.5 c 0,33.992373 0,67.984747 0,101.97712",
"fill": {
"paint": "#FFFFFF"
},
"name": "path",
"opacity": 1,
"stroke": {
"dasharray": "0, 0, 0",
"dashoffset": "\"20\"",
"key": "\"2.15848\"",
"miterlimit": "\"10\"",
"width": 3
},
"type": "path"
}
],
"preserveAspectRatio": "none",
"style": {},
"viewBox": "0 0 10 100"
},
"type": "ia.shapes.svg"
}
],
"events": {
"dom": {
"onClick": {
"config": {
"script": "\tsystem.perspective.openDock(\u0027Docked-East\u0027,params\u003d{\u0027tagProps\u0027:self.view.params.tagProps})"
},
"scope": "G",
"type": "script"
},
"onDoubleClick": {
"config": {
"script": "\ttagProps \u003d self.view.params.tagProps\n\tsystem.perspective.openPopup(\"StatusPopUP\", \"PopUp-Views/Controller-Equipment/Information\", params \u003d{\"tagProps\":tagProps})\n\t"
},
"enabled": false,
"scope": "G",
"type": "script"
},
"onMouseEnter": {
"config": {
"script": "\tfrom time import sleep\n\t\n\talarm \u003d []\n\tmessage \u003d None\n\t\n\tsleep(0.5)\n\t\n\tif system.tag.exists(\"System/aws_data\"):\n\t\tif self.view.params.tagProps[0] !\u003d \"\":\n\t\t\ttags_to_read \u003d system.tag.readBlocking(\"System/aws_data\")\n\t\t\tdecode_alarm_data \u003d system.util.jsonDecode(tags_to_read[0].value)\n\t\t\talarm \u003d [decode_alarm_data[i] for i in decode_alarm_data\n\t\t\t\t\tif decode_alarm_data[i][\u0027sourceId\u0027].startswith(self.view.params.tagProps[0])]\n\t\tif alarm:\n\t\t\talarm \u003d sorted(alarm, key \u003d lambda t:t[\u0027timestamp\u0027], reverse\u003dTrue)\n\t\t\tmessage \u003d max(alarm, key \u003d lambda p:p[\u0027priority\u0027]).get(\u0027message\u0027)\n\t\t\tif len(alarm) \u003e 1:\n\t\t\t\tmessage +\u003d \" (+\" + str(len(alarm)-1) + \")\"\n\tself.view.custom.alarm_message \u003d message"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "root",
"tooltip": {
"enabled": true,
"location": "top-left",
"style": {}
}
},
"propConfig": {
"meta.tooltip.style.classes": {
"binding": {
"config": {
"expression": "{view.custom.priority}"
},
"transforms": [
{
"fallback": "Alarms-Styles/NoAlarm",
"inputType": "scalar",
"mappings": [
{
"input": "High",
"output": "Alarms-Styles/High"
}
],
"outputType": "style-list",
"type": "map"
}
],
"type": "expr"
}
},
"meta.tooltip.text": {
"binding": {
"config": {
"expression": "if(\n {view.custom.state} !\u003d \"Closed\",\n \"Source Id: \" + {view.params.tagProps[0]} + \", Priority: \" + {view.custom.priority} + \", State: \" + {view.custom.state},\n \"Device Disconnected\"\n)\n"
},
"type": "expr"
}
},
"meta.visible": {
"binding": {
"config": {
"path": "session.custom.alarm_filter.show_safety"
},
"type": "property"
}
}
},
"props": {
"mode": "percent",
"style": {
"cursor": "pointer",
"overflow": "visible"
}
},
"type": "ia.container.coord"
}
}

118317
tags.json

File diff suppressed because it is too large Load Diff