diff --git a/.resources/05c794d0747810da0ab8d88da091a777d6e24dd540bf8198bbacb2a9d631a8c3 b/.resources/05c794d0747810da0ab8d88da091a777d6e24dd540bf8198bbacb2a9d631a8c3 new file mode 100644 index 00000000..821debf6 Binary files /dev/null and b/.resources/05c794d0747810da0ab8d88da091a777d6e24dd540bf8198bbacb2a9d631a8c3 differ diff --git a/.resources/08162a0d69aca4891123d8c4fc4b125e6aa63c068121f1b7474108b1a42a27ea b/.resources/08162a0d69aca4891123d8c4fc4b125e6aa63c068121f1b7474108b1a42a27ea deleted file mode 100644 index b27b3fee..00000000 --- a/.resources/08162a0d69aca4891123d8c4fc4b125e6aa63c068121f1b7474108b1a42a27ea +++ /dev/null @@ -1,75 +0,0 @@ -{ - "custom": {}, - "params": { - "key": "value" - }, - "propConfig": { - "params.key": { - "paramDirection": "input", - "persistent": true - } - }, - "props": { - "defaultSize": { - "height": 69, - "width": 49 - } - }, - "root": { - "children": [ - { - "meta": { - "name": "Conveyor45" - }, - "position": { - "height": 0.9855, - "width": 0.9796 - }, - "props": { - "elements": [ - { - "id": "defs1", - "name": "defs1", - "type": "defs" - }, - { - "elements": [ - { - "d": "m 0.61872656,19.047242 0.185181,-7.76481 C 2.3211966,6.4490419 5.3844746,3.4831579 9.6680236,0.93748089 L 13.582549,7.8726519 c -2.984985,1.33473 -4.2291194,3.3482401 -4.9990764,6.5174301 l -0.08744,4.67802 z", - "fill": { - "opacity": "1", - "paint": "#ffffff" - }, - "id": "path26615", - "name": "path26615", - "stroke": { - "dasharray": "none", - "opacity": "1", - "paint": "#000000", - "width": 0.15 - }, - "type": "path" - } - ], - "id": "layer1", - "name": "layer1", - "type": "group" - } - ], - "viewBox": "0 0 14 19" - }, - "type": "ia.shapes.svg" - } - ], - "meta": { - "name": "root" - }, - "props": { - "mode": "percent", - "style": { - "overflow": "hidden" - } - }, - "type": "ia.container.coord" - } -} \ No newline at end of file diff --git a/.resources/3a3fad917a15942c00f58c5f68871b907c6f527baf5ca66ea347d9e7a58ee3f1 b/.resources/09bfaaff043146e699492584d7ec7896955f8abad43b8255989c12b1bb166d48 similarity index 77% rename from .resources/3a3fad917a15942c00f58c5f68871b907c6f527baf5ca66ea347d9e7a58ee3f1 rename to .resources/09bfaaff043146e699492584d7ec7896955f8abad43b8255989c12b1bb166d48 index ab79332e..c46d0bd2 100644 --- a/.resources/3a3fad917a15942c00f58c5f68871b907c6f527baf5ca66ea347d9e7a58ee3f1 +++ b/.resources/09bfaaff043146e699492584d7ec7896955f8abad43b8255989c12b1bb166d48 @@ -1,8 +1,14 @@ def handleTagHighlight(view, currentValue): tag_priority = currentValue.value - if tag_priority == None: - return + # --- CASE 1: Remove all highlights by applying CLEAR class --- + if not tag_priority or str(tag_priority).upper() == "CLEAR": + for child in view.rootContainer.getChildren()[0].getChildren(): + try: + child.props.style.classes = "" + except: + pass + return False parts = str(tag_priority).split("||") tag = parts[0] diff --git a/.resources/0007cbfc68249e7e6160180cb7f916ac5fb9832c52aa3ce53460b9c378f8da54 b/.resources/14c234d4398fa0c77c34c11f9403b9d7224b503a7fdf3a2b8534fdcfbec43d55 similarity index 84% rename from .resources/0007cbfc68249e7e6160180cb7f916ac5fb9832c52aa3ce53460b9c378f8da54 rename to .resources/14c234d4398fa0c77c34c11f9403b9d7224b503a7fdf3a2b8534fdcfbec43d55 index e8b68b17..373c561b 100644 --- a/.resources/0007cbfc68249e7e6160180cb7f916ac5fb9832c52aa3ce53460b9c378f8da54 +++ b/.resources/14c234d4398fa0c77c34c11f9403b9d7224b503a7fdf3a2b8534fdcfbec43d55 @@ -4,57 +4,21 @@ "$": [ "ds", 192, - 1755595218713 + 1756805318438 ], "$columns": [ { - "data": [ - "MCM01", - "MCM01", - "MCM01", - "MCM02", - "MCM03", - "MCM04", - "MCM04", - "MCM05", - "MCM06", - "MCM07", - "MCM07" - ], + "data": [], "name": "Location", "type": "String" }, { - "data": [ - "Diagnostic", - "High", - "Medium", - "Diagnostic", - "Diagnostic", - "Diagnostic", - "High", - "Diagnostic", - "Diagnostic", - "Diagnostic", - "High" - ], + "data": [], "name": "Priority", "type": "String" }, { - "data": [ - 3, - 5, - 2, - 2, - 1, - 2, - 5, - 1, - 1, - 2, - 3 - ], + "data": [], "name": "Count", "type": "Long" } @@ -102,6 +66,12 @@ "params.value": { "paramDirection": "input", "persistent": true + }, + "params.value.tagProps[0]": { + "onChange": { + "enabled": null, + "script": "\tsystem.perspective.print(currentValue.value)" + } } }, "props": { @@ -117,7 +87,7 @@ "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])" + "script": "\tsystem.perspective.navigate(self.view.params.value.tagProps[0])" }, "scope": "G", "type": "script" diff --git a/.resources/14cdc6481298ee4b9ca257e1644acb80890cefb0b5fb08d985f970837f820d97 b/.resources/14cdc6481298ee4b9ca257e1644acb80890cefb0b5fb08d985f970837f820d97 deleted file mode 100644 index 9db63056..00000000 Binary files a/.resources/14cdc6481298ee4b9ca257e1644acb80890cefb0b5fb08d985f970837f820d97 and /dev/null differ diff --git a/.resources/1af67dd64e85ac88d94aea9c1bbd49d56a891e6f53c828f080d279cf1da63787 b/.resources/1af67dd64e85ac88d94aea9c1bbd49d56a891e6f53c828f080d279cf1da63787 deleted file mode 100644 index da8f94e2..00000000 --- a/.resources/1af67dd64e85ac88d94aea9c1bbd49d56a891e6f53c828f080d279cf1da63787 +++ /dev/null @@ -1,78 +0,0 @@ -{ - "custom": {}, - "params": { - "key": "value" - }, - "propConfig": { - "params.key": { - "paramDirection": "input", - "persistent": true - } - }, - "props": { - "defaultSize": { - "height": 272, - "width": 207 - } - }, - "root": { - "children": [ - { - "meta": { - "name": "Conveyor_Left90" - }, - "position": { - "height": 1.3652, - "width": 1, - "x": 0.0069, - "y": -0.1685 - }, - "props": { - "elements": [ - { - "id": "defs1", - "name": "defs1", - "type": "defs" - }, - { - "elements": [ - { - "d": "M 16.890047,19.897888 C 4.1781605,20.036878 -0.11241603,13.922713 0.16340637,0.16060852 L 8.2822031,0.16091303 C 8.3924473,8.3148192 8.5268195,11.434975 16.856526,11.653146 Z", - "fill": { - "opacity": "1", - "paint": "#ffffff" - }, - "id": "path27089", - "name": "path27089", - "stroke": { - "dasharray": "none", - "opacity": "1", - "paint": "#000000", - "width": 0.15 - }, - "type": "path" - } - ], - "id": "layer1", - "name": "layer1", - "type": "group" - } - ], - "viewBox": "0 0 17 20" - }, - "type": "ia.shapes.svg" - } - ], - "meta": { - "name": "root" - }, - "props": { - "mode": "percent", - "style": { - "overflow": "hidden", - "overflowX": "hidden" - } - }, - "type": "ia.container.coord" - } -} \ No newline at end of file diff --git a/.resources/5986cf06939a76ac2989493b70bf4aefc8848563919c481d81caf87846ea045b b/.resources/1ea9304f72a841caa57115a7a1513e7d33f22cfc99fd3ca0e6dd90b28d192a94 similarity index 99% rename from .resources/5986cf06939a76ac2989493b70bf4aefc8848563919c481d81caf87846ea045b rename to .resources/1ea9304f72a841caa57115a7a1513e7d33f22cfc99fd3ca0e6dd90b28d192a94 index 6cc2cbe8..b4f4432d 100644 --- a/.resources/5986cf06939a76ac2989493b70bf4aefc8848563919c481d81caf87846ea045b +++ b/.resources/1ea9304f72a841caa57115a7a1513e7d33f22cfc99fd3ca0e6dd90b28d192a94 @@ -318,7 +318,7 @@ "component": { "onActionPerformed": { "config": { - "script": "\tself.session.custom.searchId \u003d \"\"\n\tself.session.custom.deviceSearchId \u003d \"\"\n\tsystem.perspective.closePopup(id \u003d \"Search\")" + "script": "\tsystem.perspective.closePopup(id \u003d \"Search\")\n\tsystem.perspective.navigate(\n\t view\u003dself.page.props.primaryView,\n\t params\u003d{\"highlightTagPath\": \"CLEAR\"}\n\t)" }, "scope": "G", "type": "script" diff --git a/.resources/2561fce715c7390284bec0146ff1d903f1fd732c060750076955c73b4c7fa1f4 b/.resources/2561fce715c7390284bec0146ff1d903f1fd732c060750076955c73b4c7fa1f4 new file mode 100644 index 00000000..b41e7a96 --- /dev/null +++ b/.resources/2561fce715c7390284bec0146ff1d903f1fd732c060750076955c73b4c7fa1f4 @@ -0,0 +1,270 @@ +{ + "custom": { + "color": "d3d3d3", + "state": 10, + "string": "Off (Inactive)" + }, + "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": 4, + "output": "Anti-Gridlock Prevention Mode" + }, + { + "input": 5, + "output": "Full" + }, + { + "input": 6, + "output": "50% Full" + }, + { + "input": 7, + "output": "Running" + }, + { + "input": 8, + "output": "Energy Managment" + }, + { + "input": 9, + "output": "Enabled, Not Running" + }, + { + "input": 10, + "output": "Off (Inactive)" + }, + { + "input": 11, + "output": "Manual / Maintenance Mode" + }, + { + "input": 12, + "output": "Non Powered Equipment" + } + ], + "outputType": "scalar", + "type": "map" + } + ], + "type": "property" + }, + "persistent": true + }, + "params.tagProps": { + "paramDirection": "input", + "persistent": true + } + }, + "props": { + "defaultSize": { + "height": 272, + "width": 207 + } + }, + "root": { + "children": [ + { + "meta": { + "name": "Conveyor_Left90" + }, + "position": { + "height": 1.3652, + "width": 1, + "x": 0.0069, + "y": -0.1685 + }, + "propConfig": { + "props.elements[1].elements[0].fill.paint": { + "binding": { + "config": { + "expression": "\"#\"+{view.custom.color}" + }, + "type": "expr" + } + } + }, + "props": { + "elements": [ + { + "id": "defs1", + "name": "defs1", + "type": "defs" + }, + { + "elements": [ + { + "d": "M 16.890047,19.897888 C 4.1781605,20.036878 -0.11241603,13.922713 0.16340637,0.16060852 L 8.2822031,0.16091303 C 8.3924473,8.3148192 8.5268195,11.434975 16.856526,11.653146 Z", + "fill": { + "opacity": "1" + }, + "id": "path27089", + "name": "path27089", + "stroke": { + "dasharray": "none", + "opacity": "1", + "paint": "#000000", + "width": 0.15 + }, + "type": "path" + } + ], + "id": "layer1", + "name": "layer1", + "type": "group" + } + ], + "viewBox": "0 0 17 20" + }, + "type": "ia.shapes.svg" + } + ], + "meta": { + "name": "root", + "tooltip": { + "enabled": true + } + }, + "propConfig": { + "meta.tooltip.text": { + "binding": { + "config": { + "expression": "\"Source Id: \" + {view.params.tagProps[0]} + \", Status: \" + {view.custom.string}" + }, + "type": "expr" + } + } + }, + "props": { + "mode": "percent", + "style": { + "overflow": "hidden", + "overflowX": "hidden" + } + }, + "type": "ia.container.coord" + } +} \ No newline at end of file diff --git a/.resources/2b76e4e642e8d05db73b2aa30ee9fe5fbbec7618e71ac335a25db44b97206797 b/.resources/2b76e4e642e8d05db73b2aa30ee9fe5fbbec7618e71ac335a25db44b97206797 deleted file mode 100644 index e1155f45..00000000 Binary files a/.resources/2b76e4e642e8d05db73b2aa30ee9fe5fbbec7618e71ac335a25db44b97206797 and /dev/null differ diff --git a/.resources/394e02e0beca09d13db4da7e31cf5b47dd5e559c1ecc8bc3e8debbd536d802fe b/.resources/2bacb4dd193cadcebac443587474447d4cfd1c32c264bea7a782ed2afdf97250 similarity index 99% rename from .resources/394e02e0beca09d13db4da7e31cf5b47dd5e559c1ecc8bc3e8debbd536d802fe rename to .resources/2bacb4dd193cadcebac443587474447d4cfd1c32c264bea7a782ed2afdf97250 index c72075cb..91937c00 100644 --- a/.resources/394e02e0beca09d13db4da7e31cf5b47dd5e559c1ecc8bc3e8debbd536d802fe +++ b/.resources/2bacb4dd193cadcebac443587474447d4cfd1c32c264bea7a782ed2afdf97250 @@ -618,7 +618,7 @@ "$": [ "ds", 192, - 1756801949047 + 1756805317876 ], "$columns": [ { @@ -2165,7 +2165,7 @@ "$": [ "ds", 192, - 1756801949029 + 1756805317874 ], "$columns": [ { @@ -2217,7 +2217,7 @@ "$": [ "ds", 192, - 1756801949029 + 1756805317875 ], "$columns": [ { @@ -3538,7 +3538,7 @@ "$": [ "ds", 192, - 1756801949047 + 1756805317876 ], "$columns": [ { @@ -4880,7 +4880,7 @@ "$": [ "ds", 192, - 1756801949050 + 1756805317886 ], "$columns": [ { @@ -9629,7 +9629,7 @@ "$": [ "ds", 192, - 1756801949003 + 1756805317877 ], "$columns": [ { @@ -24962,7 +24962,7 @@ "$": [ "ds", 192, - 1756801949047 + 1756805317874 ], "$columns": [ { @@ -26416,13 +26416,13 @@ "selection": { "data": [ { - "Endtstamp": 1756801862000, - "Inbound_jam": 1, - "Inbound_perc": 0.0556, - "Sorter_jam": 17, - "Sorter_perc": 0.9444, - "Startstamp": 1756800774000, - "Total_Jam": 18, + "Endtstamp": 1756802079000, + "Inbound_jam": null, + "Inbound_perc": null, + "Sorter_jam": 15, + "Sorter_perc": 1, + "Startstamp": 1756801720000, + "Total_Jam": 15, "Total_perc": 1 } ], @@ -29498,7 +29498,7 @@ }, "props": { "dismissOnSelect": false, - "formattedValue": "Sep 2, 2025 11:32 AM", + "formattedValue": "Sep 2, 2025 12:28 PM", "formattedValues": { "date": "Mar 26, 2021", "datetime": "Mar 26, 2021 12:00 AM", @@ -29516,9 +29516,9 @@ "$": [ "ts", 192, - 1756801949026 + 1756805317872 ], - "$ts": 1756798349000 + "$ts": 1756801717000 } }, "type": "ia.input.date-time-input" @@ -29669,7 +29669,7 @@ }, "props": { "dismissOnSelect": false, - "formattedValue": "Sep 2, 2025 12:32 PM", + "formattedValue": "Sep 2, 2025 1:28 PM", "formattedValues": { "date": "Mar 29, 2021", "datetime": "Mar 29, 2021 1:37 PM", @@ -29687,9 +29687,9 @@ "$": [ "ts", 192, - 1756801948997 + 1756805317832 ], - "$ts": 1756801948000 + "$ts": 1756805317000 } }, "type": "ia.input.date-time-input" diff --git a/.resources/30fca8ac82f3dc1e281c44a66419a13626910dd70300fc99c62a83ad824148b2 b/.resources/30fca8ac82f3dc1e281c44a66419a13626910dd70300fc99c62a83ad824148b2 deleted file mode 100644 index c3e89d5c..00000000 --- a/.resources/30fca8ac82f3dc1e281c44a66419a13626910dd70300fc99c62a83ad824148b2 +++ /dev/null @@ -1,203 +0,0 @@ -{ - "custom": { - "state": 0, - "string": "Unknown" - }, - "params": { - "tagProps": [ - "/system/mcm01/test", - "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" - }, - { - "fallback": null, - "inputType": "scalar", - "mappings": [ - { - "input": 1, - "output": 1 - }, - { - "input": 0, - "output": 0 - }, - { - "input": 2, - "output": 2 - }, - { - "input": 3, - "output": 3 - } - ], - "outputType": "scalar", - "type": "map" - } - ], - "type": "tag" - }, - "persistent": true - }, - "custom.string": { - "binding": { - "config": { - "path": "view.custom.state" - }, - "transforms": [ - { - "fallback": "Unknown", - "inputType": "scalar", - "mappings": [ - { - "input": 1, - "output": "OK" - }, - { - "input": 2, - "output": "Faulted" - } - ], - "outputType": "scalar", - "type": "map" - } - ], - "type": "property" - }, - "persistent": true - }, - "params.tagProps": { - "paramDirection": "input", - "persistent": true - } - }, - "props": { - "defaultSize": { - "height": 20, - "width": 40 - } - }, - "root": { - "children": [ - { - "meta": { - "name": "Label" - }, - "position": { - "height": 1, - "width": 1 - }, - "props": { - "text": "FIO", - "textStyle": { - "fontSize": "20px", - "textAlign": "center", - "textTransform": "uppercase" - } - }, - "type": "ia.display.label" - } - ], - "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_fio_safety" - }, - "type": "property" - } - }, - "props.style.backgroundColor": { - "binding": { - "config": { - "path": "view.custom.state" - }, - "transforms": [ - { - "fallback": "#808080", - "inputType": "scalar", - "mappings": [ - { - "input": 1, - "output": "#00FF00" - }, - { - "input": 2, - "output": "#FF0000" - } - ], - "outputType": "color", - "type": "map" - } - ], - "type": "property" - } - } - }, - "props": { - "mode": "percent", - "style": { - "borderStyle": "solid", - "cursor": "pointer", - "overflow": "hidden" - } - }, - "type": "ia.container.coord" - } -} \ No newline at end of file diff --git a/.resources/3544e3d38b3db0e073fc9e54d3cc87611d6689c39b01dd46363c0eb974c08442 b/.resources/37f8ac189b2c7fb4f7bc3e65fc834abada83c3fb2f270c3d058ab4e51f7ceb43 similarity index 90% rename from .resources/3544e3d38b3db0e073fc9e54d3cc87611d6689c39b01dd46363c0eb974c08442 rename to .resources/37f8ac189b2c7fb4f7bc3e65fc834abada83c3fb2f270c3d058ab4e51f7ceb43 index 7e9a99b6..b7c18510 100644 --- a/.resources/3544e3d38b3db0e073fc9e54d3cc87611d6689c39b01dd46363c0eb974c08442 +++ b/.resources/37f8ac189b2c7fb4f7bc3e65fc834abada83c3fb2f270c3d058ab4e51f7ceb43 @@ -4,7 +4,7 @@ "props": { "defaultSize": { "height": 294, - "width": 500 + "width": 747 } }, "root": { @@ -246,13 +246,23 @@ "$": [ "ds", 192, - 1756214343007 + 1756802609515 ], "$columns": [ { "data": [ + "System/MCM01/Station/SSPB/UL6_1_sdfsdfs", "System/MCM01/Station/SSPB/UL6_1_SS1", - "/system/mcm01/test" + "/system/mcm01/test", + "System/MCM01/MCM", + "System/MCM01/Station/SSPB/helloworld", + "baro gio", + "sdfsdf", + "testr", + "guga", + "sol25", + "sol26", + "System/MCM01/Station/SSPB/UL6_1_SS1asdasd" ], "name": "SourceId", "type": "String" @@ -260,7 +270,17 @@ { "data": [ "MCM01-FLUID INBOUND", - "MCM02-NC SORTER" + "MCM01-FLUID INBOUND", + "MCM02-NC SORTER", + "MCM01-FLUID INBOUND", + "MCM01-FLUID INBOUND", + "MCM01-FLUID INBOUND", + "MCM01-FLUID INBOUND", + "MCM01-FLUID INBOUND", + "MCM01-FLUID INBOUND", + "MCM02-NC SORTER", + "MCM02-NC SORTER", + "MCM01-FLUID INBOUND" ], "name": "Page", "type": "String" diff --git a/.resources/48ce0d675aa04f69561f58a7355f64dad834dc91afcbfc6cae1088af22c37dce b/.resources/48ce0d675aa04f69561f58a7355f64dad834dc91afcbfc6cae1088af22c37dce new file mode 100644 index 00000000..a11cc49a --- /dev/null +++ b/.resources/48ce0d675aa04f69561f58a7355f64dad834dc91afcbfc6cae1088af22c37dce @@ -0,0 +1,227 @@ +{ + "custom": { + "color": "d3d3d3", + "state": 10, + "string": "Off (Inactive)" + }, + "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": 4, + "output": "Anti-Gridlock Prevention Mode" + }, + { + "input": 5, + "output": "Full" + }, + { + "input": 6, + "output": "50% Full" + }, + { + "input": 7, + "output": "Running" + }, + { + "input": 8, + "output": "Energy Managment" + }, + { + "input": 9, + "output": "Enabled, Not Running" + }, + { + "input": 10, + "output": "Off (Inactive)" + }, + { + "input": 11, + "output": "Manual / Maintenance Mode" + }, + { + "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" + } +} \ No newline at end of file diff --git a/.resources/4eaa33c404ad7b97c794ece1bc704cbc69c25eea023d0a4c5b57f7eacf883bde b/.resources/4eaa33c404ad7b97c794ece1bc704cbc69c25eea023d0a4c5b57f7eacf883bde new file mode 100644 index 00000000..1cbb7191 Binary files /dev/null and b/.resources/4eaa33c404ad7b97c794ece1bc704cbc69c25eea023d0a4c5b57f7eacf883bde differ diff --git a/.resources/5a197705409febf2d39891a8446201d8e4300cea7e613136b83e18ebe81ed3be b/.resources/5a197705409febf2d39891a8446201d8e4300cea7e613136b83e18ebe81ed3be deleted file mode 100644 index 2e051333..00000000 Binary files a/.resources/5a197705409febf2d39891a8446201d8e4300cea7e613136b83e18ebe81ed3be and /dev/null differ diff --git a/.resources/5f6f22e85484569589a1f88ab06cd254bffb0952f396d00884f5c4108a62f8d6 b/.resources/5f6f22e85484569589a1f88ab06cd254bffb0952f396d00884f5c4108a62f8d6 new file mode 100644 index 00000000..1d59c0d8 --- /dev/null +++ b/.resources/5f6f22e85484569589a1f88ab06cd254bffb0952f396d00884f5c4108a62f8d6 @@ -0,0 +1,267 @@ +{ + "custom": { + "color": "d3d3d3", + "state": 10, + "string": "Off (Inactive)" + }, + "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": 4, + "output": "Anti-Gridlock Prevention Mode" + }, + { + "input": 5, + "output": "Full" + }, + { + "input": 6, + "output": "50% Full" + }, + { + "input": 7, + "output": "Running" + }, + { + "input": 8, + "output": "Energy Managment" + }, + { + "input": 9, + "output": "Enabled, Not Running" + }, + { + "input": 10, + "output": "Off (Inactive)" + }, + { + "input": 11, + "output": "Manual / Maintenance Mode" + }, + { + "input": 12, + "output": "Non Powered Equipment" + } + ], + "outputType": "scalar", + "type": "map" + } + ], + "type": "property" + }, + "persistent": true + }, + "params.tagProps": { + "paramDirection": "input", + "persistent": true + } + }, + "props": { + "defaultSize": { + "height": 69, + "width": 49 + } + }, + "root": { + "children": [ + { + "meta": { + "name": "Conveyor45" + }, + "position": { + "height": 0.9855, + "width": 0.9796 + }, + "propConfig": { + "props.elements[1].elements[0].fill.paint": { + "binding": { + "config": { + "expression": "\"#\" + {view.custom.color}" + }, + "type": "expr" + } + } + }, + "props": { + "elements": [ + { + "id": "defs1", + "name": "defs1", + "type": "defs" + }, + { + "elements": [ + { + "d": "m 0.61872656,19.047242 0.185181,-7.76481 C 2.3211966,6.4490419 5.3844746,3.4831579 9.6680236,0.93748089 L 13.582549,7.8726519 c -2.984985,1.33473 -4.2291194,3.3482401 -4.9990764,6.5174301 l -0.08744,4.67802 z", + "fill": { + "opacity": "1" + }, + "id": "path26615", + "name": "path26615", + "stroke": { + "dasharray": "none", + "opacity": "1", + "paint": "#000000", + "width": 0.15 + }, + "type": "path" + } + ], + "id": "layer1", + "name": "layer1", + "type": "group" + } + ], + "viewBox": "0 0 14 19" + }, + "type": "ia.shapes.svg" + } + ], + "meta": { + "name": "root", + "tooltip": { + "enabled": true + } + }, + "propConfig": { + "meta.tooltip.text": { + "binding": { + "config": { + "expression": "\"Source Id: \" + {view.params.tagProps[0]} + \", Status: \" + {view.custom.string}" + }, + "type": "expr" + } + } + }, + "props": { + "mode": "percent", + "style": { + "overflow": "hidden" + } + }, + "type": "ia.container.coord" + } +} \ No newline at end of file diff --git a/.resources/675b364e4340b70448c667d5c7453fe308bd34bda13648db1eef043ed591089a b/.resources/675b364e4340b70448c667d5c7453fe308bd34bda13648db1eef043ed591089a new file mode 100644 index 00000000..09609fba Binary files /dev/null and b/.resources/675b364e4340b70448c667d5c7453fe308bd34bda13648db1eef043ed591089a differ diff --git a/.resources/6e35544df3adb23ccc96914476e797d6191aa3565e4874b38186d8a86b8bf8e7 b/.resources/6e35544df3adb23ccc96914476e797d6191aa3565e4874b38186d8a86b8bf8e7 deleted file mode 100644 index a2681d27..00000000 --- a/.resources/6e35544df3adb23ccc96914476e797d6191aa3565e4874b38186d8a86b8bf8e7 +++ /dev/null @@ -1,235 +0,0 @@ -{ - "custom": { - "string": "OK" - }, - "params": { - "tagProps": [ - "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" - } - }, - "custom.string": { - "binding": { - "config": { - "path": "view.custom.state" - }, - "transforms": [ - { - "fallback": "Unknown", - "inputType": "scalar", - "mappings": [ - { - "input": 0, - "output": "OK" - }, - { - "input": 1, - "output": "Fault" - } - ], - "outputType": "scalar", - "type": "map" - } - ], - "type": "property" - }, - "persistent": true - } - }, - "props": { - "defaultSize": { - "height": 20, - "width": 20 - } - }, - "root": { - "children": [ - { - "meta": { - "name": "EncoderIcon" - }, - "position": { - "height": 1, - "width": 1 - }, - "propConfig": { - "props.elements[0].fill.paint": { - "binding": { - "config": { - "path": "view.custom.state" - }, - "transforms": [ - { - "fallback": "#47FF47", - "inputType": "scalar", - "mappings": [ - { - "input": 1, - "output": "#FF0000" - } - ], - "outputType": "color", - "type": "map" - } - ], - "type": "property" - } - } - }, - "props": { - "elements": [ - { - "cx": 12, - "cy": "12", - "fill": {}, - "name": "statusCircle", - "rx": "10", - "ry": "10", - "stroke": { - "paint": "#000000", - "width": "2" - }, - "type": "ellipse" - }, - { - "d": "M 4.6516854,13.685393 H 9.8292135", - "fill": {}, - "name": "segLeft", - "stroke": { - "paint": "#000000", - "width": 1 - }, - "type": "path" - }, - { - "d": "M 9.6000004,13.469662 V 8.2112357", - "fill": {}, - "name": "segUpLeft", - "stroke": { - "paint": "#000000", - "width": 1 - }, - "type": "path" - }, - { - "d": "M 19.829214,13.685393 H 14.651685", - "fill": {}, - "name": "segRight", - "stroke": { - "paint": "#000000", - "width": 1 - }, - "type": "path" - }, - { - "d": "M 14.880899,13.469662 V 8.211236", - "fill": {}, - "name": "segUpRight", - "stroke": { - "paint": "#000000", - "width": 1 - }, - "type": "path" - }, - { - "d": "m 9.8154019,8.4404597 4.8815551,0.013462", - "fill": {}, - "name": "segTop", - "stroke": { - "paint": "#000000", - "width": 1 - }, - "type": "path" - } - ], - "viewBox": "0 0 24 24" - }, - "type": "ia.shapes.svg" - } - ], - "meta": { - "name": "Encoder", - "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_encoders" - }, - "type": "property" - } - } - }, - "props": { - "mode": "percent" - }, - "type": "ia.container.coord" - } -} \ No newline at end of file diff --git a/.resources/6ee1ba487a1f17628723e8d227566adf6051dfdc57f2d8cadd76bbab55e200f9 b/.resources/6ee1ba487a1f17628723e8d227566adf6051dfdc57f2d8cadd76bbab55e200f9 new file mode 100644 index 00000000..119f221f Binary files /dev/null and b/.resources/6ee1ba487a1f17628723e8d227566adf6051dfdc57f2d8cadd76bbab55e200f9 differ diff --git a/.resources/70c0fe7781150439ff969d5b353fd0cbf450a4fc96d4cabdbe07372a5754c1d9 b/.resources/70c0fe7781150439ff969d5b353fd0cbf450a4fc96d4cabdbe07372a5754c1d9 deleted file mode 100644 index 59001e5a..00000000 --- a/.resources/70c0fe7781150439ff969d5b353fd0cbf450a4fc96d4cabdbe07372a5754c1d9 +++ /dev/null @@ -1,241 +0,0 @@ -{ - "custom": { - "state": 0, - "string": "Starting" - }, - "params": { - "name": "amber", - "tagProps": [ - "/system/mcm01/test", - "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" - }, - { - "fallback": null, - "inputType": "scalar", - "mappings": [ - { - "input": 1, - "output": 1 - }, - { - "input": 0, - "output": 0 - }, - { - "input": 2, - "output": 2 - }, - { - "input": 3, - "output": 3 - } - ], - "outputType": "scalar", - "type": "map" - } - ], - "type": "tag" - }, - "persistent": true - }, - "custom.string": { - "binding": { - "config": { - "path": "view.custom.state" - }, - "transforms": [ - { - "fallback": "Starting", - "inputType": "scalar", - "mappings": [ - { - "input": 1, - "output": "Running" - }, - { - "input": 2, - "output": "EStop or Faulted" - }, - { - "input": 3, - "output": "Gridlock Prevention" - }, - { - "input": 4, - "output": "Full" - }, - { - "input": 5, - "output": "Jammed" - } - ], - "outputType": "scalar", - "type": "map" - } - ], - "type": "property" - }, - "persistent": true - }, - "params.name": { - "paramDirection": "input", - "persistent": true - }, - "params.tagProps": { - "paramDirection": "input", - "persistent": true - } - }, - "props": { - "defaultSize": { - "height": 20, - "width": 20 - } - }, - "root": { - "children": [ - { - "meta": { - "name": "Label" - }, - "position": { - "height": 1, - "width": 1 - }, - "propConfig": { - "props.text": { - "binding": { - "config": { - "expression": "substring({view.params.name}, 0, 1)" - }, - "type": "expr" - } - } - }, - "props": { - "textStyle": { - "fontSize": "20px", - "textAlign": "center", - "textTransform": "uppercase" - } - }, - "type": "ia.display.label" - } - ], - "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_beacons" - }, - "type": "property" - } - }, - "props.style.backgroundColor": { - "binding": { - "config": { - "path": "view.custom.state" - }, - "transforms": [ - { - "fallback": "#808080", - "inputType": "scalar", - "mappings": [ - { - "input": 1, - "output": "#00FF00" - }, - { - "input": 2, - "output": "#FF0000" - }, - { - "input": 3, - "output": "#FF00FF" - }, - { - "input": 4, - "output": "#0000D9" - }, - { - "input": 5, - "output": "#FF8C00" - } - ], - "outputType": "color", - "type": "map" - } - ], - "type": "property" - } - } - }, - "props": { - "mode": "percent", - "style": { - "borderStyle": "solid", - "cursor": "pointer", - "overflow": "hidden" - } - }, - "type": "ia.container.coord" - } -} \ No newline at end of file diff --git a/.resources/97af5cc47eb3cc079755c59be36784dd554722c3b27980b4fb5051f675b19ad2 b/.resources/97af5cc47eb3cc079755c59be36784dd554722c3b27980b4fb5051f675b19ad2 deleted file mode 100644 index d05b81ba..00000000 --- a/.resources/97af5cc47eb3cc079755c59be36784dd554722c3b27980b4fb5051f675b19ad2 +++ /dev/null @@ -1,267 +0,0 @@ -{ - "custom": { - "disconnected": 0, - "priority": 0, - "priority_string": "No active alarms", - "state": 0, - "state_string": "Normal" - }, - "params": { - "tagProps": [ - "value", - "value", - "value", - "value", - "value", - "value", - "value", - "value", - "value", - "value" - ] - }, - "propConfig": { - "custom.disconnected": { - "binding": { - "config": { - "path": "view.custom.state" - }, - "type": "property" - }, - "persistent": true - }, - "custom.priority": { - "binding": { - "config": { - "path": "view.custom.state" - }, - "transforms": [ - { - "fallback": 0, - "inputType": "scalar", - "mappings": [ - { - "input": 1, - "output": 4 - }, - { - "input": 2, - "output": 3 - }, - { - "input": 3, - "output": 2 - }, - { - "input": 4, - "output": 1 - } - ], - "outputType": "scalar", - "type": "map" - } - ], - "type": "property" - }, - "persistent": true - }, - "custom.priority_string": { - "binding": { - "config": { - "expression": "case({view.custom.state},\r\n1, \"High\",\r\n0, \"No active alarms\",\r\n\"Unknown\")" - }, - "type": "expr" - }, - "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.state_string": { - "binding": { - "config": { - "expression": "case({view.custom.state},\r\n1, \"Communication Faulted\",\r\n0, \"Normal\",\r\n\"Unknown\")" - }, - "type": "expr" - }, - "persistent": true - }, - "params.tagProps": { - "paramDirection": "inout", - "persistent": true - } - }, - "props": { - "defaultSize": { - "height": 47, - "width": 68 - } - }, - "root": { - "children": [ - { - "meta": { - "name": "ControlCabinet" - }, - "position": { - "height": 1, - "width": 1 - }, - "propConfig": { - "meta.visible": { - "binding": { - "config": { - "path": "session.custom.alarm_filter.show_dpm_mcm" - }, - "type": "property" - } - }, - "props.elements[0].fill.paint": { - "binding": { - "config": { - "expression": "if(\r\n {view.custom.disconnected},\r\n \u0027#808080\u0027,\r\n if(\r\n {view.custom.state} \u003d 1,\r\n \u0027#FF0000\u0027,\r\n if(\r\n {view.custom.state} \u003d 0,\r\n \u0027#00D900\u0027,\r\n \u0027#fff700\u0027\r\n )\r\n )\r\n)\r\n" - }, - "type": "expr" - } - } - }, - "props": { - "elements": [ - { - "d": "M 0 40 L 0 0 L 61 40 Z", - "fill": {}, - "name": "path", - "stroke": { - "paint": "#4c4c4c", - "width": 4 - }, - "transform": "rotate(-180,30.5,20)", - "type": "path" - }, - { - "d": "M 0 40 L 0 0 L 61 40 Z", - "fill": { - "paint": "#4C4C4C" - }, - "name": "path", - "stroke": { - "paint": "#000000", - "width": 4 - }, - "type": "path" - } - ], - "preserveAspectRatio": "none", - "viewBox": "-0.5 -0.5 62 41" - }, - "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" - }, - "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": 1, - "output": "Alarms-Styles/Diagnostic" - }, - { - "input": 2, - "output": "Alarms-Styles/Low" - }, - { - "input": 3, - "output": "Alarms-Styles/Medium" - }, - { - "input": 4, - "output": "Alarms-Styles/High" - } - ], - "outputType": "style-list", - "type": "map" - } - ], - "type": "expr" - } - }, - "meta.tooltip.text": { - "binding": { - "config": { - "expression": "if(\n {view.custom.disconnected} \u003d false,\n \"Source Id: \" + {view.params.tagProps[0]} + \", Priority: \" + {view.custom.priority_string} + \", State: \" + {view.custom.state_string},\n \"Device Disconnected\"\n)\n" - }, - "type": "expr" - } - } - }, - "props": { - "aspectRatio": "68:47", - "mode": "percent", - "style": { - "classes": "Disconnects/Device-Connected", - "cursor": "pointer", - "overflow": "hidden" - } - }, - "type": "ia.container.coord" - } -} \ No newline at end of file diff --git a/.resources/a03ffd2b8695f4ba805c2fb55349d2978504b12d73ae24e325754095302e5bb3 b/.resources/a03ffd2b8695f4ba805c2fb55349d2978504b12d73ae24e325754095302e5bb3 new file mode 100644 index 00000000..020c339d Binary files /dev/null and b/.resources/a03ffd2b8695f4ba805c2fb55349d2978504b12d73ae24e325754095302e5bb3 differ diff --git a/.resources/24e8920d02a02f9bf96ecb441ba5824140a286df2694336daa300fb0623f10f8 b/.resources/a97a65bd271d731eefc30dd44ebe5d9e9970309f8249335185f6509361f253f9 similarity index 92% rename from .resources/24e8920d02a02f9bf96ecb441ba5824140a286df2694336daa300fb0623f10f8 rename to .resources/a97a65bd271d731eefc30dd44ebe5d9e9970309f8249335185f6509361f253f9 index 4f7033f7..26362cec 100644 --- a/.resources/24e8920d02a02f9bf96ecb441ba5824140a286df2694336daa300fb0623f10f8 +++ b/.resources/a97a65bd271d731eefc30dd44ebe5d9e9970309f8249335185f6509361f253f9 @@ -2,67 +2,31 @@ "custom": { "counts": { "Critical": 0, - "Diagnostic": 3, - "High": 5, + "Diagnostic": 0, + "High": 0, "Low": 0, - "Medium": 2, - "Total": 10 + "Medium": 0, + "Total": 0 }, "totalAlarms": { "$": [ "ds", 192, - 1755617373648 + 1756805316413 ], "$columns": [ { - "data": [ - "MCM01", - "MCM01", - "MCM01", - "MCM02", - "MCM03", - "MCM04", - "MCM04", - "MCM05", - "MCM06", - "MCM07", - "MCM07" - ], + "data": [], "name": "Location", "type": "String" }, { - "data": [ - "Diagnostic", - "High", - "Medium", - "Diagnostic", - "Diagnostic", - "Diagnostic", - "High", - "Diagnostic", - "Diagnostic", - "Diagnostic", - "High" - ], + "data": [], "name": "Priority", "type": "String" }, { - "data": [ - 3, - 5, - 2, - 2, - 1, - 2, - 5, - 1, - 1, - 2, - 3 - ], + "data": [], "name": "Count", "type": "Long" } diff --git a/.resources/aba9200cb82f36b334c50eed41a9fcd6ce50080b6761cb681238a94e89d6226d b/.resources/aba9200cb82f36b334c50eed41a9fcd6ce50080b6761cb681238a94e89d6226d new file mode 100644 index 00000000..ff3c037a Binary files /dev/null and b/.resources/aba9200cb82f36b334c50eed41a9fcd6ce50080b6761cb681238a94e89d6226d differ diff --git a/.resources/b8ec383513f5c212f5c5ff3785c88019a12bfcfd96049f07b513250649578a42 b/.resources/b8ec383513f5c212f5c5ff3785c88019a12bfcfd96049f07b513250649578a42 deleted file mode 100644 index 32aed81c..00000000 --- a/.resources/b8ec383513f5c212f5c5ff3785c88019a12bfcfd96049f07b513250649578a42 +++ /dev/null @@ -1,49 +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" - } - }, - "type": "ia.container.coord" - } -} \ No newline at end of file diff --git a/.resources/bc9b0bab6b620cb71429a233cda7e47c6a95e9ce36fd1e8302b5cf133c104d3e b/.resources/bc9b0bab6b620cb71429a233cda7e47c6a95e9ce36fd1e8302b5cf133c104d3e deleted file mode 100644 index 060df03b..00000000 Binary files a/.resources/bc9b0bab6b620cb71429a233cda7e47c6a95e9ce36fd1e8302b5cf133c104d3e and /dev/null differ diff --git a/.resources/c496e76ed5c17d349a0a638c07e857a85eb6386f69c3a2dad251e921534d8824 b/.resources/c496e76ed5c17d349a0a638c07e857a85eb6386f69c3a2dad251e921534d8824 new file mode 100644 index 00000000..89677c04 Binary files /dev/null and b/.resources/c496e76ed5c17d349a0a638c07e857a85eb6386f69c3a2dad251e921534d8824 differ diff --git a/.resources/c5d6dd06babb9a5998f2c08f7c0a8f1997ab8ae10f16c1ec9f537d38bc1e4206 b/.resources/c5d6dd06babb9a5998f2c08f7c0a8f1997ab8ae10f16c1ec9f537d38bc1e4206 deleted file mode 100644 index aca0e9b4..00000000 Binary files a/.resources/c5d6dd06babb9a5998f2c08f7c0a8f1997ab8ae10f16c1ec9f537d38bc1e4206 and /dev/null differ diff --git a/.resources/da8b90002934578189fc0fa5b5aaf01387cd9ff0ad34300558c832db6d68a2ad b/.resources/da8b90002934578189fc0fa5b5aaf01387cd9ff0ad34300558c832db6d68a2ad deleted file mode 100644 index d71b7f6d..00000000 Binary files a/.resources/da8b90002934578189fc0fa5b5aaf01387cd9ff0ad34300558c832db6d68a2ad and /dev/null differ diff --git a/.resources/e0e41d4085633f60568bbb125a7e56743a40195d5b763a4cf27c32eb76849e25 b/.resources/e0e41d4085633f60568bbb125a7e56743a40195d5b763a4cf27c32eb76849e25 new file mode 100644 index 00000000..2e4ebf63 --- /dev/null +++ b/.resources/e0e41d4085633f60568bbb125a7e56743a40195d5b763a4cf27c32eb76849e25 @@ -0,0 +1,264 @@ +{ + "custom": { + "color": "d3d3d3", + "state": 10, + "string": "value" + }, + "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": 4, + "output": "Anti-Gridlock Prevention Mode" + }, + { + "input": 5, + "output": "Full" + }, + { + "input": 6, + "output": "50% Full" + }, + { + "input": 7, + "output": "Running" + }, + { + "input": 8, + "output": "Energy Managment" + }, + { + "input": 9, + "output": "Enabled, Not Running" + }, + { + "input": 10, + "output": "Off (Inactive)" + }, + { + "input": 11, + "output": "Manual / Maintenance Mode" + }, + { + "input": 12, + "output": "Non Powered Equipment" + } + ], + "outputType": "scalar", + "type": "map" + } + ], + "type": "property" + }, + "persistent": true + }, + "params.tagProps": { + "paramDirection": "input", + "persistent": true + } + }, + "props": { + "defaultSize": { + "height": 271, + "width": 316 + } + }, + "root": { + "children": [ + { + "meta": { + "name": "right90" + }, + "position": { + "height": 0.9926, + "width": 1 + }, + "propConfig": { + "props.elements[1].elements[0].fill.paint": { + "binding": { + "config": { + "expression": "\"#\" + {view.custom.color}" + }, + "type": "expr" + } + } + }, + "props": { + "elements": [ + { + "id": "defs1", + "name": "defs1", + "type": "defs" + }, + { + "elements": [ + { + "d": "m 0.48408946,0.63336539 c 5.03604004,0.02588 7.95928004,-0.266973 12.23377954,1.98944001 1.65503,0.9666 2.74197,2.07523 3.73794,3.20659 1.85537,2.84128 3.14745,5.8598596 3.05039,10.7798096 l -8.06562,0.031 c -0.0803,-1.92185 0.0446,-3.79913 -1.5474595,-5.77497 -2.38574,-2.6865496 -6.13811,-2.3322296 -9.40355004,-2.4430596 z", + "fill": { + "opacity": "1" + }, + "id": "path27086", + "name": "path27086", + "stroke": { + "dasharray": "none", + "opacity": "1", + "paint": "#000000", + "width": 0.15 + }, + "type": "path" + } + ], + "id": "layer1", + "name": "layer1", + "type": "group" + } + ], + "viewBox": "0 0 20 17" + }, + "type": "ia.shapes.svg" + } + ], + "meta": { + "name": "root", + "tooltip": { + "enabled": true + } + }, + "propConfig": { + "meta.tooltip.text": { + "binding": { + "config": { + "expression": "\"Source Id: \" + {view.params.tagProps[0]} + \", Status: \" + {view.custom.string}" + }, + "type": "expr" + } + } + }, + "props": { + "mode": "percent" + }, + "type": "ia.container.coord" + } +} \ No newline at end of file diff --git a/.resources/e273a14c13e1e2caff4106f3e539822131164cc04cd1e4cc58143b551983f5f3 b/.resources/e273a14c13e1e2caff4106f3e539822131164cc04cd1e4cc58143b551983f5f3 deleted file mode 100644 index 5905dc99..00000000 --- a/.resources/e273a14c13e1e2caff4106f3e539822131164cc04cd1e4cc58143b551983f5f3 +++ /dev/null @@ -1,64 +0,0 @@ -{ - "custom": {}, - "params": {}, - "props": { - "defaultSize": { - "height": 271, - "width": 316 - } - }, - "root": { - "children": [ - { - "meta": { - "name": "right90" - }, - "position": { - "height": 0.9446, - "width": 0.9494 - }, - "props": { - "elements": [ - { - "id": "defs1", - "name": "defs1", - "type": "defs" - }, - { - "elements": [ - { - "d": "m 0.48408946,0.63336539 c 5.03604004,0.02588 7.95928004,-0.266973 12.23377954,1.98944001 1.65503,0.9666 2.74197,2.07523 3.73794,3.20659 1.85537,2.84128 3.14745,5.8598596 3.05039,10.7798096 l -8.06562,0.031 c -0.0803,-1.92185 0.0446,-3.79913 -1.5474595,-5.77497 -2.38574,-2.6865496 -6.13811,-2.3322296 -9.40355004,-2.4430596 z", - "fill": { - "opacity": "1", - "paint": "#ffffff" - }, - "id": "path27086", - "name": "path27086", - "stroke": { - "dasharray": "none", - "opacity": "1", - "paint": "#000000", - "width": 0.15 - }, - "type": "path" - } - ], - "id": "layer1", - "name": "layer1", - "type": "group" - } - ], - "viewBox": "0 0 20 17" - }, - "type": "ia.shapes.svg" - } - ], - "meta": { - "name": "root" - }, - "props": { - "mode": "percent" - }, - "type": "ia.container.coord" - } -} \ No newline at end of file diff --git a/.resources/e682ec2d9fb94259a4c81f3fb2a11578f5c6a498bcda0d44566ee2bfc93eddac b/.resources/e682ec2d9fb94259a4c81f3fb2a11578f5c6a498bcda0d44566ee2bfc93eddac deleted file mode 100644 index 5b588167..00000000 Binary files a/.resources/e682ec2d9fb94259a4c81f3fb2a11578f5c6a498bcda0d44566ee2bfc93eddac and /dev/null differ diff --git a/.resources/b514a625a8011c7d31155fc9d52d4242977488d5a189e8d183bc4fb55eb263f6 b/.resources/e75cc64e5bebd3dac67549c30093d5810a710629baf43af62522ec1d6a03d4c8 similarity index 100% rename from .resources/b514a625a8011c7d31155fc9d52d4242977488d5a189e8d183bc4fb55eb263f6 rename to .resources/e75cc64e5bebd3dac67549c30093d5810a710629baf43af62522ec1d6a03d4c8 diff --git a/BNA8/com.inductiveautomation.perspective/views/autStand/Detailed_Views/MCM01-FLUID INBOUND/resource.json b/BNA8/com.inductiveautomation.perspective/views/autStand/Detailed_Views/MCM01-FLUID INBOUND/resource.json index 0d8a3fa7..3570e4d8 100644 --- a/BNA8/com.inductiveautomation.perspective/views/autStand/Detailed_Views/MCM01-FLUID INBOUND/resource.json +++ b/BNA8/com.inductiveautomation.perspective/views/autStand/Detailed_Views/MCM01-FLUID INBOUND/resource.json @@ -9,9 +9,9 @@ ], "attributes": { "lastModification": { - "actor": "external", - "timestamp": "2025-09-01T07:10:48Z" + "actor": "admin", + "timestamp": "2025-09-02T08:55:54Z" }, - "lastModificationSignature": "c1ac5302d1a698587940518eaa662236065c20bc5883ffc3ae62335f6cdd8724" + "lastModificationSignature": "c33c1ad71ddafc3d68f67f6e48a4088e84064d8e427c2d04ffc1da9fbee5a456" } } \ No newline at end of file diff --git a/BNA8/com.inductiveautomation.perspective/views/autStand/Detailed_Views/MCM01-FLUID INBOUND/thumbnail.png b/BNA8/com.inductiveautomation.perspective/views/autStand/Detailed_Views/MCM01-FLUID INBOUND/thumbnail.png index aca0e9b4..821debf6 100644 Binary files a/BNA8/com.inductiveautomation.perspective/views/autStand/Detailed_Views/MCM01-FLUID INBOUND/thumbnail.png and b/BNA8/com.inductiveautomation.perspective/views/autStand/Detailed_Views/MCM01-FLUID INBOUND/thumbnail.png differ diff --git a/BNA8/com.inductiveautomation.perspective/views/autStand/Docked_Views/Docked-West/resource.json b/BNA8/com.inductiveautomation.perspective/views/autStand/Docked_Views/Docked-West/resource.json index 1fd1fb3e..e5f92d79 100644 --- a/BNA8/com.inductiveautomation.perspective/views/autStand/Docked_Views/Docked-West/resource.json +++ b/BNA8/com.inductiveautomation.perspective/views/autStand/Docked_Views/Docked-West/resource.json @@ -9,9 +9,9 @@ ], "attributes": { "lastModification": { - "actor": "external", - "timestamp": "2025-08-28T09:46:53Z" + "actor": "admin", + "timestamp": "2025-09-02T08:59:59Z" }, - "lastModificationSignature": "ac26852a6a3c0edb88bb66e572e860f2213e95f635234e353f41051468709ab7" + "lastModificationSignature": "36cc8a41471bcbff3e1465b95bf413b4415f956e815c3bd7699c93e706d3d4bd" } } \ No newline at end of file diff --git a/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Beacon/resource.json b/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Beacon/resource.json index 77efc9b5..9fcfc5ff 100644 --- a/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Beacon/resource.json +++ b/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Beacon/resource.json @@ -8,9 +8,9 @@ ], "attributes": { "lastModification": { - "actor": "external", - "timestamp": "2025-08-28T10:01:54Z" + "actor": "admin", + "timestamp": "2025-09-02T09:19:08Z" }, - "lastModificationSignature": "1e39dcddfd5f8283ba8ff83b9a3cd6e790dbe92e8bda79a3631cf7bb7b088465" + "lastModificationSignature": "6d2f927483c13844fcc29ed0e66eddb7d57a447b1cd0a1d225f292f2181572a4" } } \ No newline at end of file diff --git a/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Controller-Views/CommandControlAlarms/resource.json b/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Controller-Views/CommandControlAlarms/resource.json index afad69e0..bb18424c 100644 --- a/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Controller-Views/CommandControlAlarms/resource.json +++ b/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Controller-Views/CommandControlAlarms/resource.json @@ -9,9 +9,9 @@ ], "attributes": { "lastModification": { - "actor": "external", - "timestamp": "2025-08-28T09:46:53Z" + "actor": "admin", + "timestamp": "2025-09-02T09:28:38Z" }, - "lastModificationSignature": "4a46c27f3b44f97e825a961c651d4bc0c38f159f23fe78d93c0e9e20c428b13b" + "lastModificationSignature": "b48fcb6c27ea208904dde79a45a683f3493c272bd5517e2d280fd8425b3d7e33" } } \ No newline at end of file diff --git a/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Controller-Views/CommandControlAlarms/view.json b/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Controller-Views/CommandControlAlarms/view.json index 4f7033f7..26362cec 100644 --- a/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Controller-Views/CommandControlAlarms/view.json +++ b/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Controller-Views/CommandControlAlarms/view.json @@ -2,67 +2,31 @@ "custom": { "counts": { "Critical": 0, - "Diagnostic": 3, - "High": 5, + "Diagnostic": 0, + "High": 0, "Low": 0, - "Medium": 2, - "Total": 10 + "Medium": 0, + "Total": 0 }, "totalAlarms": { "$": [ "ds", 192, - 1755617373648 + 1756805316413 ], "$columns": [ { - "data": [ - "MCM01", - "MCM01", - "MCM01", - "MCM02", - "MCM03", - "MCM04", - "MCM04", - "MCM05", - "MCM06", - "MCM07", - "MCM07" - ], + "data": [], "name": "Location", "type": "String" }, { - "data": [ - "Diagnostic", - "High", - "Medium", - "Diagnostic", - "Diagnostic", - "Diagnostic", - "High", - "Diagnostic", - "Diagnostic", - "Diagnostic", - "High" - ], + "data": [], "name": "Priority", "type": "String" }, { - "data": [ - 3, - 5, - 2, - 2, - 1, - 2, - 5, - 1, - 1, - 2, - 3 - ], + "data": [], "name": "Count", "type": "Long" } diff --git a/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Controller-Views/CommandControlStatus/resource.json b/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Controller-Views/CommandControlStatus/resource.json index 05b40004..e3747537 100644 --- a/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Controller-Views/CommandControlStatus/resource.json +++ b/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Controller-Views/CommandControlStatus/resource.json @@ -9,9 +9,9 @@ ], "attributes": { "lastModification": { - "actor": "external", - "timestamp": "2025-08-28T09:46:53Z" + "actor": "admin", + "timestamp": "2025-09-02T09:28:38Z" }, - "lastModificationSignature": "fe2eea9435cdc0b513238df69c21f6c4053175d34c798f6a565a10bdf782cd45" + "lastModificationSignature": "28f8b6a7247e3f721f38a206b41a3bf8b1ca295458d2266f5b4c741e41f7fa73" } } \ No newline at end of file diff --git a/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Controller-Views/CommandControlStatus/thumbnail.png b/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Controller-Views/CommandControlStatus/thumbnail.png index e1155f45..09609fba 100644 Binary files a/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Controller-Views/CommandControlStatus/thumbnail.png and b/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Controller-Views/CommandControlStatus/thumbnail.png differ diff --git a/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Controller-Views/CommandControlStatus/view.json b/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Controller-Views/CommandControlStatus/view.json index 992aea92..373c561b 100644 --- a/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Controller-Views/CommandControlStatus/view.json +++ b/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Controller-Views/CommandControlStatus/view.json @@ -4,7 +4,7 @@ "$": [ "ds", 192, - 1756802337271 + 1756805318438 ], "$columns": [ { diff --git a/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Conveyor/resource.json b/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Conveyor/resource.json index 1a12eb3a..37777e6f 100644 --- a/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Conveyor/resource.json +++ b/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Conveyor/resource.json @@ -8,9 +8,9 @@ ], "attributes": { "lastModification": { - "actor": "external", - "timestamp": "2025-09-01T07:10:48Z" + "actor": "admin", + "timestamp": "2025-09-02T09:26:29Z" }, - "lastModificationSignature": "c0fb3fe60b098518a5cafced021a98a0061a935bb85b60ed90b26aad3c1fb808" + "lastModificationSignature": "df3230bece659bf573d0fc250adfc7ff6dc0f7ca28f06f554e4888621993ac21" } } \ No newline at end of file diff --git a/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Conveyor/view.json b/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Conveyor/view.json index 32aed81c..a11cc49a 100644 --- a/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Conveyor/view.json +++ b/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Conveyor/view.json @@ -1,23 +1,180 @@ { "custom": { - "key": "value", - "key_1": "value", - "string": "value" + "color": "d3d3d3", + "state": 10, + "string": "Off (Inactive)" }, "params": { - "key": "value" + "tagProps": [ + "System/MCM01/Conveyors/Ul15_1", + "value", + "value", + "value", + "value", + "value", + "value", + "value", + "value", + "value" + ] }, "propConfig": { - "custom.key": { + "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.key_1": { + "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": 4, + "output": "Anti-Gridlock Prevention Mode" + }, + { + "input": 5, + "output": "Full" + }, + { + "input": 6, + "output": "50% Full" + }, + { + "input": 7, + "output": "Running" + }, + { + "input": 8, + "output": "Energy Managment" + }, + { + "input": 9, + "output": "Enabled, Not Running" + }, + { + "input": 10, + "output": "Off (Inactive)" + }, + { + "input": 11, + "output": "Manual / Maintenance Mode" + }, + { + "input": 12, + "output": "Non Powered Equipment" + } + ], + "outputType": "scalar", + "type": "map" + } + ], + "type": "property" + }, "persistent": true }, - "params.key": { + "params.tagProps": { "paramDirection": "input", "persistent": true } @@ -30,18 +187,39 @@ }, "root": { "meta": { - "name": "root" + "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": { - "backgroundColor": "white", "borderStyle": "solid", - "borderWidth": "1px" + "borderWidth": "1px", + "cursor": "pointer" } }, "type": "ia.container.coord" diff --git a/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Conveyor45/resource.json b/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Conveyor45/resource.json index e34a129d..0c828800 100644 --- a/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Conveyor45/resource.json +++ b/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Conveyor45/resource.json @@ -9,9 +9,9 @@ ], "attributes": { "lastModification": { - "actor": "external", - "timestamp": "2025-09-01T07:10:48Z" + "actor": "admin", + "timestamp": "2025-09-02T09:35:41Z" }, - "lastModificationSignature": "2186c6f0bab82bcd67ba4e30c27f19969f779100a3199b1c1610b81c2d528983" + "lastModificationSignature": "34e60db3866aec028ccd31eb7c60023d6bc3f9cebc95e464a831761ae6aa1b27" } } \ No newline at end of file diff --git a/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Conveyor45/thumbnail.png b/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Conveyor45/thumbnail.png index 9db63056..119f221f 100644 Binary files a/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Conveyor45/thumbnail.png and b/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Conveyor45/thumbnail.png differ diff --git a/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Conveyor45/view.json b/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Conveyor45/view.json index b27b3fee..1d59c0d8 100644 --- a/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Conveyor45/view.json +++ b/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Conveyor45/view.json @@ -1,10 +1,180 @@ { - "custom": {}, + "custom": { + "color": "d3d3d3", + "state": 10, + "string": "Off (Inactive)" + }, "params": { - "key": "value" + "tagProps": [ + "System/MCM01/Conveyors/Ul15_1", + "value", + "value", + "value", + "value", + "value", + "value", + "value", + "value", + "value" + ] }, "propConfig": { - "params.key": { + "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": 4, + "output": "Anti-Gridlock Prevention Mode" + }, + { + "input": 5, + "output": "Full" + }, + { + "input": 6, + "output": "50% Full" + }, + { + "input": 7, + "output": "Running" + }, + { + "input": 8, + "output": "Energy Managment" + }, + { + "input": 9, + "output": "Enabled, Not Running" + }, + { + "input": 10, + "output": "Off (Inactive)" + }, + { + "input": 11, + "output": "Manual / Maintenance Mode" + }, + { + "input": 12, + "output": "Non Powered Equipment" + } + ], + "outputType": "scalar", + "type": "map" + } + ], + "type": "property" + }, + "persistent": true + }, + "params.tagProps": { "paramDirection": "input", "persistent": true } @@ -25,6 +195,16 @@ "height": 0.9855, "width": 0.9796 }, + "propConfig": { + "props.elements[1].elements[0].fill.paint": { + "binding": { + "config": { + "expression": "\"#\" + {view.custom.color}" + }, + "type": "expr" + } + } + }, "props": { "elements": [ { @@ -37,8 +217,7 @@ { "d": "m 0.61872656,19.047242 0.185181,-7.76481 C 2.3211966,6.4490419 5.3844746,3.4831579 9.6680236,0.93748089 L 13.582549,7.8726519 c -2.984985,1.33473 -4.2291194,3.3482401 -4.9990764,6.5174301 l -0.08744,4.67802 z", "fill": { - "opacity": "1", - "paint": "#ffffff" + "opacity": "1" }, "id": "path26615", "name": "path26615", @@ -62,7 +241,20 @@ } ], "meta": { - "name": "root" + "name": "root", + "tooltip": { + "enabled": true + } + }, + "propConfig": { + "meta.tooltip.text": { + "binding": { + "config": { + "expression": "\"Source Id: \" + {view.params.tagProps[0]} + \", Status: \" + {view.custom.string}" + }, + "type": "expr" + } + } }, "props": { "mode": "percent", diff --git a/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Conveyor_Left90/resource.json b/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Conveyor_Left90/resource.json index 8e90d26f..99124683 100644 --- a/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Conveyor_Left90/resource.json +++ b/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Conveyor_Left90/resource.json @@ -9,9 +9,9 @@ ], "attributes": { "lastModification": { - "actor": "external", - "timestamp": "2025-09-01T07:10:48Z" + "actor": "admin", + "timestamp": "2025-09-02T09:33:26Z" }, - "lastModificationSignature": "d80ad6c03439557efa23e7bcb69078f9aad9aba5dfc68e7b864b37dc8684ae31" + "lastModificationSignature": "86a065eb021babd86c9f743601b33f2d38c11b75a4f136aa5ba6993ff1ff6f57" } } \ No newline at end of file diff --git a/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Conveyor_Left90/thumbnail.png b/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Conveyor_Left90/thumbnail.png index 5b588167..020c339d 100644 Binary files a/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Conveyor_Left90/thumbnail.png and b/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Conveyor_Left90/thumbnail.png differ diff --git a/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Conveyor_Left90/view.json b/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Conveyor_Left90/view.json index da8f94e2..b41e7a96 100644 --- a/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Conveyor_Left90/view.json +++ b/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Conveyor_Left90/view.json @@ -1,10 +1,180 @@ { - "custom": {}, + "custom": { + "color": "d3d3d3", + "state": 10, + "string": "Off (Inactive)" + }, "params": { - "key": "value" + "tagProps": [ + "System/MCM01/Conveyors/Ul15_1", + "value", + "value", + "value", + "value", + "value", + "value", + "value", + "value", + "value" + ] }, "propConfig": { - "params.key": { + "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": 4, + "output": "Anti-Gridlock Prevention Mode" + }, + { + "input": 5, + "output": "Full" + }, + { + "input": 6, + "output": "50% Full" + }, + { + "input": 7, + "output": "Running" + }, + { + "input": 8, + "output": "Energy Managment" + }, + { + "input": 9, + "output": "Enabled, Not Running" + }, + { + "input": 10, + "output": "Off (Inactive)" + }, + { + "input": 11, + "output": "Manual / Maintenance Mode" + }, + { + "input": 12, + "output": "Non Powered Equipment" + } + ], + "outputType": "scalar", + "type": "map" + } + ], + "type": "property" + }, + "persistent": true + }, + "params.tagProps": { "paramDirection": "input", "persistent": true } @@ -27,6 +197,16 @@ "x": 0.0069, "y": -0.1685 }, + "propConfig": { + "props.elements[1].elements[0].fill.paint": { + "binding": { + "config": { + "expression": "\"#\"+{view.custom.color}" + }, + "type": "expr" + } + } + }, "props": { "elements": [ { @@ -39,8 +219,7 @@ { "d": "M 16.890047,19.897888 C 4.1781605,20.036878 -0.11241603,13.922713 0.16340637,0.16060852 L 8.2822031,0.16091303 C 8.3924473,8.3148192 8.5268195,11.434975 16.856526,11.653146 Z", "fill": { - "opacity": "1", - "paint": "#ffffff" + "opacity": "1" }, "id": "path27089", "name": "path27089", @@ -64,7 +243,20 @@ } ], "meta": { - "name": "root" + "name": "root", + "tooltip": { + "enabled": true + } + }, + "propConfig": { + "meta.tooltip.text": { + "binding": { + "config": { + "expression": "\"Source Id: \" + {view.params.tagProps[0]} + \", Status: \" + {view.custom.string}" + }, + "type": "expr" + } + } }, "props": { "mode": "percent", diff --git a/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Conveyor_Right90/resource.json b/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Conveyor_Right90/resource.json index b8476559..dc288c94 100644 --- a/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Conveyor_Right90/resource.json +++ b/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Conveyor_Right90/resource.json @@ -9,9 +9,9 @@ ], "attributes": { "lastModification": { - "actor": "external", - "timestamp": "2025-09-01T07:10:48Z" + "actor": "admin", + "timestamp": "2025-09-02T09:35:09Z" }, - "lastModificationSignature": "d2dd10448413908682edffc8d04f587532015105902b0113b66ab3a405c99b3c" + "lastModificationSignature": "1ed9b5961d8ca09887d9ba20342423785e44550d415126996b31e227b7688cab" } } \ No newline at end of file diff --git a/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Conveyor_Right90/thumbnail.png b/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Conveyor_Right90/thumbnail.png index d71b7f6d..1cbb7191 100644 Binary files a/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Conveyor_Right90/thumbnail.png and b/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Conveyor_Right90/thumbnail.png differ diff --git a/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Conveyor_Right90/view.json b/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Conveyor_Right90/view.json index 5905dc99..2e4ebf63 100644 --- a/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Conveyor_Right90/view.json +++ b/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Conveyor_Right90/view.json @@ -1,6 +1,184 @@ { - "custom": {}, - "params": {}, + "custom": { + "color": "d3d3d3", + "state": 10, + "string": "value" + }, + "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": 4, + "output": "Anti-Gridlock Prevention Mode" + }, + { + "input": 5, + "output": "Full" + }, + { + "input": 6, + "output": "50% Full" + }, + { + "input": 7, + "output": "Running" + }, + { + "input": 8, + "output": "Energy Managment" + }, + { + "input": 9, + "output": "Enabled, Not Running" + }, + { + "input": 10, + "output": "Off (Inactive)" + }, + { + "input": 11, + "output": "Manual / Maintenance Mode" + }, + { + "input": 12, + "output": "Non Powered Equipment" + } + ], + "outputType": "scalar", + "type": "map" + } + ], + "type": "property" + }, + "persistent": true + }, + "params.tagProps": { + "paramDirection": "input", + "persistent": true + } + }, "props": { "defaultSize": { "height": 271, @@ -14,8 +192,18 @@ "name": "right90" }, "position": { - "height": 0.9446, - "width": 0.9494 + "height": 0.9926, + "width": 1 + }, + "propConfig": { + "props.elements[1].elements[0].fill.paint": { + "binding": { + "config": { + "expression": "\"#\" + {view.custom.color}" + }, + "type": "expr" + } + } }, "props": { "elements": [ @@ -29,8 +217,7 @@ { "d": "m 0.48408946,0.63336539 c 5.03604004,0.02588 7.95928004,-0.266973 12.23377954,1.98944001 1.65503,0.9666 2.74197,2.07523 3.73794,3.20659 1.85537,2.84128 3.14745,5.8598596 3.05039,10.7798096 l -8.06562,0.031 c -0.0803,-1.92185 0.0446,-3.79913 -1.5474595,-5.77497 -2.38574,-2.6865496 -6.13811,-2.3322296 -9.40355004,-2.4430596 z", "fill": { - "opacity": "1", - "paint": "#ffffff" + "opacity": "1" }, "id": "path27086", "name": "path27086", @@ -54,7 +241,20 @@ } ], "meta": { - "name": "root" + "name": "root", + "tooltip": { + "enabled": true + } + }, + "propConfig": { + "meta.tooltip.text": { + "binding": { + "config": { + "expression": "\"Source Id: \" + {view.params.tagProps[0]} + \", Status: \" + {view.custom.string}" + }, + "type": "expr" + } + } }, "props": { "mode": "percent" diff --git a/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/DPM/resource.json b/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/DPM/resource.json index 4deeccaf..80caa80d 100644 --- a/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/DPM/resource.json +++ b/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/DPM/resource.json @@ -9,9 +9,9 @@ ], "attributes": { "lastModification": { - "actor": "external", - "timestamp": "2025-08-28T09:46:53Z" + "actor": "admin", + "timestamp": "2025-09-02T09:03:26Z" }, - "lastModificationSignature": "bbc93183c1df5063678b6e73e850dcdd16c818264a7910ea10a68f9a7764efbd" + "lastModificationSignature": "90a5f29ec6eea2488be941312fbecd46d944fe1f62792a1ea57841ba6183cedf" } } \ No newline at end of file diff --git a/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Encoder/resource.json b/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Encoder/resource.json index 8da9ed7c..940b5d8f 100644 --- a/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Encoder/resource.json +++ b/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Encoder/resource.json @@ -8,9 +8,9 @@ ], "attributes": { "lastModification": { - "actor": "external", - "timestamp": "2025-08-28T10:01:54Z" + "actor": "admin", + "timestamp": "2025-09-02T09:28:38Z" }, - "lastModificationSignature": "3534bc46bd2a6f460ee238bbcec31b932224f4646ce6bb2f50ea4eb1cc89531b" + "lastModificationSignature": "9e7baab338c29c7e9472e4dbec2ae4b07bd72f9ad2b1d173abed358504dea627" } } \ No newline at end of file diff --git a/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Field_IO/resource.json b/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Field_IO/resource.json index c28396ce..62161312 100644 --- a/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Field_IO/resource.json +++ b/BNA8/com.inductiveautomation.perspective/views/autStand/Equipment/Field_IO/resource.json @@ -8,9 +8,9 @@ ], "attributes": { "lastModification": { - "actor": "external", - "timestamp": "2025-08-28T09:46:53Z" + "actor": "admin", + "timestamp": "2025-09-02T09:19:09Z" }, - "lastModificationSignature": "dddb202518c066c17445f75d5c459bd03a9efe295cc2fe41197399a4a179a27c" + "lastModificationSignature": "5992057e8d27844ee8df9a501eaf65bb431560058c13a5674c55af52ce36be38" } } \ No newline at end of file diff --git a/BNA8/com.inductiveautomation.perspective/views/autStand/PopUp-Views/Search/resource.json b/BNA8/com.inductiveautomation.perspective/views/autStand/PopUp-Views/Search/resource.json index 0a875392..a8f20f12 100644 --- a/BNA8/com.inductiveautomation.perspective/views/autStand/PopUp-Views/Search/resource.json +++ b/BNA8/com.inductiveautomation.perspective/views/autStand/PopUp-Views/Search/resource.json @@ -9,9 +9,9 @@ ], "attributes": { "lastModification": { - "actor": "external", - "timestamp": "2025-08-28T09:46:53Z" + "actor": "admin", + "timestamp": "2025-09-02T08:44:29Z" }, - "lastModificationSignature": "c665539d64176487fe1f79a7ae976e1bd9ef9b1461d5f094a848e8d9a27db27c" + "lastModificationSignature": "92a0dfa57b858f5201a7f5e57832eceffd06df645d3869fb610ecb1051c2c7fc" } } \ No newline at end of file diff --git a/BNA8/com.inductiveautomation.perspective/views/autStand/PopUp-Views/Search/thumbnail.png b/BNA8/com.inductiveautomation.perspective/views/autStand/PopUp-Views/Search/thumbnail.png index 2e051333..89677c04 100644 Binary files a/BNA8/com.inductiveautomation.perspective/views/autStand/PopUp-Views/Search/thumbnail.png and b/BNA8/com.inductiveautomation.perspective/views/autStand/PopUp-Views/Search/thumbnail.png differ diff --git a/BNA8/com.inductiveautomation.perspective/views/autStand/PopUp-Views/Search/view.json b/BNA8/com.inductiveautomation.perspective/views/autStand/PopUp-Views/Search/view.json index 7e9a99b6..b7c18510 100644 --- a/BNA8/com.inductiveautomation.perspective/views/autStand/PopUp-Views/Search/view.json +++ b/BNA8/com.inductiveautomation.perspective/views/autStand/PopUp-Views/Search/view.json @@ -4,7 +4,7 @@ "props": { "defaultSize": { "height": 294, - "width": 500 + "width": 747 } }, "root": { @@ -246,13 +246,23 @@ "$": [ "ds", 192, - 1756214343007 + 1756802609515 ], "$columns": [ { "data": [ + "System/MCM01/Station/SSPB/UL6_1_sdfsdfs", "System/MCM01/Station/SSPB/UL6_1_SS1", - "/system/mcm01/test" + "/system/mcm01/test", + "System/MCM01/MCM", + "System/MCM01/Station/SSPB/helloworld", + "baro gio", + "sdfsdf", + "testr", + "guga", + "sol25", + "sol26", + "System/MCM01/Station/SSPB/UL6_1_SS1asdasd" ], "name": "SourceId", "type": "String" @@ -260,7 +270,17 @@ { "data": [ "MCM01-FLUID INBOUND", - "MCM02-NC SORTER" + "MCM01-FLUID INBOUND", + "MCM02-NC SORTER", + "MCM01-FLUID INBOUND", + "MCM01-FLUID INBOUND", + "MCM01-FLUID INBOUND", + "MCM01-FLUID INBOUND", + "MCM01-FLUID INBOUND", + "MCM01-FLUID INBOUND", + "MCM02-NC SORTER", + "MCM02-NC SORTER", + "MCM01-FLUID INBOUND" ], "name": "Page", "type": "String" diff --git a/BNA8/com.inductiveautomation.perspective/views/autStand/Windows/Statistics/resource.json b/BNA8/com.inductiveautomation.perspective/views/autStand/Windows/Statistics/resource.json index 1d792724..53004042 100644 --- a/BNA8/com.inductiveautomation.perspective/views/autStand/Windows/Statistics/resource.json +++ b/BNA8/com.inductiveautomation.perspective/views/autStand/Windows/Statistics/resource.json @@ -10,8 +10,8 @@ "attributes": { "lastModification": { "actor": "admin", - "timestamp": "2025-09-02T08:32:29Z" + "timestamp": "2025-09-02T09:28:38Z" }, - "lastModificationSignature": "a15e080d4a196c79f091f0128eedcecd5a5329a5b37ae0f8db4799ed82e887bc" + "lastModificationSignature": "e63724638ad377f96ecb953b528deff327baca962b0a7e4c377f29eb15042854" } } \ No newline at end of file diff --git a/BNA8/com.inductiveautomation.perspective/views/autStand/Windows/Statistics/view.json b/BNA8/com.inductiveautomation.perspective/views/autStand/Windows/Statistics/view.json index c72075cb..91937c00 100644 --- a/BNA8/com.inductiveautomation.perspective/views/autStand/Windows/Statistics/view.json +++ b/BNA8/com.inductiveautomation.perspective/views/autStand/Windows/Statistics/view.json @@ -618,7 +618,7 @@ "$": [ "ds", 192, - 1756801949047 + 1756805317876 ], "$columns": [ { @@ -2165,7 +2165,7 @@ "$": [ "ds", 192, - 1756801949029 + 1756805317874 ], "$columns": [ { @@ -2217,7 +2217,7 @@ "$": [ "ds", 192, - 1756801949029 + 1756805317875 ], "$columns": [ { @@ -3538,7 +3538,7 @@ "$": [ "ds", 192, - 1756801949047 + 1756805317876 ], "$columns": [ { @@ -4880,7 +4880,7 @@ "$": [ "ds", 192, - 1756801949050 + 1756805317886 ], "$columns": [ { @@ -9629,7 +9629,7 @@ "$": [ "ds", 192, - 1756801949003 + 1756805317877 ], "$columns": [ { @@ -24962,7 +24962,7 @@ "$": [ "ds", 192, - 1756801949047 + 1756805317874 ], "$columns": [ { @@ -26416,13 +26416,13 @@ "selection": { "data": [ { - "Endtstamp": 1756801862000, - "Inbound_jam": 1, - "Inbound_perc": 0.0556, - "Sorter_jam": 17, - "Sorter_perc": 0.9444, - "Startstamp": 1756800774000, - "Total_Jam": 18, + "Endtstamp": 1756802079000, + "Inbound_jam": null, + "Inbound_perc": null, + "Sorter_jam": 15, + "Sorter_perc": 1, + "Startstamp": 1756801720000, + "Total_Jam": 15, "Total_perc": 1 } ], @@ -29498,7 +29498,7 @@ }, "props": { "dismissOnSelect": false, - "formattedValue": "Sep 2, 2025 11:32 AM", + "formattedValue": "Sep 2, 2025 12:28 PM", "formattedValues": { "date": "Mar 26, 2021", "datetime": "Mar 26, 2021 12:00 AM", @@ -29516,9 +29516,9 @@ "$": [ "ts", 192, - 1756801949026 + 1756805317872 ], - "$ts": 1756798349000 + "$ts": 1756801717000 } }, "type": "ia.input.date-time-input" @@ -29669,7 +29669,7 @@ }, "props": { "dismissOnSelect": false, - "formattedValue": "Sep 2, 2025 12:32 PM", + "formattedValue": "Sep 2, 2025 1:28 PM", "formattedValues": { "date": "Mar 29, 2021", "datetime": "Mar 29, 2021 1:37 PM", @@ -29687,9 +29687,9 @@ "$": [ "ts", 192, - 1756801948997 + 1756805317832 ], - "$ts": 1756801948000 + "$ts": 1756805317000 } }, "type": "ia.input.date-time-input" diff --git a/BNA8/ignition/script-python/autStand/Utils/resource.json b/BNA8/ignition/script-python/autStand/Utils/resource.json index 419e689f..a8526215 100644 --- a/BNA8/ignition/script-python/autStand/Utils/resource.json +++ b/BNA8/ignition/script-python/autStand/Utils/resource.json @@ -8,10 +8,10 @@ ], "attributes": { "lastModification": { - "actor": "external", - "timestamp": "2025-08-28T09:46:53Z" + "actor": "admin", + "timestamp": "2025-09-02T08:59:11Z" }, "hintScope": 2, - "lastModificationSignature": "b3922221fd2be425e6122d0a47db9be3d328339392a955bab5e70205322fe4d6" + "lastModificationSignature": "3d2e0a176272132b0d8575f28d9176d58dde3e9c2d2ebf5da0ae81c4b3b67cbc" } } \ No newline at end of file