fixed the some tag props fixes in the status view

This commit is contained in:
Salijoghli 2025-09-23 19:05:27 +04:00
parent 826b8a5910
commit 13d7fbc5e2
189 changed files with 87101 additions and 10060 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 99 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 97 KiB

View File

@ -0,0 +1,280 @@
{
"custom": {},
"params": {
"Dataset": [
{
"path": "Symbol-Views/Device-Views/DeviceStatus"
},
{
"path": "Symbol-Views/Device-Views/DeviceStatus_old"
},
{
"path": "Symbol-Views/Device-Views/Estop"
},
{
"path": "Symbol-Views/Equipment-Views/ARSAW"
},
{
"path": "Symbol-Views/Equipment-Views/AUS"
},
{
"path": "Symbol-Views/Equipment-Views/Camera"
},
{
"path": "Symbol-Views/Equipment-Views/ControlCabinet"
},
{
"path": "Symbol-Views/Equipment-Views/Estop"
},
{
"path": "Symbol-Views/Equipment-Views/GoodsLift"
},
{
"path": "Symbol-Views/Equipment-Views/JAM"
},
{
"path": "Symbol-Views/Equipment-Views/Light_Curtain"
},
{
"path": "Symbol-Views/Equipment-Views/Main_Panel"
},
{
"path": "Symbol-Views/Equipment-Views/Network"
},
{
"path": "Symbol-Views/Equipment-Views/Pointer"
},
{
"path": "Symbol-Views/Equipment-Views/PressureSwitch"
},
{
"path": "Symbol-Views/Equipment-Views/PullChord"
},
{
"path": "Symbol-Views/Equipment-Views/PullChord_End"
},
{
"path": "Symbol-Views/Equipment-Views/PullChord_Line"
},
{
"path": "Symbol-Views/Equipment-Views/PullChord_Line_Vertical"
},
{
"path": "Symbol-Views/Equipment-Views/RFID"
},
{
"path": "Symbol-Views/Equipment-Views/Robot"
},
{
"path": "Symbol-Views/Equipment-Views/SLAMs"
},
{
"path": "Symbol-Views/Equipment-Views/SafetyGate"
},
{
"path": "Symbol-Views/Equipment-Views/Stacker_Destacker"
},
{
"path": "Symbol-Views/Equipment-Views/Status"
},
{
"path": "Symbol-Views/Equipment-Views/StatusNonPowered"
},
{
"path": "Symbol-Views/Equipment-Views/StatusNonPowered_NS"
},
{
"path": "Symbol-Views/Equipment-Views/Status_NS"
},
{
"path": "Symbol-Views/Equipment-Views/THEA"
},
{
"path": "Symbol-Views/Equipment-Views/Test"
}
],
"FilteredViews": [
{
"Name": "DeviceStatus",
"Path": "Symbol-Views/Equipment-Views/DeviceStatus",
"instancePosition": {},
"instanceStyle": {
"classes": ""
}
},
{
"Name": "Button",
"Path": "Symbol-Views/Equipment-Views/Button",
"instancePosition": {},
"instanceStyle": {
"classes": ""
}
},
{
"Name": "ControlCabinet",
"Path": "Symbol-Views/Equipment-Views/ControlCabinet",
"instancePosition": {},
"instanceStyle": {
"classes": ""
}
},
{
"Name": "Extendo",
"Path": "Symbol-Views/Equipment-Views/Extendo",
"instancePosition": {},
"instanceStyle": {
"classes": ""
}
},
{
"Name": "MCM",
"Path": "Symbol-Views/Equipment-Views/MCM",
"instancePosition": {},
"instanceStyle": {
"classes": ""
}
},
{
"Name": "SS_Button",
"Path": "Symbol-Views/Equipment-Views/SS_Button",
"instancePosition": {},
"instanceStyle": {
"classes": ""
}
},
{
"Name": "PullChord",
"Path": "Symbol-Views/Equipment-Views/PullChord",
"instancePosition": {},
"instanceStyle": {
"classes": ""
}
},
{
"Name": "PullChord_End",
"Path": "Symbol-Views/Equipment-Views/PullChord_End",
"instancePosition": {},
"instanceStyle": {
"classes": ""
}
},
{
"Name": "PullChord_Line",
"Path": "Symbol-Views/Equipment-Views/PullChord_Line",
"instancePosition": {},
"instanceStyle": {
"classes": ""
}
},
{
"Name": "Status",
"Path": "Symbol-Views/Equipment-Views/Status",
"instancePosition": {},
"instanceStyle": {
"classes": ""
}
},
{
"Name": "Chute",
"Path": "Symbol-Views/Equipment-Views/Chute",
"instancePosition": {},
"instanceStyle": {
"classes": ""
}
},
{
"Name": "Carrier",
"Path": "Symbol-Views/Equipment-Views/Carrier",
"instancePosition": {},
"instanceStyle": {
"classes": ""
}
},
{
"Name": "Tipper",
"Path": "Symbol-Views/Equipment-Views/Tipper",
"instancePosition": {},
"instanceStyle": {
"classes": ""
}
}
],
"SelectedValue": "",
"key": ""
},
"propConfig": {
"params.Dataset": {
"paramDirection": "input",
"persistent": true
},
"params.FilteredViews": {
"paramDirection": "input",
"persistent": true
},
"params.SelectedValue": {
"paramDirection": "inout",
"persistent": true
},
"params.key": {
"paramDirection": "input",
"persistent": true
}
},
"props": {
"defaultSize": {
"height": 650,
"width": 1165
}
},
"root": {
"children": [
{
"meta": {
"name": "ViewRepeater"
},
"position": {
"basis": "1px",
"grow": 1
},
"propConfig": {
"props.instances": {
"binding": {
"config": {
"bidirectional": true,
"path": "view.params.FilteredViews"
},
"type": "property"
}
}
},
"props": {
"alignContent": "flex-start",
"alignItems": "flex-start",
"elementPosition": {
"basis": "auto"
},
"elementStyle": {
"classes": "Framework/Cards/Title"
},
"justify": "center",
"path": "Symbol-Views/Symbol-Library-Views/Symbol",
"style": {
"gap": "20px",
"overflow": "hidden"
},
"wrap": "wrap"
},
"type": "ia.display.flex-repeater"
}
],
"meta": {
"name": "root"
},
"props": {
"alignItems": "center",
"justify": "space-evenly",
"wrap": "wrap"
},
"type": "ia.container.flex"
}
}

View File

