turned every button type into a single view and renamed the view

This commit is contained in:
Salijoghli 2025-09-02 16:40:57 +04:00
parent 86b9238431
commit b4e8343f3d
70 changed files with 2542 additions and 2188 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 74 KiB

View File

@ -0,0 +1,211 @@
{
"custom": {
"color": "d3d3d3",
"state": 10,
"string": "Non Powered Equipment"
},
"params": {
"tagProps": [
"System/MCM01/Conveyors/Ul15_1",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"propConfig": {
"custom.color": {
"binding": {
"config": {
"path": "view.custom.state"
},
"transforms": [
{
"fallback": "ffffff",
"inputType": "scalar",
"mappings": [
{
"input": 1,
"output": "808080"
},
{
"input": 2,
"output": "f8060d"
},
{
"input": 3,
"output": "f78e12"
},
{
"input": 4,
"output": "dd00de"
},
{
"input": 5,
"output": "3a00fd"
},
{
"input": 6,
"output": "fbff1f"
},
{
"input": 7,
"output": "39cc38"
},
{
"input": 8,
"output": "8fcef9"
},
{
"input": 9,
"output": "cdffcc"
},
{
"input": 10,
"output": "d3d3d3"
},
{
"input": 11,
"output": "a66008"
},
{
"input": 12,
"output": "ffffff"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
},
"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},0)",
"type": "expression"
}
],
"type": "tag"
},
"persistent": true
},
"custom.string": {
"binding": {
"config": {
"path": "view.custom.state"
},
"transforms": [
{
"fallback": "Non Powered Equipment",
"inputType": "scalar",
"mappings": [
{
"input": 1,
"output": "Communication Fault"
},
{
"input": 2,
"output": "EStop or Faulted"
},
{
"input": 3,
"output": "Jammed"
},
{
"input": 5,
"output": "Full"
},
{
"input": 6,
"output": "50% Full"
},
{
"input": 7,
"output": "Running"
},
{
"input": 9,
"output": "Enabled, Not Running"
},
{
"input": 12,
"output": "Non Powered Equipment"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
},
"persistent": true
},
"params.tagProps": {
"paramDirection": "input",
"persistent": true
}
},
"props": {
"defaultSize": {
"height": 8,
"width": 240
}
},
"root": {
"meta": {
"name": "root",
"tooltip": {
"enabled": true
}
},
"position": {
"x": 0,
"y": 0
},
"propConfig": {
"meta.tooltip.text": {
"binding": {
"config": {
"expression": "\"Source Id: \" + {view.params.tagProps[0]} + \", Status: \" + {view.custom.string}"
},
"type": "expr"
}
},
"props.style.backgroundColor": {
"binding": {
"config": {
"expression": "\"#\"+{view.custom.color}"
},
"type": "expr"
}
}
},
"props": {
"mode": "percent",
"style": {
"borderStyle": "solid",
"borderWidth": "1px",
"cursor": "pointer"
}
},
"type": "ia.container.coord"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 124 KiB

View File

@ -121,7 +121,7 @@
"children": [
{
"meta": {
"name": "JR_Button"
"name": "Button"
},
"position": {
"height": 1,
@ -177,7 +177,7 @@
"dom": {
"onClick": {
"config": {
"script": "\tsystem.perspective.openDock(\u0027Docked-East-JR\u0027,params\u003d{\u0027tagProps\u0027:self.view.params.tagProps})"
"script": "\tsystem.perspective.openDock(\u0027Docked-East-BTN\u0027,params\u003d{\u0027tagProps\u0027:self.view.params.tagProps})"
},
"scope": "G",
"type": "script"

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

View File

@ -4,6 +4,16 @@
},
"params": {
"tagProps": [
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},

Binary file not shown.

Before

Width:  |  Height:  |  Size: 487 B

View File

@ -81,22 +81,22 @@
},
"props": {
"defaultSize": {
"height": 42,
"width": 98
"height": 25,
"width": 55
}
},
"root": {
"children": [
{
"meta": {
"name": "Photoeye"
"name": "arrow_icon"
},
"position": {
"height": 1,
"width": 1
},
"propConfig": {
"props.elements[0].fill.paint": {
"props.elements[1].fill.paint": {
"binding": {
"config": {
"path": "view.custom.state"
@ -130,7 +130,7 @@
"type": "property"
}
},
"props.elements[2].fill.paint": {
"props.elements[3].fill.paint": {
"binding": {
"config": {
"path": "view.custom.state"
@ -168,45 +168,51 @@
"props": {
"elements": [
{
"d": "m 28.763932,20 -20,10 V 10 Z",
"id": "defs1",
"name": "defs1",
"type": "defs"
},
{
"d": "M 21.343364,12.531563 2.1710548,22.117718 V 2.9454084 Z",
"fill": {},
"name": "path",
"id": "path1",
"name": "path1",
"stroke": {
"paint": "#000000",
"width": "2"
"width": "1.91723"
},
"type": "path"
},
{
"id": "line1",
"name": "line1",
"stroke": {
"dasharray": "2, 2",
"paint": "#000000",
"width": "2"
"width": "2.25291"
},
"stroke-dasharray": "4,4",
"type": "line",
"x1": "30",
"x2": "60",
"y1": "20",
"y2": "20"
"x1": "22.528276",
"x2": "62.238979",
"y1": "12.531563",
"y2": "12.531563"
},
{
"fill": {},
"height": "20",
"height": "19.17231",
"id": "rect1",
"name": "rect1",
"stroke": {
"paint": "#000000",
"width": "2"
"width": "1.91723"
},
"type": "rect",
"width": "6",
"x": "60",
"y": "10"
"width": "5.7516928",
"x": "62.519203",
"y": "3.1996493"
}
],
"preserveAspectRatio": "none",
"style": {
"boxShadow": "value"
},
"viewBox": "0 0 80 40"
"viewBox": "0 0 70 25"
},
"type": "ia.shapes.svg"
}

View File

@ -347,6 +347,22 @@
"viewPath": "autStand/Docked_Views/Docked-West"
}
],
"right": [
{
"anchor": "fixed",
"autoBreakpoint": 480,
"content": "cover",
"handle": "hide",
"iconUrl": "",
"id": "Docked-East-BTN",
"modal": false,
"resizable": false,
"show": "onDemand",
"size": 400,
"viewParams": {},
"viewPath": "autStand/PopUp-Views/Controller-Equipment/Information-Docked-East-Button"
}
],
"top": [
{
"anchor": "fixed",
@ -401,6 +417,22 @@
"viewPath": "autStand/Docked_Views/Docked-West"
}
],
"right": [
{
"anchor": "fixed",
"autoBreakpoint": 480,
"content": "cover",
"handle": "hide",
"iconUrl": "",
"id": "Docked-East-BTN",
"modal": false,
"resizable": false,
"show": "onDemand",
"size": 400,
"viewParams": {},
"viewPath": "autStand/PopUp-Views/Controller-Equipment/Information-Docked-East-Button"
}
],
"top": [
{
"anchor": "fixed",

View File

@ -117,22 +117,22 @@
},
"props": {
"defaultSize": {
"height": 40,
"width": 200
"height": 25,
"width": 100
}
},
"root": {
"children": [
{
"meta": {
"name": "Photoeye"
"name": "arrow_icon"
},
"position": {
"height": 1,
"width": 1
},
"propConfig": {
"props.elements[0].fill.paint": {
"props.elements[1].fill.paint": {
"binding": {
"config": {
"path": "view.custom.state"
@ -166,7 +166,7 @@
"type": "property"
}
},
"props.elements[2].fill.paint": {
"props.elements[3].fill.paint": {
"binding": {
"config": {
"path": "view.custom.state"
@ -204,41 +204,52 @@
"props": {
"elements": [
{
"d": "m 28.763932,20 -20,10 V 10 Z",
"id": "defs1",
"name": "defs1",
"type": "defs"
},
{
"d": "M 21.343364,12.531563 2.1710548,22.117718 V 2.9454084 Z",
"fill": {},
"name": "path",
"id": "path1",
"name": "path1",
"stroke": {
"paint": "#000000",
"width": "2"
"width": "1.91723"
},
"type": "path"
},
{
"id": "line1",
"name": "line1",
"stroke": {
"dasharray": "2, 2",
"paint": "#000000",
"width": "2"
"width": "3.06818"
},
"stroke-dasharray": "4,4",
"type": "line",
"x1": "30",
"x2": "95%",
"y1": "20",
"y2": "20"
"x1": "22.528276",
"x2": "96.180107",
"y1": "12.531563",
"y2": "12.531563"
},
{
"fill": {},
"height": "20",
"height": "19.17231",
"id": "rect1",
"name": "rect1",
"stroke": {
"paint": "#000000",
"width": "2"
"width": "1.91723"
},
"type": "rect",
"width": "6",
"x": "95%",
"y": "10"
"width": "5.7516928",
"x": "92.519203",
"y": "3.1996493"
}
],
"viewBox": "0 0 300 40"
"preserveAspectRatio": "none",
"viewBox": "0 0 100 25"
},
"type": "ia.shapes.svg"
}

View File

@ -1,8 +1,8 @@
{
"custom": {
"color": "d3d3d3",
"state": 10,
"string": "Off (Inactive)"
"color": "808080",
"state": 1,
"string": "Communication Fault"
},
"params": {
"tagProps": [

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 B

View File

@ -1,50 +0,0 @@
{
"custom": {
"key": "value",
"key_1": "value",
"string": "value"
},
"params": {
"key": "value"
},
"propConfig": {
"custom.key": {
"persistent": true
},
"custom.key_1": {
"persistent": true
},
"custom.string": {
"persistent": true
},
"params.key": {
"paramDirection": "input",
"persistent": true
}
},
"props": {
"defaultSize": {
"height": 8,
"width": 240
}
},
"root": {
"meta": {
"name": "root"
},
"position": {
"x": 0,
"y": 0
},
"props": {
"mode": "percent",
"style": {
"backgroundColor": "white",
"borderStyle": "solid",
"borderWidth": "1px",
"overflow": "hidden"
}
},
"type": "ia.container.coord"
}
}

View File

@ -1,296 +0,0 @@
{
"custom": {
"state": 0,
"string": "Clear"
},
"params": {
"tagProps": [
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"propConfig": {
"custom.state": {
"binding": {
"config": {
"fallbackDelay": 1,
"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": 0,
"inputType": "scalar",
"mappings": [
{
"input": 1,
"output": 1
},
{
"input": 2,
"output": 2
},
{
"input": 3,
"output": 3
},
{
"input": 4,
"output": 4
},
{
"input": 5,
"output": 5
},
{
"input": 6,
"output": 6
},
{
"input": 7,
"output": 7
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "tag"
},
"persistent": true
},
"custom.string": {
"binding": {
"config": {
"path": "view.custom.state"
},
"transforms": [
{
"fallback": "Clear",
"inputType": "scalar",
"mappings": [
{
"input": 1,
"output": "Clear"
},
{
"input": 2,
"output": "Blocked"
},
{
"input": 3,
"output": "Disabled"
},
{
"input": 4,
"output": "Jammed"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
},
"persistent": true
},
"params.tagProps": {
"paramDirection": "input",
"persistent": true
}
},
"props": {
"defaultSize": {
"height": 40,
"width": 200
}
},
"root": {
"children": [
{
"meta": {
"name": "Photoeye"
},
"position": {
"height": 1,
"width": 1
},
"propConfig": {
"props.elements[0].fill.paint": {
"binding": {
"config": {
"path": "view.custom.state"
},
"transforms": [
{
"fallback": "#00FF00",
"inputType": "scalar",
"mappings": [
{
"input": 0,
"output": "#00FF00"
},
{
"input": 2,
"output": "#000000"
},
{
"input": 3,
"output": "#800080"
},
{
"input": 4,
"output": "#FF0000"
}
],
"outputType": "color",
"type": "map"
}
],
"type": "property"
}
},
"props.elements[2].fill.paint": {
"binding": {
"config": {
"path": "view.custom.state"
},
"transforms": [
{
"fallback": "#00FF00",
"inputType": "scalar",
"mappings": [
{
"input": 0,
"output": "#00FF00"
},
{
"input": 2,
"output": "#000000"
},
{
"input": 3,
"output": "#800080"
},
{
"input": 4,
"output": "#FF0000"
}
],
"outputType": "color",
"type": "map"
}
],
"type": "property"
}
}
},
"props": {
"elements": [
{
"d": "m 28.763932,20 -20,10 V 10 Z",
"fill": {},
"name": "path",
"stroke": {
"paint": "#000000",
"width": "2"
},
"type": "path"
},
{
"stroke": {
"paint": "#000000",
"width": "2"
},
"stroke-dasharray": "4,4",
"type": "line",
"x1": "30",
"x2": "95%",
"y1": "20",
"y2": "20"
},
{
"fill": {},
"height": "20",
"stroke": {
"paint": "#000000",
"width": "2"
},
"type": "rect",
"width": "6",
"x": "95%",
"y": "10"
}
],
"viewBox": "0 0 300 40"
},
"type": "ia.shapes.svg"
}
],
"events": {
"dom": {
"onClick": {
"config": {
"script": "\tsystem.perspective.openDock(\u0027Docked-East-Photoeye\u0027,params\u003d{\u0027tagProps\u0027:self.view.params.tagProps})"
},
"scope": "G",
"type": "script"
},
"onMouseEnter": {
"config": {
"script": "\tfrom time import sleep\n\n\talarm \u003d []\n\tmessage \u003d None\n\n\tsleep(0.5)\n\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
}
},
"propConfig": {
"meta.tooltip.text": {
"binding": {
"config": {
"expression": "\"Source Id: \" + {view.params.tagProps[0]} + \", Status: \" + {view.custom.string}\n"
},
"type": "expr"
}
},
"meta.visible": {
"binding": {
"config": {
"path": "session.custom.alarm_filter.show_photoeyes"
},
"type": "property"
}
}
},
"props": {
"mode": "percent",
"style": {
"cursor": "pointer"
}
},
"type": "ia.container.coord"
}
}

View File

@ -132,7 +132,7 @@
"position": {
"height": 0.0269,
"width": 0.2583,
"x": 0.5281,
"x": 0.5276,
"y": 0.2787
},
"props": {
@ -154,7 +154,7 @@
},
"width": 0.1078,
"x": 0.7633,
"y": 0.4178
"y": 0.4196
},
"props": {
"params": {
@ -423,8 +423,8 @@
"position": {
"height": 0.0787,
"width": 0.0406,
"x": 0.7871,
"y": 0.2685
"x": 0.7856,
"y": 0.2676
},
"props": {
"path": "autStand/Equipment/Conveyor_Right90"
@ -924,10 +924,10 @@
"name": "UL15_1_TPE1"
},
"position": {
"height": 0.0398,
"width": 0.0432,
"x": 0.02,
"y": 0.3852
"height": 0.0231,
"width": 0.0286,
"x": 0.0262,
"y": 0.3945
},
"props": {
"params": {
@ -956,13 +956,13 @@
"name": "UL15_2_TPE1"
},
"position": {
"height": 0.037,
"height": 0.0182,
"rotate": {
"angle": "60deg"
},
"width": 0.0417,
"x": 0.0336,
"y": 0.3315
"width": 0.0286,
"x": 0.0401,
"y": 0.3417
},
"props": {
"params": {
@ -991,13 +991,13 @@
"name": "UL15_3_TPE1"
},
"position": {
"height": 0.037,
"height": 0.0187,
"rotate": {
"angle": "60deg"
},
"width": 0.0417,
"x": 0.0487,
"y": 0.3157
"width": 0.0286,
"x": 0.0566,
"y": 0.3241
},
"props": {
"params": {
@ -1026,13 +1026,13 @@
"name": "UL15_4_TPE1"
},
"position": {
"height": 0.037,
"height": 0.0182,
"rotate": {
"angle": "60deg"
},
"width": 0.0417,
"x": 0.0648,
"y": 0.3
"width": 0.0286,
"x": 0.0723,
"y": 0.3095
},
"props": {
"params": {
@ -1061,13 +1061,13 @@
"name": "PS3_1_TPE1"
},
"position": {
"height": 0.037,
"height": 0.0231,
"rotate": {
"angle": "90deg"
},
"width": 0.0417,
"x": 0.1033,
"y": 0.2704
"width": 0.0286,
"x": 0.1075,
"y": 0.276
},
"props": {
"params": {
@ -1096,10 +1096,10 @@
"name": "UL14_1_TPE1"
},
"position": {
"height": 0.0398,
"width": 0.0432,
"x": 0.1258,
"y": 0.4167
"height": 0.0185,
"width": 0.0286,
"x": 0.132,
"y": 0.4288
},
"props": {
"params": {
@ -1128,10 +1128,10 @@
"name": "UL14_2_TPE1"
},
"position": {
"height": 0.0398,
"width": 0.0432,
"x": 0.1258,
"y": 0.3843
"height": 0.0185,
"width": 0.0286,
"x": 0.132,
"y": 0.3963
},
"props": {
"params": {
@ -1160,10 +1160,10 @@
"name": "UL14_3_TPE1"
},
"position": {
"height": 0.0398,
"width": 0.0432,
"x": 0.1258,
"y": 0.3528
"height": 0.0185,
"width": 0.0286,
"x": 0.132,
"y": 0.364
},
"props": {
"params": {
@ -1192,13 +1192,13 @@
"name": "UL14_4_TPE1"
},
"position": {
"height": 0.037,
"height": 0.0185,
"rotate": {
"angle": "60deg"
},
"width": 0.0417,
"x": 0.1424,
"y": 0.3
"width": 0.0286,
"x": 0.1476,
"y": 0.3093
},
"props": {
"params": {
@ -1227,13 +1227,13 @@
"name": "PS3_1_TPE2"
},
"position": {
"height": 0.037,
"height": 0.0185,
"rotate": {
"angle": "90deg"
},
"width": 0.0417,
"x": 0.2033,
"y": 0.2704
"width": 0.0286,
"x": 0.2101,
"y": 0.2779
},
"props": {
"params": {
@ -1262,13 +1262,13 @@
"name": "PS3_1_TPE3"
},
"position": {
"height": 0.037,
"height": 0.0185,
"rotate": {
"angle": "90deg"
},
"width": 0.0417,
"x": 0.2919,
"y": 0.2704
"width": 0.0286,
"x": 0.2987,
"y": 0.2779
},
"props": {
"params": {
@ -1297,13 +1297,13 @@
"name": "PS3_2_TPE1"
},
"position": {
"height": 0.037,
"height": 0.0185,
"rotate": {
"angle": "90deg"
},
"width": 0.0417,
"x": 0.506,
"y": 0.2704
"width": 0.0286,
"x": 0.5128,
"y": 0.2777
},
"props": {
"params": {
@ -1332,13 +1332,13 @@
"name": "PS3_3_TPE1"
},
"position": {
"height": 0.037,
"height": 0.0185,
"rotate": {
"angle": "270deg"
},
"width": 0.0417,
"x": 0.7653,
"y": 0.2704
"width": 0.0286,
"x": 0.7716,
"y": 0.286
},
"props": {
"params": {
@ -1367,10 +1367,10 @@
"name": "PS3_4_TPE1"
},
"position": {
"height": 0.0398,
"width": 0.0432,
"x": 0.795,
"y": 0.3148
"height": 0.0185,
"width": 0.0286,
"x": 0.8008,
"y": 0.3281
},
"props": {
"params": {
@ -1399,10 +1399,10 @@
"name": "PS3_5_TPE1"
},
"position": {
"height": 0.0352,
"width": 0.0432,
"x": 0.795,
"y": 0.5111
"height": 0.0185,
"width": 0.0286,
"x": 0.8007,
"y": 0.5203
},
"props": {
"params": {
@ -1431,13 +1431,13 @@
"name": "PS3_7_TPE1"
},
"position": {
"height": 0.037,
"height": 0.0185,
"rotate": {
"angle": "90deg"
},
"width": 0.0417,
"x": 0.8216,
"y": 0.5935
"width": 0.0286,
"x": 0.8278,
"y": 0.6018
},
"props": {
"params": {
@ -1466,13 +1466,13 @@
"name": "PS3_8_TPE1"
},
"position": {
"height": 0.037,
"height": 0.0185,
"rotate": {
"angle": "90deg"
},
"width": 0.0417,
"x": 0.8638,
"y": 0.5935
"width": 0.0286,
"x": 0.8695,
"y": 0.6018
},
"props": {
"params": {
@ -1501,13 +1501,13 @@
"name": "PS3_9AL_TPE1"
},
"position": {
"height": 0.037,
"height": 0.0185,
"rotate": {
"angle": "90deg"
},
"width": 0.0417,
"x": 0.9033,
"y": 0.5935
"width": 0.0286,
"x": 0.9101,
"y": 0.6008
},
"props": {
"params": {
@ -1536,13 +1536,13 @@
"name": "PS3_10_TPE1"
},
"position": {
"height": 0.037,
"height": 0.0185,
"rotate": {
"angle": "90deg"
},
"width": 0.0417,
"x": 0.9273,
"y": 0.5935
"width": 0.0286,
"x": 0.9335,
"y": 0.599
},
"props": {
"params": {
@ -1571,13 +1571,13 @@
"name": "PS3_11_TPE1"
},
"position": {
"height": 0.037,
"height": 0.0185,
"rotate": {
"angle": "90deg"
},
"width": 0.0417,
"x": 0.9523,
"y": 0.5935
"width": 0.0286,
"x": 0.9585,
"y": 0.5971
},
"props": {
"params": {
@ -2448,7 +2448,7 @@
"props": {
"params": {
"tagProps": [
"System/MCM01/Station/SSPB/UL6_1_SS1",
"value",
"value",
"value",
"value",
@ -3336,7 +3336,7 @@
"value"
]
},
"path": "autStand/Equipment/JR_Button",
"path": "autStand/Equipment/Button",
"style": {
"overflow": "hidden"
}
@ -3368,7 +3368,7 @@
"value"
]
},
"path": "autStand/Equipment/JR_Button",
"path": "autStand/Equipment/Button",
"style": {
"overflow": "hidden"
}
@ -3400,7 +3400,7 @@
"value"
]
},
"path": "autStand/Equipment/JR_Button",
"path": "autStand/Equipment/Button",
"style": {
"overflow": "hidden"
}
@ -3432,7 +3432,7 @@
"value"
]
},
"path": "autStand/Equipment/JR_Button",
"path": "autStand/Equipment/Button",
"style": {
"overflow": "hidden"
}
@ -3464,7 +3464,7 @@
"value"
]
},
"path": "autStand/Equipment/JR_Button",
"path": "autStand/Equipment/Button",
"style": {
"overflow": "hidden"
}
@ -3496,7 +3496,7 @@
"value"
]
},
"path": "autStand/Equipment/JR_Button",
"path": "autStand/Equipment/Button",
"style": {
"overflow": "hidden"
}
@ -3528,7 +3528,7 @@
"value"
]
},
"path": "autStand/Equipment/JR_Button",
"path": "autStand/Equipment/Button",
"style": {
"overflow": "hidden"
}
@ -3560,7 +3560,7 @@
"value"
]
},
"path": "autStand/Equipment/JR_Button",
"path": "autStand/Equipment/Button",
"style": {
"overflow": "hidden"
}
@ -3592,7 +3592,7 @@
"value"
]
},
"path": "autStand/Equipment/JR_Button",
"path": "autStand/Equipment/Button",
"style": {
"overflow": "hidden"
}
@ -3624,7 +3624,7 @@
"value"
]
},
"path": "autStand/Equipment/JR_Button",
"path": "autStand/Equipment/Button",
"style": {
"overflow": "hidden"
}
@ -3656,7 +3656,7 @@
"value"
]
},
"path": "autStand/Equipment/JR_Button",
"path": "autStand/Equipment/Button",
"style": {
"overflow": "hidden"
}
@ -4543,10 +4543,10 @@
"name": "PS3_6_TPE1"
},
"position": {
"height": 0.0352,
"width": 0.0432,
"x": 0.795,
"y": 0.5444
"height": 0.0231,
"width": 0.0286,
"x": 0.8007,
"y": 0.5509
},
"props": {
"params": {

Binary file not shown.

After

Width:  |  Height:  |  Size: 154 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 B

View File

@ -1,226 +0,0 @@
{
"custom": {
"state": 0,
"string": "Unknown"
},
"params": {
"tagProps": [
"system/mcm01/buttons/jr/ul15_1_jr1",
"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}/STATE"
},
"transforms": [
{
"expression": "coalesce({value},{view.params.forceFaultStatus},0)",
"type": "expression"
}
],
"type": "tag"
},
"persistent": true
},
"custom.string": {
"binding": {
"config": {
"path": "view.custom.state"
},
"transforms": [
{
"fallback": "Unknown",
"inputType": "scalar",
"mappings": [
{
"input": 1,
"output": "Start"
},
{
"input": 2,
"output": "Start Pressed"
},
{
"input": 3,
"output": "Start Illuminated"
},
{
"input": 4,
"output": "Start Pressed / Illuminated"
},
{
"input": 5,
"output": "Stop"
},
{
"input": 6,
"output": "Stop Pressed"
},
{
"input": 7,
"output": "Stop Illuminated"
},
{
"input": 8,
"output": "Stop Pressed / Illuminated"
},
{
"input": 9,
"output": "Restart"
},
{
"input": 10,
"output": "Restart Pressed"
},
{
"input": 11,
"output": "Restart Illuminated"
},
{
"input": 12,
"output": "Restart Pressed / Illuminated"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
},
"persistent": true
},
"params.tagProps": {
"paramDirection": "input",
"persistent": true
}
},
"props": {
"defaultSize": {
"height": 25,
"width": 25
}
},
"root": {
"children": [
{
"meta": {
"name": "JR_Button"
},
"position": {
"height": 1,
"width": 1
},
"propConfig": {
"props.elements[0].fill.paint": {
"binding": {
"config": {
"expression": "if(\r\n {view.custom.state} \u003d 0, \"#a9a9a9\", // disconnected gray (DarkGray)\r\n if(\r\n {view.custom.state} % 2 \u003d 1, \"#ffffff\", // white\r\n \"#000000\" // black\r\n )\r\n)\r\n"
},
"type": "expr"
}
},
"props.elements[1].fill.paint": {
"binding": {
"config": {
"expression": "if({view.custom.state} \u003d 0, \"#a9a9a9\", // disconnected gray\r\n if({view.custom.state} \u003d 1 || {view.custom.state} \u003d 2, \"#90ee90\", // light green\r\n if({view.custom.state} \u003d 3 || {view.custom.state} \u003d 4, \"#228B22\", // softer dark green\r\n if({view.custom.state} \u003d 5 || {view.custom.state} \u003d 6, \"#ffc0cb\", // pink\r\n if({view.custom.state} \u003d 7 || {view.custom.state} \u003d 8, \"#ff0000\", // red\r\n if({view.custom.state} \u003d 9 || {view.custom.state} \u003d 10, \"#808080\", // normal gray\r\n if({view.custom.state} \u003d 11 || {view.custom.state} \u003d 12, \"#ffffff\", \"\") // white\r\n )\r\n )\r\n )\r\n )\r\n )\r\n)\r\n"
},
"type": "expr"
}
}
},
"props": {
"elements": [
{
"d": "M 0,0 H 20 V 20 H 0 Z",
"fill": {},
"name": "path",
"stroke": {
"paint": "#000000",
"width": "1.5"
},
"type": "path"
},
{
"d": "m 17,10.5 a 7,7 0 0 1 -7,7 7,7 0 0 1 -7,-7 7,7 0 0 1 7,-7 7,7 0 0 1 7,7 z",
"fill": {},
"name": "path",
"stroke": {
"paint": "#000000",
"width": "1"
},
"type": "path"
}
],
"viewBox": "0 0 20 20"
},
"type": "ia.shapes.svg"
}
],
"events": {
"dom": {
"onClick": {
"config": {
"script": "\tsystem.perspective.openDock(\u0027Docked-East-JR\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
}
},
"propConfig": {
"meta.tooltip.text": {
"binding": {
"config": {
"expression": "\"Source Id: \" + {view.params.tagProps[0]} + \", Status: \" + {view.custom.string}\n"
},
"type": "expr"
}
},
"meta.visible": {
"binding": {
"config": {
"path": "session.custom.alarm_filter.show_buttons"
},
"type": "property"
}
}
},
"props": {
"mode": "percent",
"style": {
"cursor": "pointer"
}
},
"type": "ia.container.coord"
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 567 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 542 B

View File

@ -0,0 +1,900 @@
{
"custom": {
"PLC_list": [
"MCM01",
"MCM02"
],
"color": "#C2C2C2",
"type": "UNKNOWN"
},
"params": {
"tagProps": [
"System/MCM02/Chute/NC/S03_103CH",
"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.color": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[0]}",
"fc": "{session.custom.fc}",
"type": "{view.custom.type}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/{type}/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.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},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
},
"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-BTN\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": "NameField"
},
"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": "Name"
},
"position": {
"basis": "35px"
},
"props": {
"style": {
"classes": "PopUp-Styles/InfoLabel",
"overflow": "hidden"
}
},
"type": "ia.container.flex"
}
],
"meta": {
"name": "FlexContainer_0"
},
"position": {
"basis": "35px"
},
"props": {
"direction": "column"
},
"type": "ia.container.flex"
},
{
"children": [
{
"children": [
{
"meta": {
"name": "NameField"
},
"position": {
"basis": "50%",
"grow": 1
},
"props": {
"style": {
"paddingLeft": 20
},
"text": "BUTTON LIGHT"
},
"type": "ia.display.label"
},
{
"meta": {
"name": "PB_Light"
},
"position": {
"basis": "50%",
"grow": 1
},
"propConfig": {
"props.style.backgroundColor": {
"binding": {
"config": {
"path": "view.custom.color"
},
"type": "property"
}
}
},
"props": {
"style": {
"classes": "Text-Styles/Ariel-Bold-12pt",
"paddingLeft": 10
},
"textStyle": {
"color": "#C2C2C2"
}
},
"type": "ia.display.label"
}
],
"meta": {
"name": "Name"
},
"position": {
"basis": "35px",
"shrink": 2
},
"props": {
"style": {
"classes": "PopUp-Styles/InfoLabel"
}
},
"type": "ia.container.flex"
}
],
"meta": {
"name": "FlexContainer_1"
},
"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+\"/Start_PB\"\n\tsystem.tag.writeBlocking([tag_path],[True])\n\ttag_path2 \u003d \"[\" + self.session.custom.fc+ \"_SCADA_TAG_PROVIDER]\"+tag_name+\"/JR_PB\"\n\tsystem.tag.writeBlocking([tag_path2],[True])\n\ttag_path3 \u003d \"[\" + self.session.custom.fc+ \"_SCADA_TAG_PROVIDER]\"+tag_name+\"/GS_PB\"\n\tsystem.tag.writeBlocking([tag_path3],[True])\n\ttag_path4 \u003d \"[\" + self.session.custom.fc+ \"_SCADA_TAG_PROVIDER]\"+tag_name+\"/Enable_Chute_PB\"\n\tsystem.tag.writeBlocking([tag_path4],[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": {
"binding": {
"config": {
"path": "view.custom.type"
},
"transforms": [
{
"fallback": "#000000",
"inputType": "scalar",
"mappings": [
{
"input": "Start",
"output": "#FFFFFF"
}
],
"outputType": "color",
"type": "map"
}
],
"type": "property"
}
},
"props.image.icon.path": {
"binding": {
"config": {
"path": "view.custom.type"
},
"transforms": [
{
"fallback": "",
"inputType": "scalar",
"mappings": [
{
"input": "PR",
"output": "material/not_started"
},
{
"input": "Start",
"output": "material/not_started"
},
{
"input": "JR",
"output": "material/sync_problem"
},
{
"input": "GS",
"output": "material/not_started"
},
{
"input": "Chute_JR",
"output": "material/sync_problem"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
},
"props.style.backgroundColor": {
"binding": {
"config": {
"path": "view.custom.color"
},
"type": "property"
}
},
"props.text": {
"binding": {
"config": {
"path": "view.custom.type"
},
"transforms": [
{
"fallback": "UNKNOWN",
"inputType": "scalar",
"mappings": [
{
"input": "PR",
"output": "ENABLE"
},
{
"input": "Start",
"output": "START"
},
{
"input": "JR",
"output": "JAM RESET"
},
{
"input": "GS",
"output": "GAYLORD START"
},
{
"input": "Chute_JR",
"output": "CHUTE JAM RESET"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
},
"props.textStyle.color": {
"binding": {
"config": {
"path": "view.custom.type"
},
"transforms": [
{
"fallback": "#000000",
"inputType": "scalar",
"mappings": [
{
"input": "Start",
"output": "#FFFFFF"
}
],
"outputType": "color",
"type": "map"
}
],
"type": "property"
}
}
},
"props": {
"image": {
"icon": {}
},
"style": {
"classes": "Background-Styles/Controller"
}
},
"type": "ia.input.button"
}
],
"meta": {
"name": "Reset Jam"
},
"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 \"PR\" or value \u003d\u003d \"Enable\":\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"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 B

View File

@ -117,22 +117,22 @@
},
"props": {
"defaultSize": {
"height": 40,
"width": 110
"height": 25,
"width": 240
}
},
"root": {
"children": [
{
"meta": {
"name": "Photoeye"
"name": "arrow_icon"
},
"position": {
"height": 1,
"width": 1
},
"propConfig": {
"props.elements[0].fill.paint": {
"props.elements[1].fill.paint": {
"binding": {
"config": {
"path": "view.custom.state"
@ -166,7 +166,7 @@
"type": "property"
}
},
"props.elements[2].fill.paint": {
"props.elements[3].fill.paint": {
"binding": {
"config": {
"path": "view.custom.state"
@ -204,41 +204,51 @@
"props": {
"elements": [
{
"d": "m 28.763932,20 -20,10 V 10 Z",
"id": "defs1",
"name": "defs1",
"type": "defs"
},
{
"d": "M 21.343364,12.531563 2.1710548,22.117718 V 2.9454084 Z",
"fill": {},
"name": "path",
"id": "path1",
"name": "path1",
"stroke": {
"paint": "#000000",
"width": "2"
"width": "1.91723"
},
"type": "path"
},
{
"id": "line1",
"name": "line1",
"stroke": {
"dasharray": "2, 2",
"paint": "#000000",
"width": "2"
"width": "5.27624"
},
"stroke-dasharray": "4,4",
"type": "line",
"x1": "30",
"x2": "90%",
"y1": "20",
"y2": "20"
"x1": "22.528276",
"x2": "240.33455",
"y1": "12.531563",
"y2": "12.531563"
},
{
"fill": {},
"height": "20",
"height": "19.17231",
"id": "rect1",
"name": "rect1",
"stroke": {
"paint": "#000000",
"width": "2"
"width": "1.91723"
},
"type": "rect",
"width": "6",
"x": "90%",
"y": "10"
"width": "5.7516928",
"x": "242.5192",
"y": "3.1996493"
}
],
"viewBox": "0 0 110 40"
"viewBox": "0 0 250 25"
},
"type": "ia.shapes.svg"
}

View File

@ -1,264 +0,0 @@
{
"custom": {
"state": 0,
"string": "Clear"
},
"params": {
"tagProps": [
3,
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"propConfig": {
"custom.state": {
"binding": {
"config": {
"fallbackDelay": 1,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[0]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/State"
},
"transforms": [
{
"expression": "coalesce({value},0)",
"type": "expression"
}
],
"type": "tag"
},
"persistent": true
},
"custom.string": {
"binding": {
"config": {
"path": "view.custom.state"
},
"transforms": [
{
"fallback": "Clear",
"inputType": "scalar",
"mappings": [
{
"input": 1,
"output": "Clear"
},
{
"input": 2,
"output": "Blocked"
},
{
"input": 3,
"output": "Disabled"
},
{
"input": 4,
"output": "Jammed"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
},
"persistent": true
},
"params.tagProps": {
"paramDirection": "input",
"persistent": true
}
},
"props": {
"defaultSize": {
"height": 42,
"width": 98
}
},
"root": {
"children": [
{
"meta": {
"name": "Photoeye"
},
"position": {
"height": 1,
"width": 1
},
"propConfig": {
"props.elements[0].fill.paint": {
"binding": {
"config": {
"path": "view.custom.state"
},
"transforms": [
{
"fallback": "#00FF00",
"inputType": "scalar",
"mappings": [
{
"input": 0,
"output": "#00FF00"
},
{
"input": 2,
"output": "#000000"
},
{
"input": 3,
"output": "#800080"
},
{
"input": 4,
"output": "#FF0000"
}
],
"outputType": "color",
"type": "map"
}
],
"type": "property"
}
},
"props.elements[2].fill.paint": {
"binding": {
"config": {
"path": "view.custom.state"
},
"transforms": [
{
"fallback": "#00FF00",
"inputType": "scalar",
"mappings": [
{
"input": 0,
"output": "#00FF00"
},
{
"input": 2,
"output": "#000000"
},
{
"input": 3,
"output": "#800080"
},
{
"input": 4,
"output": "#FF0000"
}
],
"outputType": "color",
"type": "map"
}
],
"type": "property"
}
}
},
"props": {
"elements": [
{
"d": "m 28.763932,20 -20,10 V 10 Z",
"fill": {},
"name": "path",
"stroke": {
"paint": "#000000",
"width": "2"
},
"type": "path"
},
{
"stroke": {
"paint": "#000000",
"width": "2"
},
"stroke-dasharray": "4,4",
"type": "line",
"x1": "30",
"x2": "60",
"y1": "20",
"y2": "20"
},
{
"fill": {},
"height": "20",
"stroke": {
"paint": "#000000",
"width": "2"
},
"type": "rect",
"width": "6",
"x": "60",
"y": "10"
}
],
"preserveAspectRatio": "none",
"style": {
"boxShadow": "value"
},
"viewBox": "0 0 80 40"
},
"type": "ia.shapes.svg"
}
],
"events": {
"dom": {
"onClick": {
"config": {
"script": "\tsystem.perspective.openDock(\u0027Docked-East-Photoeye\u0027,params\u003d{\u0027tagProps\u0027:self.view.params.tagProps})"
},
"scope": "G",
"type": "script"
},
"onMouseEnter": {
"config": {
"script": "\tfrom time import sleep\n\n\talarm \u003d []\n\tmessage \u003d None\n\n\tsleep(0.5)\n\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
}
},
"propConfig": {
"meta.tooltip.text": {
"binding": {
"config": {
"expression": "\"Source Id: \" + {view.params.tagProps[0]} + \", Status: \" + {view.custom.string}\n"
},
"type": "expr"
}
},
"meta.visible": {
"binding": {
"config": {
"path": "session.custom.alarm_filter.show_photoeyes"
},
"type": "property"
}
}
},
"props": {
"mode": "percent",
"style": {
"cursor": "pointer"
}
},
"type": "ia.container.coord"
}
}

View File

@ -1,8 +1,8 @@
{
"custom": {
"color": "d3d3d3",
"state": 10,
"string": "value"
"color": "ffffff",
"state": 15,
"string": "Non Powered Equipment"
},
"params": {
"tagProps": [

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

View File

@ -618,7 +618,7 @@
"$": [
"ds",
192,
1756805317876
1756810817838
],
"$columns": [
{
@ -2165,7 +2165,7 @@
"$": [
"ds",
192,
1756805317874
1756810817838
],
"$columns": [
{
@ -2217,7 +2217,7 @@
"$": [
"ds",
192,
1756805317875
1756810817838
],
"$columns": [
{
@ -3538,7 +3538,7 @@
"$": [
"ds",
192,
1756805317876
1756810817822
],
"$columns": [
{
@ -4880,7 +4880,7 @@
"$": [
"ds",
192,
1756805317886
1756810817824
],
"$columns": [
{
@ -9629,7 +9629,7 @@
"$": [
"ds",
192,
1756805317877
1756810817824
],
"$columns": [
{
@ -24962,7 +24962,7 @@
"$": [
"ds",
192,
1756805317874
1756810817838
],
"$columns": [
{
@ -26416,13 +26416,13 @@
"selection": {
"data": [
{
"Endtstamp": 1756802079000,
"Endtstamp": null,
"Inbound_jam": null,
"Inbound_perc": null,
"Sorter_jam": 15,
"Sorter_perc": 1,
"Startstamp": 1756801720000,
"Total_Jam": 15,
"Sorter_jam": null,
"Sorter_perc": null,
"Startstamp": null,
"Total_Jam": null,
"Total_perc": 1
}
],
@ -29498,7 +29498,7 @@
},
"props": {
"dismissOnSelect": false,
"formattedValue": "Sep 2, 2025 12:28 PM",
"formattedValue": "Sep 2, 2025 2:00 PM",
"formattedValues": {
"date": "Mar 26, 2021",
"datetime": "Mar 26, 2021 12:00 AM",
@ -29516,9 +29516,9 @@
"$": [
"ts",
192,
1756805317872
1756810817837
],
"$ts": 1756801717000
"$ts": 1756807217000
}
},
"type": "ia.input.date-time-input"
@ -29669,7 +29669,7 @@
},
"props": {
"dismissOnSelect": false,
"formattedValue": "Sep 2, 2025 1:28 PM",
"formattedValue": "Sep 2, 2025 3:00 PM",
"formattedValues": {
"date": "Mar 29, 2021",
"datetime": "Mar 29, 2021 1:37 PM",
@ -29687,9 +29687,9 @@
"$": [
"ts",
192,
1756805317832
1756810817834
],
"$ts": 1756805317000
"$ts": 1756810817000
}
},
"type": "ia.input.date-time-input"

View File

@ -107,7 +107,7 @@
"start": "2020-07-29 00:00:00"
}
},
"rotation": "360deg",
"rotation": "0deg",
"show_dpm_device_view": true,
"show_dpm_view": true,
"timewidget": {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 104 KiB

View File

@ -9,8 +9,8 @@
"attributes": {
"lastModification": {
"actor": "admin",
"timestamp": "2025-09-02T06:16:43Z"
"timestamp": "2025-09-02T12:28:43Z"
},
"lastModificationSignature": "eb9b2903ed24690e8d8d84cb7a95f419bad715bd614ce5e221a9f83b01439ff0"
"lastModificationSignature": "b8cf4a3a95fcd50132b379606e39c3a7771e3752ef4a50c6a03b8a173ebdfa32"
}
}

View File

@ -107,7 +107,7 @@
"start": "2020-07-29 00:00:00"
}
},
"rotation": "360deg",
"rotation": "0deg",
"show_dpm_device_view": true,
"show_dpm_view": true,
"timewidget": {

View File

@ -9,8 +9,8 @@
"attributes": {
"lastModification": {
"actor": "admin",
"timestamp": "2025-09-01T15:55:35Z"
"timestamp": "2025-09-02T09:52:22Z"
},
"lastModificationSignature": "0625e0226c373eff42cd48a75ef0580d96e76c4286ebefd6bdfbe7db0d1d84ed"
"lastModificationSignature": "a3157291a52e672e41c58e25611ed05c24728860cc0fbbf5d5ea08285665e06b"
}
}

View File

@ -10,8 +10,8 @@
"attributes": {
"lastModification": {
"actor": "admin",
"timestamp": "2025-09-02T08:55:54Z"
"timestamp": "2025-09-02T12:34:41Z"
},
"lastModificationSignature": "c33c1ad71ddafc3d68f67f6e48a4088e84064d8e427c2d04ffc1da9fbee5a456"
"lastModificationSignature": "cc6ba7a07ea6ed1c4f463ca2518d3efa5777da93fcc38d8f4a3dd1cb447db2f9"
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 74 KiB

After

Width:  |  Height:  |  Size: 44 KiB

View File

@ -3336,7 +3336,7 @@
"value"
]
},
"path": "autStand/Equipment/JR_Button",
"path": "autStand/Equipment/Button",
"style": {
"overflow": "hidden"
}
@ -3368,7 +3368,7 @@
"value"
]
},
"path": "autStand/Equipment/JR_Button",
"path": "autStand/Equipment/Button",
"style": {
"overflow": "hidden"
}
@ -3400,7 +3400,7 @@
"value"
]
},
"path": "autStand/Equipment/JR_Button",
"path": "autStand/Equipment/Button",
"style": {
"overflow": "hidden"
}
@ -3432,7 +3432,7 @@
"value"
]
},
"path": "autStand/Equipment/JR_Button",
"path": "autStand/Equipment/Button",
"style": {
"overflow": "hidden"
}
@ -3464,7 +3464,7 @@
"value"
]
},
"path": "autStand/Equipment/JR_Button",
"path": "autStand/Equipment/Button",
"style": {
"overflow": "hidden"
}
@ -3496,7 +3496,7 @@
"value"
]
},
"path": "autStand/Equipment/JR_Button",
"path": "autStand/Equipment/Button",
"style": {
"overflow": "hidden"
}
@ -3528,7 +3528,7 @@
"value"
]
},
"path": "autStand/Equipment/JR_Button",
"path": "autStand/Equipment/Button",
"style": {
"overflow": "hidden"
}
@ -3560,7 +3560,7 @@
"value"
]
},
"path": "autStand/Equipment/JR_Button",
"path": "autStand/Equipment/Button",
"style": {
"overflow": "hidden"
}
@ -3592,7 +3592,7 @@
"value"
]
},
"path": "autStand/Equipment/JR_Button",
"path": "autStand/Equipment/Button",
"style": {
"overflow": "hidden"
}
@ -3624,7 +3624,7 @@
"value"
]
},
"path": "autStand/Equipment/JR_Button",
"path": "autStand/Equipment/Button",
"style": {
"overflow": "hidden"
}
@ -3656,7 +3656,7 @@
"value"
]
},
"path": "autStand/Equipment/JR_Button",
"path": "autStand/Equipment/Button",
"style": {
"overflow": "hidden"
}

View File

@ -9,9 +9,9 @@
],
"attributes": {
"lastModification": {
"actor": "external",
"timestamp": "2025-09-01T07:10:48Z"
"actor": "admin",
"timestamp": "2025-09-02T12:35:46Z"
},
"lastModificationSignature": "1c76bdf323852dac411d6566ae45af13b05f9128caff06366869e3547a6074ff"
"lastModificationSignature": "393fb6fd64913399adc2b78b6c781dc24e7b5d9a3780ae8156a88c68d4ccb47a"
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 104 KiB

After

Width:  |  Height:  |  Size: 124 KiB

View File

@ -3191,7 +3191,7 @@
"value"
]
},
"path": "autStand/Equipment/JR_Button"
"path": "autStand/Equipment/Button"
},
"type": "ia.display.view"
},
@ -3220,7 +3220,7 @@
"value"
]
},
"path": "autStand/Equipment/JR_Button"
"path": "autStand/Equipment/Button"
},
"type": "ia.display.view"
},
@ -3714,7 +3714,7 @@
"value"
]
},
"path": "autStand/Equipment/JR_Button"
"path": "autStand/Equipment/Button"
},
"type": "ia.display.view"
},
@ -3743,7 +3743,7 @@
"value"
]
},
"path": "autStand/Equipment/JR_Button"
"path": "autStand/Equipment/Button"
},
"type": "ia.display.view"
},
@ -3772,7 +3772,7 @@
"value"
]
},
"path": "autStand/Equipment/JR_Button"
"path": "autStand/Equipment/Button"
},
"type": "ia.display.view"
},
@ -3801,7 +3801,7 @@
"value"
]
},
"path": "autStand/Equipment/JR_Button"
"path": "autStand/Equipment/Button"
},
"type": "ia.display.view"
},
@ -3830,7 +3830,7 @@
"value"
]
},
"path": "autStand/Equipment/JR_Button"
"path": "autStand/Equipment/Button"
},
"type": "ia.display.view"
},
@ -3859,7 +3859,7 @@
"value"
]
},
"path": "autStand/Equipment/JR_Button"
"path": "autStand/Equipment/Button"
},
"type": "ia.display.view"
},
@ -3888,7 +3888,7 @@
"value"
]
},
"path": "autStand/Equipment/JR_Button"
"path": "autStand/Equipment/Button"
},
"type": "ia.display.view"
},
@ -3917,7 +3917,7 @@
"value"
]
},
"path": "autStand/Equipment/JR_Button"
"path": "autStand/Equipment/Button"
},
"type": "ia.display.view"
},
@ -3946,7 +3946,7 @@
"value"
]
},
"path": "autStand/Equipment/JR_Button"
"path": "autStand/Equipment/Button"
},
"type": "ia.display.view"
},
@ -3975,7 +3975,7 @@
"value"
]
},
"path": "autStand/Equipment/JR_Button"
"path": "autStand/Equipment/Button"
},
"type": "ia.display.view"
},
@ -4004,7 +4004,7 @@
"value"
]
},
"path": "autStand/Equipment/JR_Button"
"path": "autStand/Equipment/Button"
},
"type": "ia.display.view"
},
@ -4033,7 +4033,7 @@
"value"
]
},
"path": "autStand/Equipment/JR_Button"
"path": "autStand/Equipment/Button"
},
"type": "ia.display.view"
},
@ -4062,7 +4062,7 @@
"value"
]
},
"path": "autStand/Equipment/JR_Button"
"path": "autStand/Equipment/Button"
},
"type": "ia.display.view"
},
@ -4091,7 +4091,7 @@
"value"
]
},
"path": "autStand/Equipment/JR_Button"
"path": "autStand/Equipment/Button"
},
"type": "ia.display.view"
},
@ -4120,7 +4120,7 @@
"value"
]
},
"path": "autStand/Equipment/JR_Button"
"path": "autStand/Equipment/Button"
},
"type": "ia.display.view"
},
@ -4149,7 +4149,7 @@
"value"
]
},
"path": "autStand/Equipment/JR_Button"
"path": "autStand/Equipment/Button"
},
"type": "ia.display.view"
},
@ -4178,7 +4178,7 @@
"value"
]
},
"path": "autStand/Equipment/JR_Button"
"path": "autStand/Equipment/Button"
},
"type": "ia.display.view"
},
@ -4207,7 +4207,7 @@
"value"
]
},
"path": "autStand/Equipment/JR_Button"
"path": "autStand/Equipment/Button"
},
"type": "ia.display.view"
},
@ -4236,7 +4236,7 @@
"value"
]
},
"path": "autStand/Equipment/JR_Button"
"path": "autStand/Equipment/Button"
},
"type": "ia.display.view"
},
@ -4265,7 +4265,7 @@
"value"
]
},
"path": "autStand/Equipment/JR_Button"
"path": "autStand/Equipment/Button"
},
"type": "ia.display.view"
},
@ -4294,7 +4294,7 @@
"value"
]
},
"path": "autStand/Equipment/JR_Button"
"path": "autStand/Equipment/Button"
},
"type": "ia.display.view"
},
@ -4323,7 +4323,7 @@
"value"
]
},
"path": "autStand/Equipment/JR_Button"
"path": "autStand/Equipment/Button"
},
"type": "ia.display.view"
},
@ -4352,7 +4352,7 @@
"value"
]
},
"path": "autStand/Equipment/JR_Button"
"path": "autStand/Equipment/Button"
},
"type": "ia.display.view"
},
@ -4381,7 +4381,7 @@
"value"
]
},
"path": "autStand/Equipment/JR_Button"
"path": "autStand/Equipment/Button"
},
"type": "ia.display.view"
},
@ -4410,7 +4410,7 @@
"value"
]
},
"path": "autStand/Equipment/JR_Button"
"path": "autStand/Equipment/Button"
},
"type": "ia.display.view"
},
@ -4439,7 +4439,7 @@
"value"
]
},
"path": "autStand/Equipment/JR_Button"
"path": "autStand/Equipment/Button"
},
"type": "ia.display.view"
},
@ -4468,7 +4468,7 @@
"value"
]
},
"path": "autStand/Equipment/JR_Button"
"path": "autStand/Equipment/Button"
},
"type": "ia.display.view"
},
@ -6535,7 +6535,7 @@
"value"
]
},
"path": "autStand/Equipment/JR_Button"
"path": "autStand/Equipment/Button"
},
"type": "ia.display.view"
},
@ -6564,7 +6564,7 @@
"value"
]
},
"path": "autStand/Equipment/JR_Button"
"path": "autStand/Equipment/Button"
},
"type": "ia.display.view"
},
@ -6593,7 +6593,7 @@
"value"
]
},
"path": "autStand/Equipment/JR_Button"
"path": "autStand/Equipment/Button"
},
"type": "ia.display.view"
},
@ -6622,7 +6622,7 @@
"value"
]
},
"path": "autStand/Equipment/JR_Button"
"path": "autStand/Equipment/Button"
},
"type": "ia.display.view"
},
@ -6651,7 +6651,7 @@
"value"
]
},
"path": "autStand/Equipment/JR_Button"
"path": "autStand/Equipment/Button"
},
"type": "ia.display.view"
},
@ -6680,7 +6680,7 @@
"value"
]
},
"path": "autStand/Equipment/JR_Button"
"path": "autStand/Equipment/Button"
},
"type": "ia.display.view"
},
@ -6709,7 +6709,7 @@
"value"
]
},
"path": "autStand/Equipment/JR_Button"
"path": "autStand/Equipment/Button"
},
"type": "ia.display.view"
},
@ -6738,7 +6738,7 @@
"value"
]
},
"path": "autStand/Equipment/JR_Button"
"path": "autStand/Equipment/Button"
},
"type": "ia.display.view"
},
@ -6767,7 +6767,7 @@
"value"
]
},
"path": "autStand/Equipment/JR_Button"
"path": "autStand/Equipment/Button"
},
"type": "ia.display.view"
},

View File

@ -9,9 +9,9 @@
],
"attributes": {
"lastModification": {
"actor": "external",
"timestamp": "2025-08-28T09:46:53Z"
"actor": "admin",
"timestamp": "2025-09-02T12:34:06Z"
},
"lastModificationSignature": "a5addfc0df1195404ad38f744027117001fa2e2ad3314e07177d2607554878df"
"lastModificationSignature": "0f185fd91ea1a96da0bdfd2264342dfd3de3355df6513463b960161f79ddfb75"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 B

View File

@ -121,7 +121,7 @@
"children": [
{
"meta": {
"name": "JR_Button"
"name": "Button"
},
"position": {
"height": 1,
@ -177,7 +177,7 @@
"dom": {
"onClick": {
"config": {
"script": "\tsystem.perspective.openDock(\u0027Docked-East-JR\u0027,params\u003d{\u0027tagProps\u0027:self.view.params.tagProps})"
"script": "\tsystem.perspective.openDock(\u0027Docked-East-BTN\u0027,params\u003d{\u0027tagProps\u0027:self.view.params.tagProps})"
},
"scope": "G",
"type": "script"

View File

@ -8,9 +8,9 @@
],
"attributes": {
"lastModification": {
"actor": "external",
"timestamp": "2025-09-01T07:10:48Z"
"actor": "admin",
"timestamp": "2025-09-02T09:38:53Z"
},
"lastModificationSignature": "d9b0d6a694d7dd19f31b727a9f1f0b32f07a15fdeb5dfe52f54e1caff5fe9657"
"lastModificationSignature": "e87fb872adbc92599d9e3d3d57743ebd7cb47e24c59fdd5e7f00740b6a91ae4c"
}
}

View File

@ -10,8 +10,8 @@
"attributes": {
"lastModification": {
"actor": "admin",
"timestamp": "2025-09-02T09:28:38Z"
"timestamp": "2025-09-02T11:00:18Z"
},
"lastModificationSignature": "b48fcb6c27ea208904dde79a45a683f3493c272bd5517e2d280fd8425b3d7e33"
"lastModificationSignature": "b6a45e00501159a82bfca120fa0854856d024b93252a11351944a7de76fc7b85"
}
}

View File

@ -12,7 +12,7 @@
"$": [
"ds",
192,
1756805316413
1756810816047
],
"$columns": [
{

View File

@ -10,8 +10,8 @@
"attributes": {
"lastModification": {
"actor": "admin",
"timestamp": "2025-09-02T09:28:38Z"
"timestamp": "2025-09-02T11:00:18Z"
},
"lastModificationSignature": "28f8b6a7247e3f721f38a206b41a3bf8b1ca295458d2266f5b4c741e41f7fa73"
"lastModificationSignature": "165391ee4949fa7b4322fdca1527e7faa7dfc709ad641ece66338d1c15269bac"
}
}

View File

@ -4,7 +4,7 @@
"$": [
"ds",
192,
1756805318438
1756810818072
],
"$columns": [
{

View File

@ -9,8 +9,8 @@
"attributes": {
"lastModification": {
"actor": "admin",
"timestamp": "2025-09-02T09:26:29Z"
"timestamp": "2025-09-02T09:47:48Z"
},
"lastModificationSignature": "df3230bece659bf573d0fc250adfc7ff6dc0f7ca28f06f554e4888621993ac21"
"lastModificationSignature": "b848dc087a9556c1422c6d71cc0c69f3f6636cc552e1a3748c99174ca41a1eeb"
}
}

View File

@ -1,8 +1,8 @@
{
"custom": {
"color": "d3d3d3",
"state": 10,
"string": "Off (Inactive)"
"color": "808080",
"state": 1,
"string": "Communication Fault"
},
"params": {
"tagProps": [

View File

@ -10,8 +10,8 @@
"attributes": {
"lastModification": {
"actor": "admin",
"timestamp": "2025-09-02T09:35:09Z"
"timestamp": "2025-09-02T12:34:41Z"
},
"lastModificationSignature": "1ed9b5961d8ca09887d9ba20342423785e44550d415126996b31e227b7688cab"
"lastModificationSignature": "a1c40f815846bc48a36558798d588146a23c235eeba72716097ff5315ded6650"
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB

View File

@ -1,8 +1,8 @@
{
"custom": {
"color": "d3d3d3",
"state": 10,
"string": "value"
"color": "ffffff",
"state": 15,
"string": "Non Powered Equipment"
},
"params": {
"tagProps": [

View File

@ -9,8 +9,8 @@
"attributes": {
"lastModification": {
"actor": "admin",
"timestamp": "2025-09-02T09:28:38Z"
"timestamp": "2025-09-02T11:02:29Z"
},
"lastModificationSignature": "9e7baab338c29c7e9472e4dbec2ae4b07bd72f9ad2b1d173abed358504dea627"
"lastModificationSignature": "da95589053a8820f076d737bb821c33ae317e9b1b63681eda8722382f4fbebcc"
}
}

View File

@ -4,6 +4,16 @@
},
"params": {
"tagProps": [
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},

Binary file not shown.

Before

Width:  |  Height:  |  Size: 74 B

View File

@ -9,9 +9,9 @@
],
"attributes": {
"lastModification": {
"actor": "external",
"timestamp": "2025-08-29T14:05:32Z"
"actor": "admin",
"timestamp": "2025-09-02T11:05:06Z"
},
"lastModificationSignature": "b7af09013eb00fe2911d25e25eb085eff5a7b6fb171637cdf68017023b6cbc17"
"lastModificationSignature": "7586829a23034a010799346c21739bafff0bffc3348d709c1742896974976b85"
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 542 B

After

Width:  |  Height:  |  Size: 92 B

View File

@ -9,9 +9,9 @@
],
"attributes": {
"lastModification": {
"actor": "external",
"timestamp": "2025-08-28T10:01:54Z"
"actor": "admin",
"timestamp": "2025-09-02T10:52:01Z"
},
"lastModificationSignature": "a344a3dd09008170c002c6c2990b34e3c3fdbe5bdb676355cdd3cee43cbda567"
"lastModificationSignature": "3e1d03923538c6635de8c3fd9d16b6ad4078bafe746cb8da7b2211ee27dfd93d"
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 567 B

After

Width:  |  Height:  |  Size: 154 B

View File

@ -9,9 +9,9 @@
],
"attributes": {
"lastModification": {
"actor": "external",
"timestamp": "2025-08-28T10:01:54Z"
"actor": "admin",
"timestamp": "2025-09-02T10:06:19Z"
},
"lastModificationSignature": "fda7255db97d0f1432621c45b715ea0a4e1ef8904c0ad597d5cb7c3a41979d78"
"lastModificationSignature": "1da8c29fadaf8fa76f7713d8373f7d14324886484638cc894342793d3b63c097"
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 487 B

After

Width:  |  Height:  |  Size: 78 B

View File

@ -10,8 +10,8 @@
"attributes": {
"lastModification": {
"actor": "admin",
"timestamp": "2025-09-02T12:21:23Z"
"timestamp": "2025-09-02T12:33:49Z"
},
"lastModificationSignature": "40213ff1b964a48fef171fd7ac9f5a53ea307d8857055b1bf72d4616cbb6d767"
"lastModificationSignature": "8eec50aa766ec87ef6161eca563152863ab08772f6a70cc2fc9c3032a2fad74b"
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.4 KiB

After

Width:  |  Height:  |  Size: 9.3 KiB

View File

@ -173,7 +173,7 @@
},
"transforms": [
{
"expression": "coalesce({value},{view.params.forceFaultStatus},0)",
"expression": "coalesce({value},0)",
"type": "expression"
},
{

View File

@ -10,8 +10,8 @@
"attributes": {
"lastModification": {
"actor": "admin",
"timestamp": "2025-09-02T09:28:38Z"
"timestamp": "2025-09-02T11:00:18Z"
},
"lastModificationSignature": "e63724638ad377f96ecb953b528deff327baca962b0a7e4c377f29eb15042854"
"lastModificationSignature": "401a52f91bb50c727e086356e0899ca50e26aa294678795a815d36285c95d6fd"
}
}

View File

@ -618,7 +618,7 @@
"$": [
"ds",
192,
1756805317876
1756810817838
],
"$columns": [
{
@ -2165,7 +2165,7 @@
"$": [
"ds",
192,
1756805317874
1756810817838
],
"$columns": [
{
@ -2217,7 +2217,7 @@
"$": [
"ds",
192,
1756805317875
1756810817838
],
"$columns": [
{
@ -3538,7 +3538,7 @@
"$": [
"ds",
192,
1756805317876
1756810817822
],
"$columns": [
{
@ -4880,7 +4880,7 @@
"$": [
"ds",
192,
1756805317886
1756810817824
],
"$columns": [
{
@ -9629,7 +9629,7 @@
"$": [
"ds",
192,
1756805317877
1756810817824
],
"$columns": [
{
@ -24962,7 +24962,7 @@
"$": [
"ds",
192,
1756805317874
1756810817838
],
"$columns": [
{
@ -26416,13 +26416,13 @@
"selection": {
"data": [
{
"Endtstamp": 1756802079000,
"Endtstamp": null,
"Inbound_jam": null,
"Inbound_perc": null,
"Sorter_jam": 15,
"Sorter_perc": 1,
"Startstamp": 1756801720000,
"Total_Jam": 15,
"Sorter_jam": null,
"Sorter_perc": null,
"Startstamp": null,
"Total_Jam": null,
"Total_perc": 1
}
],
@ -29498,7 +29498,7 @@
},
"props": {
"dismissOnSelect": false,
"formattedValue": "Sep 2, 2025 12:28 PM",
"formattedValue": "Sep 2, 2025 2:00 PM",
"formattedValues": {
"date": "Mar 26, 2021",
"datetime": "Mar 26, 2021 12:00 AM",
@ -29516,9 +29516,9 @@
"$": [
"ts",
192,
1756805317872
1756810817837
],
"$ts": 1756801717000
"$ts": 1756807217000
}
},
"type": "ia.input.date-time-input"
@ -29669,7 +29669,7 @@
},
"props": {
"dismissOnSelect": false,
"formattedValue": "Sep 2, 2025 1:28 PM",
"formattedValue": "Sep 2, 2025 3:00 PM",
"formattedValues": {
"date": "Mar 29, 2021",
"datetime": "Mar 29, 2021 1:37 PM",
@ -29687,9 +29687,9 @@
"$": [
"ts",
192,
1756805317832
1756810817834
],
"$ts": 1756805317000
"$ts": 1756810817000
}
},
"type": "ia.input.date-time-input"