@ -2,20 +2,21 @@
"custom": {},
"params": {
"tagProps": [
"TAG0",
"TAG1",
"TAG2",
"TAG3",
"TAG4",
"TAG5",
"TAG6",
"TAG7",
"TAG8",
"TAG9",
"TAG10",
"TAG11",
"TAG12",
"TAG13"
"System/MCM01/IO_BLOCK/DPM/ULC3_6_DPM1",
"System/MCM01/Conveyor/Tipper/ULC3_1_TIPPER",
"System/MCM01/Conveyor/VFD/ULC3_3_VFD1",
"System/MCM01/Conveyor/VFD/ULC3_4_VFD1",
"System/MCM01/Conveyor/VFD/ULC3_6_VFD1",
"System/MCM01/Conveyor/Tipper/ULC4_1_TIPPER",
"System/MCM01/Conveyor/VFD/ULC4_3_VFD1",
"System/MCM01/Conveyor/VFD/ULC4_4_VFD1",
"System/MCM01/Conveyor/VFD/ULC4_6_VFD1",
"System/MCM01/IO_BLOCK/FIO/ULC3_4_FIO1",
"System/MCM01/IO_BLOCK/FIO/ULC3_6_FIO1",
"System/MCM01/IO_BLOCK/FIO/ULC4_4_FIO1",
"System/MCM01/IO_BLOCK/FIO/ULC4_6_FIO1",
"System/MCM01/IO_BLOCK/FIO/PDP1_FIO1",
"System/MCM01/PDP01_CB_MONITOR"
]
},
"props": {
@ -41,10 +42,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[0]}",
"0": "{view.params.tagProps[1]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -73,10 +74,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[10]}",
"0": "{view.params.tagProps[11]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -105,10 +106,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[11]}",
"0": "{view.params.tagProps[12]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -137,10 +138,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[12]}",
"0": "{view.params.tagProps[13]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -169,10 +170,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[13]}",
"0": "{view.params.tagProps[14]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}Alarm/Power_Branch_Fault"
},
"transforms": [
{
@ -201,10 +202,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[1]}",
"0": "{view.params.tagProps[2]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -233,10 +234,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[2]}",
"0": "{view.params.tagProps[3]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -265,10 +266,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[3]}",
"0": "{view.params.tagProps[4]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -297,10 +298,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[4]}",
"0": "{view.params.tagProps[5]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -329,10 +330,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[5]}",
"0": "{view.params.tagProps[6]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -361,10 +362,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[6]}",
"0": "{view.params.tagProps[7]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -393,10 +394,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[7]}",
"0": "{view.params.tagProps[8]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -425,10 +426,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[8]}",
"0": "{view.params.tagProps[9]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -457,10 +458,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[9]}",
"0": "{view.params.tagProps[10]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -539,7 +540,19 @@
false
],
"in": false,
"out": false
"out": false,
"tagProps": [
"System/MCM01/IO_BLOCK/DPM/ULC3_6_DPM1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/DPM_TO_HUB"
},
@ -552,11 +565,25 @@
"position": {
"height": 0.1667,
"width": 0.125,
"x": 0.0232,
"x": 0.0107,
"y": 0.4991
},
"props": {
"path": "Windows/Tabs/Enternet Windows/Components/APF"
"params": {
"tagProps": [
"System/MCM01/Conveyor/Tipper/ULC3_1_TIPPER",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/TIPPER"
},
"type": "ia.display.view"
},
@ -590,6 +617,20 @@
"y": 0.6677
},
"props": {
"params": {
"tagProps": [
"System/MCM01/Conveyor/VFD/ULC3_3_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -624,6 +665,20 @@
"y": 0.8333
},
"props": {
"params": {
"tagProps": [
"System/MCM01/Conveyor/VFD/ULC3_4_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -658,6 +713,20 @@
"y": 0.3333
},
"props": {
"params": {
"tagProps": [
"System/MCM01/Conveyor/VFD/ULC3_6_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -688,11 +757,25 @@
"position": {
"height": 0.1667,
"width": 0.125,
"x": 0.0229,
"x": 0.0104,
"y": 0.1667
},
"props": {
"path": "Windows/Tabs/Enternet Windows/Components/APF"
"params": {
"tagProps": [
"System/MCM01/Conveyor/Tipper/ULC4_1_TIPPER",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/TIPPER"
},
"type": "ia.display.view"
},
@ -725,6 +808,20 @@
"x": 0.0244
},
"props": {
"params": {
"tagProps": [
"System/MCM01/Conveyor/VFD/ULC4_3_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -758,6 +855,20 @@
"x": 0.5
},
"props": {
"params": {
"tagProps": [
"System/MCM01/Conveyor/VFD/ULC4_4_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -791,6 +902,20 @@
"x": 0.625
},
"props": {
"params": {
"tagProps": [
"System/MCM01/Conveyor/VFD/ULC4_6_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -816,7 +941,7 @@
},
{
"meta": {
"name": "ULC3_04_FIO1"
"name": "ULC3_4_FIO1"
},
"position": {
"height": 0.1667,
@ -824,13 +949,27 @@
"x": 0.75
},
"props": {
"params": {
"tagProps": [
"System/MCM01/IO_BLOCK/FIO/ULC3_4_FIO1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/FIO_SIO"
},
"type": "ia.display.view"
},
{
"meta": {
"name": "ULC3_04_FIO1_label"
"name": "ULC3_4_FIO1_label"
},
"position": {
"height": 0.0358,
@ -839,7 +978,7 @@
"y": 0.1664
},
"props": {
"text": "ULC3_04_FIO1 11.200.1.78",
"text": "ULC3_4_FIO1 11.200.1.78",
"textStyle": {
"fontSize": "1vmin",
"key": "value"
@ -849,7 +988,7 @@
},
{
"meta": {
"name": "ULC3_06_FIO1"
"name": "ULC3_6_FIO1"
},
"position": {
"height": 0.1667,
@ -857,13 +996,27 @@
"x": 0.375
},
"props": {
"params": {
"tagProps": [
"System/MCM01/IO_BLOCK/FIO/ULC3_6_FIO1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/FIO_SIO"
},
"type": "ia.display.view"
},
{
"meta": {
"name": "ULC3_06_FIO1_label"
"name": "ULC3_6_FIO1_label"
},
"position": {
"height": 0.0358,
@ -872,7 +1025,7 @@
"y": 0.1664
},
"props": {
"text": "ULC3_06_FIO1 11.200.1.79",
"text": "ULC3_6_FIO1 11.200.1.79",
"textStyle": {
"fontSize": "1vmin",
"key": "value"
@ -882,7 +1035,7 @@
},
{
"meta": {
"name": "ULC4_04_FIO1"
"name": "ULC4_4_FIO1"
},
"position": {
"height": 0.1667,
@ -891,13 +1044,27 @@
"y": 0.0019
},
"props": {
"params": {
"tagProps": [
"System/MCM01/IO_BLOCK/FIO/ULC4_4_FIO1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/FIO_SIO"
},
"type": "ia.display.view"
},
{
"meta": {
"name": "ULC4_04_FIO1_label"
"name": "ULC4_4_FIO1_label"
},
"position": {
"height": 0.0358,
@ -906,7 +1073,7 @@
"y": 0.1682
},
"props": {
"text": "ULC4_04_FIO1 11.200.1.80",
"text": "ULC4_4_FIO1 11.200.1.80",
"textStyle": {
"fontSize": "1vmin",
"key": "value"
@ -916,30 +1083,44 @@
},
{
"meta": {
"name": "ULC4_06_FIO1"
"name": "ULC4_6_FIO1"
},
"position": {
"height": 0.1667,
"width": 0.125,
"x": 0.1245
"x": 0.1315
},
"props": {
"params": {
"tagProps": [
"System/MCM01/IO_BLOCK/FIO/ULC4_6_FIO1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/FIO_SIO"
},
"type": "ia.display.view"
},
{
"meta": {
"name": "ULC4_06_FIO1_label"
"name": "ULC4_6_FIO1_label"
},
"position": {
"height": 0.0358,
"width": 0.0427,
"x": 0.2072,
"x": 0.2142,
"y": 0.1646
},
"props": {
"text": "ULC4_06_FIO1 11.200.1.81",
"text": "ULC4_6_FIO1 11.200.1.81",
"textStyle": {
"fontSize": "1vmin",
"key": "value"
@ -949,31 +1130,45 @@
},
{
"meta": {
"name": "PDP01_FIO1"
"name": "PDP1_FIO1"
},
"position": {
"height": 0.1667,
"width": 0.125,
"x": 0.8389,
"x": 0.8579,
"y": 0.3332
},
"props": {
"params": {
"tagProps": [
"System/MCM01/IO_BLOCK/FIO/PDP1_FIO1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/FIO_SIO"
},
"type": "ia.display.view"
},
{
"meta": {
"name": "PDP01_FIO1_label"
"name": "PDP1_FIO1_label"
},
"position": {
"height": 0.0358,
"width": 0.0427,
"x": 0.9349999999999999,
"x": 0.954,
"y": 0.3943
},
"props": {
"text": "PDP01_FIO1 11.200.1.82",
"text": "PDP1_FIO1 11.200.1.82",
"textStyle": {
"fontSize": "1vmin",
"key": "value"
@ -983,31 +1178,45 @@
},
{
"meta": {
"name": "PDP01_PMM1"
"name": "PDP1_PMM1"
},
"position": {
"height": 0.0991,
"width": 0.0682,
"x": 0.8826,
"y": 0.1694
"height": 0.1278,
"width": 0.0677,
"x": 0.8844,
"y": 0.1852
},
"props": {
"params": {
"tagProps": [
"System/MCM01/PDP01_CB_MONITOR",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/PMM"
},
"type": "ia.display.view"
},
{
"meta": {
"name": "PDP01_PMM1_label"
"name": "PDP1_PMM1_label"
},
"position": {
"height": 0.0358,
"width": 0.0427,
"x": 0.8954,
"y": 0.2701
"x": 0.954,
"y": 0.2276
},
"props": {
"text": "PDP01_PMM1 11.200.1.83",
"text": "PDP1_PMM1 11.200.1.83",
"textStyle": {
"fontSize": "1vmin",
"key": "value"
@ -1026,7 +1235,7 @@
"y": 0.6342
},
"props": {
"text": "DPM1_ULC3-6 11.200.1.3",
"text": "ULC3_6_DPM1",
"textStyle": {
"fontSize": "2vmin"
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

View File

@ -1,22 +1,22 @@
{
"custom": {
"dpm1-dpm2": false,
"dpm2-dpm3": false,
"dpm3-dpm4": false,
"dpm4-dpm5": false,
"dpm5-dpm6": false,
"dpm6-mcm": false,
"mcm-dpm1": false
"dpm1-dpm2": true,
"dpm2-dpm3": true,
"dpm3-dpm4": true,
"dpm4-dpm5": true,
"dpm5-dpm6": true,
"dpm6-mcm": true,
"mcm-dpm1": true
},
"params": {
"tagProps": [
"DPM0_TAG",
"DPM1_TAG",
"DPM2_TAG",
"DPM3_TAG",
"DPM4_TAG",
"DPM5_TAG",
"DPM6_TAG"
"System/MCM04/Rack",
"System/MCM04/IO_BLOCK/DPM/VS1A_DPM1",
"System/MCM04/IO_BLOCK/DPM/VS1A_DPM2",
"System/MCM04/IO_BLOCK/DPM/VS1A_DPM3",
"System/MCM04/IO_BLOCK/DPM/VS1A_DPM4",
"System/MCM04/IO_BLOCK/DPM/VS1A_DPM5",
"System/MCM04/IO_BLOCK/DPM/VS1C_DPM2"
]
},
"propConfig": {
@ -29,11 +29,11 @@
"1": "{view.params.tagProps[1]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{1}/STATE"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{1}/Communication_Faulted"
},
"transforms": [
{
"expression": "coalesce({value},{view.params.forceFaultStatus},1)",
"expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression"
},
{
@ -41,11 +41,11 @@
"inputType": "scalar",
"mappings": [
{
"input": 0,
"input": false,
"output": true
},
{
"input": 1,
"input": true,
"output": false
}
],
@ -66,11 +66,11 @@
"2": "{view.params.tagProps[2]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{2}/STATE"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{2}/Communication_Faulted"
},
"transforms": [
{
"expression": "coalesce({value},{view.params.forceFaultStatus},1)",
"expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression"
},
{
@ -78,11 +78,11 @@
"inputType": "scalar",
"mappings": [
{
"input": 0,
"input": false,
"output": true
},
{
"input": 1,
"input": true,
"output": false
}
],
@ -103,11 +103,11 @@
"3": "{view.params.tagProps[3]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{3}/STATE"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{3}/Communication_Faulted"
},
"transforms": [
{
"expression": "coalesce({value},{view.params.forceFaultStatus},1)",
"expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression"
},
{
@ -115,11 +115,11 @@
"inputType": "scalar",
"mappings": [
{
"input": 0,
"input": false,
"output": true
},
{
"input": 1,
"input": true,
"output": false
}
],
@ -140,11 +140,11 @@
"4": "{view.params.tagProps[4]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{4}/STATE"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{4}/Communication_Faulted"
},
"transforms": [
{
"expression": "coalesce({value},{view.params.forceFaultStatus},1)",
"expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression"
},
{
@ -152,11 +152,11 @@
"inputType": "scalar",
"mappings": [
{
"input": 0,
"input": false,
"output": true
},
{
"input": 1,
"input": true,
"output": false
}
],
@ -177,11 +177,11 @@
"5": "{view.params.tagProps[5]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{5}/STATE"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{5}/Communication_Faulted"
},
"transforms": [
{
"expression": "coalesce({value},{view.params.forceFaultStatus},1)",
"expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression"
},
{
@ -189,11 +189,11 @@
"inputType": "scalar",
"mappings": [
{
"input": 0,
"input": false,
"output": true
},
{
"input": 1,
"input": true,
"output": false
}
],
@ -214,11 +214,11 @@
"6": "{view.params.tagProps[6]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{6}/STATE"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{6}/Communication_Faulted"
},
"transforms": [
{
"expression": "coalesce({value},{view.params.forceFaultStatus},1)",
"expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression"
},
{
@ -226,11 +226,11 @@
"inputType": "scalar",
"mappings": [
{
"input": 0,
"input": false,
"output": true
},
{
"input": 1,
"input": true,
"output": false
}
],
@ -251,11 +251,11 @@
"0": "{view.params.tagProps[0]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/STATE"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
"expression": "coalesce({value},{view.params.forceFaultStatus},1)",
"expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression"
},
{
@ -263,11 +263,11 @@
"inputType": "scalar",
"mappings": [
{
"input": 0,
"input": false,
"output": true
},
{
"input": 1,
"input": true,
"output": false
}
],
@ -297,7 +297,7 @@
"dom": {
"onClick": {
"config": {
"script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True"
},
"scope": "G",
"type": "script"
@ -349,7 +349,7 @@
"dom": {
"onClick": {
"config": {
"script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True"
},
"scope": "G",
"type": "script"
@ -357,7 +357,7 @@
}
},
"meta": {
"name": "DPM01_VS01A"
"name": "VS1A_DPM1"
},
"position": {
"height": 0.3333,
@ -396,7 +396,7 @@
"OutDown": false,
"OutRight": true,
"OutUp": false,
"view": "Windows/Tabs/Enternet Windows/DPMs/DPM Devices/MCM04/DPM01_VS01A"
"view": "Windows/Tabs/Enternet Windows/DPMs/DPM Devices/MCM04/VS1A_DPM1"
},
"path": "Windows/Tabs/Enternet Windows/Components/DPM_BLOCK"
},
@ -407,7 +407,7 @@
"dom": {
"onClick": {
"config": {
"script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True"
},
"scope": "G",
"type": "script"
@ -415,7 +415,7 @@
}
},
"meta": {
"name": "DPM02_VS01A"
"name": "VS1A_DPM2"
},
"position": {
"height": 0.3333,
@ -460,7 +460,7 @@
"OutDown": false,
"OutRight": true,
"OutUp": false,
"view": "Windows/Tabs/Enternet Windows/DPMs/DPM Devices/MCM04/DPM02_VS01A"
"view": "Windows/Tabs/Enternet Windows/DPMs/DPM Devices/MCM04/VS1A_DPM2"
},
"path": "Windows/Tabs/Enternet Windows/Components/DPM_BLOCK"
},
@ -471,7 +471,7 @@
"dom": {
"onClick": {
"config": {
"script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True"
},
"scope": "G",
"type": "script"
@ -479,7 +479,7 @@
}
},
"meta": {
"name": "DPM03_VS01A"
"name": "VS1A_DPM3"
},
"position": {
"height": 0.3333,
@ -525,7 +525,7 @@
"OutDown": false,
"OutRight": false,
"OutUp": true,
"view": "Windows/Tabs/Enternet Windows/DPMs/DPM Devices/MCM04/DPM03_VS01A"
"view": "Windows/Tabs/Enternet Windows/DPMs/DPM Devices/MCM04/VS1A_DPM3"
},
"path": "Windows/Tabs/Enternet Windows/Components/DPM_BLOCK"
},
@ -536,7 +536,7 @@
"dom": {
"onClick": {
"config": {
"script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True"
},
"scope": "G",
"type": "script"
@ -544,7 +544,7 @@
}
},
"meta": {
"name": "DPM04_VS01A"
"name": "VS1A_DPM4"
},
"position": {
"height": 0.3333,
@ -583,7 +583,7 @@
"OutDown": false,
"OutRight": true,
"OutUp": false,
"view": "Windows/Tabs/Enternet Windows/DPMs/DPM Devices/MCM04/DPM04_VS01A"
"view": "Windows/Tabs/Enternet Windows/DPMs/DPM Devices/MCM04/VS1A_DPM4"
},
"path": "Windows/Tabs/Enternet Windows/Components/DPM_BLOCK"
},
@ -594,7 +594,7 @@
"dom": {
"onClick": {
"config": {
"script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True"
},
"scope": "G",
"type": "script"
@ -602,7 +602,7 @@
}
},
"meta": {
"name": "DPM05_VS01A"
"name": "VS1A_DPM5"
},
"position": {
"height": 0.3333,
@ -642,7 +642,7 @@
"OutDown": false,
"OutRight": false,
"OutUp": true,
"view": "Windows/Tabs/Enternet Windows/DPMs/DPM Devices/MCM04/DPM05_VS01A"
"view": "Windows/Tabs/Enternet Windows/DPMs/DPM Devices/MCM04/VS1A_DPM5"
},
"path": "Windows/Tabs/Enternet Windows/Components/DPM_BLOCK"
},
@ -653,7 +653,7 @@
"dom": {
"onClick": {
"config": {
"script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True"
},
"scope": "G",
"type": "script"
@ -661,7 +661,7 @@
}
},
"meta": {
"name": "DPM02_VS01C"
"name": "VS1C_DPM2"
},
"position": {
"height": 0.3333,
@ -708,7 +708,7 @@
"OutDown": false,
"OutRight": true,
"OutUp": false,
"view": "Windows/Tabs/Enternet Windows/DPMs/DPM Devices/MCM04/DPM02_VS01C"
"view": "Windows/Tabs/Enternet Windows/DPMs/DPM Devices/MCM04/VS1C_DPM2"
},
"path": "Windows/Tabs/Enternet Windows/Components/DPM_BLOCK"
},
@ -725,7 +725,7 @@
"y": 0.07
},
"props": {
"text": "DPM01_VS01A 11.200.1.2",
"text": "VS1A_DPM1 11.200.1.2",
"textStyle": {
"fontSize": "1vmin"
}
@ -743,7 +743,7 @@
"y": 0.3121
},
"props": {
"text": "DPM02_VS01A 11.200.1.3",
"text": "VS1A_DPM2 11.200.1.3",
"textStyle": {
"fontSize": "1vmin"
}
@ -761,7 +761,7 @@
"y": 0.4
},
"props": {
"text": "DPM03_VS01A 11.200.1.4",
"text": "VS1A_DPM3 11.200.1.4",
"textStyle": {
"fontSize": "1vmin"
}
@ -779,7 +779,7 @@
"y": 0.75
},
"props": {
"text": "DPM04_VS01A 11.200.1.5",
"text": "VS1A_DPM4 11.200.1.5",
"textStyle": {
"fontSize": "1vmin"
}
@ -797,7 +797,7 @@
"y": 0.75
},
"props": {
"text": "DPM05_VS01A 11.200.1.6",
"text": "VS1A_DPM5 11.200.1.6",
"textStyle": {
"fontSize": "1vmin"
}
@ -815,7 +815,7 @@
"y": 0.4
},
"props": {
"text": "DPM02_VS01C 11.200.1.7",
"text": "VS1C_DPM2 11.200.1.7",
"textStyle": {
"fontSize": "1vmin"
}
@ -827,7 +827,7 @@
"dom": {
"onClick": {
"config": {
"script": "\tself.session.custom.dpm_view_path = self.props.params.view\n\tself.session.custom.show_dpm_device_view = True"
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True"
},
"scope": "G",
"type": "script"

View File

@ -2,22 +2,24 @@
"custom": {},
"params": {
"tagProps": [
"TAG0",
"TAG1",
"TAG2",
"TAG3",
"TAG4",
"TAG5",
"TAG6",
"TAG7",
"TAG8",
"TAG9",
"TAG10",
"TAG11",
"TAG12",
"TAG13",
"TAG14",
"TAG15"
"System/MCM03/IO_BLOCK/DPM/PS3_1_DPM1",
"System/MCM03/Conveyor/VFD/UL7_1_VFD1",
"System/MCM03/Conveyor/VFD/UL7_2_VFD1",
"System/MCM03/Conveyor/VFD/UL7_3_VFD1",
"System/MCM03/Conveyor/VFD/UL7_4_VFD1",
"System/MCM03/Conveyor/VFD/UL7_5_VFD1",
"System/MCM03/Conveyor/VFD/UL7_6_VFD1",
"System/MCM03/Conveyor/VFD/UL7_7_VFD1",
"System/MCM03/Conveyor/EXTENDO/UL8_1_EX1",
"System/MCM03/Conveyor/VFD/UL8_3_VFD1",
"System/MCM03/Conveyor/VFD/UL8_4_VFD1",
"System/MCM03/Conveyor/VFD/UL8_5_VFD1",
"System/MCM03/Conveyor/VFD/UL8_6_VFD1",
"System/MCM03/Conveyor/VFD/UL8_7_VFD1",
"System/MCM03/Conveyor/VFD/UL8_8_VFD1",
"System/MCM03/IO_BLOCK/FIO/UL7_2_FIO1",
"System/MCM03/IO_BLOCK/FIO/UL8_3_FIO1",
"System/MCM03/Conveyor/VFD/UL8_9_VFD1"
]
},
"props": {
@ -43,10 +45,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[0]}",
"0": "{view.params.tagProps[1]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -75,10 +77,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[10]}",
"0": "{view.params.tagProps[11]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -107,10 +109,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[11]}",
"0": "{view.params.tagProps[12]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -139,10 +141,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[12]}",
"0": "{view.params.tagProps[13]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -171,10 +173,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[13]}",
"0": "{view.params.tagProps[14]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -203,10 +205,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[14]}",
"0": "{view.params.tagProps[15]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -235,10 +237,42 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[15]}",
"0": "{view.params.tagProps[16]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
"expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression"
},
{
"fallback": false,
"inputType": "scalar",
"mappings": [
{
"input": false,
"output": true
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "tag"
}
},
"props.params.con_lines[16]": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[17]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -267,10 +301,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[1]}",
"0": "{view.params.tagProps[2]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -299,10 +333,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[2]}",
"0": "{view.params.tagProps[3]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -331,10 +365,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[3]}",
"0": "{view.params.tagProps[4]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -363,10 +397,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[4]}",
"0": "{view.params.tagProps[5]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -395,10 +429,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[5]}",
"0": "{view.params.tagProps[6]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -427,10 +461,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[6]}",
"0": "{view.params.tagProps[7]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -459,10 +493,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[7]}",
"0": "{view.params.tagProps[8]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -491,10 +525,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[8]}",
"0": "{view.params.tagProps[9]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -523,10 +557,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[9]}",
"0": "{view.params.tagProps[10]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -569,7 +603,7 @@
null,
null,
null,
false,
null,
false,
false,
false,
@ -595,7 +629,7 @@
true,
true,
true,
false,
true,
false,
false,
false,
@ -605,7 +639,19 @@
false
],
"in": false,
"out": false
"out": false,
"tagProps": [
"System/MCM03/IO_BLOCK/DPM/PS3_1_DPM1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/DPM_TO_HUB"
},
@ -622,6 +668,20 @@
"y": 0.4991
},
"props": {
"params": {
"tagProps": [
"System/MCM03/Conveyor/VFD/UL7_1_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -656,6 +716,20 @@
"y": 0.6677
},
"props": {
"params": {
"tagProps": [
"System/MCM03/Conveyor/VFD/UL7_2_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -690,6 +764,20 @@
"y": 0.8333
},
"props": {
"params": {
"tagProps": [
"System/MCM03/Conveyor/VFD/UL7_3_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -724,6 +812,20 @@
"y": 0.3333
},
"props": {
"params": {
"tagProps": [
"System/MCM03/Conveyor/VFD/UL7_4_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -758,6 +860,20 @@
"y": 0.1667
},
"props": {
"params": {
"tagProps": [
"System/MCM03/Conveyor/VFD/UL7_5_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -791,6 +907,20 @@
"x": 0.0244
},
"props": {
"params": {
"tagProps": [
"System/MCM03/Conveyor/VFD/UL7_6_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -824,6 +954,20 @@
"x": 0.5
},
"props": {
"params": {
"tagProps": [
"System/MCM03/Conveyor/VFD/UL7_7_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -857,7 +1001,21 @@
"x": 0.625
},
"props": {
"path": "Windows/Tabs/Enternet Windows/Components/APF"
"params": {
"tagProps": [
"System/MCM03/Conveyor/EXTENDO/UL8_1_EX1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/EXTENDO"
},
"type": "ia.display.view"
},
@ -867,7 +1025,7 @@
},
"position": {
"height": 0.0358,
"width": 0.0547,
"width": 0.0427,
"x": 0.6312,
"y": 0.1664
},
@ -890,6 +1048,20 @@
"x": 0.75
},
"props": {
"params": {
"tagProps": [
"System/MCM03/Conveyor/VFD/UL8_3_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -923,6 +1095,20 @@
"x": 0.375
},
"props": {
"params": {
"tagProps": [
"System/MCM03/Conveyor/VFD/UL8_4_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -957,6 +1143,20 @@
"y": 0.0019
},
"props": {
"params": {
"tagProps": [
"System/MCM03/Conveyor/VFD/UL8_5_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -990,6 +1190,20 @@
"x": 0.1245
},
"props": {
"params": {
"tagProps": [
"System/MCM03/Conveyor/VFD/UL8_6_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -1024,6 +1238,20 @@
"y": 0.3332
},
"props": {
"params": {
"tagProps": [
"System/MCM03/Conveyor/VFD/UL8_7_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -1058,6 +1286,20 @@
"y": 0.1667
},
"props": {
"params": {
"tagProps": [
"System/MCM03/Conveyor/VFD/UL8_8_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -1088,9 +1330,23 @@
"position": {
"height": 0.1667,
"width": 0.125,
"x": 0.8408
"x": 0.8598
},
"props": {
"params": {
"tagProps": [
"System/MCM03/IO_BLOCK/FIO/UL7_2_FIO1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/FIO_SIO"
},
"type": "ia.display.view"
@ -1102,7 +1358,7 @@
"position": {
"height": 0.0358,
"width": 0.0427,
"x": 0.9349999999999999,
"x": 0.954,
"y": 0.0619
},
"props": {
@ -1121,10 +1377,24 @@
"position": {
"height": 0.1667,
"width": 0.125,
"x": 0.8389,
"x": 0.8579,
"y": 0.4988
},
"props": {
"params": {
"tagProps": [
"System/MCM03/IO_BLOCK/FIO/UL8_3_FIO1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/FIO_SIO"
},
"type": "ia.display.view"
@ -1136,7 +1406,7 @@
"position": {
"height": 0.0358,
"width": 0.0427,
"x": 0.9349999999999999,
"x": 0.954,
"y": 0.561
},
"props": {
@ -1148,6 +1418,54 @@
},
"type": "ia.display.label"
},
{
"meta": {
"name": "UL8_9"
},
"position": {
"height": 0.1667,
"width": 0.125,
"x": 0.8501,
"y": 0.6639
},
"props": {
"params": {
"tagProps": [
"System/MCM03/Conveyor/VFD/UL8_9_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
},
{
"meta": {
"name": "UL8_9_label"
},
"position": {
"height": 0.0358,
"width": 0.0547,
"x": 0.947,
"y": 0.7257
},
"props": {
"text": "UL8_9_VFD1 11.200.1.46",
"textStyle": {
"fontSize": "1vmin",
"key": "value"
}
},
"type": "ia.display.label"
},
{
"meta": {
"name": "DPM_label"
@ -1159,7 +1477,7 @@
"y": 0.6342
},
"props": {
"text": "DPM1_PS3-1 11.200.1.2",
"text": "PS3_1_DPM1",
"textStyle": {
"fontSize": "2vmin"
}

View File

@ -2,20 +2,21 @@
"custom": {},
"params": {
"tagProps": [
"TAG0",
"TAG1",
"TAG2",
"TAG3",
"TAG4",
"TAG5",
"TAG6",
"TAG7",
"TAG8",
"TAG9",
"TAG10",
"TAG11",
"TAG12",
"TAG13"
"System/MCM01/IO_BLOCK/DPM/ULC1_8_DPM1",
"System/MCM01/Conveyor/Tipper/ULC1_1_TIPPER",
"System/MCM01/Conveyor/VFD/ULC1_3_VFD1",
"System/MCM01/Conveyor/VFD/ULC1_4_VFD1",
"System/MCM01/Conveyor/VFD/ULC1_5_VFD1",
"System/MCM01/Conveyor/VFD/ULC1_6_VFD1",
"System/MCM01/Conveyor/VFD/ULC1_7_VFD1",
"System/MCM01/Conveyor/VFD/ULC1_8_VFD1",
"System/MCM01/Conveyor/VFD/ULC1_9A_VFD1",
"System/MCM01/Conveyor/VFD/ULC1_9B_VFD1",
"System/MCM01/Conveyor/VFD/ULC1_10_VFD1",
"System/MCM01/Conveyor/VFD/ULC1_11_VFD1",
"System/MCM01/Conveyor/VFD/ULC1_12_VFD1",
"System/MCM01/IO_BLOCK/FIO/ULC1_4_FIO1",
"System/MCM01/Rack"
]
},
"props": {
@ -41,10 +42,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[0]}",
"0": "{view.params.tagProps[1]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -73,10 +74,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[10]}",
"0": "{view.params.tagProps[11]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -105,10 +106,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[11]}",
"0": "{view.params.tagProps[12]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -137,10 +138,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[12]}",
"0": "{view.params.tagProps[13]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -169,10 +170,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[13]}",
"0": "{view.params.tagProps[14]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -201,10 +202,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[1]}",
"0": "{view.params.tagProps[2]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -233,10 +234,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[2]}",
"0": "{view.params.tagProps[3]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -265,10 +266,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[3]}",
"0": "{view.params.tagProps[4]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -297,10 +298,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[4]}",
"0": "{view.params.tagProps[5]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -329,10 +330,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[5]}",
"0": "{view.params.tagProps[6]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -361,10 +362,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[6]}",
"0": "{view.params.tagProps[7]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -393,10 +394,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[7]}",
"0": "{view.params.tagProps[8]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -425,10 +426,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[8]}",
"0": "{view.params.tagProps[9]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -457,10 +458,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[9]}",
"0": "{view.params.tagProps[10]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -539,7 +540,19 @@
false
],
"in": false,
"out": false
"out": false,
"tagProps": [
"System/MCM01/IO_BLOCK/DPM/ULC1_8_DPM1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/DPM_TO_HUB"
},
@ -552,11 +565,25 @@
"position": {
"height": 0.1667,
"width": 0.125,
"x": 0.0232,
"x": 0.0117,
"y": 0.4991
},
"props": {
"path": "Windows/Tabs/Enternet Windows/Components/APF"
"params": {
"tagProps": [
"System/MCM01/Conveyor/Tipper/ULC1_1_TIPPER",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/TIPPER"
},
"type": "ia.display.view"
},
@ -590,6 +617,20 @@
"y": 0.6677
},
"props": {
"params": {
"tagProps": [
"System/MCM01/Conveyor/VFD/ULC1_3_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -624,6 +665,20 @@
"y": 0.8333
},
"props": {
"params": {
"tagProps": [
"System/MCM01/Conveyor/VFD/ULC1_4_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -658,6 +713,20 @@
"y": 0.3333
},
"props": {
"params": {
"tagProps": [
"System/MCM01/Conveyor/VFD/ULC1_5_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -692,6 +761,20 @@
"y": 0.1667
},
"props": {
"params": {
"tagProps": [
"System/MCM01/Conveyor/VFD/ULC1_6_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -725,6 +808,20 @@
"x": 0.0244
},
"props": {
"params": {
"tagProps": [
"System/MCM01/Conveyor/VFD/ULC1_7_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -758,6 +855,20 @@
"x": 0.5
},
"props": {
"params": {
"tagProps": [
"System/MCM01/Conveyor/VFD/ULC1_8_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -791,6 +902,20 @@
"x": 0.625
},
"props": {
"params": {
"tagProps": [
"System/MCM01/Conveyor/VFD/ULC1_9A_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -824,6 +949,20 @@
"x": 0.75
},
"props": {
"params": {
"tagProps": [
"System/MCM01/Conveyor/VFD/ULC1_9B_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -857,6 +996,20 @@
"x": 0.375
},
"props": {
"params": {
"tagProps": [
"System/MCM01/Conveyor/VFD/ULC1_10_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -891,6 +1044,20 @@
"y": 0.0019
},
"props": {
"params": {
"tagProps": [
"System/MCM01/Conveyor/VFD/ULC1_11_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -924,6 +1091,20 @@
"x": 0.1245
},
"props": {
"params": {
"tagProps": [
"System/MCM01/Conveyor/VFD/ULC1_12_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -949,31 +1130,45 @@
},
{
"meta": {
"name": "ULC1_4_FIO"
"name": "ULC1_4_FIO1"
},
"position": {
"height": 0.1667,
"width": 0.125,
"x": 0.8389,
"x": 0.8579,
"y": 0.3332
},
"props": {
"params": {
"tagProps": [
"System/MCM01/IO_BLOCK/FIO/ULC1_4_FIO1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/FIO_SIO"
},
"type": "ia.display.view"
},
{
"meta": {
"name": "ULC1_4_FIO_label"
"name": "ULC1_4_FIO1_label"
},
"position": {
"height": 0.0358,
"width": 0.0427,
"x": 0.9349999999999999,
"x": 0.954,
"y": 0.3943
},
"props": {
"text": "ULC1_4_FIO 11.200.1.42",
"text": "ULC1_4_FIO1 11.200.1.42",
"textStyle": {
"fontSize": "1vmin",
"key": "value"
@ -987,13 +1182,24 @@
},
"position": {
"height": 0.1667,
"width": 0.037,
"x": 0.8818,
"y": 0.1658
"width": 0.0276,
"x": 0.9021,
"y": 0.163
},
"props": {
"params": {
"MCM": "MCM01"
"tagProps": [
"System/MCM01/IO_BLOCK/FIO/ULC1_3_PLC",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/PLC"
},
@ -1006,7 +1212,7 @@
"position": {
"height": 0.0358,
"width": 0.0427,
"x": 0.9349999999999999,
"x": 0.954,
"y": 0.2276
},
"props": {
@ -1029,7 +1235,7 @@
"y": 0.6342
},
"props": {
"text": "DPM1_ULC1_8 11.200.1.2",
"text": "ULC1_8_DPM1",
"textStyle": {
"fontSize": "2vmin"
}

View File

@ -0,0 +1,71 @@
SELECT
a.id AS ID,
a.eventtime AS StartTimestamp,
clr.eventtime AS EndTimestamp,
-- Duration calculation (HH:MM:SS format)
CONCAT(
LPAD(FLOOR(TIMESTAMPDIFF(SECOND, a.eventtime, COALESCE(clr.eventtime, NOW())) / 3600), 2, '0'), ':',
LPAD(FLOOR((TIMESTAMPDIFF(SECOND, a.eventtime, COALESCE(clr.eventtime, NOW())) % 3600) / 60), 2, '0'), ':',
LPAD( (TIMESTAMPDIFF(SECOND, a.eventtime, COALESCE(clr.eventtime, NOW())) % 60) , 2, '0')
) AS Duration,
-- Description combining display path and alarm name
CONCAT(REPLACE(a.displaypath, '_', '-'), ' ', SUBSTRING_INDEX(a.source, ':/alm:', -1)) AS Description,
-- Priority mapping
CASE a.priority
WHEN 0 THEN 'Diagnostic'
WHEN 1 THEN 'Low'
WHEN 2 THEN 'Medium'
WHEN 3 THEN 'High'
WHEN 4 THEN 'Critical'
ELSE 'Unknown'
END AS Priority,
-- Tag information
CONCAT(a.displaypath, '.HMI.Alarm.', SUBSTRING_INDEX(aed.strValue, '/', -1)) AS Tag,
SUBSTRING_INDEX(SUBSTRING_INDEX(aed.strValue, '/', 2), '/', -1) AS Location,
aed.strValue AS FullTag,
a.displaypath AS Device
FROM alarm_events a
-- Join to get the earliest clear event for each alarm
LEFT JOIN (
SELECT eventid, MIN(eventtime) AS eventtime
FROM alarm_events
WHERE eventtype = 1
GROUP BY eventid
) AS clr ON clr.eventid = a.eventid
-- Join to get additional tag data
LEFT JOIN (
SELECT id, strValue
FROM alarm_event_data
WHERE propname = 'myTag'
GROUP BY id
) AS aed ON aed.id = a.id
WHERE
-- Only active alarm events (not clear events)
a.eventtype = 0
-- Exclude system startup alarms
AND a.displaypath NOT LIKE '%System Startup%'
AND a.source NOT LIKE '%System Startup%'
-- Simple date filtering using named parameters
AND (
-- Case 1: Alarm was cleared within the specified time range
(clr.eventtime IS NOT NULL AND clr.eventtime >= :starttime AND clr.eventtime < :endtime)
OR
-- Case 2: Alarm is still active (no clear time) and started within or before the range
(clr.eventtime IS NULL AND a.eventtime < :endtime)
)
-- Order by end time (most recent clears first), active alarms (NULL) at top, then by ID
ORDER BY clr.eventtime IS NULL DESC, clr.eventtime DESC, a.id DESC
-- Pagination support (100 records per page)
LIMIT 100 OFFSET :offset;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 139 KiB

View File

@ -1,67 +0,0 @@
{
"custom": {},
"params": {},
"props": {
"defaultSize": {
"height": 180,
"width": 240
}
},
"root": {
"children": [
{
"meta": {
"name": "Custom"
},
"position": {
"basis": "300px",
"grow": 1
},
"props": {
"elements": [
{
"id": "defs1",
"name": "defs1",
"type": "defs"
},
{
"elements": [
{
"d": "m 127.83219,130.5279 2.23777,-2.23602 m -3.91609,1.11801 1.67832,1.11801 m -2.23776,-1.11801 h 0.55944 m 1.67832,2.23601 -2.23776,-2.23601 m 5.03497,-0.55901 -0.55944,1.67702 -2.23777,1.118 m 0,-5.59005 2.23777,0.55901 0.55944,2.23602 m -3.35665,-2.79503 h 0.55944 m 0,-2.23602 -0.55944,2.23602 m 2.79721,-2.23602 h -2.23777 m 2.23777,-0.55901 v 0.55901 m -2.79721,-0.55901 h 2.79721 m -3.91609,3.91304 1.11888,-3.91304 m 0.55944,3.35404 -1.67832,0.559 m 3.91609,1.11802 -2.23777,-1.67702 m -13.98605,4.47204 -1.67832,-0.559 -1.11889,-2.23602 m 5.59442,1.67702 -2.79721,1.118 m 2.79721,0 v -1.118 m 0.55944,1.118 h -0.55944 m 0.55944,-5.59005 v 5.59005 m -0.55944,-5.59005 h 0.55944 m -0.55944,1.11801 v -1.11801 m -2.79721,-0.55901 2.79721,1.67702 m -5.59442,1.67702 1.11889,-2.23603 1.67832,-1.11801 m 28.53155,-5.03104 c 0,-0.55901 -1.11889,-1.11802 -1.67833,-1.11802 m -41.958149,0 h 41.958149 m -41.958149,0 c -0.55945,0 -1.11889,0.55901 -1.11889,1.11802 m 0,46.39745 V 120.4658 m 0,45.83845 c 0,0.55901 0.55944,1.67702 1.11889,1.67702 m 41.958149,0 H 98.741211 m 41.958149,0 c 0.55944,0 1.67833,-1.11801 1.67833,-1.67702 m 0,-45.83845 v 45.83845 m -40.83927,-31.30431 v 21.24221 m 36.36373,-21.24221 h -36.36373 m 36.36373,21.24221 v -21.24221 m -6.7133,21.24221 h 6.7133 m -6.7133,5.03105 v -5.03105 m -5.59442,5.03105 h 5.59442 m -5.59442,4.47204 v -4.47204 m -11.74829,4.47204 h 11.74829 m -11.74829,-4.47204 v 4.47204 m -5.59442,-4.47204 h 5.59442 m -5.59442,-5.03105 v 5.03105 m -6.7133,-5.03105 h 6.7133 m 1.67833,-26.27325 -3.9161,1.677 m 3.35666,-2.23601 0.55944,0.55901 m -3.9161,0.559 3.35666,-1.11801 m -6.71331,-2.23603 1.11889,2.23603 2.23776,1.11801 m 0,-6.70807 -2.23776,1.11801 -1.11889,2.23602 m 6.71331,-2.23602 -3.35666,-1.11801 m 3.9161,0.55901 -0.55944,0.559 m -7.27275,2.23602 1.11889,-2.79502 2.7972,-1.67702 m -3.35665,7.26708 -0.55944,-2.79504 m 3.91609,4.47204 -3.35665,-1.677 m 16.78327,1.118 v -5.03105 m 1.11888,5.03105 h -1.11888 m 1.11888,-5.03105 v 5.03105 m 0.55944,-5.03105 h -0.55944 m 0.55944,-0.559 v 0.559 m -0.55944,-0.559 h 0.55944 m -0.55944,-2.79503 v 2.79503 m -1.11888,-2.79503 h 1.11888 m -1.11888,2.79503 v -2.79503 m -1.11889,2.79503 h 1.11889 m -1.11889,0.559 v -0.559 m 1.11889,0.559 h -1.11889 m 16.22382,-1.11801 2.79721,1.67702 m -5.03498,-0.55901 2.23777,-1.11801 m -2.79721,3.35404 0.55944,-2.23603 m 2.23777,5.03105 -1.67833,-0.559 -1.11888,-2.23602 m 5.59442,1.11801 -2.79721,1.67701 m 2.23777,-1.67701 h 0.55944 m -2.79721,1.11801 2.23777,-1.11801 m -4.47554,-1.11801 2.23777,2.23602 m 3.35665,-2.23602 h -5.59442 m 5.03498,-1.67702 0.55944,1.67702 m -31.8882,-5.59006 3.9161,1.67702 m 26.85322,3.35403 h -4.47554 m 0,0 1.11888,-1.11801 m 0,0 1.11889,-0.55901 m 0,0 2.23777,1.67702 m -22.93713,-1.67702 2.79721,2.23603 m -2.79721,2.23602 -2.23777,-2.23602 m 5.03498,0 -2.79721,2.23602 m -2.23777,-2.23602 2.23777,-2.23603 m -2.79721,16.21116 v -7.26707 m 0,7.26707 h 1.67833 m 0,-7.26707 v 7.26707 m 1.67832,0 v -7.26707 m 0,7.26707 h 1.67833 m 0,-7.26707 v 7.26707 m 1.11888,0 v -7.26707 m 0,7.26707 h 1.67833 m 0,-7.26707 v 7.26707 m -10.6294,0 v -7.26707 m 0,7.26707 h 1.67833 m 0,-7.26707 v 7.26707 m 19.58046,0 h 2.23778 m 0,-7.26707 v 7.26707 m -2.23778,0 v -7.26707 m -2.7972,7.26707 h 1.67833 m 0,-7.26707 v 7.26707 m -1.67833,0 v -7.26707 m -6.15386,7.26707 h 1.67832 m 0,-7.26707 v 7.26707 m -1.67832,0 v -7.26707 m 2.7972,7.26707 h 1.67833 m 0,-7.26707 v 7.26707 m -1.67833,0 v -7.26707 m -15.66437,32.98133 v 1.11801 m 24.05601,-1.11801 v 1.11801 M 97.622321,155.68314 h -0.55944 m 0,-24.59624 h 0.55944 m 33.566529,25.15525 h -22.93713 m 26.85322,-37.45337 v -1.11801 m -30.76931,1.11801 v -1.11801 m 38.04206,50.3105 h -10.6294 m -24.05601,0 H 97.062881 m 45.314809,-49.75149 v 49.75149 m -0.55944,1.11801 H 97.622321 m 0,-51.42851 h 44.195929 m 0,0 1.11888,1.67702 m 0,0 v 48.07447 m -46.433699,-48.07447 1.11889,-1.67702 m 0,51.42851 -1.11889,-1.67702 m 0,0 v -48.07447 m 46.433699,48.07447 -1.11888,1.67702 m 0.55944,-50.8695 v 50.3105 m -45.314809,0 v -50.3105 m 32.447629,49.75149 v 1.11801 m -19.58046,0 v -1.11801 M 80.279611,0.27961166 H 159.72039 V 179.72039 H 80.279611 V 0.27961166",
"fill": {
"paint": "transparent"
},
"id": "path743",
"name": "path743",
"stroke": {
"dasharray": "none",
"linecap": "round",
"linejoin": "round",
"miterlimit": "10",
"opacity": "1",
"paint": "#000000",
"width": "0.559223"
},
"type": "path"
}
],
"id": "layer1",
"name": "layer1",
"type": "group"
}
],
"preserveAspectRatio": "none",
"viewBox": "0 0 240 180"
},
"type": "ia.shapes.svg"
}
],
"meta": {
"name": "root"
},
"props": {
"direction": "column"
},
"type": "ia.container.flex"
}
}

View File

@ -0,0 +1,46 @@
{
"custom": {},
"params": {
"Information": ""
},
"propConfig": {
"params.Information": {
"paramDirection": "inout",
"persistent": true
}
},
"props": {},
"root": {
"children": [
{
"meta": {
"name": "Markdown"
},
"position": {
"basis": "200px",
"grow": 1
},
"propConfig": {
"props.source": {
"binding": {
"config": {
"bidirectional": true,
"path": "view.params.Information"
},
"type": "property"
}
}
},
"type": "ia.display.markdown"
}
],
"meta": {
"name": "root"
},
"props": {
"direction": "column",
"justify": "space-evenly"
},
"type": "ia.container.flex"
}
}

View File

@ -0,0 +1,792 @@
{
"custom": {
"activityLogger": {
"alt_pageid": "help",
"start_time": {
"$": [
"ts",
192,
1758446563578
],
"$ts": 1758446563517
}
}
},
"events": {
"system": {
"onShutdown": {
"config": {
"script": "#\tactivityLog.logger.callLogger(self, \u0027page\u0027)\n\tactivityLog.productMetrics.callLogger(self, \u0027page\u0027)"
},
"scope": "G",
"type": "script"
},
"onStartup": {
"config": {
"script": "\tself.custom.activityLogger.start_time \u003d system.date.now()"
},
"scope": "G",
"type": "script"
}
}
},
"params": {},
"propConfig": {
"custom.activityLogger": {
"persistent": true
},
"custom.activityLogger.pageid": {
"binding": {
"config": {
"expression": "{page.props.path}"
},
"transforms": [
{
"code": "\tif value \u003d\u003d\u0027/\u0027 or value \u003d\u003d \u0027\u0027 or value \u003d\u003d None:\n\t\treturn self.custom.activityLogger.alt_pageid.lower()\n\telse:\n\t\treturn value[1:].lower()",
"type": "script"
}
],
"type": "expr"
}
}
},
"props": {
"defaultSize": {
"height": 1080,
"width": 1920
}
},
"root": {
"children": [
{
"meta": {
"name": "Header"
},
"position": {
"basis": "50px"
},
"type": "ia.container.flex"
},
{
"children": [
{
"children": [
{
"meta": {
"name": "Body header"
},
"position": {
"basis": "1920px"
},
"props": {
"text": "How can we help you ?",
"textStyle": {
"color": "#000000",
"fontFamily": "Arial",
"fontSize": "45px",
"fontWeight": "bolder",
"textAlign": "center"
}
},
"type": "ia.display.label"
}
],
"meta": {
"name": "FlexContainer"
},
"position": {
"basis": "120px",
"grow": 1
},
"props": {
"justify": "center",
"style": {
"opacity": "0.73",
"textShadow": "#AAAAAA 1px 2px 2px"
}
},
"type": "ia.container.flex"
},
{
"meta": {
"name": "Markdown"
},
"position": {
"basis": "94px",
"grow": 1
},
"props": {
"markdown": {
"escapeHtml": false
},
"source": "\u003chtml\u003eThis page provides help on all things SCADA related. Cant find what your looking for ?. \u003cbr\u003eReach out to the MAP team for assistance.\u003c/html\u003e",
"style": {
"color": "#000000",
"fontFamily": "Arial",
"fontSize": "20px",
"fontWeight": "lighter",
"lineHeight": "1.5",
"marginBottom": "20px",
"textAlign": "center"
}
},
"type": "ia.display.markdown"
},
{
"children": [
{
"children": [
{
"children": [
{
"meta": {
"name": "Icon"
},
"position": {
"basis": "58px"
},
"props": {
"color": "#4D9CCE",
"path": "material/menu_book",
"style": {
"margin": "10px",
"marginTop": "50px"
}
},
"type": "ia.display.icon"
},
{
"meta": {
"name": "Label"
},
"position": {
"basis": "100px"
},
"props": {
"text": "User Guide",
"textStyle": {
"color": "#000000",
"fontFamily": "Arial",
"fontSize": "22px",
"fontWeight": "bold",
"marginTop": "",
"textAlign": "center"
}
},
"type": "ia.display.label"
}
],
"custom": {
"buttonid": "help/user_guide"
},
"events": {
"dom": {
"onClick": [
{
"config": {
"script": "\tbuttonid \u003d self.custom.buttonid\n\tactivityLog.productMetrics.callLogger(self.view, \u0027click\u0027, buttonid)"
},
"scope": "G",
"type": "script"
},
{
"config": {
"newTab": true,
"url": "https://w.amazon.com/bin/view/EURME/MAP/Product_Management/SCADA2/Resources/UserGuide"
},
"scope": "C",
"type": "nav"
}
]
}
},
"meta": {
"name": "UserGuideCard"
},
"position": {
"basis": "400px"
},
"props": {
"direction": "column",
"style": {
"backgroundColor": "#F2F3F4",
"classes": "FadeInFast, background, background-none",
"cursor": "pointer",
"marginBottom": "10px",
"marginRight": "50px",
"marginTop": "10px"
}
},
"type": "ia.container.flex"
},
{
"children": [
{
"meta": {
"name": "Icon"
},
"position": {
"basis": "58px"
},
"props": {
"color": "#4D9CCE",
"path": "material/developer_mode",
"style": {
"margin": "10px",
"marginTop": "50px"
}
},
"type": "ia.display.icon"
},
{
"meta": {
"name": "Label"
},
"position": {
"basis": "100px"
},
"props": {
"text": "Developer Guide",
"textStyle": {
"color": "#000000",
"fontFamily": "Arial",
"fontSize": "22px",
"fontWeight": "bold",
"textAlign": "center"
}
},
"type": "ia.display.label"
}
],
"custom": {
"buttonid": "help/dev_guide"
},
"events": {
"dom": {
"onClick": [
{
"config": {
"script": "\tbuttonid \u003d self.custom.buttonid\n\tactivityLog.productMetrics.callLogger(self.view, \u0027click\u0027, buttonid)"
},
"scope": "G",
"type": "script"
},
{
"config": {
"newTab": true,
"url": "https://w.amazon.com/bin/view/EURME/MAP/Projects/Amazon_SCADA/Expanding_BU_and_New_Regions_SCADA/AMZL/DeveloperGuide/"
},
"scope": "C",
"type": "nav"
}
]
}
},
"meta": {
"name": "DevelopmentGuideCard"
},
"position": {
"basis": "400px"
},
"props": {
"direction": "column",
"style": {
"backgroundColor": "#F2F3F4",
"classes": "FadeInFast, background, background-none",
"cursor": "pointer",
"marginBottom": "10px",
"marginRight": "50px",
"marginTop": "10px"
}
},
"type": "ia.container.flex"
},
{
"children": [
{
"meta": {
"name": "Icon"
},
"position": {
"basis": "58px"
},
"props": {
"color": "#4D9CCE",
"path": "material/comment",
"style": {
"margin": "10px",
"marginTop": "50px"
}
},
"type": "ia.display.icon"
},
{
"meta": {
"name": "Label"
},
"position": {
"basis": "100px"
},
"props": {
"text": "Provide Feedback",
"textStyle": {
"color": "#000000",
"fontFamily": "Arial",
"fontSize": "22px",
"fontWeight": "bold",
"textAlign": "center"
}
},
"type": "ia.display.label"
}
],
"custom": {
"buttonid": "help/feedback"
},
"events": {
"dom": {
"onClick": [
{
"config": {
"script": "\tbuttonid \u003d self.custom.buttonid\n\tactivityLog.productMetrics.callLogger(self.view, \u0027click\u0027, buttonid)"
},
"scope": "G",
"type": "script"
},
{
"config": {
"newTab": true,
"url": "https://quip-amazon.com/BSxOAUz9geea/SCADA-20-Feedback"
},
"scope": "C",
"type": "nav"
}
]
}
},
"meta": {
"name": "DevelopmentGuideCard_0"
},
"position": {
"basis": "400px"
},
"props": {
"direction": "column",
"style": {
"backgroundColor": "#F2F3F4",
"classes": "FadeInFast, background, background-none",
"cursor": "pointer",
"marginBottom": "10px",
"marginRight": 50,
"marginTop": "10px"
}
},
"type": "ia.container.flex"
},
{
"children": [
{
"meta": {
"name": "Icon"
},
"position": {
"basis": "58px"
},
"props": {
"color": "#4D9CCE",
"path": "material/healing",
"style": {
"margin": "10px",
"marginTop": "50px"
}
},
"type": "ia.display.icon"
},
{
"meta": {
"name": "Label"
},
"position": {
"basis": "100px"
},
"props": {
"text": "Report Safety Concern",
"textStyle": {
"color": "#000000",
"fontFamily": "Arial",
"fontSize": "22px",
"fontWeight": "bold",
"textAlign": "center"
}
},
"type": "ia.display.label"
}
],
"custom": {
"buttonid": "help/reportsafetyconcern"
},
"events": {
"dom": {
"onClick": [
{
"config": {
"script": "\tbuttonid \u003d self.custom.buttonid\n\tactivityLog.productMetrics.callLogger(self.view, \u0027click\u0027, buttonid)"
},
"scope": "G",
"type": "script"
},
{
"config": {
"newTab": true,
"url": "https://atoz.amazon.work/safety_observations"
},
"scope": "C",
"type": "nav"
}
]
}
},
"meta": {
"name": "SafetyConcernsCard"
},
"position": {
"basis": "400px"
},
"props": {
"direction": "column",
"style": {
"backgroundColor": "#F2F3F4",
"classes": "FadeInFast, background, background-none",
"cursor": "pointer",
"marginBottom": "10px",
"marginTop": "10px"
}
},
"type": "ia.container.flex"
}
],
"meta": {
"name": "CardsTopRow"
},
"position": {
"basis": "280px"
},
"props": {
"justify": "center",
"style": {
"marginBottom": "20px",
"marginTop": "20px"
}
},
"type": "ia.container.flex"
},
{
"children": [
{
"children": [
{
"meta": {
"name": "Icon"
},
"position": {
"basis": "58px"
},
"props": {
"color": "#4D9CCE",
"path": "material/confirmation_number",
"style": {
"margin": "10px",
"marginTop": "50px"
}
},
"type": "ia.display.icon"
},
{
"meta": {
"name": "Label"
},
"position": {
"basis": "100px"
},
"props": {
"text": "Open a Ticket",
"textStyle": {
"color": "#000000",
"fontFamily": "Arial",
"fontSize": "22px",
"fontWeight": "bold",
"textAlign": "center"
}
},
"type": "ia.display.label"
}
],
"custom": {
"buttonid": "help/ticket"
},
"events": {
"dom": {
"onClick": [
{
"config": {
"script": "\tbuttonid \u003d self.custom.buttonid\n\tactivityLog.productMetrics.callLogger(self.view, \u0027click\u0027, buttonid)"
},
"scope": "G",
"type": "script"
},
{
"config": {
"newTab": true,
"url": "https://river.amazon.com/?org\u003dGlobal_RME"
},
"scope": "C",
"type": "nav"
}
]
}
},
"meta": {
"name": "Open a Ticket"
},
"position": {
"basis": "400px"
},
"props": {
"direction": "column",
"style": {
"backgroundColor": "#F2F3F4",
"classes": "FadeInFast, background, background-none",
"cursor": "pointer",
"marginBottom": "10px",
"marginRight": "50px",
"marginTop": "10px"
}
},
"type": "ia.container.flex"
},
{
"children": [
{
"meta": {
"name": "Icon"
},
"position": {
"basis": "58px"
},
"props": {
"color": "#4D9CCE",
"path": "material/playlist_add_check",
"style": {
"margin": "10px",
"marginTop": "50px"
}
},
"type": "ia.display.icon"
},
{
"meta": {
"name": "Label"
},
"position": {
"basis": "100px"
},
"props": {
"text": "Commissioning Tool Guide",
"textStyle": {
"color": "#000000",
"fontFamily": "Arial",
"fontSize": "22px",
"fontWeight": "bold",
"textAlign": "center"
}
},
"type": "ia.display.label"
}
],
"custom": {
"buttonid": "help/commission_guide"
},
"events": {
"dom": {
"onClick": [
{
"config": {
"script": "\tbuttonid \u003d self.custom.buttonid\n\tactivityLog.productMetrics.callLogger(self.view, \u0027click\u0027, buttonid)"
},
"scope": "G",
"type": "script"
},
{
"config": {
"newTab": true,
"url": "https://w.amazon.com/bin/view/EURME/MAP/Product_Management/SCADA2/Resources/CommissioningToolUserGuide"
},
"scope": "C",
"type": "nav"
}
]
}
},
"meta": {
"name": "Commissioning Tool guide"
},
"position": {
"basis": "400px"
},
"props": {
"direction": "column",
"style": {
"backgroundColor": "#F2F3F4",
"classes": "FadeInFast, background, background-none",
"cursor": "pointer",
"marginBottom": "10px",
"marginRight": "50px",
"marginTop": "10px"
}
},
"type": "ia.container.flex"
},
{
"children": [
{
"meta": {
"name": "Icon"
},
"position": {
"basis": "58px"
},
"props": {
"color": "#4D9CCE",
"path": "material/local_library",
"style": {
"margin": "10px",
"marginTop": "50px"
}
},
"type": "ia.display.icon"
},
{
"meta": {
"name": "Label"
},
"position": {
"basis": "100px"
},
"props": {
"text": "Symbol Library",
"textStyle": {
"color": "#000000",
"fontFamily": "Arial",
"fontSize": "22px",
"fontWeight": "bold",
"textAlign": "center"
}
},
"type": "ia.display.label"
}
],
"custom": {
"buttonid": "help/symbol_library"
},
"events": {
"dom": {
"onClick": [
{
"config": {
"script": "\tbuttonid \u003d self.custom.buttonid\n\tactivityLog.productMetrics.callLogger(self.view, \u0027click\u0027, buttonid)"
},
"scope": "G",
"type": "script"
},
{
"config": {
"params": {},
"view": "Symbol-Views/Symbol-Library-Views/Symbol-Icons-View"
},
"scope": "C",
"type": "nav"
}
]
}
},
"meta": {
"name": "Symbol Library"
},
"position": {
"basis": "400px"
},
"props": {
"direction": "column",
"style": {
"backgroundColor": "#F2F3F4",
"classes": "FadeInFast, background, background-none",
"cursor": "pointer",
"marginBottom": "10px",
"marginRight": "0px",
"marginTop": "10px"
}
},
"type": "ia.container.flex"
}
],
"meta": {
"name": "CardsBottomRow"
},
"position": {
"basis": "260px"
},
"props": {
"justify": "center",
"style": {
"marginTop": "20px"
}
},
"type": "ia.container.flex"
}
],
"meta": {
"name": "Card body"
},
"position": {
"basis": "734px",
"grow": 1
},
"props": {
"direction": "column"
},
"type": "ia.container.flex"
}
],
"meta": {
"name": "Body"
},
"position": {
"basis": "980px"
},
"props": {
"direction": "column"
},
"type": "ia.container.flex"
},
{
"meta": {
"name": "Footer"
},
"position": {
"basis": "50px"
},
"type": "ia.container.flex"
}
],
"meta": {
"name": "root"
},
"props": {
"direction": "column",
"style": {
"backgroundColor": "#EDEDED"
}
},
"type": "ia.container.flex"
}
}

View File

@ -0,0 +1,158 @@
SELECT
roundtime,
Dumpers_jam,
Inbound_jam,
Runout_jam,
Sorter_Recirc_jam,
Sorter_jam
FROM (
SELECT
FROM_UNIXTIME(CEIL(UNIX_TIMESTAMP(a.eventtime) / 600) * 600) AS roundtime,
SUM(a.category = 'Dumpers_jam') AS Dumpers_jam,
SUM(a.category = 'Inbound_jam') AS Inbound_jam,
SUM(a.category = 'Runout_jam') AS Runout_jam,
SUM(a.category = 'Sorter_Recirc_jam') AS Sorter_Recirc_jam,
SUM(a.category = 'Sorter_jam') AS Sorter_jam
FROM (
SELECT
ae.eventtime,
m.category
FROM alarm_events ae
JOIN (
SELECT 'PS1_1_TPE1' AS device, 'Inbound_jam' AS category UNION ALL
SELECT 'PS1_1_TPE2', 'Inbound_jam' UNION ALL
SELECT 'PS1_1_TPE3', 'Inbound_jam' UNION ALL
SELECT 'PS1_1_TPE4', 'Inbound_jam' UNION ALL
SELECT 'PS1_2A_TPE1', 'Inbound_jam' UNION ALL
SELECT 'PS1_3_TPE1', 'Inbound_jam' UNION ALL
SELECT 'PS1_3_TPE2', 'Inbound_jam' UNION ALL
SELECT 'PS1_4_TPE1', 'Inbound_jam' UNION ALL
SELECT 'PS1_6_TPE1', 'Inbound_jam' UNION ALL
SELECT 'PS1_6_TPE2', 'Inbound_jam' UNION ALL
SELECT 'PS1_7_TPE1', 'Inbound_jam' UNION ALL
SELECT 'PS1_8_TPE1', 'Inbound_jam' UNION ALL
SELECT 'PS2_1_TPE1', 'Inbound_jam' UNION ALL
SELECT 'PS2_1_TPE2', 'Inbound_jam' UNION ALL
SELECT 'PS2_1_TPE3', 'Inbound_jam' UNION ALL
SELECT 'PS2_1_TPE4', 'Inbound_jam' UNION ALL
SELECT 'PS2_3_TPE1', 'Inbound_jam' UNION ALL
SELECT 'PS2_3_TPE2', 'Inbound_jam' UNION ALL
SELECT 'PS2_5_TPE1', 'Inbound_jam' UNION ALL
SELECT 'PS2_5_TPE2', 'Inbound_jam' UNION ALL
SELECT 'PS2_6_TPE1', 'Inbound_jam' UNION ALL
SELECT 'PS2_7_TPE1', 'Inbound_jam' UNION ALL
SELECT 'PS3_1_TPE1', 'Inbound_jam' UNION ALL
SELECT 'PS3_1_TPE2', 'Inbound_jam' UNION ALL
SELECT 'PS3_1_TPE3', 'Inbound_jam' UNION ALL
SELECT 'PS3_3_TPE1', 'Inbound_jam' UNION ALL
SELECT 'PS4_1_TPE2', 'Inbound_jam' UNION ALL
SELECT 'PS4_1_TPE3', 'Inbound_jam' UNION ALL
SELECT 'PS4_5_TPE1', 'Inbound_jam' UNION ALL
SELECT 'PS4_5_TPE2', 'Inbound_jam' UNION ALL
SELECT 'UL10_3_TPE1', 'Inbound_jam' UNION ALL
SELECT 'UL10_3_TPE2', 'Inbound_jam' UNION ALL
SELECT 'UL10_6_TPE1', 'Inbound_jam' UNION ALL
SELECT 'UL11_3_TPE1', 'Inbound_jam' UNION ALL
SELECT 'UL11_3_TPE2', 'Inbound_jam' UNION ALL
SELECT 'UL11_7_TPE1', 'Inbound_jam' UNION ALL
SELECT 'UL12_2_TPE1', 'Inbound_jam' UNION ALL
SELECT 'UL12_2_TPE2', 'Inbound_jam' UNION ALL
SELECT 'UL12_7_TPE1', 'Inbound_jam' UNION ALL
SELECT 'UL1_1_TPE1', 'Inbound_jam' UNION ALL
SELECT 'UL1_2_TPE1', 'Inbound_jam' UNION ALL
SELECT 'UL1_2_TPE2', 'Inbound_jam' UNION ALL
SELECT 'UL1_4_TPE1', 'Inbound_jam' UNION ALL
SELECT 'UL1_4_TPE2', 'Inbound_jam' UNION ALL
SELECT 'UL1_5_TPE1', 'Inbound_jam' UNION ALL
SELECT 'UL1_6_TPE1', 'Inbound_jam' UNION ALL
SELECT 'UL2_3_TPE1', 'Inbound_jam' UNION ALL
SELECT 'UL2_3_TPE2', 'Inbound_jam' UNION ALL
SELECT 'UL2_3_TPE3', 'Inbound_jam' UNION ALL
SELECT 'UL2_5_TPE1', 'Inbound_jam' UNION ALL
SELECT 'UL2_5_TPE2', 'Inbound_jam' UNION ALL
SELECT 'UL2_6_TPE1', 'Inbound_jam' UNION ALL
SELECT 'UL2_7_TPE1', 'Inbound_jam' UNION ALL
SELECT 'UL2_8_TPE1', 'Inbound_jam' UNION ALL
SELECT 'UL3_3_TPE1', 'Inbound_jam' UNION ALL
SELECT 'UL3_3_TPE2', 'Inbound_jam' UNION ALL
SELECT 'UL3_3_TPE3', 'Inbound_jam' UNION ALL
SELECT 'UL3_5_TPE1', 'Inbound_jam' UNION ALL
SELECT 'UL3_5_TPE2', 'Inbound_jam' UNION ALL
SELECT 'UL3_6_TPE1', 'Inbound_jam' UNION ALL
SELECT 'UL3_7_TPE1', 'Inbound_jam' UNION ALL
SELECT 'UL3_8_TPE1', 'Inbound_jam' UNION ALL
SELECT 'UL4_3_TPE1', 'Inbound_jam' UNION ALL
SELECT 'UL4_3_TPE2', 'Inbound_jam' UNION ALL
SELECT 'UL4_3_TPE3', 'Inbound_jam' UNION ALL
SELECT 'UL4_5_TPE1', 'Inbound_jam' UNION ALL
SELECT 'UL4_5_TPE2', 'Inbound_jam' UNION ALL
SELECT 'UL4_6_TPE1', 'Inbound_jam' UNION ALL
SELECT 'UL4_7_TPE1', 'Inbound_jam' UNION ALL
SELECT 'UL5_3_TPE1', 'Inbound_jam' UNION ALL
SELECT 'UL5_3_TPE2', 'Inbound_jam' UNION ALL
SELECT 'UL5_3_TPE3', 'Inbound_jam' UNION ALL
SELECT 'UL5_5_TPE1', 'Inbound_jam' UNION ALL
SELECT 'UL5_5_TPE2', 'Inbound_jam' UNION ALL
SELECT 'UL5_6_TPE1', 'Inbound_jam' UNION ALL
SELECT 'UL5_7_TPE1', 'Inbound_jam' UNION ALL
SELECT 'UL5_8_TPE1', 'Inbound_jam' UNION ALL
SELECT 'UL6_1_TPE1', 'Inbound_jam' UNION ALL
SELECT 'UL6_2_TPE1', 'Inbound_jam' UNION ALL
SELECT 'UL6_2_TPE2', 'Inbound_jam' UNION ALL
SELECT 'UL6_4_TPE1', 'Inbound_jam' UNION ALL
SELECT 'UL6_4_TPE2', 'Inbound_jam' UNION ALL
SELECT 'UL6_5_TPE1', 'Inbound_jam' UNION ALL
SELECT 'UL6_6_TPE1', 'Inbound_jam' UNION ALL
SELECT 'UL6_7_TPE1', 'Inbound_jam' UNION ALL
SELECT 'UL7_1_TPE1', 'Inbound_jam' UNION ALL
SELECT 'UL7_2_TPE2', 'Inbound_jam' UNION ALL
SELECT 'UL7_4_TPE2', 'Inbound_jam' UNION ALL
SELECT 'UL7_5_TPE1', 'Inbound_jam' UNION ALL
SELECT 'UL7_6_TPE1', 'Inbound_jam' UNION ALL
SELECT 'UL8_3_TPE1', 'Inbound_jam' UNION ALL
SELECT 'UL8_3_TPE3', 'Inbound_jam' UNION ALL
SELECT 'UL8_5_TPE1', 'Inbound_jam' UNION ALL
SELECT 'UL8_5_TPE2', 'Inbound_jam' UNION ALL
SELECT 'UL9_5_TPE1', 'Inbound_jam' UNION ALL
SELECT 'UL9_7_TPE1', 'Inbound_jam' UNION ALL
SELECT 'UL9_8_TPE1', 'Inbound_jam' UNION ALL
SELECT 'ULC1_10_TPE1', 'Inbound_jam' UNION ALL
SELECT 'ULC1_10_TPE2', 'Inbound_jam' UNION ALL
SELECT 'ULC1_11_TPE1', 'Inbound_jam' UNION ALL
SELECT 'ULC1_12_TPE1', 'Inbound_jam' UNION ALL
SELECT 'ULC1_4_TPE1', 'Inbound_jam' UNION ALL
SELECT 'ULC1_4_TPE2', 'Inbound_jam' UNION ALL
SELECT 'ULC1_5_TPE1', 'Inbound_jam' UNION ALL
SELECT 'ULC1_6_TPE1', 'Inbound_jam' UNION ALL
SELECT 'ULC1_8_TPE1', 'Inbound_jam' UNION ALL
SELECT 'ULC1_8_TPE2', 'Inbound_jam' UNION ALL
SELECT 'ULC2_10_TPE1', 'Inbound_jam' UNION ALL
SELECT 'ULC2_10_TPE2', 'Inbound_jam' UNION ALL
SELECT 'ULC2_11_TPE1', 'Inbound_jam' UNION ALL
SELECT 'ULC2_12_TPE1', 'Inbound_jam' UNION ALL
SELECT 'ULC2_4_TPE1', 'Inbound_jam' UNION ALL
SELECT 'ULC2_4_TPE2', 'Inbound_jam' UNION ALL
SELECT 'ULC2_5_TPE1', 'Inbound_jam' UNION ALL
SELECT 'ULC2_6_TPE1', 'Inbound_jam' UNION ALL
SELECT 'ULC2_8_TPE1', 'Inbound_jam' UNION ALL
SELECT 'ULC2_8_TPE2', 'Inbound_jam' UNION ALL
SELECT 'ULC3_3_JPE1', 'Inbound_jam' UNION ALL
SELECT 'ULC3_3_JPE2', 'Inbound_jam' UNION ALL
SELECT 'ULC3_4_JPE1', 'Inbound_jam' UNION ALL
SELECT 'ULC3_6_TPE1', 'Inbound_jam' UNION ALL
SELECT 'ULC3_6_TPE2', 'Inbound_jam' UNION ALL
SELECT 'ULC4_3_JPE1', 'Inbound_jam' UNION ALL
SELECT 'ULC4_3_JPE2', 'Inbound_jam' UNION ALL
SELECT 'ULC4_4_JPE1', 'Inbound_jam' UNION ALL
SELECT 'ULC4_6_TPE1', 'Inbound_jam' UNION ALL
SELECT 'ULC4_6_TPE2', 'Inbound_jam'
) AS m
ON ae.displaypath = m.device
WHERE ae.eventtype = 0
AND ae.eventtime BETWEEN :starttime AND :endtime
AND ae.displaypath NOT LIKE '%System Startup%'
AND ae.source NOT LIKE '%System Startup%'
) AS a
GROUP BY FROM_UNIXTIME(CEIL(UNIX_TIMESTAMP(a.eventtime) / 600) * 600)
ORDER BY roundtime ASC
) AS okeyjam;

View File

@ -2,22 +2,24 @@
"custom": {},
"params": {
"tagProps": [
"TAG0",
"TAG1",
"TAG2",
"TAG3",
"TAG4",
"TAG5",
"TAG6",
"TAG7",
"TAG8",
"TAG9",
"TAG10",
"TAG11",
"TAG12",
"TAG13",
"TAG14",
"TAG15"
"System/MCM03/IO_BLOCK/DPM/PS4_1_DPM1",
"System/MCM03/Conveyor/EXTENDO/UL10_1_EX1",
"System/MCM03/Conveyor/VFD/UL10_3_VFD1",
"System/MCM03/Conveyor/VFD/UL10_4_VFD1",
"System/MCM03/Conveyor/VFD/UL10_5_VFD1",
"System/MCM03/Conveyor/VFD/UL10_6_VFD1",
"System/MCM03/Conveyor/VFD/UL10_7_VFD1",
"System/MCM03/Conveyor/VFD/UL10_8_VFD1",
"System/MCM03/Conveyor/EXTENDO/UL11_1_EX1",
"System/MCM03/Conveyor/VFD/UL11_3_VFD1",
"System/MCM03/Conveyor/VFD/UL11_4_VFD1",
"System/MCM03/Conveyor/VFD/UL11_5_VFD1",
"System/MCM03/Conveyor/VFD/UL11_6_VFD1",
"System/MCM03/Conveyor/VFD/UL11_7_VFD1",
"System/MCM03/Conveyor/VFD/UL11_8_VFD1",
"System/MCM03/IO_BLOCK/FIO/UL10_3_FIO1",
"System/MCM03/IO_BLOCK/FIO/UL11_3_FIO1",
"System/MCM03/Conveyor/VFD/UL11_9_VFD1"
]
},
"props": {
@ -43,10 +45,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[0]}",
"0": "{view.params.tagProps[1]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -75,10 +77,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[10]}",
"0": "{view.params.tagProps[11]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -107,10 +109,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[11]}",
"0": "{view.params.tagProps[12]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -139,10 +141,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[12]}",
"0": "{view.params.tagProps[13]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -171,10 +173,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[13]}",
"0": "{view.params.tagProps[14]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -203,10 +205,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[14]}",
"0": "{view.params.tagProps[15]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -235,10 +237,42 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[15]}",
"0": "{view.params.tagProps[16]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
"expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression"
},
{
"fallback": false,
"inputType": "scalar",
"mappings": [
{
"input": false,
"output": true
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "tag"
}
},
"props.params.con_lines[16]": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[17]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -267,10 +301,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[1]}",
"0": "{view.params.tagProps[2]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -299,10 +333,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[2]}",
"0": "{view.params.tagProps[3]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -331,10 +365,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[3]}",
"0": "{view.params.tagProps[4]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -363,10 +397,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[4]}",
"0": "{view.params.tagProps[5]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -395,10 +429,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[5]}",
"0": "{view.params.tagProps[6]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -427,10 +461,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[6]}",
"0": "{view.params.tagProps[7]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -459,10 +493,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[7]}",
"0": "{view.params.tagProps[8]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -491,10 +525,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[8]}",
"0": "{view.params.tagProps[9]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -523,10 +557,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[9]}",
"0": "{view.params.tagProps[10]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -569,7 +603,7 @@
null,
null,
null,
false,
null,
false,
false,
false,
@ -595,7 +629,7 @@
true,
true,
true,
false,
true,
false,
false,
false,
@ -605,7 +639,19 @@
false
],
"in": false,
"out": false
"out": false,
"tagProps": [
"System/MCM03/IO_BLOCK/DPM/PS4_1_DPM1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/DPM_TO_HUB"
},
@ -622,7 +668,21 @@
"y": 0.4991
},
"props": {
"path": "Windows/Tabs/Enternet Windows/Components/APF"
"params": {
"tagProps": [
"System/MCM03/Conveyor/EXTENDO/UL10_1_EX1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/EXTENDO"
},
"type": "ia.display.view"
},
@ -632,7 +692,7 @@
},
"position": {
"height": 0.0358,
"width": 0.0547,
"width": 0.0427,
"x": 0.0094,
"y": 0.5394
},
@ -656,6 +716,20 @@
"y": 0.6677
},
"props": {
"params": {
"tagProps": [
"System/MCM03/Conveyor/VFD/UL10_3_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -690,6 +764,20 @@
"y": 0.8333
},
"props": {
"params": {
"tagProps": [
"System/MCM03/Conveyor/VFD/UL10_4_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -724,6 +812,20 @@
"y": 0.3333
},
"props": {
"params": {
"tagProps": [
"System/MCM03/Conveyor/VFD/UL10_5_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -758,6 +860,20 @@
"y": 0.1667
},
"props": {
"params": {
"tagProps": [
"System/MCM03/Conveyor/VFD/UL10_6_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -791,6 +907,20 @@
"x": 0.0244
},
"props": {
"params": {
"tagProps": [
"System/MCM03/Conveyor/VFD/UL10_7_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -824,6 +954,20 @@
"x": 0.5
},
"props": {
"params": {
"tagProps": [
"System/MCM03/Conveyor/VFD/UL10_8_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -857,7 +1001,21 @@
"x": 0.625
},
"props": {
"path": "Windows/Tabs/Enternet Windows/Components/APF"
"params": {
"tagProps": [
"System/MCM03/Conveyor/EXTENDO/UL11_1_EX1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/EXTENDO"
},
"type": "ia.display.view"
},
@ -867,7 +1025,7 @@
},
"position": {
"height": 0.0358,
"width": 0.0547,
"width": 0.0427,
"x": 0.6312,
"y": 0.1664
},
@ -890,6 +1048,20 @@
"x": 0.75
},
"props": {
"params": {
"tagProps": [
"System/MCM03/Conveyor/VFD/UL11_3_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -923,6 +1095,20 @@
"x": 0.375
},
"props": {
"params": {
"tagProps": [
"System/MCM03/Conveyor/VFD/UL11_4_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -957,6 +1143,20 @@
"y": 0.0019
},
"props": {
"params": {
"tagProps": [
"System/MCM03/Conveyor/VFD/UL11_5_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -990,6 +1190,20 @@
"x": 0.1245
},
"props": {
"params": {
"tagProps": [
"System/MCM03/Conveyor/VFD/UL11_6_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -1024,6 +1238,20 @@
"y": 0.3332
},
"props": {
"params": {
"tagProps": [
"System/MCM03/Conveyor/VFD/UL11_7_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -1058,6 +1286,20 @@
"y": 0.1667
},
"props": {
"params": {
"tagProps": [
"System/MCM03/Conveyor/VFD/UL11_8_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -1088,9 +1330,23 @@
"position": {
"height": 0.1667,
"width": 0.125,
"x": 0.8408
"x": 0.8598
},
"props": {
"params": {
"tagProps": [
"System/MCM03/IO_BLOCK/FIO/UL10_3_FIO1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/FIO_SIO"
},
"type": "ia.display.view"
@ -1102,7 +1358,7 @@
"position": {
"height": 0.0358,
"width": 0.0427,
"x": 0.9349999999999999,
"x": 0.954,
"y": 0.0619
},
"props": {
@ -1121,10 +1377,24 @@
"position": {
"height": 0.1667,
"width": 0.125,
"x": 0.8389,
"x": 0.8579,
"y": 0.4988
},
"props": {
"params": {
"tagProps": [
"System/MCM03/IO_BLOCK/FIO/UL11_3_FIO1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/FIO_SIO"
},
"type": "ia.display.view"
@ -1136,7 +1406,7 @@
"position": {
"height": 0.0358,
"width": 0.0427,
"x": 0.9349999999999999,
"x": 0.954,
"y": 0.561
},
"props": {
@ -1148,6 +1418,54 @@
},
"type": "ia.display.label"
},
{
"meta": {
"name": "UL11_9"
},
"position": {
"height": 0.1667,
"width": 0.125,
"x": 0.8501,
"y": 0.6639
},
"props": {
"params": {
"tagProps": [
"System/MCM03/Conveyor/VFD/UL11_9_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
},
{
"meta": {
"name": "UL11_9_label"
},
"position": {
"height": 0.0358,
"width": 0.0547,
"x": 0.947,
"y": 0.7257
},
"props": {
"text": "UL11_9_VFD1 11.200.1.86",
"textStyle": {
"fontSize": "1vmin",
"key": "value"
}
},
"type": "ia.display.label"
},
{
"meta": {
"name": "DPM_label"
@ -1159,7 +1477,7 @@
"y": 0.6342
},
"props": {
"text": "DPM1_PS4-1 11.200.1.4",
"text": "PS4_1_DPM1",
"textStyle": {
"fontSize": "2vmin"
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 133 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 96 KiB

View File

@ -2,23 +2,24 @@
"custom": {},
"params": {
"tagProps": [
"TAG0",
"TAG1",
"TAG2",
"TAG3",
"TAG4",
"TAG5",
"TAG6",
"TAG7",
"TAG8",
"TAG9",
"TAG10",
"TAG11",
"TAG12",
"TAG13",
"TAG14",
"TAG15",
"TAG16"
"System/MCM02/IO_BLOCK/DPM/PS2_1_DPM1",
"System/MCM02/Conveyor/EXTENDO/UL4_2_EX1",
"System/MCM02/Conveyor/VFD/UL4_3_VFD1",
"System/MCM02/Conveyor/VFD/UL4_4_VFD1",
"System/MCM02/Conveyor/VFD/UL4_5_VFD1",
"System/MCM02/Conveyor/VFD/UL4_6_VFD1",
"System/MCM02/Conveyor/VFD/UL4_7_VFD1",
"System/MCM02/Conveyor/VFD/UL4_8_VFD1",
"System/MCM02/Conveyor/EXTENDO/UL5_2_EX1",
"System/MCM02/Conveyor/VFD/UL5_3_VFD1",
"System/MCM02/Conveyor/VFD/UL5_4_VFD1",
"System/MCM02/Conveyor/VFD/UL5_5_VFD1",
"System/MCM02/Conveyor/VFD/UL5_6_VFD1",
"System/MCM02/Conveyor/VFD/UL5_7_VFD1",
"System/MCM02/Conveyor/VFD/UL5_8_VFD1",
"System/MCM02/Conveyor/VFD/UL5_9_VFD1",
"System/MCM02/IO_BLOCK/FIO/UL4_3_FIO1",
"System/MCM02/IO_BLOCK/FIO/UL5_3_FIO1"
]
},
"props": {
@ -44,10 +45,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[0]}",
"0": "{view.params.tagProps[1]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -76,10 +77,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[10]}",
"0": "{view.params.tagProps[11]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -108,10 +109,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[11]}",
"0": "{view.params.tagProps[12]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -140,10 +141,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[12]}",
"0": "{view.params.tagProps[13]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -172,10 +173,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[13]}",
"0": "{view.params.tagProps[14]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -204,10 +205,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[14]}",
"0": "{view.params.tagProps[15]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -236,10 +237,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[15]}",
"0": "{view.params.tagProps[16]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -268,10 +269,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[16]}",
"0": "{view.params.tagProps[17]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -300,10 +301,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[1]}",
"0": "{view.params.tagProps[2]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -332,10 +333,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[2]}",
"0": "{view.params.tagProps[3]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -364,10 +365,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[3]}",
"0": "{view.params.tagProps[4]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -396,10 +397,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[4]}",
"0": "{view.params.tagProps[5]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -428,10 +429,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[5]}",
"0": "{view.params.tagProps[6]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -460,10 +461,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[6]}",
"0": "{view.params.tagProps[7]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -492,10 +493,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[7]}",
"0": "{view.params.tagProps[8]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -524,10 +525,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[8]}",
"0": "{view.params.tagProps[9]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -556,10 +557,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[9]}",
"0": "{view.params.tagProps[10]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -638,7 +639,19 @@
false
],
"in": false,
"out": false
"out": false,
"tagProps": [
"System/MCM02/IO_BLOCK/DPM/PS2_1_DPM1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/DPM_TO_HUB"
},
@ -655,7 +668,21 @@
"y": 0.4991
},
"props": {
"path": "Windows/Tabs/Enternet Windows/Components/APF"
"params": {
"tagProps": [
"System/MCM02/Conveyor/EXTENDO/UL4_2_EX1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/EXTENDO"
},
"type": "ia.display.view"
},
@ -665,7 +692,7 @@
},
"position": {
"height": 0.0358,
"width": 0.0547,
"width": 0.0427,
"x": 0.0094,
"y": 0.5394
},
@ -689,6 +716,20 @@
"y": 0.6677
},
"props": {
"params": {
"tagProps": [
"System/MCM02/Conveyor/VFD/UL4_3_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -723,6 +764,20 @@
"y": 0.8333
},
"props": {
"params": {
"tagProps": [
"System/MCM02/Conveyor/VFD/UL4_4_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -757,6 +812,20 @@
"y": 0.3333
},
"props": {
"params": {
"tagProps": [
"System/MCM02/Conveyor/VFD/UL4_5_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -791,6 +860,20 @@
"y": 0.1667
},
"props": {
"params": {
"tagProps": [
"System/MCM02/Conveyor/VFD/UL4_6_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -824,6 +907,20 @@
"x": 0.0244
},
"props": {
"params": {
"tagProps": [
"System/MCM02/Conveyor/VFD/UL4_7_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -857,6 +954,20 @@
"x": 0.5
},
"props": {
"params": {
"tagProps": [
"System/MCM02/Conveyor/VFD/UL4_8_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -890,7 +1001,21 @@
"x": 0.625
},
"props": {
"path": "Windows/Tabs/Enternet Windows/Components/APF"
"params": {
"tagProps": [
"System/MCM02/Conveyor/EXTENDO/UL5_2_EX1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/EXTENDO"
},
"type": "ia.display.view"
},
@ -900,7 +1025,7 @@
},
"position": {
"height": 0.0358,
"width": 0.0547,
"width": 0.0427,
"x": 0.6312,
"y": 0.1664
},
@ -923,6 +1048,20 @@
"x": 0.75
},
"props": {
"params": {
"tagProps": [
"System/MCM02/Conveyor/VFD/UL5_3_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -956,6 +1095,20 @@
"x": 0.375
},
"props": {
"params": {
"tagProps": [
"System/MCM02/Conveyor/VFD/UL5_4_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -990,6 +1143,20 @@
"y": 0.0019
},
"props": {
"params": {
"tagProps": [
"System/MCM02/Conveyor/VFD/UL5_5_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -1023,6 +1190,20 @@
"x": 0.1245
},
"props": {
"params": {
"tagProps": [
"System/MCM02/Conveyor/VFD/UL5_6_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -1057,6 +1238,20 @@
"y": 0.3332
},
"props": {
"params": {
"tagProps": [
"System/MCM02/Conveyor/VFD/UL5_7_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -1091,6 +1286,20 @@
"y": 0.1667
},
"props": {
"params": {
"tagProps": [
"System/MCM02/Conveyor/VFD/UL5_8_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -1124,6 +1333,20 @@
"x": 0.8528
},
"props": {
"params": {
"tagProps": [
"System/MCM02/Conveyor/VFD/UL5_9_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -1149,31 +1372,45 @@
},
{
"meta": {
"name": "UL4-3_FIO1"
"name": "UL4_3_FIO1"
},
"position": {
"height": 0.1667,
"width": 0.125,
"x": 0.8389,
"x": 0.8579,
"y": 0.4988
},
"props": {
"params": {
"tagProps": [
"System/MCM02/IO_BLOCK/FIO/UL4_3_FIO1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/FIO_SIO"
},
"type": "ia.display.view"
},
{
"meta": {
"name": "UL4-3_FIO1_label"
"name": "UL4_3_FIO1_label"
},
"position": {
"height": 0.0358,
"width": 0.0427,
"x": 0.9349999999999999,
"x": 0.954,
"y": 0.561
},
"props": {
"text": "UL4-3_FIO1 11.200.1.85",
"text": "UL4_3_FIO1 11.200.1.85",
"textStyle": {
"fontSize": "1vmin",
"key": "value"
@ -1188,10 +1425,24 @@
"position": {
"height": 0.1667,
"width": 0.125,
"x": 0.8381,
"x": 0.8571,
"y": 0.6639
},
"props": {
"params": {
"tagProps": [
"System/MCM02/IO_BLOCK/FIO/UL5_3_FIO1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/FIO_SIO"
},
"type": "ia.display.view"
@ -1203,7 +1454,7 @@
"position": {
"height": 0.0358,
"width": 0.0427,
"x": 0.9349999999999999,
"x": 0.954,
"y": 0.7257
},
"props": {
@ -1226,7 +1477,7 @@
"y": 0.6342
},
"props": {
"text": "DPM1_PS2-1 11.200.1.4",
"text": "PS2_1_DPM1",
"textStyle": {
"fontSize": "2vmin"
}

View File

@ -0,0 +1,206 @@
{
"custom": {
"state": {
"$": [
"ds",
192,
1758118477540
],
"$columns": [
{
"data": [
null,
null,
null,
"MCM01"
],
"name": "Location",
"type": "String"
},
{
"data": [
"High",
"Low",
"Medium",
"High"
],
"name": "Priority",
"type": "String"
},
{
"data": [
294,
257,
230,
2
],
"name": "Count",
"type": "Long"
}
]
},
"status": ""
},
"params": {
"value": {
"tagProps": [
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
}
},
"propConfig": {
"custom.state": {
"binding": {
"config": {
"polling": {
"enabled": true,
"rate": "1"
},
"queryPath": "GetActiveAlarmsByLocationAndPriority"
},
"type": "query"
},
"onChange": {
"enabled": null,
"script": "\tMCM \u003d self.params.value.tagProps[0]\n\tqueryData \u003d currentValue.value\n\t\n\tif not queryData:\n\t self.custom.status \u003d \"\"\n\t\n\t# Define priority order from highest to lowest\n\tpriority_order \u003d [\"Critical\", \"High\", \"Medium\", \"Low\", \"Diagnostic\"]\n\texisting_priorities \u003d set()\n\tmyPriority \u003d \"\"\n\t\n\t# Populate the set\n\tfor row in range(queryData.rowCount):\n\t mcm_val \u003d queryData.getValueAt(row, 0)\n\t severity \u003d queryData.getValueAt(row, 1).capitalize()\n\t count \u003d queryData.getValueAt(row, 2)\n\t\n\t if mcm_val \u003d\u003d MCM and count \u003e 0:\n\t existing_priorities.add(severity)\n\t\n\t# Find the highest one that exists\n\tfor priority in priority_order:\n\t if priority in existing_priorities:\n\t myPriority \u003d priority\n\t break\n\t\n\tself.custom.status \u003d myPriority"
},
"persistent": true
},
"custom.status": {
"persistent": true
},
"params.value": {
"paramDirection": "input",
"persistent": true
}
},
"props": {
"defaultSize": {
"height": 50,
"width": 300
}
},
"root": {
"children": [
{
"events": {
"dom": {
"onClick": {
"config": {
"script": "\tnavigation.navigate_to_page.detailed_view(self, self.view.params.value.tagProps[0],self.view.params.value.tagProps[0], self.view.params.value.tagProps[3])"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "Label"
},
"position": {
"grow": 1
},
"propConfig": {
"props.style.classes": {
"binding": {
"config": {
"path": "view.custom.status"
},
"transforms": [
{
"fallback": "State-Styles/Background-Fill/State5",
"inputType": "scalar",
"mappings": [
{
"input": "High",
"output": "State-Styles/Background-Fill/State1"
},
{
"input": "Medium",
"output": "State-Styles/Background-Fill/State2"
},
{
"input": "Low",
"output": "State-Styles/Background-Fill/State3"
},
{
"input": "Diagnostic",
"output": "State-Styles/Background-Fill/State4"
}
],
"outputType": "style-list",
"type": "map"
}
],
"type": "property"
}
},
"props.text": {
"binding": {
"config": {
"path": "view.custom.status"
},
"transforms": [
{
"fallback": "HEALTHY",
"inputType": "scalar",
"mappings": [
{
"input": "Diagnostic",
"output": "DIAGNOSTIC"
},
{
"input": "Low",
"output": "HALF WORKFLOW"
},
{
"input": "Medium",
"output": "CONTROLLED STOP"
},
{
"input": "High",
"output": "UNCONTROLLED STOP"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
}
},
"props": {
"style": {
"borderColor": "#555555",
"borderStyle": "none",
"cursor": "pointer",
"marginBottom": 8,
"marginTop": 8
},
"textStyle": {
"fontSize": 12,
"textAlign": "center"
}
},
"type": "ia.display.label"
}
],
"meta": {
"name": "root"
},
"props": {
"direction": "column"
},
"type": "ia.container.flex"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 135 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 49 KiB

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,659 @@
{
"custom": {
"PLC_list": [
"MCM01",
"MCM02",
"MCM03",
"MCM04",
"MCM05"
],
"button_type": "UNKNOWN",
"type": 1
},
"params": {
"forceFaultStatus": null,
"tagProps": [
"System/MCM06/Chute/NC/S02_203CH",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"propConfig": {
"custom.PLC_list": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]Configuration/PLC"
},
"transforms": [
{
"code": "\tdevices \u003d system.util.jsonDecode(value)\n\tplcList \u003d []\n\tfor k in devices.keys():\n\t\tplcList.append(k)\n\t\t\n\treturn(sorted(set(plcList)))\n",
"type": "script"
}
],
"type": "tag"
},
"persistent": true
},
"custom.button_type": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[0]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Button_Type"
},
"transforms": [
{
"expression": "coalesce({value},{view.params.forceFaultStatus},0)",
"type": "expression"
},
{
"fallback": "UNKNOWN",
"inputType": "scalar",
"mappings": [
{
"input": 5,
"output": "Chute_JR"
},
{
"input": 4,
"output": "GS"
},
{
"input": 3,
"output": "PR"
},
{
"input": 2,
"output": "Start"
},
{
"input": 1,
"output": "JR"
},
{
"input": 6,
"output": "Enable"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "tag"
},
"persistent": true
},
"custom.type": {
"persistent": true
},
"params.forceFaultStatus": {
"paramDirection": "input",
"persistent": true
},
"params.tagProps": {
"paramDirection": "input",
"persistent": true
}
},
"props": {
"defaultSize": {
"width": 400
}
},
"root": {
"children": [
{
"children": [
{
"children": [
{
"meta": {
"name": "Label"
},
"position": {
"grow": 1
},
"propConfig": {
"props.text": {
"binding": {
"config": {
"expression": "\u0027Source ID: \u0027 + {view.params.tagProps[0]}"
},
"type": "expr"
}
}
},
"props": {
"style": {
"color": "#FFFF",
"fontFamily": "Arial",
"fontSize": 14,
"fontWeight": "bold",
"paddingLeft": 10
}
},
"type": "ia.display.label"
},
{
"events": {
"dom": {
"onClick": {
"config": {
"script": "\tsystem.perspective.closeDock(\u0027Docked-East-CHPB\u0027)\n\tself.getSibling(\"tabs\").props.currentTabIndex \u003d 0"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "Icon",
"tooltip": {
"enabled": true,
"style": {
"cursor": "pointer"
},
"text": "Close faceplate"
}
},
"props": {
"path": "material/close",
"style": {
"cursor": "pointer",
"marginBottom": 5,
"marginLeft": 5,
"marginRight": 5,
"marginTop": 5
}
},
"type": "ia.display.icon"
}
],
"meta": {
"name": "FlexContainer"
},
"position": {
"basis": "30px",
"shrink": 0
},
"props": {
"style": {
"overflow": "hidden"
}
},
"type": "ia.container.flex"
},
{
"children": [
{
"children": [
{
"children": [
{
"meta": {
"name": "Label"
},
"position": {
"basis": "32px",
"display": false
},
"propConfig": {
"position.display": {
"binding": {
"config": {
"expression": "if({../AlarmTable.props.params.length_of_table_data} \u003d 0, True, False)"
},
"enabled": false,
"type": "expr"
}
}
},
"props": {
"style": {
"classes": "Labels/Label_1",
"marginTop": 20
},
"text": "No Active Alarms"
},
"type": "ia.display.label"
},
{
"meta": {
"name": "AlarmStatusTable"
},
"position": {
"basis": "400px",
"grow": 1
},
"propConfig": {
"props.filters.active.text": {
"binding": {
"config": {
"path": "view.params.tagProps[0]"
},
"transforms": [
{
"code": "\treturn value[1:]",
"type": "script"
}
],
"type": "property"
}
}
},
"props": {
"columns": {
"active": {
"displayPath": {
"enabled": false
},
"priority": {
"enabled": false
},
"source": {
"enabled": false
},
"state": {
"enabled": false
}
}
},
"filters": {
"active": {
"priorities": {
"critical": false,
"high": false,
"low": false,
"medium": false
},
"states": {
"clearUnacked": false
}
}
},
"refreshRate": 500,
"toolbar": {
"enabled": false
}
},
"type": "ia.display.alarmstatustable"
}
],
"meta": {
"name": "Active_tab"
},
"props": {
"direction": "column"
},
"type": "ia.container.flex"
},
{
"children": [
{
"children": [
{
"children": [
{
"meta": {
"name": "Name"
},
"position": {
"basis": "50%",
"grow": 1
},
"props": {
"style": {
"paddingLeft": 20
},
"text": "NAME"
},
"type": "ia.display.label"
},
{
"meta": {
"name": "DeviceName"
},
"position": {
"basis": "50%",
"grow": 1
},
"propConfig": {
"props.text": {
"binding": {
"config": {
"path": "view.params.tagProps[0]"
},
"transforms": [
{
"code": " return value.rsplit(\u0027/\u0027, 1)[-1]",
"type": "script"
}
],
"type": "property"
}
}
},
"props": {
"style": {
"backgroundColor": "#FFFFFF",
"classes": "Text-Styles/Ariel-Bold-12pt",
"paddingLeft": 10
}
},
"type": "ia.display.label"
}
],
"meta": {
"name": "Property"
},
"position": {
"basis": "35px"
},
"props": {
"style": {
"classes": "PopUp-Styles/InfoLabel",
"overflow": "hidden"
}
},
"type": "ia.container.flex"
}
],
"meta": {
"name": "Name"
},
"position": {
"basis": "35px"
},
"props": {
"direction": "column"
},
"type": "ia.container.flex"
}
],
"meta": {
"name": "Info_tab"
},
"position": {
"tabIndex": 1
},
"props": {
"direction": "column",
"style": {
"margin-left": ""
}
},
"type": "ia.container.flex"
},
{
"children": [
{
"children": [
{
"children": [
{
"events": {
"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+\"/Commands/bBlockHost1\"\n\tsystem.tag.writeBlocking([tag_path],[True])"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "Button"
},
"position": {
"basis": "80px",
"grow": 1
},
"propConfig": {
"props.enabled": {
"binding": {
"config": {
"expression": "indexOf({session.props.auth.user.roles}, \"Administrator\") \u003e\u003d 0 || indexOf({session.props.auth.user.roles}, \"Maintenance\") \u003e\u003d 0"
},
"type": "expr"
}
}
},
"props": {
"image": {
"icon": {
"color": "#0B0B0B"
}
},
"style": {
"backgroundColor": "#00FF00",
"classes": "Background-Styles/Controller"
},
"text": "ENABLE",
"textStyle": {
"color": "#FFFFFF"
}
},
"type": "ia.input.button"
}
],
"meta": {
"name": "Enable"
},
"position": {
"basis": "35px"
},
"props": {
"style": {
"classes": "PopUp-Styles/InfoLabel",
"padding": ""
}
},
"type": "ia.container.flex"
},
{
"children": [
{
"events": {
"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+\"/Commands/bUnblockHost1\"\n\tsystem.tag.writeBlocking([tag_path],[True])"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "Button"
},
"position": {
"basis": "80px",
"grow": 1
},
"propConfig": {
"props.enabled": {
"binding": {
"config": {
"expression": "indexOf({session.props.auth.user.roles}, \"Administrator\") \u003e\u003d 0 || indexOf({session.props.auth.user.roles}, \"Maintenance\") \u003e\u003d 0"
},
"type": "expr"
}
}
},
"props": {
"image": {
"icon": {
"color": "#0B0B0B"
}
},
"style": {
"backgroundColor": "#FF0000",
"classes": "Background-Styles/Controller"
},
"text": "DISABLE",
"textStyle": {
"color": "#FFFFFF"
}
},
"type": "ia.input.button"
}
],
"meta": {
"name": "Disable"
},
"position": {
"basis": "35px"
},
"props": {
"style": {
"classes": "PopUp-Styles/InfoLabel",
"padding": ""
}
},
"type": "ia.container.flex"
}
],
"meta": {
"name": "FlexContainer_0"
},
"position": {
"basis": "100px",
"grow": 1
},
"props": {
"direction": "column",
"style": {
"gap": 6,
"paddingBottom": 20,
"paddingLeft": 10,
"paddingRight": 10,
"paddingTop": 13
}
},
"type": "ia.container.flex"
}
],
"meta": {
"name": "Commands_tab"
},
"position": {
"tabIndex": 2
},
"props": {
"direction": "column",
"style": {
"paddingTop": 1
}
},
"type": "ia.container.flex"
}
],
"meta": {
"name": "tabs"
},
"position": {
"grow": 1
},
"propConfig": {
"props.tabs": {
"binding": {
"config": {
"path": "view.custom.type"
},
"transforms": [
{
"code": "\t# This script runs whenever view.custom.type changes\n\tif value \u003d\u003d 0 or value \u003d\u003d 3:\n\t\treturn [\"Alarms\", \"Info\"]\n\telse:\n\t\treturn [\"Alarms\", \"Info\", \"Commands\"]",
"type": "script"
}
],
"type": "property"
}
}
},
"props": {
"currentTabIndex": 2,
"menuType": "modern",
"tabSize": {
"width": 1000
},
"tabStyle": {
"active": {
"classes": "",
"color": "#FFFFFF",
"fontFamily": "Arial",
"fontSize": 14,
"fontWeight": "bold",
"paddingLeft": 10
},
"inactive": {
"classes": "",
"color": "#B8B8B8",
"fontFamily": "Arial",
"fontSize": 14,
"fontWeight": "bold",
"paddingLeft": 10
}
}
},
"type": "ia.container.tab"
}
],
"meta": {
"name": "FlexContainer_1"
},
"position": {
"basis": "670px",
"grow": 1
},
"props": {
"style": {
"border-top": "1px solid white",
"gap": ""
}
},
"type": "ia.container.flex"
}
],
"meta": {
"name": "FlexContainer"
},
"position": {
"basis": "800px",
"grow": 1
},
"props": {
"direction": "column"
},
"type": "ia.container.flex"
}
],
"meta": {
"name": "root"
},
"props": {
"direction": "column",
"style": {
"classes": "Buttons/Button-Menu"
}
},
"type": "ia.container.flex"
}
}

View File

@ -0,0 +1,191 @@
{
"custom": {
"currentView": "autStand/Custom_Views/Enternet-Windows/DPMS/MCM01-DPM"
},
"params": {},
"propConfig": {
"custom.currentView": {
"persistent": true
}
},
"props": {
"defaultSize": {
"height": 894,
"width": 1920
}
},
"root": {
"children": [
{
"events": {
"dom": {
"onClick": {
"config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_view \u003d True"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "MCM01_PLC"
},
"position": {
"height": 0.5649,
"width": 0.063,
"x": 0.1963,
"y": 0.151
},
"props": {
"params": {
"MCM": "MCM01",
"view": "autStand/Custom_Views/Enternet-Windows/DPMS/MCM01-DPM"
},
"path": "autStand/Custom_Views/Enternet-Windows/Components/PLC"
},
"type": "ia.display.view"
},
{
"events": {
"dom": {
"onClick": {
"config": {
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_view \u003d True"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "MCM02_PLC"
},
"position": {
"height": 0.5649,
"width": 0.063,
"x": 0.7651,
"y": 0.1549
},
"props": {
"params": {
"MCM": "MCM02",
"view": "autStand/Custom_Views/Enternet-Windows/DPMS/MCM02-DPM"
},
"path": "autStand/Custom_Views/Enternet-Windows/Components/PLC"
},
"type": "ia.display.view"
},
{
"children": [
{
"meta": {
"name": "Communication_Faulted_Text"
},
"position": {
"height": 0.4836,
"width": 0.8826,
"x": 0.0701,
"y": -0.0785
},
"props": {
"style": {
"borderColor": "#1A1A1A",
"overflow": "hidden",
"whiteSpace": "normal",
"wordBreak": "break-all"
},
"text": "Communication Faulted",
"textStyle": {
"fontFamily": "inherit",
"fontSize": "2vmin",
"textAlign": "start"
}
},
"type": "ia.display.label"
},
{
"meta": {
"name": "Communication_Not_Faulted_Text"
},
"position": {
"height": 0.6066,
"width": 0.9032,
"x": 0.0698,
"y": 0.247
},
"props": {
"style": {
"borderColor": "#1A1A1A",
"overflow": "hidden",
"whiteSpace": "normal",
"wordBreak": "break-all"
},
"text": "Communication Not Faulted",
"textStyle": {
"fontFamily": "inherit",
"fontSize": "2vmin",
"textAlign": "start"
}
},
"type": "ia.display.label"
},
{
"meta": {
"name": "CoordinateContainer_0"
},
"position": {
"height": 0.0242,
"width": 0.0508,
"x": 0.0122,
"y": 0.176
},
"props": {
"style": {
"backgroundColor": "#FF0000"
}
},
"type": "ia.container.coord"
},
{
"meta": {
"name": "CoordinateContainer_1"
},
"position": {
"height": 0.0242,
"width": 0.0508,
"x": 0.0122,
"y": 0.5164
},
"props": {
"style": {
"backgroundColor": "#00FF00"
}
},
"type": "ia.container.coord"
}
],
"meta": {
"name": "CoordinateContainer"
},
"position": {
"height": 0.1365,
"width": 0.9635,
"x": 0.0083,
"y": 0.7752
},
"props": {
"mode": "percent"
},
"type": "ia.container.coord"
}
],
"meta": {
"name": "root"
},
"props": {
"mode": "percent"
},
"type": "ia.container.coord"
}
}

View File

@ -0,0 +1,105 @@
{
"custom": {},
"params": {
"pageid": "value",
"panel_id": "value",
"text": "value"
},
"propConfig": {
"params.pageid": {
"paramDirection": "input",
"persistent": true
},
"params.panel_id": {
"paramDirection": "input",
"persistent": true
},
"params.text": {
"paramDirection": "input",
"persistent": true
}
},
"props": {
"defaultSize": {
"height": 30,
"width": 160
}
},
"root": {
"children": [
{
"events": {
"component": {
"onActionPerformed": {
"config": {
"script": "\tsystem.perspective.navigate(\"/\" + self.view.params.pageid)"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "Button"
},
"position": {
"basis": "80%",
"grow": 1
},
"propConfig": {
"props.tagProps[0]": {
"binding": {
"config": {
"path": "view.params.panel_id"
},
"type": "property"
}
},
"props.text": {
"binding": {
"config": {
"path": "view.params.text"
},
"type": "property"
}
}
},
"props": {
"style": {
"backgroundColor": "#FFFFFF",
"borderStyle": "solid",
"borderWidth": "0.5px",
"cursor": "pointer"
},
"tagProps": [
null,
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
],
"textStyle": {
"color": "#000000",
"fontFamily": "inherit",
"fontSize": "1.5vmin",
"fontWeight": "bold"
}
},
"type": "ia.input.button"
}
],
"meta": {
"name": "root"
},
"props": {
"alignContent": "flex-start",
"justify": "center"
},
"type": "ia.container.flex"
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 56 KiB

View File

@ -1,20 +1,20 @@
{
"custom": {
"dpm1-dpm2": false,
"dpm2-dpm3": false,
"dpm3-dpm4": false,
"dpm4-dpm5": false,
"dpm5-mcm": false,
"mcm-dpm1": false
"dpm1-dpm2": true,
"dpm2-dpm3": true,
"dpm3-dpm4": true,
"dpm4-dpm5": true,
"dpm5-mcm": true,
"mcm-dpm1": true
},
"params": {
"tagProps": [
"DPM0_TAG",
"DPM1_TAG",
"DPM2_TAG",
"DPM3_TAG",
"DPM4_TAG",
"DPM5_TAG"
"System/MCM02/Rack",
"System/MCM02/IO_BLOCK/DPM/PS1_1_DPM1",
"System/MCM02/IO_BLOCK/DPM/PS1_1_DPM2",
"System/MCM02/IO_BLOCK/DPM/PS2_1_DPM1",
"System/MCM02/IO_BLOCK/DPM/PS2_1_DPM2",
"System/MCM02/IO_BLOCK/DPM/PS1_4_DPM1"
]
},
"propConfig": {
@ -27,11 +27,11 @@
"1": "{view.params.tagProps[1]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{1}/STATE"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{1}/Communication_Faulted"
},
"transforms": [
{
"expression": "coalesce({value},{view.params.forceFaultStatus},1)",
"expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression"
},
{
@ -39,11 +39,11 @@
"inputType": "scalar",
"mappings": [
{
"input": 0,
"input": false,
"output": true
},
{
"input": 1,
"input": true,
"output": false
}
],
@ -64,11 +64,11 @@
"2": "{view.params.tagProps[2]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{2}/STATE"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{2}/Communication_Faulted"
},
"transforms": [
{
"expression": "coalesce({value},{view.params.forceFaultStatus},1)",
"expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression"
},
{
@ -76,11 +76,11 @@
"inputType": "scalar",
"mappings": [
{
"input": 0,
"input": false,
"output": true
},
{
"input": 1,
"input": true,
"output": false
}
],
@ -101,11 +101,11 @@
"3": "{view.params.tagProps[3]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{3}/STATE"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{3}/Communication_Faulted"
},
"transforms": [
{
"expression": "coalesce({value},{view.params.forceFaultStatus},1)",
"expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression"
},
{
@ -113,11 +113,11 @@
"inputType": "scalar",
"mappings": [
{
"input": 0,
"input": false,
"output": true
},
{
"input": 1,
"input": true,
"output": false
}
],
@ -138,11 +138,11 @@
"4": "{view.params.tagProps[4]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{4}/STATE"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{4}/Communication_Faulted"
},
"transforms": [
{
"expression": "coalesce({value},{view.params.forceFaultStatus},1)",
"expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression"
},
{
@ -150,11 +150,11 @@
"inputType": "scalar",
"mappings": [
{
"input": 0,
"input": false,
"output": true
},
{
"input": 1,
"input": true,
"output": false
}
],
@ -175,11 +175,11 @@
"5": "{view.params.tagProps[5]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{5}/STATE"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{5}/Communication_Faulted"
},
"transforms": [
{
"expression": "coalesce({value},{view.params.forceFaultStatus},1)",
"expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression"
},
{
@ -187,11 +187,11 @@
"inputType": "scalar",
"mappings": [
{
"input": 0,
"input": false,
"output": true
},
{
"input": 1,
"input": true,
"output": false
}
],
@ -212,11 +212,11 @@
"0": "{view.params.tagProps[0]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/STATE"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
"expression": "coalesce({value},{view.params.forceFaultStatus},1)",
"expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression"
},
{
@ -224,11 +224,11 @@
"inputType": "scalar",
"mappings": [
{
"input": 0,
"input": false,
"output": true
},
{
"input": 1,
"input": true,
"output": false
}
],
@ -318,7 +318,7 @@
}
},
"meta": {
"name": "DPM1_PS1-1"
"name": "PS1_1_DPM1"
},
"position": {
"height": 0.5,
@ -364,7 +364,7 @@
"OutDown": true,
"OutRight": false,
"OutUp": false,
"view": "Windows/Tabs/Enternet Windows/DPMs/DPM Devices/MCM02/DPM1_PS1-1"
"view": "Windows/Tabs/Enternet Windows/DPMs/DPM Devices/MCM02/PS1_1_DPM1"
},
"path": "Windows/Tabs/Enternet Windows/Components/DPM_BLOCK"
},
@ -383,7 +383,7 @@
}
},
"meta": {
"name": "DPM2_PS1-1"
"name": "PS1_1_DPM2"
},
"position": {
"height": 0.5,
@ -422,7 +422,7 @@
"OutDown": false,
"OutRight": true,
"OutUp": false,
"view": "Windows/Tabs/Enternet Windows/DPMs/DPM Devices/MCM02/DPM2_PS1-1"
"view": "Windows/Tabs/Enternet Windows/DPMs/DPM Devices/MCM02/PS1_1_DPM2"
},
"path": "Windows/Tabs/Enternet Windows/Components/DPM_BLOCK"
},
@ -441,7 +441,7 @@
}
},
"meta": {
"name": "DPM1_PS2-1"
"name": "PS2_1_DPM1"
},
"position": {
"height": 0.5,
@ -486,7 +486,7 @@
"OutDown": false,
"OutRight": true,
"OutUp": false,
"view": "Windows/Tabs/Enternet Windows/DPMs/DPM Devices/MCM02/DPM1_PS2-1"
"view": "Windows/Tabs/Enternet Windows/DPMs/DPM Devices/MCM02/PS2_1_DPM1"
},
"path": "Windows/Tabs/Enternet Windows/Components/DPM_BLOCK"
},
@ -505,7 +505,7 @@
}
},
"meta": {
"name": "DPM2_PS2-1"
"name": "PS2_1_DPM2"
},
"position": {
"height": 0.5,
@ -544,7 +544,7 @@
"OutDown": false,
"OutRight": true,
"OutUp": false,
"view": "Windows/Tabs/Enternet Windows/DPMs/DPM Devices/MCM02/DPM2_PS2-1"
"view": "Windows/Tabs/Enternet Windows/DPMs/DPM Devices/MCM02/PS2_1_DPM2"
},
"path": "Windows/Tabs/Enternet Windows/Components/DPM_BLOCK"
},
@ -563,7 +563,7 @@
}
},
"meta": {
"name": "DPM1_PS1-4"
"name": "PS1_4_DPM1"
},
"position": {
"height": 0.5,
@ -603,7 +603,7 @@
"OutDown": false,
"OutRight": true,
"OutUp": false,
"view": "Windows/Tabs/Enternet Windows/DPMs/DPM Devices/MCM02/DPM1_PS1-4"
"view": "Windows/Tabs/Enternet Windows/DPMs/DPM Devices/MCM02/PS1_4_DPM1"
},
"path": "Windows/Tabs/Enternet Windows/Components/DPM_BLOCK"
},
@ -620,7 +620,7 @@
"y": 0.1
},
"props": {
"text": "DPM1_PS1-1 11.200.1.2",
"text": "PS1_1_DPM1 11.200.1.2",
"textStyle": {
"fontSize": "1vmin"
}
@ -638,7 +638,7 @@
"y": 0.1
},
"props": {
"text": "DPM2_PS1-1 11.200.1.3",
"text": "PS1_1_DPM2 11.200.1.3",
"textStyle": {
"fontSize": "1vmin"
}
@ -656,7 +656,7 @@
"y": 0.1
},
"props": {
"text": "DPM1_PS2-1 11.200.1.4",
"text": "PS2_1_DPM1 11.200.1.4",
"textStyle": {
"fontSize": "1vmin"
}
@ -674,7 +674,7 @@
"y": 0.6
},
"props": {
"text": "DPM2_PS2-1 11.200.1.5",
"text": "PS2_1_DPM2 11.200.1.5",
"textStyle": {
"fontSize": "1vmin"
}
@ -692,7 +692,7 @@
"y": 0.6
},
"props": {
"text": "DPM1_PS1-4 11.200.1.6",
"text": "PS1_4_DPM1 11.200.1.6",
"textStyle": {
"fontSize": "1vmin"
}

View File

@ -2,19 +2,19 @@
"custom": {},
"params": {
"tagProps": [
"TAG0",
"TAG1",
"TAG2",
"TAG3",
"TAG4",
"TAG5",
"TAG6",
"TAG7",
"TAG8",
"TAG9",
"TAG10",
"TAG11",
"value"
"System/MCM01/IO_BLOCK/DPM/PS3_1_DPM1",
"System/MCM01/IO_BLOCK/SIO/PS3_1_SIO",
"System/MCM01/IO_BLOCK/SIO/PS3_2_SIO",
"System/MCM01/IO_BLOCK/SIO/UL14_1_SIO1",
"System/MCM01/IO_BLOCK/SIO/UL14_2_SIO1",
"System/MCM01/IO_BLOCK/SIO/UL14_3_SIO1",
"System/MCM01/IO_BLOCK/SIO/UL14_4_SIO1",
"System/MCM01/IO_BLOCK/SIO/UL14_5_SIO1",
"System/MCM01/IO_BLOCK/SIO/UL15_1_SIO1",
"System/MCM01/IO_BLOCK/SIO/UL15_2_SIO1",
"System/MCM01/IO_BLOCK/SIO/UL15_3_SIO1",
"System/MCM01/IO_BLOCK/SIO/UL15_4_SIO1",
"System/MCM01/IO_BLOCK/SIO/UL15_5_SIO1"
]
},
"props": {
@ -64,7 +64,7 @@
"in": false,
"out": false,
"tagProps": [
"System/MCM01/DPM/PS3_1_DPM1",
"System/MCM01/IO_BLOCK/DPM/PS3_1_DPM1",
"value",
"value",
"value",
@ -84,280 +84,7 @@
},
{
"meta": {
"name": "UL14_1_SIO1"
},
"position": {
"height": 0.1667,
"width": 0.0349,
"x": 0.1105,
"y": 0.0066
},
"props": {
"params": {
"IP": "11.200.1.32",
"tagProps": [
"System/MCM01/IO/SIO/UL14_1_SIO1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "autStand/Custom_Views/Enternet-Windows/Components/FIO_SIO"
},
"type": "ia.display.view"
},
{
"meta": {
"name": "UL14_2_SIO"
},
"position": {
"height": 0.1667,
"width": 0.0349,
"x": 0.1498,
"y": 0.0066
},
"props": {
"params": {
"IP": "11.200.1.33",
"tagProps": [
"System/MCM01/IO/SIO/UL14_2_SIO1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "autStand/Custom_Views/Enternet-Windows/Components/FIO_SIO"
},
"type": "ia.display.view"
},
{
"meta": {
"name": "UL14_3_SIO"
},
"position": {
"height": 0.1667,
"width": 0.0349,
"x": 0.1886,
"y": 0.0066
},
"props": {
"params": {
"IP": "11.200.1.34",
"tagProps": [
"System/MCM01/IO/SIO/UL14_3_SIO1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "autStand/Custom_Views/Enternet-Windows/Components/FIO_SIO"
},
"type": "ia.display.view"
},
{
"meta": {
"name": "UL14_4_SIO"
},
"position": {
"height": 0.1667,
"width": 0.0349,
"x": 0.2288,
"y": 0.0066
},
"props": {
"params": {
"IP": "11.200.1.35",
"tagProps": [
"System/MCM01/IO/SIO/UL14_4_SIO1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "autStand/Custom_Views/Enternet-Windows/Components/FIO_SIO"
},
"type": "ia.display.view"
},
{
"meta": {
"name": "UL14_5_SIO"
},
"position": {
"height": 0.1667,
"width": 0.0349,
"x": 0.2695,
"y": 0.0066
},
"props": {
"params": {
"IP": "11.200.1.36",
"tagProps": [
"System/MCM01/IO/SIO/UL14_5_SIO1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "autStand/Custom_Views/Enternet-Windows/Components/FIO_SIO"
},
"type": "ia.display.view"
},
{
"meta": {
"name": "UL15_1_SIO"
},
"position": {
"height": 0.1667,
"width": 0.0349,
"x": 0.3106,
"y": 0.0066
},
"props": {
"params": {
"IP": "11.200.1.37",
"tagProps": [
"System/MCM01/IO/SIO/UL15_1_SIO1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "autStand/Custom_Views/Enternet-Windows/Components/FIO_SIO"
},
"type": "ia.display.view"
},
{
"meta": {
"name": "UL15_2_SIO"
},
"position": {
"height": 0.1667,
"width": 0.0349,
"x": 0.3504,
"y": 0.0066
},
"props": {
"params": {
"IP": "11.200.1.38",
"tagProps": [
"System/MCM01/IO/SIO/UL15_2_SIO1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "autStand/Custom_Views/Enternet-Windows/Components/FIO_SIO"
},
"type": "ia.display.view"
},
{
"meta": {
"name": "UL15_3_SIO"
},
"position": {
"height": 0.1667,
"rotate": {
"anchor": "-607% 50%"
},
"width": 0.0349,
"x": 0.3905,
"y": 0.0066
},
"props": {
"params": {
"IP": "11.200.1.39",
"tagProps": [
"System/MCM01/IO/SIO/UL15_3_SIO1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "autStand/Custom_Views/Enternet-Windows/Components/FIO_SIO"
},
"type": "ia.display.view"
},
{
"meta": {
"name": "UL15_5_SIO"
},
"position": {
"height": 0.1667,
"width": 0.0349,
"x": 0.4717,
"y": 0.0066
},
"props": {
"params": {
"IP": "11.200.1.41",
"tagProps": [
"System/MCM01/IO/SIO/UL15_5_SIO1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "autStand/Custom_Views/Enternet-Windows/Components/FIO_SIO"
},
"type": "ia.display.view"
},
{
"meta": {
"name": "PS3_1_SIO"
"name": "PS3_1_SIO1"
},
"position": {
"height": 0.1667,
@ -369,7 +96,7 @@
"params": {
"IP": "11.200.1.30",
"tagProps": [
"System/MCM01/IO/SIO/PS3_1_SIO",
"System/MCM01/IO_BLOCK/SIO/PS3_1_SIO",
"value",
"value",
"value",
@ -402,7 +129,310 @@
"params": {
"IP": "11.200.1.31",
"tagProps": [
"System/MCM01/IO/SIO/PS3_2_SIO",
"System/MCM01/IO_BLOCK/SIO/PS3_2_SIO",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "autStand/Custom_Views/Enternet-Windows/Components/FIO_SIO"
},
"type": "ia.display.view"
},
{
"meta": {
"name": "UL14_1_SIO1"
},
"position": {
"height": 0.1667,
"width": 0.0349,
"x": 0.1105,
"y": 0.0066
},
"props": {
"params": {
"IP": "11.200.1.32",
"tagProps": [
"System/MCM01/IO_BLOCK/SIO/UL14_1_SIO1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "autStand/Custom_Views/Enternet-Windows/Components/FIO_SIO"
},
"type": "ia.display.view"
},
{
"meta": {
"name": "UL14_2_SIO1"
},
"position": {
"height": 0.1667,
"width": 0.0349,
"x": 0.1498,
"y": 0.0066
},
"props": {
"params": {
"IP": "11.200.1.33",
"tagProps": [
"System/MCM01/IO_BLOCK/SIO/UL14_2_SIO1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "autStand/Custom_Views/Enternet-Windows/Components/FIO_SIO"
},
"type": "ia.display.view"
},
{
"meta": {
"name": "UL14_3_SIO1"
},
"position": {
"height": 0.1667,
"width": 0.0349,
"x": 0.1886,
"y": 0.0066
},
"props": {
"params": {
"IP": "11.200.1.34",
"tagProps": [
"System/MCM01/IO_BLOCK/SIO/UL14_3_SIO1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "autStand/Custom_Views/Enternet-Windows/Components/FIO_SIO"
},
"type": "ia.display.view"
},
{
"meta": {
"name": "UL14_4_SIO1"
},
"position": {
"height": 0.1667,
"width": 0.0349,
"x": 0.2288,
"y": 0.0066
},
"props": {
"params": {
"IP": "11.200.1.35",
"tagProps": [
"System/MCM01/IO_BLOCK/SIO/UL14_4_SIO1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "autStand/Custom_Views/Enternet-Windows/Components/FIO_SIO"
},
"type": "ia.display.view"
},
{
"meta": {
"name": "UL14_5_SIO"
},
"position": {
"height": 0.1667,
"width": 0.0349,
"x": 0.2695,
"y": 0.0066
},
"props": {
"params": {
"IP": "11.200.1.36",
"tagProps": [
"System/MCM01/IO_BLOCK/SIO/UL14_5_SIO1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "autStand/Custom_Views/Enternet-Windows/Components/FIO_SIO"
},
"type": "ia.display.view"
},
{
"meta": {
"name": "UL15_1_SIO"
},
"position": {
"height": 0.1667,
"width": 0.0349,
"x": 0.3106,
"y": 0.0066
},
"props": {
"params": {
"IP": "11.200.1.37",
"tagProps": [
"System/MCM01/IO_BLOCK/SIO/UL15_1_SIO1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "autStand/Custom_Views/Enternet-Windows/Components/FIO_SIO"
},
"type": "ia.display.view"
},
{
"meta": {
"name": "UL15_2_SIO"
},
"position": {
"height": 0.1667,
"width": 0.0349,
"x": 0.3504,
"y": 0.0066
},
"props": {
"params": {
"IP": "11.200.1.38",
"tagProps": [
"System/MCM01/IO_BLOCK/SIO/UL15_2_SIO1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "autStand/Custom_Views/Enternet-Windows/Components/FIO_SIO"
},
"type": "ia.display.view"
},
{
"meta": {
"name": "UL15_3_SIO"
},
"position": {
"height": 0.1667,
"rotate": {
"anchor": "-607% 50%"
},
"width": 0.0349,
"x": 0.3905,
"y": 0.0066
},
"props": {
"params": {
"IP": "11.200.1.39",
"tagProps": [
"System/MCM01/IO_BLOCK/SIO/UL15_3_SIO1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "autStand/Custom_Views/Enternet-Windows/Components/FIO_SIO"
},
"type": "ia.display.view"
},
{
"meta": {
"name": "UL15_4_SIO"
},
"position": {
"height": 0.1667,
"width": 0.0349,
"x": 0.4316,
"y": 0.0066
},
"props": {
"params": {
"IP": "11.200.1.40",
"tagProps": [
"System/MCM01/IO_BLOCK/SIO/UL15_4_SIO1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "autStand/Custom_Views/Enternet-Windows/Components/FIO_SIO"
},
"type": "ia.display.view"
},
{
"meta": {
"name": "UL15_5_SIO"
},
"position": {
"height": 0.1667,
"width": 0.0349,
"x": 0.4717,
"y": 0.0066
},
"props": {
"params": {
"IP": "11.200.1.41",
"tagProps": [
"System/MCM01/IO_BLOCK/SIO/UL15_5_SIO1",
"value",
"value",
"value",
@ -435,36 +465,6 @@
}
},
"type": "ia.display.label"
},
{
"meta": {
"name": "UL15_4_SIO"
},
"position": {
"height": 0.1667,
"width": 0.0349,
"x": 0.4316,
"y": 0.0066
},
"props": {
"params": {
"IP": "11.200.1.40",
"tagProps": [
"System/MCM01/IO/SIO/UL15_4_SIO1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "autStand/Custom_Views/Enternet-Windows/Components/FIO_SIO"
},
"type": "ia.display.view"
}
],
"meta": {

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 116 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

View File

@ -0,0 +1,28 @@
SELECT
ae.id AS ID,
ae.eventtime AS StartTimestamp,
CONCAT(
LPAD(FLOOR(TIMESTAMPDIFF(SECOND, ae.eventtime, NOW())/3600), 2, '0'), ':',
LPAD(FLOOR((TIMESTAMPDIFF(SECOND, ae.eventtime, NOW())%3600)/60), 2, '0'), ':',
LPAD( (TIMESTAMPDIFF(SECOND, ae.eventtime, NOW())%60), 2, '0')
) AS Duration,
CONCAT(REPLACE(ae.displaypath,'_','-'),' ', SUBSTRING_INDEX(ae.source,':/alm:',-1)) AS Description,
CASE ae.priority
WHEN 0 THEN 'Diagnostic' WHEN 1 THEN 'Low' WHEN 2 THEN 'Medium'
WHEN 3 THEN 'High' WHEN 4 THEN 'Critical' ELSE 'Unknown'
END AS Priority,
CONCAT(ae.displaypath,'.HMI.Alarm.', SUBSTRING_INDEX(aed.strValue,'/',-1)) AS Tag,
SUBSTRING_INDEX(SUBSTRING_INDEX(aed.strValue,'/',2),'/',-1) AS Location,
aed.strValue AS FullTag,
ae.displaypath AS Device
FROM alarm_events ae
LEFT JOIN alarm_events clr
ON clr.eventid = ae.eventid AND clr.eventtype = 1
LEFT JOIN alarm_event_data aed
ON aed.id = ae.id AND aed.propname = 'myTag'
WHERE ae.eventtype = 0
AND clr.eventid IS NULL
AND ae.displaypath NOT LIKE '%System Startup%'
AND ae.source NOT LIKE '%System Startup%'
AND (:priorityList = '' OR FIND_IN_SET(CAST(ae.priority AS CHAR), :priorityList) > 0)
ORDER BY ae.eventtime DESC;

View File

@ -0,0 +1,612 @@
{
"custom": {
"color": "#C2C2C2",
"priority": "No Active Alarms",
"state": "Closed"
},
"params": {
"directionLeft": false,
"forceFaultStatus": null,
"tagProps": [
"System/MCM01/Conveyor/EXTENDO/UL1_1_EX1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
],
"type": 1
},
"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.directionLeft": {
"paramDirection": "input",
"persistent": true
},
"params.forceFaultStatus": {
"paramDirection": "input",
"persistent": true
},
"params.tagProps": {
"paramDirection": "inout",
"persistent": true
},
"params.type": {
"paramDirection": "input",
"persistent": true
}
},
"props": {
"defaultSize": {
"height": 20,
"width": 29
}
},
"root": {
"children": [
{
"meta": {
"name": "RunningStatus"
},
"position": {
"grow": 1
},
"propConfig": {
"position.rotate.angle": {
"binding": {
"config": {
"path": "view.params.directionLeft"
},
"transforms": [
{
"expression": "if({value}, \u0027180deg\u0027, \u00270deg\u0027)",
"type": "expression"
}
],
"type": "property"
}
},
"props.elements[0].fill.paint": {
"binding": {
"config": {
"expression": "if(\r\n {view.custom.state} \u003d \"Closed\",\r\n \"#000000\",\r\n {view.custom.color}\r\n)\r\n"
},
"type": "expr"
}
},
"props.elements[1].fill.paint": {
"binding": {
"config": {
"expression": "if(\r\n {view.custom.state} \u003d \"Closed\",\r\n \"#000000\",\r\n {view.custom.color}\r\n)\r\n"
},
"type": "expr"
}
},
"props.elements[2].fill.paint": {
"binding": {
"config": {
"expression": "if(\r\n {view.custom.state} \u003d \"Closed\",\r\n \"#000000\",\r\n {view.custom.color}\r\n)\r\n"
},
"type": "expr"
}
}
},
"props": {
"elements": [
{
"d": "M 50 0 L 65 0 L 80 30 L 65 60 L 50 60 Z",
"fill": {},
"name": "path",
"stroke": {
"paint": "#4c4c4c",
"width": "2"
},
"type": "path"
},
{
"d": "M 45 0 L 25 0 L 25 30 L 25 60 L 45 60 Z",
"fill": {},
"name": "path",
"stroke": {
"paint": "#4c4c4c",
"width": "2"
},
"type": "path"
},
{
"d": "M 0 0 L 20 0 L 20 30 L 20 60 L 0 60 Z",
"fill": {},
"name": "path",
"stroke": {
"paint": "#4c4c4c",
"width": "2"
},
"type": "path"
}
],
"style": {
"overflow": "hidden"
},
"viewBox": "-1.5 -1.5 73 63"
},
"type": "ia.shapes.svg"
}
],
"events": {
"dom": {
"onClick": {
"config": {
"script": "\tsystem.perspective.openDock(\u0027Docked-East-Extendo\u0027,params\u003d{\u0027tagProps\u0027:self.view.params.tagProps})"
},
"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"
},
{
"input": "Medium",
"output": "Alarms-Styles/Medium"
},
{
"input": "Low",
"output": "Alarms-Styles/Low"
},
{
"input": "Diagnostic",
"output": "Alarms-Styles/Diagnostic"
}
],
"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_running"
},
"type": "property"
}
}
},
"props": {
"justify": "center"
},
"type": "ia.container.flex"
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 153 KiB

After

Width:  |  Height:  |  Size: 152 KiB

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,413 @@
{
"custom": {
"counts": {
"Critical": 0,
"Diagnostic": 0,
"High": 2,
"Low": 0,
"Medium": 0,
"Total": 2
},
"totalAlarms": {
"$": [
"ds",
192,
1758118474993
],
"$columns": [
{
"data": [
null,
null,
null,
"MCM01"
],
"name": "Location",
"type": "String"
},
{
"data": [
"High",
"Low",
"Medium",
"High"
],
"name": "Priority",
"type": "String"
},
{
"data": [
294,
257,
230,
2
],
"name": "Count",
"type": "Long"
}
]
}
},
"params": {
"value": {
"tagProps": [
"MCM01",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
}
},
"propConfig": {
"custom.counts": {
"persistent": true
},
"custom.totalAlarms": {
"binding": {
"config": {
"polling": {
"enabled": true,
"rate": "3"
},
"queryPath": "GetActiveAlarmsByLocationAndPriority"
},
"type": "query"
},
"onChange": {
"enabled": null,
"script": "\tMCM \u003d self.params.value.tagProps[0]\n\tqueryData \u003d currentValue.value\n\t\n\t# Initialize counts\n\tcounts \u003d {\n\t \"Critical\": 0,\n\t \"High\": 0,\n\t \"Medium\": 0,\n\t \"Low\": 0,\n\t \"Diagnostic\": 0,\n\t \"Total\": 0\n\t}\n\t\n\t# Loop through dataset and aggregate\n\tfor row in range(queryData.rowCount):\n\t mcm_val \u003d queryData.getValueAt(row, 0)\n\t severity \u003d queryData.getValueAt(row, 1)\n\t count \u003d queryData.getValueAt(row, 2)\n\t\n\t if mcm_val \u003d\u003d MCM:\n\t key \u003d severity.capitalize()\n\t if key in counts:\n\t counts[key] +\u003d count\n\t counts[\"Total\"] +\u003d count\n\t \n\tself.custom.counts \u003d counts"
},
"persistent": true
},
"params.value": {
"paramDirection": "input",
"persistent": true
},
"params.value.tagProps": {
"onChange": {
"enabled": null,
"script": "\tsystem.perspective.print(currentValue.value[0])"
}
}
},
"props": {
"defaultSize": {
"height": 50,
"width": 300
}
},
"root": {
"children": [
{
"children": [
{
"meta": {
"name": "Label_0"
},
"position": {
"basis": "32px"
},
"props": {
"style": {
"classes": "Text-Styles/Ariel-Bold-12pt",
"textAlign": "center"
},
"text": "High"
},
"type": "ia.display.label"
},
{
"meta": {
"name": "Label_1"
},
"position": {
"basis": "32px"
},
"props": {
"style": {
"classes": "Text-Styles/Ariel-Bold-12pt",
"textAlign": "center"
},
"text": "Med"
},
"type": "ia.display.label"
},
{
"meta": {
"name": "Label_2"
},
"position": {
"basis": "32px"
},
"props": {
"style": {
"classes": "Text-Styles/Ariel-Bold-12pt",
"textAlign": "center"
},
"text": "Low"
},
"type": "ia.display.label"
},
{
"meta": {
"name": "Label_3"
},
"position": {
"basis": "32px"
},
"props": {
"style": {
"classes": "Text-Styles/Ariel-Bold-12pt",
"textAlign": "center"
},
"text": "Diag"
},
"type": "ia.display.label"
},
{
"meta": {
"name": "Label_4"
},
"position": {
"basis": "32px"
},
"props": {
"style": {
"classes": "Text-Styles/Ariel-Bold-12pt",
"textAlign": "center"
},
"text": "Total"
},
"type": "ia.display.label"
}
],
"meta": {
"name": "FlexContainer"
},
"position": {
"basis": "25px"
},
"props": {
"justify": "space-between"
},
"type": "ia.container.flex"
},
{
"children": [
{
"meta": {
"name": "Label_0"
},
"position": {
"basis": "32px"
},
"propConfig": {
"props.text": {
"binding": {
"config": {
"path": "view.custom.counts.High"
},
"type": "property"
}
}
},
"props": {
"style": {
"classes": "Text-Styles/Ariel-Bold-12pt",
"textAlign": "center"
}
},
"type": "ia.display.label"
},
{
"meta": {
"name": "Label_1"
},
"position": {
"basis": "32px"
},
"propConfig": {
"props.text": {
"binding": {
"config": {
"path": "view.custom.counts.Medium"
},
"type": "property"
}
}
},
"props": {
"style": {
"classes": "Text-Styles/Ariel-Bold-12pt",
"textAlign": "center"
}
},
"type": "ia.display.label"
},
{
"meta": {
"name": "Label_2"
},
"position": {
"basis": "32px"
},
"propConfig": {
"props.text": {
"binding": {
"config": {
"path": "view.custom.counts.Low"
},
"type": "property"
}
}
},
"props": {
"style": {
"classes": "Text-Styles/Ariel-Bold-12pt",
"textAlign": "center"
}
},
"type": "ia.display.label"
},
{
"meta": {
"name": "Label_3"
},
"position": {
"basis": "32px"
},
"propConfig": {
"props.text": {
"binding": {
"config": {
"path": "view.custom.counts.Diagnostic"
},
"type": "property"
}
}
},
"props": {
"style": {
"classes": "Text-Styles/Ariel-Bold-12pt",
"textAlign": "center"
}
},
"type": "ia.display.label"
},
{
"meta": {
"name": "Label_4"
},
"position": {
"basis": "32px"
},
"propConfig": {
"props.text": {
"binding": {
"config": {
"path": "view.custom.counts.Total"
},
"type": "property"
}
}
},
"props": {
"style": {
"classes": "Text-Styles/Ariel-Bold-12pt",
"textAlign": "center"
}
},
"type": "ia.display.label"
}
],
"meta": {
"name": "FlexContainer_1"
},
"position": {
"basis": "25px"
},
"props": {
"justify": "space-between"
},
"type": "ia.container.flex"
}
],
"meta": {
"name": "root"
},
"propConfig": {
"custom.has_role": {
"binding": {
"config": {
"expression": "{session.custom.fc}"
},
"transforms": [
{
"code": "\trme_role \u003d value +\"-rme-all\"\n\troles \u003d (self.session.props.auth.user.roles)\n\tif (rme_role.lower() in roles \n\tor rme_role.upper() in roles):\n\t\treturn True\n\telse:\n\t\treturn False",
"type": "script"
}
],
"type": "expr"
}
},
"custom.status": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[0]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/ALARMST"
},
"transforms": [
{
"expression": "if(isNull({value}), 0, {value})",
"type": "expression"
},
{
"fallback": null,
"inputType": "scalar",
"mappings": [
{
"input": 4,
"output": 1
},
{
"input": 3,
"output": 2
},
{
"input": 2,
"output": 3
},
{
"input": 1,
"output": 4
},
{
"input": 0,
"output": 5
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "tag"
}
}
},
"props": {
"direction": "column"
},
"type": "ia.container.flex"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 89 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

View File

@ -0,0 +1,208 @@
{
"custom": {
"currentTab": null
},
"params": {
"Tab_ID": null,
"Table": null
},
"propConfig": {
"custom.currentTab": {
"binding": {
"config": {
"path": "/root/Header.custom.currentTab"
},
"type": "property"
},
"persistent": true
},
"params.Tab_ID": {
"binding": {
"config": {
"path": "/root/Status_tab.props.currentTabIndex"
},
"type": "property"
},
"paramDirection": "output",
"persistent": true
},
"params.Table": {
"binding": {
"config": {
"path": "/root/Status_tab.meta.name"
},
"type": "property"
},
"paramDirection": "output",
"persistent": true
}
},
"props": {
"defaultSize": {
"height": 930,
"width": 1920
}
},
"root": {
"children": [
{
"events": {
"dom": {
"onClick": {
"config": {
"script": "\tself.parent.custom.TabName \u003d \"DPMs\""
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "Content"
},
"position": {
"height": 0.9964,
"width": 0.9956,
"x": 0.0015
},
"propConfig": {
"meta.visible": {
"binding": {
"config": {
"expression": "!{session.custom.show_dpm_device_view} \u0026\u0026 !{session.custom.show_dpm_view}"
},
"type": "expr"
}
}
},
"props": {
"path": "Windows/Tabs/Enternet Windows/Enternet"
},
"type": "ia.display.view"
},
{
"events": {
"dom": {
"onClick": {
"config": {
"script": "\tself.parent.custom.TabName \u003d \"Devices\""
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "DPMs"
},
"position": {
"height": 0.9987,
"width": 0.9967,
"y": 0.0005
},
"propConfig": {
"meta.visible": {
"binding": {
"config": {
"path": "session.custom.show_dpm_view"
},
"type": "property"
}
},
"props.path": {
"binding": {
"config": {
"path": "session.custom.dpm_view_path"
},
"type": "property"
}
},
"props.style.opacity": {
"binding": {
"config": {
"path": "this.meta.visible"
},
"transforms": [
{
"fallback": null,
"inputType": "scalar",
"mappings": [
{
"input": true,
"output": 100
},
{
"input": false,
"output": 0
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
}
},
"type": "ia.display.view"
},
{
"events": {
"component": {
"onActionPerformed": {
"config": {
"script": "\tif self.parent.custom.TabName \u003d\u003d \"DPMs\":\n\t\tself.session.custom.show_dpm_view \u003d False\n\t\tself.session.custom.show_dpm_device_view \u003d False\n\tif self.parent.custom.TabName \u003d\u003d \"Devices\":\n\t\tself.session.custom.show_dpm_device_view \u003d False\n\t\tself.session.custom.show_dpm_view \u003d False\n\tsystem.perspective.closeDock(\u0027Docked-East-VFD\u0027)\n\tsystem.perspective.closeDock(\u0027Docked-East-DS\u0027)\n\tsystem.perspective.closeDock(\u0027Docked-East-TPR\u0027)\n\tsystem.perspective.closeDock(\u0027Docked-East-Extendo\u0027)\n\tsystem.perspective.closeDock(\u0027Docked-East-MCM\u0027)"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "BACK"
},
"position": {
"height": 0.0459,
"width": 0.0739,
"x": 0.0083,
"y": 0.9349
},
"propConfig": {
"meta.visible": {
"binding": {
"config": {
"expression": "{session.custom.show_dpm_device_view} || {session.custom.show_dpm_view} "
},
"type": "expr"
}
}
},
"props": {
"style": {
"backgroundColor": "#D7D7D7",
"borderStyle": "solid",
"borderWidth": 1,
"color": "#000000"
},
"text": "BACK"
},
"type": "ia.input.button"
}
],
"meta": {
"name": "root"
},
"position": {
"x": 8,
"y": -39
},
"props": {
"mode": "percent",
"style": {
"backgroundColor": "#F1F1F1",
"overflow": "hidden"
}
},
"type": "ia.container.coord"
}
}

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 97 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 142 KiB

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,792 @@
{
"custom": {
"activityLogger": {
"alt_pageid": "help",
"start_time": {
"$": [
"ts",
192,
1758444113793
],
"$ts": 1758444113793
}
}
},
"events": {
"system": {
"onShutdown": {
"config": {
"script": "#\tactivityLog.logger.callLogger(self, \u0027page\u0027)\n\tactivityLog.productMetrics.callLogger(self, \u0027page\u0027)"
},
"scope": "G",
"type": "script"
},
"onStartup": {
"config": {
"script": "\tself.custom.activityLogger.start_time \u003d system.date.now()"
},
"scope": "G",
"type": "script"
}
}
},
"params": {},
"propConfig": {
"custom.activityLogger": {
"persistent": true
},
"custom.activityLogger.pageid": {
"binding": {
"config": {
"expression": "{page.props.path}"
},
"transforms": [
{
"code": "\tif value \u003d\u003d\u0027/\u0027 or value \u003d\u003d \u0027\u0027 or value \u003d\u003d None:\n\t\treturn self.custom.activityLogger.alt_pageid.lower()\n\telse:\n\t\treturn value[1:].lower()",
"type": "script"
}
],
"type": "expr"
}
}
},
"props": {
"defaultSize": {
"height": 1080,
"width": 1920
}
},
"root": {
"children": [
{
"meta": {
"name": "Header"
},
"position": {
"basis": "50px"
},
"type": "ia.container.flex"
},
{
"children": [
{
"children": [
{
"meta": {
"name": "Body header"
},
"position": {
"basis": "1920px"
},
"props": {
"text": "How can we help you ?",
"textStyle": {
"color": "#000000",
"fontFamily": "Arial",
"fontSize": "45px",
"fontWeight": "bolder",
"textAlign": "center"
}
},
"type": "ia.display.label"
}
],
"meta": {
"name": "FlexContainer"
},
"position": {
"basis": "120px",
"grow": 1
},
"props": {
"justify": "center",
"style": {
"opacity": "0.73",
"textShadow": "#AAAAAA 1px 2px 2px"
}
},
"type": "ia.container.flex"
},
{
"meta": {
"name": "Markdown"
},
"position": {
"basis": "94px",
"grow": 1
},
"props": {
"markdown": {
"escapeHtml": false
},
"source": "\u003chtml\u003eThis page provides help on all things SCADA related. Cant find what your looking for ?. \u003cbr\u003eReach out to the MAP team for assistance.\u003c/html\u003e",
"style": {
"color": "#000000",
"fontFamily": "Arial",
"fontSize": "20px",
"fontWeight": "lighter",
"lineHeight": "1.5",
"marginBottom": "20px",
"textAlign": "center"
}
},
"type": "ia.display.markdown"
},
{
"children": [
{
"children": [
{
"children": [
{
"meta": {
"name": "Icon"
},
"position": {
"basis": "58px"
},
"props": {
"color": "#4D9CCE",
"path": "material/menu_book",
"style": {
"margin": "10px",
"marginTop": "50px"
}
},
"type": "ia.display.icon"
},
{
"meta": {
"name": "Label"
},
"position": {
"basis": "100px"
},
"props": {
"text": "User Guide",
"textStyle": {
"color": "#000000",
"fontFamily": "Arial",
"fontSize": "22px",
"fontWeight": "bold",
"marginTop": "",
"textAlign": "center"
}
},
"type": "ia.display.label"
}
],
"custom": {
"buttonid": "help/user_guide"
},
"events": {
"dom": {
"onClick": [
{
"config": {
"script": "\tbuttonid \u003d self.custom.buttonid\n\tactivityLog.productMetrics.callLogger(self.view, \u0027click\u0027, buttonid)"
},
"scope": "G",
"type": "script"
},
{
"config": {
"newTab": true,
"url": "https://w.amazon.com/bin/view/EURME/MAP/Product_Management/SCADA2/Resources/UserGuide"
},
"scope": "C",
"type": "nav"
}
]
}
},
"meta": {
"name": "UserGuideCard"
},
"position": {
"basis": "400px"
},
"props": {
"direction": "column",
"style": {
"backgroundColor": "#F2F3F4",
"classes": "FadeInFast, background, background-none",
"cursor": "pointer",
"marginBottom": "10px",
"marginRight": "50px",
"marginTop": "10px"
}
},
"type": "ia.container.flex"
},
{
"children": [
{
"meta": {
"name": "Icon"
},
"position": {
"basis": "58px"
},
"props": {
"color": "#4D9CCE",
"path": "material/developer_mode",
"style": {
"margin": "10px",
"marginTop": "50px"
}
},
"type": "ia.display.icon"
},
{
"meta": {
"name": "Label"
},
"position": {
"basis": "100px"
},
"props": {
"text": "Developer Guide",
"textStyle": {
"color": "#000000",
"fontFamily": "Arial",
"fontSize": "22px",
"fontWeight": "bold",
"textAlign": "center"
}
},
"type": "ia.display.label"
}
],
"custom": {
"buttonid": "help/dev_guide"
},
"events": {
"dom": {
"onClick": [
{
"config": {
"script": "\tbuttonid \u003d self.custom.buttonid\n\tactivityLog.productMetrics.callLogger(self.view, \u0027click\u0027, buttonid)"
},
"scope": "G",
"type": "script"
},
{
"config": {
"newTab": true,
"url": "https://w.amazon.com/bin/view/EURME/MAP/Projects/Amazon_SCADA/Expanding_BU_and_New_Regions_SCADA/AMZL/DeveloperGuide/"
},
"scope": "C",
"type": "nav"
}
]
}
},
"meta": {
"name": "DevelopmentGuideCard"
},
"position": {
"basis": "400px"
},
"props": {
"direction": "column",
"style": {
"backgroundColor": "#F2F3F4",
"classes": "FadeInFast, background, background-none",
"cursor": "pointer",
"marginBottom": "10px",
"marginRight": "50px",
"marginTop": "10px"
}
},
"type": "ia.container.flex"
},
{
"children": [
{
"meta": {
"name": "Icon"
},
"position": {
"basis": "58px"
},
"props": {
"color": "#4D9CCE",
"path": "material/comment",
"style": {
"margin": "10px",
"marginTop": "50px"
}
},
"type": "ia.display.icon"
},
{
"meta": {
"name": "Label"
},
"position": {
"basis": "100px"
},
"props": {
"text": "Provide Feedback",
"textStyle": {
"color": "#000000",
"fontFamily": "Arial",
"fontSize": "22px",
"fontWeight": "bold",
"textAlign": "center"
}
},
"type": "ia.display.label"
}
],
"custom": {
"buttonid": "help/feedback"
},
"events": {
"dom": {
"onClick": [
{
"config": {
"script": "\tbuttonid \u003d self.custom.buttonid\n\tactivityLog.productMetrics.callLogger(self.view, \u0027click\u0027, buttonid)"
},
"scope": "G",
"type": "script"
},
{
"config": {
"newTab": true,
"url": "https://quip-amazon.com/BSxOAUz9geea/SCADA-20-Feedback"
},
"scope": "C",
"type": "nav"
}
]
}
},
"meta": {
"name": "DevelopmentGuideCard_0"
},
"position": {
"basis": "400px"
},
"props": {
"direction": "column",
"style": {
"backgroundColor": "#F2F3F4",
"classes": "FadeInFast, background, background-none",
"cursor": "pointer",
"marginBottom": "10px",
"marginRight": 50,
"marginTop": "10px"
}
},
"type": "ia.container.flex"
},
{
"children": [
{
"meta": {
"name": "Icon"
},
"position": {
"basis": "58px"
},
"props": {
"color": "#4D9CCE",
"path": "material/healing",
"style": {
"margin": "10px",
"marginTop": "50px"
}
},
"type": "ia.display.icon"
},
{
"meta": {
"name": "Label"
},
"position": {
"basis": "100px"
},
"props": {
"text": "Report Safety Concern",
"textStyle": {
"color": "#000000",
"fontFamily": "Arial",
"fontSize": "22px",
"fontWeight": "bold",
"textAlign": "center"
}
},
"type": "ia.display.label"
}
],
"custom": {
"buttonid": "help/reportsafetyconcern"
},
"events": {
"dom": {
"onClick": [
{
"config": {
"script": "\tbuttonid \u003d self.custom.buttonid\n\tactivityLog.productMetrics.callLogger(self.view, \u0027click\u0027, buttonid)"
},
"scope": "G",
"type": "script"
},
{
"config": {
"newTab": true,
"url": "https://atoz.amazon.work/safety_observations"
},
"scope": "C",
"type": "nav"
}
]
}
},
"meta": {
"name": "SafetyConcernsCard"
},
"position": {
"basis": "400px"
},
"props": {
"direction": "column",
"style": {
"backgroundColor": "#F2F3F4",
"classes": "FadeInFast, background, background-none",
"cursor": "pointer",
"marginBottom": "10px",
"marginTop": "10px"
}
},
"type": "ia.container.flex"
}
],
"meta": {
"name": "CardsTopRow"
},
"position": {
"basis": "280px"
},
"props": {
"justify": "center",
"style": {
"marginBottom": "20px",
"marginTop": "20px"
}
},
"type": "ia.container.flex"
},
{
"children": [
{
"children": [
{
"meta": {
"name": "Icon"
},
"position": {
"basis": "58px"
},
"props": {
"color": "#4D9CCE",
"path": "material/confirmation_number",
"style": {
"margin": "10px",
"marginTop": "50px"
}
},
"type": "ia.display.icon"
},
{
"meta": {
"name": "Label"
},
"position": {
"basis": "100px"
},
"props": {
"text": "Open a Ticket",
"textStyle": {
"color": "#000000",
"fontFamily": "Arial",
"fontSize": "22px",
"fontWeight": "bold",
"textAlign": "center"
}
},
"type": "ia.display.label"
}
],
"custom": {
"buttonid": "help/ticket"
},
"events": {
"dom": {
"onClick": [
{
"config": {
"script": "\tbuttonid \u003d self.custom.buttonid\n\tactivityLog.productMetrics.callLogger(self.view, \u0027click\u0027, buttonid)"
},
"scope": "G",
"type": "script"
},
{
"config": {
"newTab": true,
"url": "https://river.amazon.com/?org\u003dGlobal_RME"
},
"scope": "C",
"type": "nav"
}
]
}
},
"meta": {
"name": "Open a Ticket"
},
"position": {
"basis": "400px"
},
"props": {
"direction": "column",
"style": {
"backgroundColor": "#F2F3F4",
"classes": "FadeInFast, background, background-none",
"cursor": "pointer",
"marginBottom": "10px",
"marginRight": "50px",
"marginTop": "10px"
}
},
"type": "ia.container.flex"
},
{
"children": [
{
"meta": {
"name": "Icon"
},
"position": {
"basis": "58px"
},
"props": {
"color": "#4D9CCE",
"path": "material/playlist_add_check",
"style": {
"margin": "10px",
"marginTop": "50px"
}
},
"type": "ia.display.icon"
},
{
"meta": {
"name": "Label"
},
"position": {
"basis": "100px"
},
"props": {
"text": "Commissioning Tool Guide",
"textStyle": {
"color": "#000000",
"fontFamily": "Arial",
"fontSize": "22px",
"fontWeight": "bold",
"textAlign": "center"
}
},
"type": "ia.display.label"
}
],
"custom": {
"buttonid": "help/commission_guide"
},
"events": {
"dom": {
"onClick": [
{
"config": {
"script": "\tbuttonid \u003d self.custom.buttonid\n\tactivityLog.productMetrics.callLogger(self.view, \u0027click\u0027, buttonid)"
},
"scope": "G",
"type": "script"
},
{
"config": {
"newTab": true,
"url": "https://w.amazon.com/bin/view/EURME/MAP/Product_Management/SCADA2/Resources/CommissioningToolUserGuide"
},
"scope": "C",
"type": "nav"
}
]
}
},
"meta": {
"name": "Commissioning Tool guide"
},
"position": {
"basis": "400px"
},
"props": {
"direction": "column",
"style": {
"backgroundColor": "#F2F3F4",
"classes": "FadeInFast, background, background-none",
"cursor": "pointer",
"marginBottom": "10px",
"marginRight": "50px",
"marginTop": "10px"
}
},
"type": "ia.container.flex"
},
{
"children": [
{
"meta": {
"name": "Icon"
},
"position": {
"basis": "58px"
},
"props": {
"color": "#4D9CCE",
"path": "material/local_library",
"style": {
"margin": "10px",
"marginTop": "50px"
}
},
"type": "ia.display.icon"
},
{
"meta": {
"name": "Label"
},
"position": {
"basis": "100px"
},
"props": {
"text": "Symbol Library",
"textStyle": {
"color": "#000000",
"fontFamily": "Arial",
"fontSize": "22px",
"fontWeight": "bold",
"textAlign": "center"
}
},
"type": "ia.display.label"
}
],
"custom": {
"buttonid": "help/symbol_library"
},
"events": {
"dom": {
"onClick": [
{
"config": {
"script": "\tbuttonid \u003d self.custom.buttonid\n\tactivityLog.productMetrics.callLogger(self.view, \u0027click\u0027, buttonid)"
},
"scope": "G",
"type": "script"
},
{
"config": {
"params": {},
"view": "Symbol-Views/Symbol-Library-Views/Symbol-Icons-View"
},
"scope": "C",
"type": "nav"
}
]
}
},
"meta": {
"name": "Symbol Library"
},
"position": {
"basis": "400px"
},
"props": {
"direction": "column",
"style": {
"backgroundColor": "#F2F3F4",
"classes": "FadeInFast, background, background-none",
"cursor": "pointer",
"marginBottom": "10px",
"marginRight": "0px",
"marginTop": "10px"
}
},
"type": "ia.container.flex"
}
],
"meta": {
"name": "CardsBottomRow"
},
"position": {
"basis": "260px"
},
"props": {
"justify": "center",
"style": {
"marginTop": "20px"
}
},
"type": "ia.container.flex"
}
],
"meta": {
"name": "Card body"
},
"position": {
"basis": "734px",
"grow": 1
},
"props": {
"direction": "column"
},
"type": "ia.container.flex"
}
],
"meta": {
"name": "Body"
},
"position": {
"basis": "980px"
},
"props": {
"direction": "column"
},
"type": "ia.container.flex"
},
{
"meta": {
"name": "Footer"
},
"position": {
"basis": "50px"
},
"type": "ia.container.flex"
}
],
"meta": {
"name": "root"
},
"props": {
"direction": "column",
"style": {
"backgroundColor": "#EDEDED"
}
},
"type": "ia.container.flex"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

View File

@ -2,17 +2,18 @@
"custom": {},
"params": {
"tagProps": [
"TAG0",
"TAG1",
"TAG2",
"TAG3",
"TAG4",
"TAG5",
"TAG6",
"TAG7",
"TAG8",
"TAG9",
"TAG10"
"System/MCM02/IO_BLOCK/DPM/PS1_1_DPM2",
"System/MCM02/Conveyor/EXTENDO/UL3_2_EX1",
"System/MCM02/Conveyor/VFD/UL3_3_VFD1",
"System/MCM02/Conveyor/VFD/UL3_4_VFD1",
"System/MCM02/Conveyor/VFD/UL3_5_VFD1",
"System/MCM02/Conveyor/VFD/UL3_6_VFD1",
"System/MCM02/Conveyor/VFD/UL3_7_VFD1",
"System/MCM02/Conveyor/VFD/UL3_8_VFD1",
"System/MCM02/Conveyor/VFD/UL3_9_VFD1",
"System/MCM02/Conveyor/VFD/PS1_1_VFD1",
"System/MCM02/Conveyor/VFD/PS1_2_VFD1",
"System/MCM02/IO_BLOCK/FIO/UL3_3_FIO1"
]
},
"props": {
@ -38,10 +39,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[0]}",
"0": "{view.params.tagProps[1]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -70,10 +71,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[10]}",
"0": "{view.params.tagProps[11]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -102,10 +103,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[1]}",
"0": "{view.params.tagProps[2]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -134,10 +135,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[2]}",
"0": "{view.params.tagProps[3]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -166,10 +167,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[3]}",
"0": "{view.params.tagProps[4]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -198,10 +199,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[4]}",
"0": "{view.params.tagProps[5]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -230,10 +231,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[5]}",
"0": "{view.params.tagProps[6]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -262,10 +263,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[6]}",
"0": "{view.params.tagProps[7]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -294,10 +295,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[7]}",
"0": "{view.params.tagProps[8]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -326,10 +327,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[8]}",
"0": "{view.params.tagProps[9]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -358,10 +359,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[9]}",
"0": "{view.params.tagProps[10]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -440,7 +441,19 @@
false
],
"in": false,
"out": false
"out": false,
"tagProps": [
"System/MCM02/IO_BLOCK/DPM/PS1_1_DPM2",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/DPM_TO_HUB"
},
@ -457,7 +470,21 @@
"y": 0.4991
},
"props": {
"path": "Windows/Tabs/Enternet Windows/Components/APF"
"params": {
"tagProps": [
"System/MCM02/Conveyor/EXTENDO/UL3_2_EX1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/EXTENDO"
},
"type": "ia.display.view"
},
@ -467,7 +494,7 @@
},
"position": {
"height": 0.0358,
"width": 0.0547,
"width": 0.0427,
"x": 0.0094,
"y": 0.5394
},
@ -491,6 +518,20 @@
"y": 0.6677
},
"props": {
"params": {
"tagProps": [
"System/MCM02/Conveyor/VFD/UL3_3_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -525,6 +566,20 @@
"y": 0.8333
},
"props": {
"params": {
"tagProps": [
"System/MCM02/Conveyor/VFD/UL3_4_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -559,6 +614,20 @@
"y": 0.3333
},
"props": {
"params": {
"tagProps": [
"System/MCM02/Conveyor/VFD/UL3_5_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -593,6 +662,20 @@
"y": 0.1667
},
"props": {
"params": {
"tagProps": [
"System/MCM02/Conveyor/VFD/UL3_6_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -626,6 +709,20 @@
"x": 0.0244
},
"props": {
"params": {
"tagProps": [
"System/MCM02/Conveyor/VFD/UL3_7_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -659,6 +756,20 @@
"x": 0.5
},
"props": {
"params": {
"tagProps": [
"System/MCM02/Conveyor/VFD/UL3_8_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -692,6 +803,20 @@
"x": 0.625
},
"props": {
"params": {
"tagProps": [
"System/MCM02/Conveyor/VFD/UL3_9_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -725,6 +850,20 @@
"x": 0.75
},
"props": {
"params": {
"tagProps": [
"System/MCM02/Conveyor/VFD/PS1_1_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -758,6 +897,20 @@
"x": 0.375
},
"props": {
"params": {
"tagProps": [
"System/MCM02/Conveyor/VFD/PS1_2_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -792,6 +945,20 @@
"y": 0.0019
},
"props": {
"params": {
"tagProps": [
"System/MCM02/IO_BLOCK/FIO/UL3_3_FIO1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/FIO_SIO"
},
"type": "ia.display.view"
@ -826,7 +993,7 @@
"y": 0.6342
},
"props": {
"text": "DPM2_PS1-1 11.200.1.3",
"text": "PS1_1_DPM2",
"textStyle": {
"fontSize": "2vmin"
}

View File

@ -30,7 +30,7 @@
"in": false,
"out": false,
"tagProps": [
"System/MCM01/DPM/PS3_1_DPM",
"System/MCM01/IO_BLOCK/DPM/PS3_1_DPM",
"value",
"value",
"value",
@ -1894,7 +1894,7 @@
"name": "path54149",
"stroke": {
"dasharray": "none",
"width": "0.188974"
"width": 0.188974
},
"type": "path"
},

Binary file not shown.

Before

Width:  |  Height:  |  Size: 130 KiB

View File

@ -17,65 +17,6 @@
},
"root": {
"children": [
{
"children": [
{
"meta": {
"name": "Label"
},
"position": {
"height": 0.6613,
"width": 0.9999,
"y": 0.3387
},
"propConfig": {
"props.text": {
"binding": {
"config": {
"path": "view.params.MCM"
},
"type": "property"
}
}
},
"props": {
"style": {
"borderColor": "#1A1A1A",
"borderStyle": "solid",
"overflow": "visible",
"whiteSpace": "normal",
"wordBreak": "break-all"
},
"textStyle": {
"fontFamily": "inherit",
"fontSize": "1vmin",
"textAlign": "center"
}
},
"type": "ia.display.label"
}
],
"meta": {
"name": "CoordinateContainer"
},
"position": {
"height": 0.1211,
"rotate": {
"anchor": "-132% -413%"
},
"width": 0.7094,
"x": 0.1452,
"y": 0.065
},
"props": {
"mode": "percent",
"style": {
"overflow": "hidden",
"transform": "scale(1)"
}
},
"type": "ia.container.coord"
},
{
"meta": {
"name": "EN4TR"
@ -3717,13 +3658,53 @@
"viewBox": "0 0 64.847 270.00001"
},
"type": "ia.shapes.svg"
},
{
"meta": {
"name": "Label"
},
"position": {
"height": 0.074,
"width": 0.7028,
"x": 0.1444,
"y": 0.1245
},
"propConfig": {
"props.text": {
"binding": {
"config": {
"path": "view.params.MCM"
},
"type": "property"
}
}
},
"props": {
"style": {
"borderColor": "#1A1A1A",
"borderStyle": "solid",
"whiteSpace": "normal",
"wordBreak": "break-all"
},
"textStyle": {
"fontFamily": "inherit",
"fontSize": "1vmin",
"textAlign": "center"
}
},
"type": "ia.display.label"
}
],
"meta": {
"name": "root"
},
"props": {
"mode": "percent"
"mode": "percent",
"style": {
"borderStyle": "solid",
"borderWidth": 3,
"overflow": "hidden"
}
},
"type": "ia.container.coord"
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

File diff suppressed because it is too large Load Diff

View File

@ -2,18 +2,17 @@
"custom": {},
"params": {
"tagProps": [
"TAG0",
"TAG1",
"TAG2",
"TAG3",
"TAG4",
"TAG5",
"TAG6",
"TAG7",
"TAG8",
"TAG9",
"TAG10",
"TAG11"
"System/MCM01/IO_BLOCK/DPM/PS3_5_DPM1",
"System/MCM01/IO_BLOCK/SIO/PS3_3_SIO1",
"System/MCM01/IO_BLOCK/SIO/PS3_4_SIO1",
"System/MCM01/IO_BLOCK/SIO/PS3_5_SIO1",
"System/MCM01/IO_BLOCK/SIO/PS3_6_SIO1",
"System/MCM01/IO_BLOCK/SIO/PS3_7_SIO1",
"System/MCM01/IO_BLOCK/SIO/PS3_8_SIO1",
"System/MCM01/IO_BLOCK/SIO/PS3_9AL_SIO1",
"System/MCM01/IO_BLOCK/SIO/PS3_9B_SIO1",
"System/MCM01/IO_BLOCK/SIO/PS3_11_SIO1",
"System/MCM01/IO_BLOCK/SIO/PS3_10_SIO1"
]
},
"props": {
@ -63,7 +62,7 @@
"in": false,
"out": false,
"tagProps": [
"System/MCM01/DPM/PS3_5_DPM1",
"System/MCM01/IO_BLOCK/DPM/PS3_5_DPM1",
"value",
"value",
"value",
@ -95,7 +94,7 @@
"params": {
"IP": "11.200.1.54",
"tagProps": [
"System/MCM01/IO/SIO/PS3_3_SIO1",
"System/MCM01/IO_BLOCK/SIO/PS3_3_SIO1",
"value",
"value",
"value",
@ -125,7 +124,7 @@
"params": {
"IP": "11.200.1.55",
"tagProps": [
"System/MCM01/IO/SIO/PS3_4_SIO1",
"System/MCM01/IO_BLOCK/SIO/PS3_4_SIO1",
"value",
"value",
"value",
@ -155,7 +154,7 @@
"params": {
"IP": "11.200.1.56",
"tagProps": [
"System/MCM01/IO/SIO/PS3_5_SIO1",
"System/MCM01/IO_BLOCK/SIO/PS3_5_SIO1",
"value",
"value",
"value",
@ -185,7 +184,7 @@
"params": {
"IP": "11.200.1.57",
"tagProps": [
"System/MCM01/IO/SIO/PS3_6_SIO1",
"System/MCM01/IO_BLOCK/SIO/PS3_6_SIO1",
"value",
"value",
"value",
@ -215,7 +214,7 @@
"params": {
"IP": "11.200.1.58",
"tagProps": [
"System/MCM01/IO/SIO/PS3_7_SIO1",
"System/MCM01/IO_BLOCK/SIO/PS3_7_SIO1",
"value",
"value",
"value",
@ -245,7 +244,7 @@
"params": {
"IP": "11.200.1.59",
"tagProps": [
"System/MCM01/IO/SIO/PS3_8_SIO1",
"System/MCM01/IO_BLOCK/SIO/PS3_8_SIO1",
"value",
"value",
"value",
@ -275,7 +274,7 @@
"params": {
"IP": "11.200.1.60",
"tagProps": [
"System/MCM01/IO/SIO/PS3_9AL_SIO1",
"System/MCM01/IO_BLOCK/SIO/PS3_9AL_SIO1",
"value",
"value",
"value",
@ -308,37 +307,7 @@
"params": {
"IP": "11.200.1.61",
"tagProps": [
"System/MCM01/IO/SIO/PS3_9B_SIO1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "autStand/Custom_Views/Enternet-Windows/Components/FIO_SIO"
},
"type": "ia.display.view"
},
{
"meta": {
"name": "PS3_11_SIO1"
},
"position": {
"height": 0.1667,
"width": 0.0349,
"x": 0.3979,
"y": 0.0064
},
"props": {
"params": {
"IP": "11.200.1.63",
"tagProps": [
"System/MCM01/IO/SIO/PS3_11_SIO1",
"System/MCM01/IO_BLOCK/SIO/PS3_9B_SIO1",
"value",
"value",
"value",
@ -386,7 +355,37 @@
"params": {
"IP": "11.200.1.62",
"tagProps": [
"System/MCM01/IO/SIO/PS3_10_SIO1",
"System/MCM01/IO_BLOCK/SIO/PS3_10_SIO1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "autStand/Custom_Views/Enternet-Windows/Components/FIO_SIO"
},
"type": "ia.display.view"
},
{
"meta": {
"name": "PS3_11_SIO1"
},
"position": {
"height": 0.1667,
"width": 0.0349,
"x": 0.3979,
"y": 0.0064
},
"props": {
"params": {
"IP": "11.200.1.63",
"tagProps": [
"System/MCM01/IO_BLOCK/SIO/PS3_11_SIO1",
"value",
"value",
"value",

View File

@ -0,0 +1,313 @@
{
"pages": {
"/": {
"title": "",
"viewPath": "Main-Views/Home"
},
"/CarrierSection1": {
"title": "",
"viewPath": "Additional-Home-View/CarrierSections/CarrierSection1"
},
"/CarrierSection2": {
"title": "",
"viewPath": "Additional-Home-View/CarrierSections/CarrierSection2"
},
"/CarrierSection3": {
"title": "",
"viewPath": "Additional-Home-View/CarrierSections/CarrierSection3"
},
"/CarrierSection4": {
"title": "",
"viewPath": "Additional-Home-View/CarrierSections/CarrierSection4"
},
"/CarrierSection5": {
"title": "",
"viewPath": "Additional-Home-View/CarrierSections/CarrierSection5"
},
"/CarrierSection6": {
"title": "",
"viewPath": "Additional-Home-View/CarrierSections/CarrierSection6"
},
"/CarrierSection7": {
"title": "",
"viewPath": "Additional-Home-View/CarrierSections/CarrierSection7"
},
"/CarrierSection8": {
"title": "",
"viewPath": "Additional-Home-View/CarrierSections/CarrierSection8"
},
"/Command": {
"title": "",
"viewPath": "Main-Views/CommandControl"
},
"/DetailedView/:detailedView/:plcTagPath": {
"title": "DetailedView",
"viewPath": "Detailed-Views/Detail"
},
"/DetailedView/MCM01 Bulk Inbound": {
"title": "",
"viewPath": "Detailed-Views/MCM01 Bulk Inbound"
},
"/DetailedView/MCM02 Fluid Inbound": {
"title": "",
"viewPath": "Detailed-Views/MCM02 Fluid Inbound"
},
"/DetailedView/MCM03 Fluid Inbound": {
"title": "",
"viewPath": "Detailed-Views/MCM03 Fluid Inbound"
},
"/DetailedView/MCM04 Sorter Destination, Chutes and Bypass": {
"title": "",
"viewPath": "Detailed-Views/MCM04 Sorter Destination, Chutes and Bypass"
},
"/DetailedView/MCM05 Sorter Destination and Chutes": {
"title": "",
"viewPath": "Detailed-Views/MCM05 Sorter Destination and Chutes"
},
"/Device-manager": {
"viewPath": "Main-Views/Device-Manager/DeviceManager"
},
"/Help": {
"title": "Help",
"viewPath": "Main-Views/Help"
},
"/MAP-Home": {
"title": "",
"viewPath": "Additional-Home-View/SAT9"
},
"/Monitron": {
"title": "",
"viewPath": "Main-Views/Monitron"
},
"/Oil": {
"viewPath": "Main-Views/OilMonitoring"
},
"/Real-Time": {
"title": "",
"viewPath": "Alarm-Views/RealTime"
},
"/Temperature": {
"title": "",
"viewPath": "Main-Views/TempMonitoring"
},
"/Tools": {
"title": "Tools",
"viewPath": "Main-Views/ToolBox"
},
"/Windows/Statistics": {
"title": "",
"viewPath": "Windows/Statistics"
},
"/Windows/Status": {
"title": "",
"viewPath": "Windows/Status"
}
},
"sharedDocks": {
"bottom": [
{
"anchor": "fixed",
"autoBreakpoint": 480,
"content": "cover",
"handle": "show",
"iconUrl": "material/notifications_active",
"id": "Docked-South",
"modal": false,
"resizable": false,
"show": "onDemand",
"size": 165,
"viewParams": {},
"viewPath": "Navigation-Views/Docked-South"
}
],
"cornerPriority": "top-bottom",
"left": [
{
"anchor": "fixed",
"autoBreakpoint": 805,
"content": "auto",
"handle": "autoHide",
"iconUrl": "",
"id": "Docked-West",
"modal": false,
"resizable": false,
"show": "auto",
"size": 70,
"viewParams": {},
"viewPath": "Navigation-Views/Docked-West"
}
],
"right": [
{
"anchor": "fixed",
"autoBreakpoint": 480,
"content": "cover",
"handle": "hide",
"iconUrl": "",
"id": "Docked-Eas-TPR",
"modal": false,
"resizable": false,
"show": "onDemand",
"size": 400,
"viewParams": {},
"viewPath": "PopUp-Views/Controller-Equipment/Information-Docked-East-Tipper"
},
{
"anchor": "fixed",
"autoBreakpoint": 480,
"content": "cover",
"handle": "hide",
"iconUrl": "",
"id": "Docked-East-EPC",
"modal": false,
"resizable": false,
"show": "onDemand",
"size": 400,
"viewParams": {},
"viewPath": "PopUp-Views/Controller-Equipment/Information-Docked-East-EPC"
},
{
"anchor": "fixed",
"autoBreakpoint": 480,
"content": "cover",
"handle": "hide",
"iconUrl": "",
"id": "Docked-East-VFD",
"modal": false,
"resizable": false,
"show": "onDemand",
"size": 400,
"viewParams": {},
"viewPath": "PopUp-Views/Controller-Equipment/Information-Docked-East-VFD"
},
{
"anchor": "fixed",
"autoBreakpoint": 480,
"content": "cover",
"handle": "hide",
"iconUrl": "",
"id": "Docked-East-SNP",
"modal": false,
"resizable": false,
"show": "onDemand",
"size": 400,
"viewParams": {},
"viewPath": "PopUp-Views/Controller-Equipment/Information-Docked-East-StatusNonPowered"
},
{
"anchor": "fixed",
"autoBreakpoint": 480,
"content": "cover",
"handle": "hide",
"iconUrl": "",
"id": "Docked-East-DS",
"modal": false,
"resizable": false,
"show": "onDemand",
"size": 400,
"viewParams": {},
"viewPath": "PopUp-Views/Controller-Equipment/Information-Docked-East-Device-Status"
},
{
"anchor": "fixed",
"autoBreakpoint": 480,
"content": "cover",
"handle": "hide",
"iconUrl": "",
"id": "Docked-East-MCM",
"modal": false,
"resizable": false,
"show": "onDemand",
"size": 400,
"viewParams": {},
"viewPath": "PopUp-Views/Controller-Equipment/Information-Docked-East-MCM"
},
{
"anchor": "fixed",
"autoBreakpoint": 480,
"content": "cover",
"handle": "hide",
"iconUrl": "",
"id": "Docked-East-Extendo",
"modal": false,
"resizable": false,
"show": "onDemand",
"size": 400,
"viewParams": {},
"viewPath": "PopUp-Views/Controller-Equipment/Information-Docked-East-Extendo"
},
{
"anchor": "fixed",
"autoBreakpoint": 480,
"content": "cover",
"handle": "hide",
"iconUrl": "",
"id": "Docked-East-BTN",
"modal": false,
"resizable": false,
"show": "onDemand",
"size": 400,
"viewParams": {},
"viewPath": "PopUp-Views/Controller-Equipment/Information-Docked-East-Button"
},
{
"anchor": "fixed",
"autoBreakpoint": 480,
"content": "cover",
"handle": "hide",
"iconUrl": "",
"id": "Docked-East-SS-BTN",
"modal": false,
"resizable": false,
"show": "onDemand",
"size": 400,
"viewParams": {},
"viewPath": "PopUp-Views/Controller-Equipment/Information-Docked-East-SS-Button"
},
{
"anchor": "fixed",
"autoBreakpoint": 480,
"content": "cover",
"handle": "hide",
"iconUrl": "",
"id": "Docked-East-CH",
"modal": false,
"resizable": false,
"show": "onDemand",
"size": 400,
"viewParams": {},
"viewPath": "PopUp-Views/Controller-Equipment/Information-Docked-East-Chute"
},
{
"anchor": "fixed",
"autoBreakpoint": 480,
"content": "cover",
"handle": "hide",
"iconUrl": "",
"id": "Docked-East-CHPB",
"modal": false,
"resizable": false,
"show": "onDemand",
"size": 400,
"viewParams": {},
"viewPath": "PopUp-Views/Controller-Equipment/Information-Docked-East-Chute-EN"
}
],
"top": [
{
"anchor": "fixed",
"autoBreakpoint": 480,
"content": "auto",
"handle": "hide",
"iconUrl": "",
"id": "",
"modal": false,
"resizable": false,
"show": "visible",
"size": 50,
"viewParams": {},
"viewPath": "Framework/Breakpoint"
}
]
}
}

View File

@ -2,13 +2,14 @@
"custom": {},
"params": {
"tagProps": [
"TAG0",
"TAG1",
"TAG2",
"TAG3",
"TAG4",
"TAG5",
"TAG6"
"System/MCM02/IO_BLOCK/DPM/PS1_4_DPM1",
"System/MCM02/Conveyor/VFD/PS1_3_VFD1",
"System/MCM02/Conveyor/VFD/PS1_4_VFD1",
"System/MCM02/Conveyor/VFD/PS1_5A_VFD1",
"System/MCM02/Conveyor/VFD/PS1_5B_VFD1",
"System/MCM02/Conveyor/VFD/PS1_6_VFD1",
"System/MCM02/Conveyor/VFD/PS1_7_VFD1",
"System/MCM02/Conveyor/VFD/PS1_8_VFD1"
]
},
"props": {
@ -34,10 +35,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[0]}",
"0": "{view.params.tagProps[1]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -66,10 +67,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[1]}",
"0": "{view.params.tagProps[2]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -98,10 +99,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[2]}",
"0": "{view.params.tagProps[3]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -130,10 +131,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[3]}",
"0": "{view.params.tagProps[4]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -162,10 +163,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[4]}",
"0": "{view.params.tagProps[5]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -194,10 +195,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[5]}",
"0": "{view.params.tagProps[6]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -226,10 +227,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[6]}",
"0": "{view.params.tagProps[7]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -308,7 +309,19 @@
false
],
"in": false,
"out": false
"out": false,
"tagProps": [
"System/MCM02/IO_BLOCK/DPM/PS1_4_DPM1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/DPM_TO_HUB"
},
@ -325,6 +338,20 @@
"y": 0.4991
},
"props": {
"params": {
"tagProps": [
"System/MCM02/Conveyor/VFD/PS1_3_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -359,6 +386,20 @@
"y": 0.6677
},
"props": {
"params": {
"tagProps": [
"System/MCM02/Conveyor/VFD/PS1_4_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -393,6 +434,20 @@
"y": 0.8333
},
"props": {
"params": {
"tagProps": [
"System/MCM02/Conveyor/VFD/PS1_5A_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -427,6 +482,20 @@
"y": 0.3333
},
"props": {
"params": {
"tagProps": [
"System/MCM02/Conveyor/VFD/PS1_5B_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -461,6 +530,20 @@
"y": 0.1667
},
"props": {
"params": {
"tagProps": [
"System/MCM02/Conveyor/VFD/PS1_6_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -494,6 +577,20 @@
"x": 0.0244
},
"props": {
"params": {
"tagProps": [
"System/MCM02/Conveyor/VFD/PS1_7_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -527,6 +624,20 @@
"x": 0.5
},
"props": {
"params": {
"tagProps": [
"System/MCM02/Conveyor/VFD/PS1_8_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -561,7 +672,7 @@
"y": 0.6342
},
"props": {
"text": "DPM1_PS1-4 11.200.1.6",
"text": "PS1_4_DPM1",
"textStyle": {
"fontSize": "2vmin"
}

View File

@ -1,149 +0,0 @@
{
"custom": {},
"params": {},
"props": {
"defaultSize": {
"height": 1080,
"width": 1920
}
},
"root": {
"children": [
{
"meta": {
"name": "Image"
},
"position": {
"height": 1,
"width": 1
},
"propConfig": {
"props.source": {
"binding": {
"config": {
"expression": "\"http://127.0.0.1:5500/SAT9%20Overview.svg?var\" + toMillis(now(100))"
},
"type": "expr"
}
}
},
"props": {
"fit": {
"mode": "fill"
}
},
"type": "ia.display.image"
},
{
"meta": {
"name": "MCM01_Button"
},
"position": {
"height": 0.038,
"width": 0.1078,
"x": 0.1661,
"y": 0.7657
},
"props": {
"params": {
"pageid": "DetailedView/MCM01 Bulk Inbound",
"panel_id": "value",
"text": "MCM01 Bulk Inbound"
},
"path": "Symbol-Views/Equipment-Views/Area_Nav_Button"
},
"type": "ia.display.view"
},
{
"meta": {
"name": "MCM03_Button"
},
"position": {
"height": 0.0417,
"width": 0.1078,
"x": 0.7551,
"y": 0.7879
},
"props": {
"params": {
"pageid": "DetailedView/MCM03 Fluid Inbound",
"panel_id": "value",
"text": "MCM03 Fluid Inbound"
},
"path": "Symbol-Views/Equipment-Views/Area_Nav_Button"
},
"type": "ia.display.view"
},
{
"meta": {
"name": "MCM05_Button"
},
"position": {
"height": 0.0426,
"width": 0.1521,
"x": 0.4483,
"y": 0.1462
},
"props": {
"params": {
"pageid": "DetailedView/MCM05 Sorter Destination and Chutes",
"panel_id": "value",
"text": "MCM05 Sorter Destination and Chutes"
},
"path": "Symbol-Views/Equipment-Views/Area_Nav_Button"
},
"type": "ia.display.view"
},
{
"meta": {
"name": "MCM02_Button"
},
"position": {
"height": 0.0417,
"width": 0.1078,
"x": 0.365,
"y": 0.8175
},
"props": {
"params": {
"pageid": "DetailedView/MCM02 Fluid Inbound",
"panel_id": "value",
"text": "MCM02 Fluid Inbound"
},
"path": "Symbol-Views/Equipment-Views/Area_Nav_Button"
},
"type": "ia.display.view"
},
{
"meta": {
"name": "MCM04_Button"
},
"position": {
"height": 0.0426,
"rotate": {
"anchor": "50% 11%"
},
"width": 0.1521,
"x": 0.6676,
"y": 0.4231
},
"props": {
"params": {
"pageid": "DetailedView/MCM04 Sorter Destination, Chutes and Bypass",
"panel_id": "value",
"text": "MCM04 Sorter Destination, Chutes and Bypass"
},
"path": "Symbol-Views/Equipment-Views/Area_Nav_Button"
},
"type": "ia.display.view"
}
],
"meta": {
"name": "root"
},
"props": {
"mode": "percent"
},
"type": "ia.container.coord"
}
}

View File

@ -95,16 +95,16 @@
],
"FilteredViews": [
{
"Name": "ARSAW",
"Path": "Symbol-Views/Equipment-Views/ARSAW",
"Name": "DeviceStatus",
"Path": "Symbol-Views/Equipment-Views/DeviceStatus",
"instancePosition": {},
"instanceStyle": {
"classes": ""
}
},
{
"Name": "AUS",
"Path": "Symbol-Views/Equipment-Views/AUS",
"Name": "Button",
"Path": "Symbol-Views/Equipment-Views/Button",
"instancePosition": {},
"instanceStyle": {
"classes": ""
@ -127,64 +127,24 @@
}
},
{
"Name": "Estop",
"Path": "Symbol-Views/Equipment-Views/Estop",
"Name": "Extendo",
"Path": "Symbol-Views/Equipment-Views/Extendo",
"instancePosition": {},
"instanceStyle": {
"classes": ""
}
},
{
"Name": "GoodsLift",
"Path": "Symbol-Views/Equipment-Views/GoodsLift",
"Name": "MCM",
"Path": "Symbol-Views/Equipment-Views/MCM",
"instancePosition": {},
"instanceStyle": {
"classes": ""
}
},
{
"Name": "JAM",
"Path": "Symbol-Views/Equipment-Views/JAM",
"instancePosition": {},
"instanceStyle": {
"classes": ""
}
},
{
"Name": "Light_Curtain",
"Path": "Symbol-Views/Equipment-Views/Light_Curtain",
"instancePosition": {},
"instanceStyle": {
"classes": ""
}
},
{
"Name": "Main_Panel",
"Path": "Symbol-Views/Equipment-Views/Main_Panel",
"instancePosition": {},
"instanceStyle": {
"classes": ""
}
},
{
"Name": "Network",
"Path": "Symbol-Views/Equipment-Views/Network",
"instancePosition": {},
"instanceStyle": {
"classes": ""
}
},
{
"Name": "Pointer",
"Path": "Symbol-Views/Equipment-Views/Pointer",
"instancePosition": {},
"instanceStyle": {
"classes": ""
}
},
{
"Name": "PressureSwitch",
"Path": "Symbol-Views/Equipment-Views/PressureSwitch",
"Name": "SS_Button",
"Path": "Symbol-Views/Equipment-Views/SS_Button",
"instancePosition": {},
"instanceStyle": {
"classes": ""
@ -215,48 +175,8 @@
}
},
{
"Name": "PullChord_Line_Vertical",
"Path": "Symbol-Views/Equipment-Views/PullChord_Line_Vertical",
"instancePosition": {},
"instanceStyle": {
"classes": ""
}
},
{
"Name": "RFID",
"Path": "Symbol-Views/Equipment-Views/RFID",
"instancePosition": {},
"instanceStyle": {
"classes": ""
}
},
{
"Name": "Robot",
"Path": "Symbol-Views/Equipment-Views/Robot",
"instancePosition": {},
"instanceStyle": {
"classes": ""
}
},
{
"Name": "SLAMs",
"Path": "Symbol-Views/Equipment-Views/SLAMs",
"instancePosition": {},
"instanceStyle": {
"classes": ""
}
},
{
"Name": "SafetyGate",
"Path": "Symbol-Views/Equipment-Views/SafetyGate",
"instancePosition": {},
"instanceStyle": {
"classes": ""
}
},
{
"Name": "Stacker_Destacker",
"Path": "Symbol-Views/Equipment-Views/Stacker_Destacker",
"Name": "THEA",
"Path": "Symbol-Views/Equipment-Views/THEA",
"instancePosition": {},
"instanceStyle": {
"classes": ""
@ -271,32 +191,16 @@
}
},
{
"Name": "StatusNonPowered",
"Path": "Symbol-Views/Equipment-Views/StatusNonPowered",
"Name": "Chute",
"Path": "Symbol-Views/Equipment-Views/Chute",
"instancePosition": {},
"instanceStyle": {
"classes": ""
}
},
{
"Name": "StatusNonPowered_NS",
"Path": "Symbol-Views/Equipment-Views/StatusNonPowered_NS",
"instancePosition": {},
"instanceStyle": {
"classes": ""
}
},
{
"Name": "Status_NS",
"Path": "Symbol-Views/Equipment-Views/Status_NS",
"instancePosition": {},
"instanceStyle": {
"classes": ""
}
},
{
"Name": "THEA",
"Path": "Symbol-Views/Equipment-Views/THEA",
"Name": "Tipper",
"Path": "Symbol-Views/Equipment-Views/Tipper",
"instancePosition": {},
"instanceStyle": {
"classes": ""

View File

@ -0,0 +1,961 @@
{
"custom": {
"key": {
"alt_pageid": "library",
"pageid": "library",
"start_time": {
"$": [
"ts",
192,
1702653666845
],
"$ts": 1702653102761
}
}
},
"events": {
"system": {
"onStartup": {
"config": {
"script": "\t#############################################################################################\n\t# Purpose:\tThis script searches the current views in the parent project. Script compares \t#\n\t#\t\t\tthe information from S3 to make sure the correct paths and information is\t\t#\n\t#\t\t\tdisplayed to the child objects. Where the path is the key for the JSON\t\t\t#\n\t# Login: \t\t\tDate:\t\t\t\t#Comment:\t\t\t\t\t\t\t\tVersion:\t# \n\t# dmamani\t\t\t1/4/23\t\t\t\tRelease to Production\t\t\t\t\tV1\t\t\t#\n\t# \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t#\n\t#############################################################################################\n\t\t\n\t# - Params to Force Filters to show all symbols on the custom properties\n\tself.session.custom.alarm_filter.show_running \u003d True\n\tself.session.custom.alarm_filter.show_safety \u003d True\n\tself.session.custom.alarm_filter.show_diagnostic \u003d True\n\tself.session.custom.alarm_filter.show_gateways \u003d True\n\tself.session.custom.alarm_filter.show_low_alarm \u003d True\n\tfrom SymbolLibrary import list_categories, fetch_library, update_symbol_library\n\t# - Default Symbol JSON structure definitions\n\tdefault_symbol_info \u003d {\"description\": \"\",\t\"name\": \"\",\t\"category\": \"\",\"info\": \"\"} \n\t# - Get all Symbol Views and write them to tags\n\tproject_info \u003d system.perspective.getProjectInfo()\n\tviews \u003d project_info.get(\u0027views\u0027,[])\n\t# - Define criterias\n\tfilter_criterion \u003d \"Symbol-Views\"\n\tfilter_criterion2 \u003d \"Symbol-Library-Views\"\n\tfilter_criterion3 \u003d \"Controller-Views\"\n\tfilter_criterion4 \u003d \"Symbol-Views/Equipment-Views/Test\"\n\t# - Filter views that are not necessary for the symbol library and ensure the correct path\n\tfiltered_views \u003d [\n\t\tview for view in views \n\t\tif filter_criterion in view.get(\u0027path\u0027,\u0027\u0027) \n\t\tand not filter_criterion2 in view.get(\u0027path\u0027,\u0027\u0027) \n\t\tand not filter_criterion3 in view.get(\u0027path\u0027,\u0027\u0027)\n\t\tand not filter_criterion4 in view.get(\u0027path\u0027,\u0027\u0027)\n\t\t]\n\t# - Create JSON from the list \n\tjson_structure \u003d []\n\tsymbol_view_list \u003d []\n\tfor view in filtered_views:\n\t\tinstance \u003d {\n\t\t\t\"instanceStyle\": {\n\t\t\t\t\"classes\": \"\"\n\t\t\t},\n\t\t\t\"instancePosition\": {},\n\t\t\t\"Path\": view.get(\u0027path\u0027,\u0027\u0027),\n\t\t\t\"forceRunning\": 3,\n\t\t\t\"forceFault\": None\n\t\t}\n\t\tjson_structure.append(instance)\n\t\tsymbol_view_list.append(view.get(\u0027path\u0027,\u0027\u0027))\n\tjson_structure.sort(key \u003d lambda x:x[\u0027Path\u0027].split(\"/\")[len(x[\u0027Path\u0027].split(\"/\"))-1])\n\t# - Encode JSON for igniton variables to populate correctly\n\tjson_result \u003d system.util.jsonEncode(json_structure)\n\tself.params.Dataset \u003d filtered_views\n\tself.params.FilteredViews \u003d json_structure\n\tsystem.perspective.print(filtered_views)\n\t\n\t# - Get all Symbol Categories from JSON Dictionary\t\n\tremote_json \u003d fetch_library(username\u003dself.session.props.auth.user.userName)\n\tfor path in json_structure:\n\t\tif path[\"Path\"] not in remote_json:\n\t\t\tupdate_symbol_library(path[\"Path\"], username\u003dself.session.props.auth.user.userName, **default_symbol_info)\n\t\t\tremote_json[path[\"Path\"]] \u003d default_symbol_info\n\t# - Remove by key in case symbol does not exist in Folder Structure\n\tself.params.SymbolLibrary \u003d {k: v for k, v in remote_json.items() if k in symbol_view_list}\n\tcategory_data \u003d [{\"Category\": category} for category in list_categories(self.params.SymbolLibrary)]\n\tself.params.CategoryList \u003d category_data\n"
},
"scope": "G",
"type": "script"
}
}
},
"params": {
"CategoryList": [
{
"Category": "ALL"
},
{
"Category": "Control"
},
{
"Category": "Device Status"
},
{
"Category": "Equipment Status"
},
{
"Category": "Field Device"
},
{
"Category": "Machine"
},
{
"Category": "Network"
},
{
"Category": "Not in use"
},
{
"Category": "Safety"
}
],
"SelectedCategory": "",
"SelectedDescription": "",
"SelectedInfo": "",
"SelectedPath": "",
"SelectedRow": "Device Status",
"SymbolDetails": {
"ARSAW": {
"category": "",
"description": "",
"info": "Test",
"path": "Symbol-Views/Equipment-Views/ARSAW"
},
"AUS": {
"category": "A",
"description": "AUS DESCRIPTION AUS DESCRIPTIONAUS DESCRIPTIONAUS DESCRIPTIONAUS DESCRIPTIONAUS DESCRIPTIONAUS DESCRIPTIONAUS DESCRIPTIONAUS DESCRIPTIONAUS DESCRIPTIONAUS DESCRIPTIONAUS DESCRIPTIONAUS DESCRIPTIONAUS DESCRIPTIONAUS DESCRIPTIONAUS DESCRIPTIONAUS DESCRIPTIONAUS DESCRIPTION",
"info": "AUS INFO AUS INFO AUS INFO AUS INFO AUS INFO AUS INFO AUS INFO AUS INFO AUS INFO AUS INFO ",
"path": "Symbol-Views/Equipment-Views/AUS"
},
"Camera": {
"category": "",
"description": "",
"info": "",
"path": "Symbol-Views/Equipment-Views/Camera"
},
"ControlCabinet": {
"category": "",
"description": "",
"info": "### Symbol Information\nDate Created: 12/20/21\n\nCreated By: amazonuser\n\nSize: 10X10",
"path": "Symbol-Views/Equipment-Views/ControlCabinet"
},
"DeviceStatus": {
"category": "B",
"description": "",
"info": "",
"path": "Symbol-Views/Device-Views/DeviceStatus"
},
"DeviceStatus_old": {
"category": "",
"description": "",
"info": "",
"path": "Symbol-Views/Device-Views/DeviceStatus_old"
},
"Estop": {
"category": "C",
"description": "E-stop description, E-stop description, E-stop description, E-stop description, E-stop description",
"info": "E-stop info, E-stop info, E-stop info, E-stop info, E-stop info, E-stop info, E-stop info",
"path": "Symbol-Views/Equipment-Views/Estop"
},
"GoodsLift": {
"category": "",
"description": "",
"info": "",
"path": "Symbol-Views/Equipment-Views/GoodsLift"
},
"JAM": {
"category": "",
"description": "",
"info": "",
"path": "Symbol-Views/Equipment-Views/JAM"
},
"Light_Curtain": {
"category": "B",
"description": "",
"info": "",
"path": "Symbol-Views/Equipment-Views/Light_Curtain"
},
"Main_Panel": {
"category": "",
"description": "",
"info": "",
"path": "Symbol-Views/Equipment-Views/Main_Panel"
},
"Network": {
"category": "",
"description": "",
"info": "",
"path": "Symbol-Views/Equipment-Views/Network"
},
"Pointer": {
"category": "",
"description": "",
"info": "",
"path": "Symbol-Views/Equipment-Views/Pointer"
},
"PressureSwitch": {
"category": "",
"description": "",
"info": "",
"path": "Symbol-Views/Equipment-Views/PressureSwitch"
},
"PullChord": {
"category": "",
"description": "",
"info": "",
"path": "Symbol-Views/Equipment-Views/PullChord"
},
"PullChord_End": {
"category": "",
"description": "",
"info": "",
"path": "Symbol-Views/Equipment-Views/PullChord_End"
},
"PullChord_Line": {
"category": "",
"description": "",
"info": "",
"path": "Symbol-Views/Equipment-Views/PullChord_Line"
},
"PullChord_Line_Vertical": {
"category": "",
"description": "",
"info": "",
"path": "Symbol-Views/Equipment-Views/PullChord_Line_Vertical"
},
"RFID": {
"category": "",
"description": "",
"info": "",
"path": "Symbol-Views/Equipment-Views/RFID"
},
"Robot": {
"category": "",
"description": "",
"info": "",
"path": "Symbol-Views/Equipment-Views/Robot"
},
"SLAMs": {
"category": "",
"description": "",
"info": "",
"path": "Symbol-Views/Equipment-Views/SLAMs"
},
"SafetyGate": {
"category": "",
"description": "",
"info": "",
"path": "Symbol-Views/Equipment-Views/SafetyGate"
},
"Stacker_Destacker": {
"category": "",
"description": "",
"info": "",
"path": "Symbol-Views/Equipment-Views/Stacker_Destacker"
},
"Status": {
"category": "",
"description": "",
"info": "",
"path": "Symbol-Views/Equipment-Views/Status"
},
"StatusNonPowered": {
"category": "",
"description": "",
"info": "",
"path": "Symbol-Views/Equipment-Views/StatusNonPowered"
},
"StatusNonPowered_NS": {
"category": "",
"description": "",
"info": "",
"path": "Symbol-Views/Equipment-Views/StatusNonPowered_NS"
},
"Status_NS": {
"category": "",
"description": "",
"info": "",
"path": "Symbol-Views/Equipment-Views/Status_NS"
},
"THEA": {
"category": "",
"description": "",
"info": "",
"path": "Symbol-Views/Equipment-Views/THEA"
}
},
"SymbolLibrary": ""
},
"propConfig": {
"custom.key": {
"persistent": true
},
"params.CategoryList": {
"binding": {
"config": {
"bidirectional": true,
"path": "/root/Dashboard.props.widgets[0].viewParams.Categories"
},
"type": "property"
},
"paramDirection": "inout",
"persistent": true
},
"params.Dataset": {
"binding": {
"config": {
"path": "/root/Dashboard.props.widgets[3].viewParams.Dataset"
},
"type": "property"
}
},
"params.FilteredViews": {
"binding": {
"config": {
"bidirectional": true,
"path": "/root/Dashboard.props.widgets[3].viewParams.FilteredViews"
},
"type": "property"
}
},
"params.SelectedCategory": {
"paramDirection": "input",
"persistent": true
},
"params.SelectedDescription": {
"binding": {
"config": {
"bidirectional": true,
"path": "/root/Dashboard.props.widgets[1].viewParams.Description"
},
"type": "property"
},
"paramDirection": "inout",
"persistent": true
},
"params.SelectedInfo": {
"binding": {
"config": {
"bidirectional": true,
"path": "/root/Dashboard.props.widgets[2].viewParams.Information"
},
"type": "property"
},
"paramDirection": "inout",
"persistent": true
},
"params.SelectedPath": {
"paramDirection": "input",
"persistent": true
},
"params.SelectedRow": {
"onChange": {
"enabled": null,
"script": "\tfrom SymbolLibrary import search_items\n\tsystem.perspective.print(currentValue.value)\n\titems \u003d [{\t\"instanceStyle\": {\n\t\t\t\t\"classes\": \"\"\n\t\t\t\t\t},\n\t\t\t\t\t\"instancePosition\": {},\n\t\t\t\t\t\"forceRunning\": 3,\n\t\t\t\t\t\"forceFault\": None,\n\t\t\t\t\"Path\": item} for item in search_items(self.params.SymbolLibrary,currentValue.value)]\n\tsystem.perspective.print(items)\n\tself.params.FilteredViews \u003d items\n\t\n\t"
},
"paramDirection": "inout",
"persistent": true
},
"params.SymbolDetails": {
"binding": {
"config": {
"path": ""
},
"enabled": false,
"transforms": [
{
"code": "\tfrom SymbolLibrary import library_items\n\treturn library_items",
"type": "script"
}
],
"type": "property"
},
"paramDirection": "inout",
"persistent": true
},
"params.SymbolLibrary": {
"binding": {
"config": {
"path": "/root/Dashboard.props.widgets[3].viewParams.SymbolLibrary"
},
"type": "property"
},
"paramDirection": "inout",
"persistent": true
}
},
"props": {
"defaultSize": {
"height": 786,
"width": 1196
}
},
"root": {
"children": [
{
"events": {
"dom": {
"onDoubleClick": {
"config": {
"draggable": true,
"id": "editItem",
"modal": false,
"overlayDismiss": false,
"resizable": true,
"showCloseIcon": true,
"type": "open",
"viewParams": {
"btnTextPrimary": "Submit Changes",
"btnTextSecondary": "",
"editField1": "{view.params.SelectedCategory}",
"editField2": "{view.params.SelectedInfo}",
"editField3": "{view.params.SelectedDescription}",
"field1Description": "Category",
"field2Description": "Information",
"field3Description": "Description",
"message": " ",
"path": "{view.params.SelectedPath}",
"showCloseBtn": "False",
"title": "Update Symbol Details"
},
"viewPath": "PopUp-Views/EditItem",
"viewportBound": false
},
"scope": "C",
"type": "popup"
}
}
},
"meta": {
"name": "Dashboard"
},
"position": {
"basis": "400px",
"grow": 1
},
"propConfig": {
"props.widgets[0].viewParams.Dataset": {
"binding": {
"config": {
"path": "view.params.Dataset"
},
"type": "property"
}
}
},
"props": {
"editingToggle": false,
"stretch": {
"rowCount": 5
},
"widgets": [
{
"body": {
"style": {
"classes": ""
}
},
"header": {
"enabled": true,
"style": {
"classes": ""
},
"title": "Category"
},
"isConfigurable": false,
"minSize": {
"columnSpan": 1,
"rowSpan": 1
},
"name": "Category",
"position": {
"columnEnd": 3,
"columnStart": 1,
"rowEnd": 3,
"rowStart": 1
},
"style": {
"classes": ""
},
"viewParams": {
"Categories": [
{
"Category": "ALL"
},
{
"Category": "Control"
},
{
"Category": "Device Status"
},
{
"Category": "Equipment Status"
},
{
"Category": "Field Device"
},
{
"Category": "Machine"
},
{
"Category": "Network"
},
{
"Category": "Not in use"
},
{
"Category": "Safety"
}
],
"SelectedRow": ""
},
"viewPath": "Symbol-Views/Symbol-Library-Views/Symbol-Filter-View"
},
{
"body": {
"style": {
"classes": ""
}
},
"header": {
"enabled": true,
"style": {
"classes": ""
},
"title": "Symbol Description"
},
"isConfigurable": false,
"minSize": {
"columnSpan": 1,
"rowSpan": 1
},
"name": "Description",
"position": {
"columnEnd": 9,
"columnStart": 3,
"rowEnd": 6,
"rowStart": 4
},
"style": {
"classes": ""
},
"viewParams": {
"Description": ""
},
"viewPath": "Symbol-Views/Symbol-Library-Views/Selected-Symbol-Description"
},
{
"body": {
"style": {
"classes": ""
}
},
"header": {
"enabled": true,
"style": {
"classes": ""
},
"title": "Symbol Information"
},
"isConfigurable": false,
"minSize": {
"columnSpan": 1,
"rowSpan": 1
},
"name": "Information",
"position": {
"columnEnd": 3,
"columnStart": 1,
"rowEnd": 6,
"rowStart": 3
},
"style": {
"classes": ""
},
"viewParams": {
"Information": ""
},
"viewPath": "Symbol-Views/Symbol-Library-Views/Symbol-Information-View"
},
{
"body": {
"style": {
"classes": ""
}
},
"header": {
"enabled": true,
"style": {
"classes": ""
},
"title": "Symbol Library - All Available Symbols"
},
"isConfigurable": false,
"minSize": {
"columnSpan": 1,
"rowSpan": 1
},
"name": "Description",
"position": {
"columnEnd": 9,
"columnStart": 3,
"rowEnd": 4,
"rowStart": 1
},
"style": {
"classes": ""
},
"viewParams": {
"Dataset": [
{
"path": "Symbol-Views/Device-Views/DeviceStatus"
},
{
"path": "Symbol-Views/Device-Views/DeviceStatus_old"
},
{
"path": "Symbol-Views/Device-Views/Estop"
},
{
"path": "Symbol-Views/Equipment-Views/ARSAW"
},
{
"path": "Symbol-Views/Equipment-Views/AUS"
},
{
"path": "Symbol-Views/Equipment-Views/Camera"
},
{
"path": "Symbol-Views/Equipment-Views/ControlCabinet"
},
{
"path": "Symbol-Views/Equipment-Views/Estop"
},
{
"path": "Symbol-Views/Equipment-Views/GoodsLift"
},
{
"path": "Symbol-Views/Equipment-Views/JAM"
},
{
"path": "Symbol-Views/Equipment-Views/Light_Curtain"
},
{
"path": "Symbol-Views/Equipment-Views/Main_Panel"
},
{
"path": "Symbol-Views/Equipment-Views/Network"
},
{
"path": "Symbol-Views/Equipment-Views/Pointer"
},
{
"path": "Symbol-Views/Equipment-Views/PressureSwitch"
},
{
"path": "Symbol-Views/Equipment-Views/PullChord"
},
{
"path": "Symbol-Views/Equipment-Views/PullChord_End"
},
{
"path": "Symbol-Views/Equipment-Views/PullChord_Line"
},
{
"path": "Symbol-Views/Equipment-Views/PullChord_Line_Vertical"
},
{
"path": "Symbol-Views/Equipment-Views/RFID"
},
{
"path": "Symbol-Views/Equipment-Views/Robot"
},
{
"path": "Symbol-Views/Equipment-Views/SLAMs"
},
{
"path": "Symbol-Views/Equipment-Views/SafetyGate"
},
{
"path": "Symbol-Views/Equipment-Views/Stacker_Destacker"
},
{
"path": "Symbol-Views/Equipment-Views/Status"
},
{
"path": "Symbol-Views/Equipment-Views/StatusNonPowered"
},
{
"path": "Symbol-Views/Equipment-Views/StatusNonPowered_NS"
},
{
"path": "Symbol-Views/Equipment-Views/Status_NS"
},
{
"path": "Symbol-Views/Equipment-Views/THEA"
},
{
"path": "Symbol-Views/Equipment-Views/Test"
}
],
"FilteredViews": [
{
"Path": "Symbol-Views/Equipment-Views/ARSAW",
"forceFault": null,
"forceRunning": 3,
"instancePosition": {},
"instanceStyle": {
"classes": ""
}
},
{
"Path": "Symbol-Views/Equipment-Views/AUS",
"forceFault": null,
"forceRunning": 3,
"instancePosition": {},
"instanceStyle": {
"classes": ""
}
},
{
"Path": "Symbol-Views/Equipment-Views/Camera",
"forceFault": null,
"forceRunning": 3,
"instancePosition": {},
"instanceStyle": {
"classes": ""
}
},
{
"Path": "Symbol-Views/Equipment-Views/CognexCamera",
"forceFault": null,
"forceRunning": 3,
"instancePosition": {},
"instanceStyle": {
"classes": ""
}
},
{
"Path": "Symbol-Views/Equipment-Views/ControlCabinet",
"forceFault": null,
"forceRunning": 3,
"instancePosition": {},
"instanceStyle": {
"classes": ""
}
},
{
"Path": "Symbol-Views/Device-Views/DeviceStatus",
"forceFault": null,
"forceRunning": 3,
"instancePosition": {},
"instanceStyle": {
"classes": ""
}
},
{
"Path": "Symbol-Views/Device-Views/DeviceStatus_old",
"forceFault": null,
"forceRunning": 3,
"instancePosition": {},
"instanceStyle": {
"classes": ""
}
},
{
"Path": "Symbol-Views/Device-Views/Estop",
"forceFault": null,
"forceRunning": 3,
"instancePosition": {},
"instanceStyle": {
"classes": ""
}
},
{
"Path": "Symbol-Views/Equipment-Views/Estop",
"forceFault": null,
"forceRunning": 3,
"instancePosition": {},
"instanceStyle": {
"classes": ""
}
},
{
"Path": "Symbol-Views/Equipment-Views/GoodsLift",
"forceFault": null,
"forceRunning": 3,
"instancePosition": {},
"instanceStyle": {
"classes": ""
}
},
{
"Path": "Symbol-Views/Equipment-Views/JAM",
"forceFault": null,
"forceRunning": 3,
"instancePosition": {},
"instanceStyle": {
"classes": ""
}
},
{
"Path": "Symbol-Views/Equipment-Views/Light_Curtain",
"forceFault": null,
"forceRunning": 3,
"instancePosition": {},
"instanceStyle": {
"classes": ""
}
},
{
"Path": "Symbol-Views/Equipment-Views/Main_Panel",
"forceFault": null,
"forceRunning": 3,
"instancePosition": {},
"instanceStyle": {
"classes": ""
}
},
{
"Path": "Symbol-Views/Equipment-Views/Network",
"forceFault": null,
"forceRunning": 3,
"instancePosition": {},
"instanceStyle": {
"classes": ""
}
},
{
"Path": "Symbol-Views/Equipment-Views/Pointer",
"forceFault": null,
"forceRunning": 3,
"instancePosition": {},
"instanceStyle": {
"classes": ""
}
},
{
"Path": "Symbol-Views/Equipment-Views/PressureSwitch",
"forceFault": null,
"forceRunning": 3,
"instancePosition": {},
"instanceStyle": {
"classes": ""
}
},
{
"Path": "Symbol-Views/Equipment-Views/PullChord",
"forceFault": null,
"forceRunning": 3,
"instancePosition": {},
"instanceStyle": {
"classes": ""
}
},
{
"Path": "Symbol-Views/Equipment-Views/PullChord_End",
"forceFault": null,
"forceRunning": 3,
"instancePosition": {},
"instanceStyle": {
"classes": ""
}
},
{
"Path": "Symbol-Views/Equipment-Views/PullChord_Line",
"forceFault": null,
"forceRunning": 3,
"instancePosition": {},
"instanceStyle": {
"classes": ""
}
},
{
"Path": "Symbol-Views/Equipment-Views/PullChord_Line_Vertical",
"forceFault": null,
"forceRunning": 3,
"instancePosition": {},
"instanceStyle": {
"classes": ""
}
},
{
"Path": "Symbol-Views/Equipment-Views/RFID",
"forceFault": null,
"forceRunning": 3,
"instancePosition": {},
"instanceStyle": {
"classes": ""
}
},
{
"Path": "Symbol-Views/Equipment-Views/Robot",
"forceFault": null,
"forceRunning": 3,
"instancePosition": {},
"instanceStyle": {
"classes": ""
}
},
{
"Path": "Symbol-Views/Equipment-Views/SLAMs",
"forceFault": null,
"forceRunning": 3,
"instancePosition": {},
"instanceStyle": {
"classes": ""
}
},
{
"Path": "Symbol-Views/Equipment-Views/SafetyGate",
"forceFault": null,
"forceRunning": 3,
"instancePosition": {},
"instanceStyle": {
"classes": ""
}
},
{
"Path": "Symbol-Views/Equipment-Views/Stacker_Destacker",
"forceFault": null,
"forceRunning": 3,
"instancePosition": {},
"instanceStyle": {
"classes": ""
}
},
{
"Path": "Symbol-Views/Equipment-Views/Status",
"forceFault": null,
"forceRunning": 3,
"instancePosition": {},
"instanceStyle": {
"classes": ""
}
},
{
"Path": "Symbol-Views/Equipment-Views/StatusNonPowered",
"forceFault": null,
"forceRunning": 3,
"instancePosition": {},
"instanceStyle": {
"classes": ""
}
},
{
"Path": "Symbol-Views/Equipment-Views/StatusNonPowered_NS",
"forceFault": null,
"forceRunning": 3,
"instancePosition": {},
"instanceStyle": {
"classes": ""
}
},
{
"Path": "Symbol-Views/Equipment-Views/Status_NS",
"forceFault": null,
"forceRunning": 3,
"instancePosition": {},
"instanceStyle": {
"classes": ""
}
},
{
"Path": "Symbol-Views/Equipment-Views/THEA",
"forceFault": null,
"forceRunning": 3,
"instancePosition": {},
"instanceStyle": {
"classes": ""
}
}
],
"SelectedValue": "",
"SymbolLibrary": "",
"key": ""
},
"viewPath": "Symbol-Views/Symbol-Library-Views/Symbol-Icons-View"
}
]
},
"type": "ia.display.dashboard"
}
],
"meta": {
"name": "root"
},
"scripts": {
"customMethods": [],
"extensionFunctions": null,
"messageHandlers": [
{
"messageType": "UserClickInfo",
"pageScope": true,
"script": "\tfrom pprint import pformat\n\tSymbolPath \u003d payload[\"UserClickPath\"]\n\tsystem.perspective.print(pformat(self.view.params.SymbolLibrary[SymbolPath]))\n\tself.view.params.SelectedInfo \u003d self.view.params.SymbolLibrary[SymbolPath][\u0027info\u0027]\n\tself.view.params.SelectedDescription \u003d self.view.params.SymbolLibrary[SymbolPath][\u0027description\u0027]\n\tself.view.params.SelectedPath \u003d SymbolPath \n\tself.view.params.SelectedCategory \u003d self.view.params.SymbolLibrary[SymbolPath][\u0027category\u0027]\n\tsystem.perspective.print(SymbolPath)\n",
"sessionScope": false,
"viewScope": false
},
{
"messageType": "UserClickCategory",
"pageScope": true,
"script": "\n\tSelectedRow \u003d payload[\"UserClickData\"]\n\tself.view.params.SelectedRow \u003d SelectedRow",
"sessionScope": false,
"viewScope": false
},
{
"messageType": "UserClickRefresh",
"pageScope": true,
"script": "\tfrom SymbolLibrary import list_categories, fetch_library\n\t\n\t#Get all Symbol Views and write them to tags\n\tproject_info \u003d system.perspective.getProjectInfo()\n\tviews \u003d project_info.get(\u0027views\u0027,[])\n\t# - Define criterias\n\tfilter_criterion \u003d \"Symbol-Views\"\n\tfilter_criterion2 \u003d \"Symbol-Library-Views\"\n\tfilter_criterion3 \u003d \"Controller-Views\"\n\tfilter_criterion4 \u003d \"Symbol-Views/Equipment-Views/Test\"\n\t# - Filter views that are not necessary for the symbol library and ensure the correct path\n\tfiltered_views \u003d [\n\t\tview for view in views \n\t\tif filter_criterion in view.get(\u0027path\u0027,\u0027\u0027) \n\t\tand not filter_criterion2 in view.get(\u0027path\u0027,\u0027\u0027) \n\t\tand not filter_criterion3 in view.get(\u0027path\u0027,\u0027\u0027)\n\t\tand not filter_criterion4 in view.get(\u0027path\u0027,\u0027\u0027)\n\t\t]\n\t# - Create JSON from the list \n\tjson_structure \u003d []\n\tsymbol_view_list \u003d []\n\tfor view in filtered_views:\n\t\tinstance \u003d {\n\t\t\t\"instanceStyle\": {\n\t\t\t\t\"classes\": \"\"\n\t\t\t},\n\t\t\t\"instancePosition\": {},\n\t\t\t\"Path\": view.get(\u0027path\u0027,\u0027\u0027),\n\t\t\t\"forceRunning\": 3,\n\t\t\t\"forceFault\": None\n\t\t}\n\t\tjson_structure.append(instance)\n\t\tsymbol_view_list.append(view.get(\u0027path\u0027,\u0027\u0027))\n\tjson_structure.sort(key \u003d lambda x:x[\u0027Path\u0027].split(\"/\")[len(x[\u0027Path\u0027].split(\"/\"))-1])\t\n\t# - Encode JSON for igniton variables to populate correctly\n\tjson_result \u003d system.util.jsonEncode(json_structure)\n\tself.view.params.Dataset \u003d filtered_views\n\tself.view.params.FilteredViews \u003d json_structure\n\tsystem.perspective.print(filtered_views)\n\t\n\t# - Get all Symbol Categories from JSON Dictionary\t\n\tremote_json \u003d fetch_library(username\u003dself.session.props.auth.user.userName)\n\tself.view.params.SymbolLibrary \u003d {k: v for k, v in remote_json.items() if k in symbol_view_list}\n\tcategory_data \u003d [{\"Category\": category} for category in list_categories(self.view.params.SymbolLibrary)]\n\tself.view.params.CategoryList \u003d category_data\n\tself.view.params.SelectedRow \u003d \u0027ALL\u0027\n\tself.view.params.SelectedDescription \u003d \"\"\n\tself.view.params.SelectedInfo \u003d \"\"",
"sessionScope": false,
"viewScope": false
}
]
},
"type": "ia.container.flex"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,323 @@
{
"custom": {
"State": "#FFFFFF",
"Status": "#808080",
"state_string": "Empty/Idle",
"status_string": "Unknown Status"
},
"params": {
"angle": 0,
"directionLeft": false,
"tagProps": [
"System/MCM01/Conveyor/VFD/UL1_3_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"propConfig": {
"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}/dwState"
},
"transforms": [
{
"expression": "coalesce({value},{view.params.forceFaultStatus},0)",
"type": "expression"
},
{
"code": "\tif value is None:\n\t\treturn \u0027#808080\u0027 # Grey - No Data\n\t\n\t# Check bits in priority order (highest priority first)\n\t\n\t# Priority 5 - Test/Maintenance - Brown\n\tif value \u0026 128: # Bit 7: Assigned to do a tilttest\n\t\treturn \u0027#AC5F00\u0027 # Brown - Manual/Maintenance Mode\n\t\n\t# Priority 8 - Operational Status - Green\n\tif value \u0026 256: # Bit 8: Occupied\n\t\treturn \u0027#008000\u0027 # Green - Running or ON\n\t\n\t# Priority 9 - Discharge Status - Light Green\n\tif value \u0026 8: # Bit 3: Item has been discharged\n\t\treturn \u0027#CCFFCC\u0027 # Light green - Enabled, not running\n\t\n\t# Critical/Error States - Red\n\tif value \u0026 1: # Bit 0: Disabled or faulted\n\t\treturn \u0027#FF0000\u0027 # Red - E-Stop/Unit Faulted\n\tif value \u0026 2048: # Bit 11: Occupied but disabled\n\t\treturn \u0027#FF0000\u0027 # Red - E-Stop/Unit Faulted\n\t\n\t# Active Processing States - Yellow\n\tif value \u0026 2: # Bit 1: Item being scanned by Barcode/OCR\n\t\treturn \u0027#FFFF00\u0027 # Yellow - 75% Full/50% Full/25% Full\n\tif value \u0026 4: # Bit 2: Scanned, waiting for redirect\n\t\treturn \u0027#FFFF00\u0027 # Yellow - 75% Full/50% Full/25% Full\n\tif value \u0026 16384: # Bit 14: Item being scanned by volume scanner\n\t\treturn \u0027#FFFF00\u0027 # Yellow - 75% Full/50% Full/25% Full\n\tif value \u0026 32768: # Bit 15: SPS checking carrier\n\t\treturn \u0027#FFFF00\u0027 # Yellow - 75% Full/50% Full/25% Full\n\t\n\t# Multi-carrier Operations - Blue\n\tif value \u0026 16: # Bit 4: Second or third carrier in row\n\t\treturn \u0027#0000FF\u0027 # Blue - 100% Full\n\tif value \u0026 64: # Bit 6: Part of multi-carrier item\n\t\treturn \u0027#0000FF\u0027 # Blue - 100% Full\n\t\n\t# System/Communication States - Light Sky Blue\n\tif value \u0026 512: # Bit 9: Information received from CSC/host\n\t\treturn \u0027#87CEFA\u0027 # Light Sky Blue - Energy management\n\tif value \u0026 1024: # Bit 10: Received from CCB\n\t\treturn \u0027#87CEFA\u0027 # Light Sky Blue - Energy management\n\tif value \u0026 4096: # Bit 12: Reserved for induction takeover\n\t\treturn \u0027#87CEFA\u0027 # Light Sky Blue - Energy management\n\tif value \u0026 8192: # Bit 13: Not activated for profile execution\n\t\treturn \u0027#87CEFA\u0027 # Light Sky Blue - Energy management\n\t\n\t# Special Equipment States - Light Grey\n\tif value \u0026 32: # Bit 5: Used at flipper door chutes\n\t\treturn \u0027#D3D3D3\u0027 # Light grey - OFF/Inactive\n\t\n\t# Check if bits 16-31 contain distance data\n\tdistance_bits \u003d (value \u003e\u003e 16) \u0026 0xFFFF # Extract upper 16 bits\n\tif distance_bits \u003e 0:\n\t\treturn \u0027#FFA500\u0027 # Orange - JAM (item positioning)\n\t\n\t# Default state\n\tif value \u003d\u003d 0:\n\t\treturn \u0027#FFFFFF\u0027 # White - Gravity/not motorized MHE\n\telse:\n\t\treturn \u0027#808080\u0027 # Grey - Invalid/Unavailable",
"type": "script"
}
],
"type": "tag"
},
"persistent": true
},
"custom.Status": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[0]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/dwStatus"
},
"transforms": [
{
"expression": "coalesce({value},{view.params.forceFaultStatus},0)",
"type": "expression"
},
{
"code": "\tif value is None:\n\t\treturn \u0027#808080\u0027\n\t\n\t# Critical Priority (2) - Red\n\tif value \u0026 8: # Bit 3: Common fault\n\t\treturn \u0027#FF0000\u0027\n\tif value \u0026 32: # Bit 5: Possible TCB/MCB error\n\t\treturn \u0027#FF0000\u0027\n\tif value \u0026 64: # Bit 6: Not checked at last CTB/CRB\n\t\treturn \u0027#FF0000\u0027\n\tif value \u0026 128: # Bit 7: Communication error\n\t\treturn \u0027#FF0000\u0027\n\tif value \u0026 512: # Bit 9: Current limit exceeded\n\t\treturn \u0027#FF0000\u0027\n\tif value \u0026 2048: # Bit 11: Calibration error\n\t\treturn \u0027#FF0000\u0027\n\tif value \u0026 4194304: # Bit 22: Item overhanging belt fault\n\t\treturn \u0027#FF0000\u0027\n\tif value \u0026 8388608: # Bit 23: Current collector fault\n\t\treturn \u0027#FF0000\u0027\n\tif value \u0026 16777216: # Bit 24: Item too high\n\t\treturn \u0027#FF0000\u0027\n\tif value \u0026 33554432: # Bit 25: Item too wide\n\t\treturn \u0027#FF0000\u0027\n\tif value \u0026 67108864: # Bit 26: Item on activated carrier\n\t\treturn \u0027#FF0000\u0027\n\tif value \u0026 134217728: # Bit 27: Deflected bellows fault\n\t\treturn \u0027#FF0000\u0027\n\tif value \u0026 1073741824: # Bit 30: Item on bellows warning\n\t\treturn \u0027#FF0000\u0027\n\tif value \u0026 2147483648: # Bit 31: Item on bellows is active\n\t\treturn \u0027#FF0000\u0027\n\t\n\t# High Priority (11) - Light Grey (OFF/Inactive)\n\tif value \u0026 1: # Bit 0: Disabled\n\t\treturn \u0027#D3D3D3\u0027\n\tif value \u0026 4: # Bit 2: Blocked\n\t\treturn \u0027#D900D9\u0027 # Purple - Gridlock Prevention Mode\n\t\n\t# Medium Priority (9-10) - Status OK, Motor not running\n\tif value \u0026 256: # Bit 8: Status OK\n\t\treturn \u0027#008000\u0027 # Green - Running or ON\n\tif value \u0026 1024: # Bit 10: Motor not running\n\t\treturn \u0027#CCFFCC\u0027 # Light green - Enabled, not running\n\tif value \u0026 268435456: # Bit 28: Double maximum recirculation\n\t\treturn \u0027#87CEFA\u0027 # Light Sky Blue - Energy management\n\t\n\t# Low Priority (5) - Brown (Manual/Maintenance Mode)\n\tif value \u0026 2: # Bit 1: Needs update\n\t\treturn \u0027#AC5F00\u0027\n\tif value \u0026 16: # Bit 4: CCT communication to carrier\n\t\treturn \u0027#AC5F00\u0027\n\tif value \u0026 8192: # Bit 13: Default configuration\n\t\treturn \u0027#AC5F00\u0027\n\tif value \u0026 16384: # Bit 14: Programming mode\n\t\treturn \u0027#AC5F00\u0027\n\tif value \u0026 536870912: # Bit 29: CCT download done\n\t\treturn \u0027#AC5F00\u0027\n\t\n\t# Default - Grey\n\treturn \u0027#808080\u0027",
"type": "script"
}
],
"type": "tag"
},
"persistent": true
},
"custom.state_string": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[0]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/dwState"
},
"transforms": [
{
"expression": "coalesce({value},{view.params.forceFaultStatus},0)",
"type": "expression"
},
{
"code": "\tif value is None:\n\t\treturn \u0027No Data\u0027\n\t\n\t# Check bits in priority order (highest priority first)\n\t\n\t# Priority 5 - Test/Maintenance\n\tif value \u0026 128: # Bit 7: Assigned to do a tilttest\n\t\treturn \u0027Tilt Test Mode\u0027\n\t\n\t# Priority 8 - Operational Status\n\tif value \u0026 256: # Bit 8: Occupied\n\t\treturn \u0027Occupied\u0027\n\t\n\t# Priority 9 - Discharge Status\n\tif value \u0026 8: # Bit 3: Item has been discharged\n\t\treturn \u0027Item Discharged\u0027\n\t\n\t# Other operational states (no specific priority)\n\tif value \u0026 1: # Bit 0: Disabled or faulted\n\t\treturn \u0027Disabled/Faulted\u0027\n\tif value \u0026 2: # Bit 1: Item being scanned by Barcode/OCR\n\t\treturn \u0027Barcode Scanning\u0027\n\tif value \u0026 4: # Bit 2: Scanned, waiting for redirect\n\t\treturn \u0027Awaiting Redirect\u0027\n\tif value \u0026 16: # Bit 4: Second or third carrier in row\n\t\treturn \u0027Multi-Carrier Row\u0027\n\tif value \u0026 32: # Bit 5: Used at flipper door chutes\n\t\treturn \u0027Flipper Door Mode\u0027\n\tif value \u0026 64: # Bit 6: Part of multi-carrier item\n\t\treturn \u0027Multi-Carrier Item\u0027\n\tif value \u0026 512: # Bit 9: Information received from CSC/host\n\t\treturn \u0027Host Data Received\u0027\n\tif value \u0026 1024: # Bit 10: Received from CCB\n\t\treturn \u0027CCB Received\u0027\n\tif value \u0026 2048: # Bit 11: Occupied but disabled\n\t\treturn \u0027Occupied/Disabled\u0027\n\tif value \u0026 4096: # Bit 12: Reserved for induction takeover\n\t\treturn \u0027Induction Reserved\u0027\n\tif value \u0026 8192: # Bit 13: Not activated for profile execution\n\t\treturn \u0027Profile Inactive\u0027\n\tif value \u0026 16384: # Bit 14: Item being scanned by volume scanner\n\t\treturn \u0027Volume Scanning\u0027\n\tif value \u0026 32768: # Bit 15: SPS checking carrier\n\t\treturn \u0027SPS Checking\u0027\n\t\n\t# Check if bits 16-31 contain distance data\n\tdistance_bits \u003d (value \u003e\u003e 16) \u0026 0xFFFF # Extract upper 16 bits\n\tif distance_bits \u003e 0:\n\t\treturn \u0027Item Distance: \u0027 + str(distance_bits)\n\t\n\t# Default state\n\tif value \u003d\u003d 0:\n\t\treturn \u0027Empty/Idle\u0027\n\telse:\n\t\treturn \u0027State: \u0027 + str(value)",
"type": "script"
}
],
"type": "tag"
},
"persistent": true
},
"custom.status_string": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[0]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/dwStatus"
},
"transforms": [
{
"expression": "coalesce({value},{view.params.forceFaultStatus},0)",
"type": "expression"
},
{
"code": "\tif value is None:\n\t\treturn \u0027No Data\u0027\n\t\n\t# Critical Priority (2) - Errors and Faults\n\tif value \u0026 8: # Bit 3: Common fault\n\t\treturn \u0027Common fault\u0027\n\tif value \u0026 32: # Bit 5: Possible TCB/MCB error\n\t\treturn \u0027Possible TCB/MCB error\u0027\n\tif value \u0026 64: # Bit 6: Not checked at last CTB/CRB\n\t\treturn \u0027Not checked at last CTB/CRB\u0027\n\tif value \u0026 128: # Bit 7: Communication error\n\t\treturn \u0027Communication error\u0027\n\tif value \u0026 512: # Bit 9: Current limit exceeded\n\t\treturn \u0027Current limit exceeded\u0027\n\tif value \u0026 2048: # Bit 11: Calibration error\n\t\treturn \u0027Calibration error\u0027\n\tif value \u0026 4194304: # Bit 22: Item overhanging belt fault\n\t\treturn \u0027Item overhanging belt fault\u0027\n\tif value \u0026 8388608: # Bit 23: Current collector fault\n\t\treturn \u0027Current collector fault\u0027\n\tif value \u0026 16777216: # Bit 24: Item too high\n\t\treturn \u0027Item too high\u0027\n\tif value \u0026 33554432: # Bit 25: Item too wide\n\t\treturn \u0027Item too wide\u0027\n\tif value \u0026 67108864: # Bit 26: Item on activated carrier\n\t\treturn \u0027Item on activated carrier\u0027\n\tif value \u0026 134217728: # Bit 27: Deflected bellows fault\n\t\treturn \u0027Deflected bellows fault\u0027\n\tif value \u0026 1073741824: # Bit 30: Item on bellows warning\n\t\treturn \u0027Item on bellows warning\u0027\n\tif value \u0026 2147483648: # Bit 31: Item on bellows is active\n\t\treturn \u0027Item on bellows is active\u0027\n\t\n\t# High Priority (11) - Disabled/Blocked States\n\tif value \u0026 1: # Bit 0: Disabled\n\t\treturn \u0027Disabled\u0027\n\tif value \u0026 4: # Bit 2: Blocked\n\t\treturn \u0027Blocked\u0027\n\t\n\t# Medium Priority (9-10) - Normal Operations\n\tif value \u0026 256: # Bit 8: Status OK\n\t\treturn \u0027Status OK\u0027\n\tif value \u0026 1024: # Bit 10: Motor not running\n\t\treturn \u0027Motor not running\u0027\n\tif value \u0026 268435456: # Bit 28: Double maximum recirculation\n\t\treturn \u0027Double maximum recirculation\u0027\n\t\n\t# Low Priority (5) - Maintenance/Configuration\n\tif value \u0026 2: # Bit 1: Needs update\n\t\treturn \u0027Needs update\u0027\n\tif value \u0026 16: # Bit 4: CCT communication to carrier\n\t\treturn \u0027CCT communication to carrier\u0027\n\tif value \u0026 8192: # Bit 13: Default configuration\n\t\treturn \u0027Default configuration\u0027\n\tif value \u0026 16384: # Bit 14: Programming mode\n\t\treturn \u0027Programming mode\u0027\n\tif value \u0026 536870912: # Bit 29: CCT download done\n\t\treturn \u0027CCT download done\u0027\n\t\n\t# Default - No active status\n\treturn \u0027Unknown Status\u0027",
"type": "script"
}
],
"type": "tag"
},
"persistent": true
},
"params.angle": {
"paramDirection": "input",
"persistent": true
},
"params.directionLeft": {
"paramDirection": "input",
"persistent": true
},
"params.tagProps": {
"paramDirection": "inout",
"persistent": true
}
},
"props": {
"defaultSize": {
"height": 20,
"width": 50
}
},
"root": {
"children": [
{
"meta": {
"name": "RunningStatus"
},
"position": {
"grow": 1
},
"propConfig": {
"props.elements[0].fill.paint": {
"binding": {
"config": {
"path": "view.custom.Status"
},
"type": "property"
}
}
},
"props": {
"elements": [
{
"d": "M 5 1 L 55 1 L 55 17 L 5 17 Z ",
"fill": {},
"name": "carrierFrame",
"stroke": {
"paint": "#34495E",
"width": "0.5"
},
"type": "path"
},
{
"d": "M 7 2 L 53 2 L 53 16 L 7 16 Z ",
"fill": {
"paint": "#3498DB"
},
"name": "carrierTray",
"type": "path"
},
{
"cx": "12",
"cy": "9",
"fill": {
"paint": "#E74C3C"
},
"name": "leftSensor",
"r": "1.5",
"type": "circle"
},
{
"cx": "48",
"cy": "9",
"fill": {
"paint": "#E74C3C"
},
"name": "rightSensor",
"r": "1.5",
"type": "circle"
},
{
"fill": {
"paint": "#95A5A6"
},
"height": "10",
"name": "package",
"rx": "1",
"type": "rect",
"width": "20",
"x": "20",
"y": "4"
},
{
"cx": "10",
"cy": "3",
"fill": {
"paint": "#1ABC9C"
},
"name": "topLeftWheel",
"r": "1",
"type": "circle"
},
{
"cx": "10",
"cy": "15",
"fill": {
"paint": "#1ABC9C"
},
"name": "bottomLeftWheel",
"r": "1",
"type": "circle"
},
{
"cx": "50",
"cy": "3",
"fill": {
"paint": "#1ABC9C"
},
"name": "topRightWheel",
"r": "1",
"type": "circle"
},
{
"cx": "50",
"cy": "15",
"fill": {
"paint": "#1ABC9C"
},
"name": "bottomRightWheel",
"r": "1",
"type": "circle"
}
],
"preserveAspectRatio": "none",
"style": {
"overflow": "hidden",
"transform": ""
},
"viewBox": "-1.5 -1.5 60 20"
},
"type": "ia.shapes.svg"
}
],
"events": {
"dom": {
"onClick": {
"config": {
"script": "\tsystem.perspective.openDock(\u0027Docked-East-VFD\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": {
"classes": "Alarms-Styles/NoAlarm"
}
}
},
"propConfig": {
"meta.tooltip.text": {
"binding": {
"config": {
"expression": "if(\n {view.custom.status_string} !\u003d \"Unknown Status\",\n \"Source Id: \" + {view.params.tagProps[0]} + \" Status: \" + {view.custom.status_string} + \" State: \" + {view.custom.state_string},\n \"Device Disconnected\"\n)\n"
},
"type": "expr"
}
}
},
"props": {
"justify": "center",
"style": {
"borderColor": "#FF0000",
"borderStyle": "none",
"borderWidth": "2px",
"cursor": "pointer"
}
},
"type": "ia.container.flex"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

View File

@ -2,18 +2,18 @@
"custom": {},
"params": {
"tagProps": [
"TAG0",
"TAG1",
"TAG2",
"TAG3",
"TAG4",
"TAG5",
"TAG6",
"TAG7",
"TAG8",
"TAG9",
"TAG10",
"TAG11"
"System/MCM02/IO_BLOCK/DPM/NCS1_1_DPM1",
"System/MCM02/IO_BLOCK/SIO/PS3_12_SIO1",
"System/MCM02/IO_BLOCK/SIO/PS3_13_SIO1",
"System/MCM02/IO_BLOCK/SIO/PS3_14_SIO1",
"System/MCM02/IO_BLOCK/FIO/S03_1_FIOM1",
"System/MCM02/IO_BLOCK/FIO/S03_1_FIOM2",
"System/MCM02/IO_BLOCK/FIO/S03_1_FIOM3",
"System/MCM02/IO_BLOCK/FIO/S03_1_FIOM4",
"System/MCM02/IO_BLOCK/FIO/S03_1_FIOM5",
"System/MCM02/IO_BLOCK/FIO/S03_CH103_FIOM1",
"System/MCM02/IO_BLOCK/FIO/S03_CH109_FIOM1",
"System/MCM02/IO_BLOCK/FIO/S03_CH110_FIOM1"
]
},
"props": {
@ -63,7 +63,7 @@
"in": false,
"out": false,
"tagProps": [
"System/MCM02/DPM/NCS1_1_DPM1",
"System/MCM02/IO_BLOCK/DPM/NCS1_1_DPM1",
"value",
"value",
"value",
@ -95,7 +95,7 @@
"params": {
"IP": "11.200.1.30",
"tagProps": [
"System/MCM02/IO/SIO/PS3_12_SIO1",
"System/MCM02/IO_BLOCK/SIO/PS3_12_SIO1",
"value",
"value",
"value",
@ -125,7 +125,7 @@
"params": {
"IP": "11.200.1.31",
"tagProps": [
"System/MCM02/IO/SIO/PS3_13_SIO1",
"System/MCM02/IO_BLOCK/SIO/PS3_13_SIO1",
"value",
"value",
"value",
@ -155,7 +155,7 @@
"params": {
"IP": "11.200.1.32",
"tagProps": [
"System/MCM02/IO/SIO/PS3_14_SIO1",
"System/MCM02/IO_BLOCK/SIO/PS3_14_SIO1",
"value",
"value",
"value",
@ -185,7 +185,7 @@
"params": {
"IP": "11.200.1.33",
"tagProps": [
"System/MCM02/IO/FIO/S03_1_FIOM1",
"System/MCM02/IO_BLOCK/FIO/S03_1_FIOM1",
"value",
"value",
"value",
@ -215,7 +215,7 @@
"params": {
"IP": "11.200.1.34",
"tagProps": [
"System/MCM02/IO/FIO/S03_1_FIOM2",
"System/MCM02/IO_BLOCK/FIO/S03_1_FIOM2",
"value",
"value",
"value",
@ -245,7 +245,7 @@
"params": {
"IP": "11.200.1.35",
"tagProps": [
"System/MCM02/IO/FIO/S03_1_FIOM3",
"System/MCM02/IO_BLOCK/FIO/S03_1_FIOM3",
"value",
"value",
"value",
@ -275,7 +275,7 @@
"params": {
"IP": "11.200.1.36",
"tagProps": [
"System/MCM02/IO/FIO/S03_1_FIOM4",
"System/MCM02/IO_BLOCK/FIO/S03_1_FIOM4",
"value",
"value",
"value",
@ -308,67 +308,7 @@
"params": {
"IP": "11.200.1.37",
"tagProps": [
"System/MCM02/IO/FIO/S03_1_FIOM5",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "autStand/Custom_Views/Enternet-Windows/Components/FIO_SIO"
},
"type": "ia.display.view"
},
{
"meta": {
"name": "S03_CH109_FIOM1"
},
"position": {
"height": 0.1667,
"width": 0.0349,
"x": 0.3979,
"y": 0.0064
},
"props": {
"params": {
"IP": "11.200.1.39",
"tagProps": [
"System/MCM02/IO/FIO/S03_CH109_FIOM1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "autStand/Custom_Views/Enternet-Windows/Components/FIO_SIO"
},
"type": "ia.display.view"
},
{
"meta": {
"name": "S03_CH110_FIOM1"
},
"position": {
"height": 0.1667,
"width": 0.0349,
"x": 0.4386,
"y": 0.0056
},
"props": {
"params": {
"IP": "11.200.1.40",
"tagProps": [
"System/MCM02/IO/FIO/S03_CH110_FIOM1",
"System/MCM02/IO_BLOCK/FIO/S03_1_FIOM5",
"value",
"value",
"value",
@ -402,6 +342,66 @@
},
"type": "ia.display.label"
},
{
"meta": {
"name": "S03_CH109_FIOM1"
},
"position": {
"height": 0.1667,
"width": 0.0349,
"x": 0.3979,
"y": 0.0064
},
"props": {
"params": {
"IP": "11.200.1.39",
"tagProps": [
"System/MCM02/IO_BLOCK/FIO/S03_CH109_FIOM1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "autStand/Custom_Views/Enternet-Windows/Components/FIO_SIO"
},
"type": "ia.display.view"
},
{
"meta": {
"name": "S03_CH110_FIOM1"
},
"position": {
"height": 0.1667,
"width": 0.0349,
"x": 0.4386,
"y": 0.0056
},
"props": {
"params": {
"IP": "11.200.1.40",
"tagProps": [
"System/MCM02/IO_BLOCK/FIO/S03_CH110_FIOM1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "autStand/Custom_Views/Enternet-Windows/Components/FIO_SIO"
},
"type": "ia.display.view"
},
{
"meta": {
"name": "S03_CH103_FIOM1"
@ -416,7 +416,7 @@
"params": {
"IP": "11.200.1.38",
"tagProps": [
"System/MCM02/IO/FIO/S03_CH103_FIOM1",
"System/MCM02/IO_BLOCK/FIO/S03_CH103_FIOM1",
"value",
"value",
"value",
@ -437,8 +437,8 @@
"name": "root"
},
"position": {
"x": 0.6348,
"y": -0.1546
"x": 0.0063,
"y": -0.012
},
"props": {
"mode": "percent"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 48 KiB

View File

@ -0,0 +1,297 @@
{
"custom": {
"State": "#FFFFFF",
"Status": "#808080",
"state_string": "Empty/Idle",
"status_string": "Unknown Status"
},
"params": {
"tagProps": [
"Status/Carriers/Carrier_100",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"propConfig": {
"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}"
},
"transforms": [
{
"code": "\tif value is None:\n\t\treturn \u0027#808080\u0027 # Grey - No Data\n\t\n\t# Priority 2 - Critical Faults - Red\n\tif (value.get(\u0027bCommonFault\u0027, False) or value.get(\u0027bTCBMCBError\u0027, False) or\n\t value.get(\u0027bNotCheckedCTBCRB\u0027, False) or value.get(\u0027bCommunicationError\u0027, False) or\n\t value.get(\u0027bCurrentLimitExceeded\u0027, False) or value.get(\u0027bCalibrationError\u0027, False) or\n\t value.get(\u0027bItemOverhangingBeltFault\u0027, False) or value.get(\u0027bCurrentCollectorFault\u0027, False) or\n\t value.get(\u0027bItemTooHigh\u0027, False) or value.get(\u0027bItemTooWide\u0027, False) or\n\t value.get(\u0027bItemOnActivatedCarrier\u0027, False) or value.get(\u0027bDeflectedBellowsFault\u0027, False) or\n\t value.get(\u0027bItemOnBellowsWarning\u0027, False) or value.get(\u0027bItemOnBellowsActive\u0027, False)):\n\t\treturn \u0027#FF0000\u0027 # Red - E-Stop/Unit Faulted\n\t\n\t# Critical State Faults - Red\n\tif value.get(\u0027bDisabledOrFaulted\u0027, False):\n\t\treturn \u0027#FF0000\u0027 # Red - E-Stop/Unit Faulted\n\t\n\t# Priority 5 - Test/Maintenance - Brown\n\tif (value.get(\u0027bNeedsUpdate\u0027, False) or value.get(\u0027bCCTCommunication\u0027, False) or\n\t value.get(\u0027bDefaultConfiguration\u0027, False) or value.get(\u0027bProgrammingMode\u0027, False) or\n\t value.get(\u0027bCCTDownloadDone\u0027, False) or value.get(\u0027bAssignedToTiltTest\u0027, False)):\n\t\treturn \u0027#AC5F00\u0027 # Brown - Manual/Maintenance Mode\n\t\n\t# Priority 8 - Occupied - Green\n\tif value.get(\u0027bOccupied\u0027, False):\n\t\treturn \u0027#008000\u0027 # Green - Running or ON\n\t\n\t# Priority 9 - Operational Status - Green or Light Green\n\tif value.get(\u0027bStatusOK\u0027, False):\n\t\treturn \u0027#008000\u0027 # Green - Running or ON\n\tif value.get(\u0027bItemDischarged\u0027, False):\n\t\treturn \u0027#CCFFCC\u0027 # Light green - Enabled, not running\n\tif value.get(\u0027bMotorNotRunning\u0027, False):\n\t\treturn \u0027#CCFFCC\u0027 # Light green - Enabled, not running\n\t\n\t# Priority 10 - Energy Management - Light Sky Blue\n\tif value.get(\u0027bDoubleMaxRecirculation\u0027, False):\n\t\treturn \u0027#87CEFA\u0027 # Light Sky Blue - Energy management\n\t\n\t# Priority 11 - High Priority Issues\n\tif value.get(\u0027bDisabled\u0027, False):\n\t\treturn \u0027#D3D3D3\u0027 # Light grey - OFF/Inactive\n\tif value.get(\u0027bBlocked\u0027, False):\n\t\treturn \u0027#D900D9\u0027 # Purple - Gridlock Prevention Mode\n\t\n\t# Active Processing States - Yellow\n\tif (value.get(\u0027bItemBeingScannedBarcode\u0027, False) or value.get(\u0027bItemScannedWaitingRedirect\u0027, False) or\n\t value.get(\u0027bItemBeingScannedVolume\u0027, False) or value.get(\u0027bSPSCheckingCarrier\u0027, False)):\n\t\treturn \u0027#FFFF00\u0027 # Yellow - 75%/50%/25% Full\n\t\n\t# System/Communication States - Light Sky Blue\n\tif (value.get(\u0027bInfoReceivedFromCSC\u0027, False) or value.get(\u0027bReceivedFromCCB\u0027, False) or\n\t value.get(\u0027bReservedForInductionTakeover\u0027, False) or value.get(\u0027bNotActivatedForProfile\u0027, False)):\n\t\treturn \u0027#87CEFA\u0027 # Light Sky Blue - Energy management\n\t\n\t# Multi-carrier Operations - Blue\n\tif (value.get(\u0027bSecondThirdCarrierInRow\u0027, False) or value.get(\u0027bPartOfMultiCarrierItem\u0027, False)):\n\t\treturn \u0027#0000FF\u0027 # Blue - 100% Full\n\t\n\t# Check distance data\n\tif value.get(\u0027iRelativeDistance\u0027, 0) \u003e 0:\n\t\treturn \u0027#FFA500\u0027 # Orange - JAM (item positioning)\n\t\n\t# Default state - White (Empty/Idle)\n\treturn \u0027#FFFFFF\u0027 # White - Gravity/not motorized MHE",
"type": "script"
}
],
"type": "tag"
},
"persistent": true
},
"custom.Status": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[0]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}"
},
"transforms": [
{
"code": "\tif value is None:\n\t\treturn \u0027#808080\u0027\n\t\n\t# Priority-based status determination (lower number \u003d higher priority)\n\tactive_status \u003d \u0027default\u0027\n\t\n\t# Check in priority order (highest to lowest)\n\t# Priority 2 - Critical\n\tif (value.get(\u0027bCommonFault\u0027, False) or value.get(\u0027bTCBMCBError\u0027, False) or \n\t value.get(\u0027bNotCheckedCTBCRB\u0027, False) or value.get(\u0027bCommunicationError\u0027, False) or\n\t value.get(\u0027bCurrentLimitExceeded\u0027, False) or value.get(\u0027bCalibrationError\u0027, False) or\n\t value.get(\u0027bItemOverhangingBeltFault\u0027, False) or value.get(\u0027bCurrentCollectorFault\u0027, False) or\n\t value.get(\u0027bItemTooHigh\u0027, False) or value.get(\u0027bItemTooWide\u0027, False) or\n\t value.get(\u0027bItemOnActivatedCarrier\u0027, False) or value.get(\u0027bDeflectedBellowsFault\u0027, False) or\n\t value.get(\u0027bItemOnBellowsWarning\u0027, False) or value.get(\u0027bItemOnBellowsActive\u0027, False)):\n\t\tactive_status \u003d \u0027critical_fault\u0027\n\t# Priority 5 - Low/Maintenance\n\telif (value.get(\u0027bNeedsUpdate\u0027, False) or value.get(\u0027bCCTCommunication\u0027, False) or\n\t value.get(\u0027bDefaultConfiguration\u0027, False) or value.get(\u0027bProgrammingMode\u0027, False) or\n\t value.get(\u0027bCCTDownloadDone\u0027, False)):\n\t\tactive_status \u003d \u0027maintenance_mode\u0027\n\t# Priority 9 - Medium-High\n\telif value.get(\u0027bStatusOK\u0027, False):\n\t\tactive_status \u003d \u0027status_ok\u0027\n\telif value.get(\u0027bMotorNotRunning\u0027, False):\n\t\tactive_status \u003d \u0027motor_not_running\u0027\n\t# Priority 10 - Medium\n\telif value.get(\u0027bDoubleMaxRecirculation\u0027, False):\n\t\tactive_status \u003d \u0027recirculation\u0027\n\t# Priority 11 - High\n\telif value.get(\u0027bDisabled\u0027, False):\n\t\tactive_status \u003d \u0027disabled\u0027\n\telif value.get(\u0027bBlocked\u0027, False):\n\t\tactive_status \u003d \u0027blocked\u0027\n\t\n\t# Dictionary-based switch for color mapping\n\tcolor_map \u003d {\n\t\t\u0027critical_fault\u0027: \u0027#FF0000\u0027, # Red - Critical errors/faults\n\t\t\u0027maintenance_mode\u0027: \u0027#AC5F00\u0027, # Brown - Manual/Maintenance mode\n\t\t\u0027status_ok\u0027: \u0027#008000\u0027, # Green - Running or ON\n\t\t\u0027motor_not_running\u0027: \u0027#CCFFCC\u0027, # Light Green - Enabled, not running\n\t\t\u0027recirculation\u0027: \u0027#87CEFA\u0027, # Light Sky Blue - Energy management\n\t\t\u0027disabled\u0027: \u0027#D3D3D3\u0027, # Light Grey - OFF/Inactive\n\t\t\u0027blocked\u0027: \u0027#D900D9\u0027, # Purple - Gridlock Prevention\n\t\t\u0027default\u0027: \u0027#808080\u0027 # Grey - Default/Invalid\n\t}\n\t\n\t# Return color using dictionary lookup\n\treturn color_map.get(active_status, \u0027#808080\u0027)",
"type": "script"
}
],
"type": "tag"
},
"persistent": true
},
"custom.state_string": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[0]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/dwState"
},
"transforms": [
{
"expression": "coalesce({value},{view.params.forceFaultStatus},0)",
"type": "expression"
},
{
"code": "\tif value is None:\n\t\treturn \u0027No Data\u0027\n\t\n\t# Check bits in priority order (highest priority first)\n\t\n\t# Priority 5 - Test/Maintenance\n\tif value \u0026 128: # Bit 7: Assigned to do a tilttest\n\t\treturn \u0027Tilt Test Mode\u0027\n\t\n\t# Priority 8 - Operational Status\n\tif value \u0026 256: # Bit 8: Occupied\n\t\treturn \u0027Occupied\u0027\n\t\n\t# Priority 9 - Discharge Status\n\tif value \u0026 8: # Bit 3: Item has been discharged\n\t\treturn \u0027Item Discharged\u0027\n\t\n\t# Other operational states (no specific priority)\n\tif value \u0026 1: # Bit 0: Disabled or faulted\n\t\treturn \u0027Disabled/Faulted\u0027\n\tif value \u0026 2: # Bit 1: Item being scanned by Barcode/OCR\n\t\treturn \u0027Barcode Scanning\u0027\n\tif value \u0026 4: # Bit 2: Scanned, waiting for redirect\n\t\treturn \u0027Awaiting Redirect\u0027\n\tif value \u0026 16: # Bit 4: Second or third carrier in row\n\t\treturn \u0027Multi-Carrier Row\u0027\n\tif value \u0026 32: # Bit 5: Used at flipper door chutes\n\t\treturn \u0027Flipper Door Mode\u0027\n\tif value \u0026 64: # Bit 6: Part of multi-carrier item\n\t\treturn \u0027Multi-Carrier Item\u0027\n\tif value \u0026 512: # Bit 9: Information received from CSC/host\n\t\treturn \u0027Host Data Received\u0027\n\tif value \u0026 1024: # Bit 10: Received from CCB\n\t\treturn \u0027CCB Received\u0027\n\tif value \u0026 2048: # Bit 11: Occupied but disabled\n\t\treturn \u0027Occupied/Disabled\u0027\n\tif value \u0026 4096: # Bit 12: Reserved for induction takeover\n\t\treturn \u0027Induction Reserved\u0027\n\tif value \u0026 8192: # Bit 13: Not activated for profile execution\n\t\treturn \u0027Profile Inactive\u0027\n\tif value \u0026 16384: # Bit 14: Item being scanned by volume scanner\n\t\treturn \u0027Volume Scanning\u0027\n\tif value \u0026 32768: # Bit 15: SPS checking carrier\n\t\treturn \u0027SPS Checking\u0027\n\t\n\t# Check if bits 16-31 contain distance data\n\tdistance_bits \u003d (value \u003e\u003e 16) \u0026 0xFFFF # Extract upper 16 bits\n\tif distance_bits \u003e 0:\n\t\treturn \u0027Item Distance: \u0027 + str(distance_bits)\n\t\n\t# Default state\n\tif value \u003d\u003d 0:\n\t\treturn \u0027Empty/Idle\u0027\n\telse:\n\t\treturn \u0027State: \u0027 + str(value)",
"type": "script"
}
],
"type": "tag"
},
"persistent": true
},
"custom.status_string": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[0]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/dwStatus"
},
"transforms": [
{
"expression": "coalesce({value},{view.params.forceFaultStatus},0)",
"type": "expression"
},
{
"code": "\tif value is None:\n\t\treturn \u0027No Data\u0027\n\t\n\t# Critical Priority (2) - Errors and Faults\n\tif value \u0026 8: # Bit 3: Common fault\n\t\treturn \u0027Common fault\u0027\n\tif value \u0026 32: # Bit 5: Possible TCB/MCB error\n\t\treturn \u0027Possible TCB/MCB error\u0027\n\tif value \u0026 64: # Bit 6: Not checked at last CTB/CRB\n\t\treturn \u0027Not checked at last CTB/CRB\u0027\n\tif value \u0026 128: # Bit 7: Communication error\n\t\treturn \u0027Communication error\u0027\n\tif value \u0026 512: # Bit 9: Current limit exceeded\n\t\treturn \u0027Current limit exceeded\u0027\n\tif value \u0026 2048: # Bit 11: Calibration error\n\t\treturn \u0027Calibration error\u0027\n\tif value \u0026 4194304: # Bit 22: Item overhanging belt fault\n\t\treturn \u0027Item overhanging belt fault\u0027\n\tif value \u0026 8388608: # Bit 23: Current collector fault\n\t\treturn \u0027Current collector fault\u0027\n\tif value \u0026 16777216: # Bit 24: Item too high\n\t\treturn \u0027Item too high\u0027\n\tif value \u0026 33554432: # Bit 25: Item too wide\n\t\treturn \u0027Item too wide\u0027\n\tif value \u0026 67108864: # Bit 26: Item on activated carrier\n\t\treturn \u0027Item on activated carrier\u0027\n\tif value \u0026 134217728: # Bit 27: Deflected bellows fault\n\t\treturn \u0027Deflected bellows fault\u0027\n\tif value \u0026 1073741824: # Bit 30: Item on bellows warning\n\t\treturn \u0027Item on bellows warning\u0027\n\tif value \u0026 2147483648: # Bit 31: Item on bellows is active\n\t\treturn \u0027Item on bellows is active\u0027\n\t\n\t# High Priority (11) - Disabled/Blocked States\n\tif value \u0026 1: # Bit 0: Disabled\n\t\treturn \u0027Disabled\u0027\n\tif value \u0026 4: # Bit 2: Blocked\n\t\treturn \u0027Blocked\u0027\n\t\n\t# Medium Priority (9-10) - Normal Operations\n\tif value \u0026 256: # Bit 8: Status OK\n\t\treturn \u0027Status OK\u0027\n\tif value \u0026 1024: # Bit 10: Motor not running\n\t\treturn \u0027Motor not running\u0027\n\tif value \u0026 268435456: # Bit 28: Double maximum recirculation\n\t\treturn \u0027Double maximum recirculation\u0027\n\t\n\t# Low Priority (5) - Maintenance/Configuration\n\tif value \u0026 2: # Bit 1: Needs update\n\t\treturn \u0027Needs update\u0027\n\tif value \u0026 16: # Bit 4: CCT communication to carrier\n\t\treturn \u0027CCT communication to carrier\u0027\n\tif value \u0026 8192: # Bit 13: Default configuration\n\t\treturn \u0027Default configuration\u0027\n\tif value \u0026 16384: # Bit 14: Programming mode\n\t\treturn \u0027Programming mode\u0027\n\tif value \u0026 536870912: # Bit 29: CCT download done\n\t\treturn \u0027CCT download done\u0027\n\t\n\t# Default - No active status\n\treturn \u0027Unknown Status\u0027",
"type": "script"
}
],
"type": "tag"
},
"persistent": true
},
"params.tagProps": {
"paramDirection": "inout",
"persistent": true
}
},
"props": {
"defaultSize": {
"height": 50,
"width": 20
}
},
"root": {
"children": [
{
"meta": {
"name": "RunningStatus"
},
"position": {
"grow": 1
},
"props": {
"elements": [
{
"d": "M 1 5 L 17 5 L 17 55 L 1 55 Z ",
"fill": {
"paint": "#2C3E50"
},
"name": "carrierFrame",
"stroke": {
"paint": "#34495E",
"width": "0.5"
},
"type": "path"
},
{
"d": "M 2 7 L 16 7 L 16 53 L 2 53 Z ",
"fill": {
"paint": "#3498DB"
},
"name": "carrierTray",
"type": "path"
},
{
"cx": "9",
"cy": "12",
"fill": {
"paint": "#E74C3C"
},
"name": "topSensor",
"r": "1.5",
"type": "circle"
},
{
"cx": "9",
"cy": "48",
"fill": {
"paint": "#E74C3C"
},
"name": "bottomSensor",
"r": "1.5",
"type": "circle"
},
{
"fill": {
"paint": "#95A5A6"
},
"height": "20",
"name": "package",
"rx": "1",
"type": "rect",
"width": "10",
"x": "4",
"y": "20"
},
{
"cx": "3",
"cy": "10",
"fill": {
"paint": "#1ABC9C"
},
"name": "topLeftWheel",
"r": "1",
"type": "circle"
},
{
"cx": "15",
"cy": "10",
"fill": {
"paint": "#1ABC9C"
},
"name": "topRightWheel",
"r": "1",
"type": "circle"
},
{
"cx": "3",
"cy": "50",
"fill": {
"paint": "#1ABC9C"
},
"name": "bottomLeftWheel",
"r": "1",
"type": "circle"
},
{
"cx": "15",
"cy": "50",
"fill": {
"paint": "#1ABC9C"
},
"name": "bottomRightWheel",
"r": "1",
"type": "circle"
}
],
"preserveAspectRatio": "none",
"style": {
"overflow": "hidden",
"transform": ""
},
"viewBox": "-1.5 -1.5 20 60"
},
"type": "ia.shapes.svg"
}
],
"events": {
"dom": {
"onClick": {
"config": {
"script": "\tsystem.perspective.openDock(\u0027Docked-East-VFD\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": {
"classes": "Alarms-Styles/NoAlarm"
}
}
},
"propConfig": {
"meta.tooltip.text": {
"binding": {
"config": {
"expression": "if(\n {view.custom.status_string} !\u003d \"Unknown Status\",\n \"Source Id: \" + {view.params.tagProps[0]} + \" Status: \" + {view.custom.status_string} + \" State: \" + {view.custom.state_string},\n \"Device Disconnected\"\n)\n"
},
"type": "expr"
}
}
},
"props": {
"justify": "center",
"style": {
"borderColor": "#FF0000",
"borderStyle": "none",
"borderWidth": "2px",
"cursor": "pointer"
}
},
"type": "ia.container.flex"
}
}

View File

@ -2,19 +2,20 @@
"custom": {},
"params": {
"tagProps": [
"TAG0",
"TAG1",
"TAG2",
"TAG3",
"TAG4",
"TAG5",
"TAG6",
"TAG7",
"TAG8",
"TAG9",
"TAG10",
"TAG11",
"TAG12"
"System/MCM01/IO_BLOCK/DPM/ULC2_8_DPM1",
"System/MCM01/Conveyor/Tipper/ULC2_1_TIPPER",
"System/MCM01/Conveyor/VFD/ULC2_3_VFD1",
"System/MCM01/Conveyor/VFD/ULC2_4_VFD1",
"System/MCM01/Conveyor/VFD/ULC2_5_VFD1",
"System/MCM01/Conveyor/VFD/ULC2_6_VFD1",
"System/MCM01/Conveyor/VFD/ULC2_7_VFD1",
"System/MCM01/Conveyor/VFD/ULC2_8_VFD1",
"System/MCM01/Conveyor/VFD/ULC2_9A_VFD1",
"System/MCM01/Conveyor/VFD/ULC2_9B_VFD1",
"System/MCM01/Conveyor/VFD/ULC2_10_VFD1",
"System/MCM01/Conveyor/VFD/ULC2_11_VFD1",
"System/MCM01/Conveyor/VFD/ULC2_12_VFD1",
"System/MCM01/IO_BLOCK/FIO/ULC2_4_FIO1"
]
},
"props": {
@ -40,10 +41,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[0]}",
"0": "{view.params.tagProps[1]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -72,10 +73,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[10]}",
"0": "{view.params.tagProps[11]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -104,10 +105,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[11]}",
"0": "{view.params.tagProps[12]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -136,10 +137,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[12]}",
"0": "{view.params.tagProps[13]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -168,10 +169,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[1]}",
"0": "{view.params.tagProps[2]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -200,10 +201,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[2]}",
"0": "{view.params.tagProps[3]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -232,10 +233,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[3]}",
"0": "{view.params.tagProps[4]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -264,10 +265,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[4]}",
"0": "{view.params.tagProps[5]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -296,10 +297,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[5]}",
"0": "{view.params.tagProps[6]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -328,10 +329,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[6]}",
"0": "{view.params.tagProps[7]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -360,10 +361,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[7]}",
"0": "{view.params.tagProps[8]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -392,10 +393,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[8]}",
"0": "{view.params.tagProps[9]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -424,10 +425,10 @@
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[9]}",
"0": "{view.params.tagProps[10]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Communication_Faulted"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
@ -506,7 +507,19 @@
false
],
"in": false,
"out": false
"out": false,
"tagProps": [
"System/MCM01/IO_BLOCK/DPM/ULC2_8_DPM1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/DPM_TO_HUB"
},
@ -519,11 +532,25 @@
"position": {
"height": 0.1667,
"width": 0.125,
"x": 0.0232,
"x": 0.0102,
"y": 0.4991
},
"props": {
"path": "Windows/Tabs/Enternet Windows/Components/APF"
"params": {
"tagProps": [
"System/MCM01/Conveyor/Tipper/ULC2_1_TIPPER",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/TIPPER"
},
"type": "ia.display.view"
},
@ -557,6 +584,20 @@
"y": 0.6677
},
"props": {
"params": {
"tagProps": [
"System/MCM01/Conveyor/VFD/ULC2_3_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -591,6 +632,20 @@
"y": 0.8333
},
"props": {
"params": {
"tagProps": [
"System/MCM01/Conveyor/VFD/ULC2_4_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -625,6 +680,20 @@
"y": 0.3333
},
"props": {
"params": {
"tagProps": [
"System/MCM01/Conveyor/VFD/ULC2_5_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -659,6 +728,20 @@
"y": 0.1667
},
"props": {
"params": {
"tagProps": [
"System/MCM01/Conveyor/VFD/ULC2_6_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -692,6 +775,20 @@
"x": 0.0244
},
"props": {
"params": {
"tagProps": [
"System/MCM01/Conveyor/VFD/ULC2_7_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -725,6 +822,20 @@
"x": 0.5
},
"props": {
"params": {
"tagProps": [
"System/MCM01/Conveyor/VFD/ULC2_8_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -758,6 +869,20 @@
"x": 0.625
},
"props": {
"params": {
"tagProps": [
"System/MCM01/Conveyor/VFD/ULC2_9A_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -791,6 +916,20 @@
"x": 0.75
},
"props": {
"params": {
"tagProps": [
"System/MCM01/Conveyor/VFD/ULC2_9B_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -824,6 +963,20 @@
"x": 0.375
},
"props": {
"params": {
"tagProps": [
"System/MCM01/Conveyor/VFD/ULC2_10_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -858,6 +1011,20 @@
"y": 0.0019
},
"props": {
"params": {
"tagProps": [
"System/MCM01/Conveyor/VFD/ULC2_11_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -891,6 +1058,20 @@
"x": 0.1245
},
"props": {
"params": {
"tagProps": [
"System/MCM01/Conveyor/VFD/ULC2_12_VFD1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/APF"
},
"type": "ia.display.view"
@ -916,31 +1097,45 @@
},
{
"meta": {
"name": "ULC2_04_FIO1"
"name": "ULC2_4_FIO1"
},
"position": {
"height": 0.1667,
"width": 0.125,
"x": 0.8389,
"x": 0.8579,
"y": 0.3332
},
"props": {
"params": {
"tagProps": [
"System/MCM01/IO_BLOCK/FIO/ULC2_4_FIO1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"path": "Windows/Tabs/Enternet Windows/Components/FIO_SIO"
},
"type": "ia.display.view"
},
{
"meta": {
"name": "ULC2_04_FIO1_label"
"name": "ULC2_4_FIO1_label"
},
"position": {
"height": 0.0358,
"width": 0.0427,
"x": 0.9349999999999999,
"x": 0.954,
"y": 0.3943
},
"props": {
"text": "ULC2_04_FIO1 11.200.1.62",
"text": "ULC2_4_FIO1 11.200.1.62",
"textStyle": {
"fontSize": "1vmin",
"key": "value"
@ -959,7 +1154,7 @@
"y": 0.6342
},
"props": {
"text": "DPM1_ULC2_8 11.200.1.2",
"text": "ULC2_8_DPM1",
"textStyle": {
"fontSize": "2vmin"
}

View File

@ -1,9 +0,0 @@
SELECT concat(date(dumper_cycles.t_stamp), ' ', hour(dumper_cycles.t_stamp), ':00') as StartTimestamp,
concat('H',TIMESTAMPDIFF(HOUR,DATE_FORMAT(dumper_cycles.t_stamp,"%Y-%m-%d %H:00:00"),DATE_FORMAT(now(),"%Y-%m-%d %H:00:00"))) as Hour,
SUM (dumper_cycles.ulgl1 = 1) as ULGL1,
SUM (dumper_cycles.ulgl2 = 1) as ULGL2,
SUM (dumper_cycles.ulgl3 = 1) as ULGL3
FROM dumper_cycles
Where (dumper_cycles.t_stamp BETWEEN :starttime AND :endtime)
GROUP BY hour(dumper_cycles.t_stamp)

View File

@ -1,16 +1,16 @@
{
"custom": {
"dpm1-dpm2": false,
"dpm2-dpm3": false,
"dpm3-mcm": false,
"mcm-dpm1": false
"dpm1-dpm2": true,
"dpm2-dpm3": true,
"dpm3-mcm": true,
"mcm-dpm1": true
},
"params": {
"tagProps": [
"DPM0_TAG",
"DPM1_TAG",
"DPM2_TAG",
"DPM3_TAG"
"System/MCM01/Rack",
"System/MCM01/IO_BLOCK/DPM/ULC1_8_DPM1",
"System/MCM01/IO_BLOCK/DPM/ULC2_8_DPM1",
"System/MCM01/IO_BLOCK/DPM/ULC3_6_DPM1"
]
},
"propConfig": {
@ -23,11 +23,11 @@
"1": "{view.params.tagProps[1]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{1}/STATE"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{1}/Communication_Faulted"
},
"transforms": [
{
"expression": "coalesce({value},{view.params.forceFaultStatus},1)",
"expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression"
},
{
@ -35,11 +35,11 @@
"inputType": "scalar",
"mappings": [
{
"input": 0,
"input": false,
"output": true
},
{
"input": 1,
"input": true,
"output": false
}
],
@ -60,11 +60,11 @@
"2": "{view.params.tagProps[2]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{2}/STATE"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{2}/Communication_Faulted"
},
"transforms": [
{
"expression": "coalesce({value},{view.params.forceFaultStatus},1)",
"expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression"
},
{
@ -72,11 +72,11 @@
"inputType": "scalar",
"mappings": [
{
"input": 0,
"input": false,
"output": true
},
{
"input": 1,
"input": true,
"output": false
}
],
@ -97,11 +97,11 @@
"3": "{view.params.tagProps[3]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{3}/STATE"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{3}/Communication_Faulted"
},
"transforms": [
{
"expression": "coalesce({value},{view.params.forceFaultStatus},1)",
"expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression"
},
{
@ -109,11 +109,11 @@
"inputType": "scalar",
"mappings": [
{
"input": 0,
"input": false,
"output": true
},
{
"input": 1,
"input": true,
"output": false
}
],
@ -134,11 +134,11 @@
"0": "{view.params.tagProps[0]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/STATE"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
"expression": "coalesce({value},{view.params.forceFaultStatus},1)",
"expression": "coalesce({value},{view.params.forceFaultStatus},false)",
"type": "expression"
},
{
@ -146,11 +146,11 @@
"inputType": "scalar",
"mappings": [
{
"input": 0,
"input": false,
"output": true
},
{
"input": 1,
"input": true,
"output": false
}
],
@ -240,7 +240,7 @@
}
},
"meta": {
"name": "DPM1_ULC1_8"
"name": "ULC1_8_DPM1"
},
"position": {
"height": 0.5,
@ -286,7 +286,7 @@
"OutDown": true,
"OutRight": false,
"OutUp": false,
"view": "Windows/Tabs/Enternet Windows/DPMs/DPM Devices/MCM01/DPM1_ULC1_8"
"view": "Windows/Tabs/Enternet Windows/DPMs/DPM Devices/MCM01/ULC1_8_DPM1"
},
"path": "Windows/Tabs/Enternet Windows/Components/DPM_BLOCK"
},
@ -305,7 +305,7 @@
}
},
"meta": {
"name": "DPM1_ULC2_8"
"name": "ULC2_8_DPM1"
},
"position": {
"height": 0.5,
@ -350,7 +350,7 @@
"OutDown": false,
"OutRight": true,
"OutUp": false,
"view": "Windows/Tabs/Enternet Windows/DPMs/DPM Devices/MCM01/DPM1_ULC2_8"
"view": "Windows/Tabs/Enternet Windows/DPMs/DPM Devices/MCM01/ULC2_8_DPM1"
},
"path": "Windows/Tabs/Enternet Windows/Components/DPM_BLOCK"
},
@ -369,7 +369,7 @@
}
},
"meta": {
"name": "DPM1_ULC3-6"
"name": "ULC3_6_DPM1"
},
"position": {
"height": 0.5,
@ -408,7 +408,7 @@
"OutDown": false,
"OutRight": true,
"OutUp": false,
"view": "Windows/Tabs/Enternet Windows/DPMs/DPM Devices/MCM01/DPM1_ULC3-6"
"view": "Windows/Tabs/Enternet Windows/DPMs/DPM Devices/MCM01/ULC3_6_DPM1"
},
"path": "Windows/Tabs/Enternet Windows/Components/DPM_BLOCK"
},
@ -425,7 +425,7 @@
"y": 0.1
},
"props": {
"text": "DPM1_ULC1_8 11.200.1.2",
"text": "ULC1_8_DPM1 11.200.1.2",
"textStyle": {
"fontSize": "1vmin"
}
@ -443,7 +443,7 @@
"y": 0.1
},
"props": {
"text": "DPM1_ULC2_8 11.200.1.3",
"text": "ULC2_8_DPM1 11.200.1.3",
"textStyle": {
"fontSize": "1vmin"
}
@ -461,7 +461,7 @@
"y": 0.6
},
"props": {
"text": "DPM1_ULC3-6 11.200.1.4",
"text": "ULC3_6_DPM1 11.200.1.4",
"textStyle": {
"fontSize": "1vmin"
}

File diff suppressed because it is too large Load Diff

View File

@ -3289,7 +3289,7 @@
},
"props": {
"dismissOnSelect": false,
"formattedValue": "Sep 4, 2025 10:04 PM",
"formattedValue": "Sep 23, 2025 6:34 PM",
"formattedValues": {
"date": "Mar 26, 2021",
"datetime": "Mar 26, 2021 12:00 AM",
@ -3299,9 +3299,9 @@
"$": [
"ts",
192,
1757010848655
1758639872561
],
"$ts": 1757009048000
"$ts": 1758638072000
}
},
"type": "ia.input.date-time-input"
@ -3449,7 +3449,7 @@
},
"props": {
"dismissOnSelect": false,
"formattedValue": "Sep 4, 2025 10:34 PM",
"formattedValue": "Sep 23, 2025 7:04 PM",
"formattedValues": {
"date": "Mar 29, 2021",
"datetime": "Mar 29, 2021 1:37 PM",
@ -3459,9 +3459,9 @@
"$": [
"ts",
192,
1757010848655
1758639872561
],
"$ts": 1757010848000
"$ts": 1758639872000
}
},
"type": "ia.input.date-time-input"

File diff suppressed because it is too large Load Diff

View File

@ -1,10 +0,0 @@
SELECT concat(date(dumper_cycles.t_stamp), ' ', hour(dumper_cycles.t_stamp), ':00') as StartTimestamp,
concat('H',TIMESTAMPDIFF(HOUR,DATE_FORMAT(dumper_cycles.t_stamp,"%Y-%m-%d %H:00:00"),DATE_FORMAT(now(),"%Y-%m-%d %H:00:00"))) as Hour,
concat(cast(SUM(dumper_cycles.ulgl1 = 1) as char),' cph') AS ULGL1,
concat(cast(SUM(dumper_cycles.ulgl2 = 1) as char),' cph') AS ULGL2,
concat(cast(SUM(dumper_cycles.ulgl3 = 1) as char),' cph') AS ULGL3
FROM dumper_cycles
Where (dumper_cycles.t_stamp BETWEEN :starttime AND :endtime)
GROUP BY hour(dumper_cycles.t_stamp)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 152 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

View File

@ -1,13 +0,0 @@
SELECT concat(date(dumper_cycles.t_stamp), ' ', hour(dumper_cycles.t_stamp), ':00') as StartTimestamp,
concat('H',TIMESTAMPDIFF(HOUR,DATE_FORMAT(dumper_cycles.t_stamp,"%Y-%m-%d %H:00:00"),DATE_FORMAT(now(),"%Y-%m-%d %H:00:00"))) as Hour,
concat(round(SUM(dumper_cycles.ulgl1 = 1)/COUNT(*) * 100*2,2),'%') AS ULGL1,
concat(round(SUM(dumper_cycles.ulgl2 = 1)/COUNT(*) * 100*2,2),'%') AS ULGL2,
concat(round(SUM(dumper_cycles.ulgl3 = 1)/COUNT(*) * 100*2,2),'%') AS ULGL3
FROM dumper_cycles
Where (dumper_cycles.t_stamp BETWEEN :starttime AND :endtime)
GROUP BY hour(dumper_cycles.t_stamp)

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 139 KiB

View File

@ -6,9 +6,9 @@
},
"params": {
"tagProps": [
"System/MCM01/MCM01",
"System/MCM01/DPM/PS3_1_DPM1",
"System/MCM01/DPM/PS3_5_DPM1"
"System/MCM01/Rack",
"System/MCM01/IO_Block/DPM/PS3_1_DPM1",
"System/MCM01/IO_Block/DPM/PS3_5_DPM1"
]
},
"propConfig": {
@ -21,11 +21,11 @@
"1": "{view.params.tagProps[1]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{1}/STATE"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{1}/Communication_Faulted"
},
"transforms": [
{
"expression": "coalesce({value},{view.params.forceFaultStatus},1)",
"expression": "coalesce({value},1)",
"type": "expression"
},
{
@ -58,11 +58,11 @@
"2": "{view.params.tagProps[2]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{2}/STATE"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{2}/Communication_Faulted"
},
"transforms": [
{
"expression": "coalesce({value},{view.params.forceFaultStatus},1)",
"expression": "coalesce({value},1)",
"type": "expression"
},
{
@ -95,11 +95,11 @@
"0": "{view.params.tagProps[0]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/STATE"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Communication_Faulted"
},
"transforms": [
{
"expression": "coalesce({value},{view.params.forceFaultStatus},1)",
"expression": "coalesce({value},1)",
"type": "expression"
},
{

View File

@ -1,6 +1,16 @@
{
"custom": {},
"params": {},
"params": {
"tagProps": [
"value"
]
},
"propConfig": {
"params.tagProps": {
"paramDirection": "input",
"persistent": true
}
},
"props": {
"defaultSize": {
"height": 180,
@ -41641,6 +41651,17 @@
"type": "ia.shapes.svg"
}
],
"events": {
"dom": {
"onClick": {
"config": {
"script": "\tsystem.perspective.openDock(\u0027Docked-East-DS\u0027,params\u003d{\u0027tagProps\u0027:self.view.params.tagProps})"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "root"
},

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"
}
}

View File

@ -58,7 +58,7 @@
"SelectedDescription": "",
"SelectedInfo": "",
"SelectedPath": "",
"SelectedRow": "ALL",
"SelectedRow": "Control",
"SymbolDetails": {
"ARSAW": {
"category": "",

Some files were not shown because too many files have changed in this diff Show More