{ "custom": {}, "params": { "ASdata": "CP", "Browser": "Amazon", "DeviceType": "Conv", "FolderPath": "Conveyor/", "Vendor": "AS", "tagPath": "Conv_PS1_1" }, "propConfig": { "params.ASdata": { "paramDirection": "input", "persistent": true }, "params.Browser": { "paramDirection": "input", "persistent": true }, "params.DeviceType": { "paramDirection": "input", "persistent": true }, "params.FolderPath": { "paramDirection": "input", "persistent": true }, "params.Vendor": { "paramDirection": "input", "persistent": true }, "params.tagPath": { "paramDirection": "input", "persistent": true } }, "props": { "defaultSize": { "width": 900 } }, "root": { "children": [ { "children": [ { "children": [ { "meta": { "name": "label_5" }, "position": { "height": 35, "width": 90, "x": -870, "y": 317 }, "props": { "style": { "fontFamily": "Arial", "fontSize": 14 }, "text": "Tag:" }, "type": "ia.display.label" }, { "children": [ { "meta": { "name": "CP" }, "position": { "height": 36, "width": 540, "x": 222, "y": 400 }, "propConfig": { "meta.visible": { "binding": { "config": { "expression": "if ({view.params.DeviceType} \u003d \"AirCompressor\" || {view.params.DeviceType} \u003d \"IO\" || {view.params.ASdata} \u003d \"BcnP\" || \r\n{view.params.DeviceType} \u003d \"CP\" || {view.params.DeviceType} \u003d \"PE\" || {view.params.DeviceType} \u003d \"Beacon\"\r\n, false,true)\t" }, "type": "expr" } }, "props.text": { "binding": { "config": { "expression": "tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/CP_Name\")" }, "type": "expr" } } }, "props": { "enabled": false, "style": { "fontFamily": "Arial", "fontSize": 15 } }, "type": "ia.input.text-area" }, { "meta": { "name": "Area" }, "position": { "height": 36, "width": 540, "x": 222, "y": 349 }, "propConfig": { "meta.visible": { "binding": { "config": { "expression": "if ({view.params.DeviceType} \u003d \"AirCompressor\" || {view.params.DeviceType} \u003d \"IO\" || {view.params.ASdata} \u003d \"BcnP\" || \r\n{view.params.DeviceType} \u003d \"CP\" || {view.params.DeviceType} \u003d \"PE\" || {view.params.DeviceType} \u003d \"Beacon\"\r\n, false,true)\t" }, "type": "expr" } }, "props.text": { "binding": { "config": { "expression": "tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Zone_Name\")" }, "type": "expr" } } }, "props": { "enabled": false, "style": { "fontFamily": "Arial", "fontSize": 15 } }, "type": "ia.input.text-area" }, { "meta": { "name": "Template" }, "position": { "height": 36, "width": 540, "x": 222, "y": 298 }, "propConfig": { "props.text": { "binding": { "config": { "expression": "if ({view.params.DeviceType} \u003d \"Encoder\",\r\n\t\"Templates/Devices/Encoder\",\r\nif ({view.params.DeviceType} \u003d \"PE\",\r\n\t\"Templates/Devices/Photoeye\",\r\nif ({view.params.DeviceType} \u003d \"Beacon\",\r\n\t\"Templates/Devices/Beacon\",\r\nif ({view.params.DeviceType} \u003d \"Diverter\",\r\n\t\"Templates/Devices/Diverter\",\r\nif ({view.params.DeviceType} \u003d \"IO\",\r\n\t\"Templates/Devices/EIP\",\r\nif ({view.params.DeviceType} \u003d \"EPC\",\r\n\t\"Templates/Devices/EPC\",\r\nif ({view.params.DeviceType} \u003d \"Gaylord\",\r\n\t\"Templates/Devices/Gaylord\",\r\nif ({view.params.DeviceType} \u003d \"LS\",\r\n\t\"Templates/Devices/LimitSwitch\",\r\nif ({view.params.DeviceType} \u003d \"CP\",\r\n\t\"Templates/Devices/CP\",\r\nif ({view.params.DeviceType} \u003d \"Scan\",\r\n\t\"Templates/Devices/Scanner\",\r\nif ({view.params.DeviceType} \u003d \"VFD\",\r\n\t\"Templates/Devices/VFD\",\r\nif ({view.params.DeviceType} \u003d \"AirCompressor\",\r\n\t\"Templates/Devices/AirCompressor\",\r\nif ({view.params.DeviceType} \u003d \"Conv\",\r\n\t\"Templates/Conveyors/Conv\",\r\nif ({view.params.DeviceType} \u003d \"Roller\",\r\n\t\"Templates/Conveyors/Conveyor_Roller\",\r\nif ({view.params.DeviceType} \u003d \"SStart\" || {view.params.DeviceType} \u003d \"SStop\" || {view.params.DeviceType} \u003d \"JR\",\r\n\t\"Templates/Devices/Control_Station\", \"fault\"\r\n)))))))))))))))" }, "type": "expr" } } }, "props": { "enabled": false, "style": { "fontFamily": "Arial", "fontSize": 15 } }, "type": "ia.input.text-area" }, { "meta": { "name": "DevType" }, "position": { "height": 36, "width": 540, "x": 222, "y": 247 }, "propConfig": { "props.text": { "binding": { "config": { "expression": "if ({view.params.DeviceType} \u003d \"Conv\" || {view.params.DeviceType} \u003d \"PE\" || {view.params.DeviceType} \u003d \"CP\" || {view.params.DeviceType} \u003d \"EPC\" || {view.params.DeviceType} \u003d \"IO\",\r\n\ttag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/Parameters.DeviceType\"),\r\n\t{view.params.DeviceType})" }, "type": "expr" } } }, "props": { "enabled": false, "style": { "fontFamily": "Arial", "fontSize": 15 } }, "type": "ia.input.text-area" }, { "meta": { "name": "Tag" }, "position": { "height": 36, "width": 540, "x": 222, "y": 196 }, "propConfig": { "props.text": { "binding": { "config": { "expression": "{view.params.tagPath}" }, "type": "expr" } } }, "props": { "enabled": false, "style": { "fontFamily": "Arial", "fontSize": 15 } }, "type": "ia.input.text-area" }, { "meta": { "name": "State_other" }, "position": { "height": 36, "width": 540, "x": 222, "y": 145 }, "propConfig": { "meta.visible": { "binding": { "config": { "expression": "{view.params.DeviceType} \u003d \"IO\" || {view.params.DeviceType} \u003d \"EPC\" || \r\n{view.params.DeviceType} \u003d \"CP\" || {view.params.DeviceType} \u003d \"AirCompressor\" || \r\n{view.params.DeviceType} \u003d \"Conv\"" }, "type": "expr" } }, "props.text": { "binding": { "config": { "expression": "if ({view.params.DeviceType} \u003d \"IO\", \r\ncase (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color\"),\r\n2 ,\"Faulted\",\r\n10 ,\"OK\",\r\n\"not response\"),\r\n\r\nif ({view.params.DeviceType} \u003d \"EPC\",\r\ncase (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color\"),\r\n0 ,\"Bad Quality\",\r\n1 ,\"Faulted\", \r\n2 ,\"E-Stop Activated\",\r\n4 ,\"Jam Fault\", \r\n5 ,\"Anti-Gridlock Mode\", \r\n10 ,\"Clear\",\r\n13 ,\"Off\", \r\n14 ,\"In Maintenance Mode\",\r\n\"not response\"),\r\n\r\nif ({view.params.DeviceType} \u003d \"CP\",\r\n\tIf (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/DisplayFault\"),\r\n\t\"Faulted\", \r\n\t\"OK\"),\r\n\r\nif ({view.params.DeviceType} \u003d \"Conv\",\r\ncase (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color\"),\r\n0 ,tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color/Alarms/Stat_Quality.DisplayPath\"),\r\n1 ,tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color/Alarms/Stat_EStop.DisplayPath\"),\r\n2 ,tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color/Alarms/Stat_UnitFaulted.DisplayPath\"), \r\n3 ,tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color/Alarms/Stat_Gridlocked.DisplayPath\"),\r\n4 ,tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color/Alarms/Stat_Jam.DisplayPath\"), \r\n5 ,tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color/Alarms/Stat_AntiGridlockMode.DisplayPath\"), \r\n6 ,tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color/Alarms/Stat_Full100.DisplayPath\"), \r\n7 ,tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color/Alarms/Stat_Full75.DisplayPath\"),\r\n8 ,tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color/Alarms/Stat_Full50.DisplayPath\"),\r\n9 ,tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color/Alarms/Stat_Full25.DisplayPath\"), \r\n10 ,tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color/Alarms/Stat_Running.DisplayPath\"),\r\n11 ,tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color/Alarms/Stat_AEM.DisplayPath\"), \r\n12 ,tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color/Alarms/Stat_Enabled.DisplayPath\"), \r\n13 ,tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color/Alarms/Stat_Stopped.DisplayPath\"), \r\n14 ,tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color/Alarms/Stat_Manual.DisplayPath\"),\r\n15 ,tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color/Alarms/Stat_PBstopped.DisplayPath\"), \r\n100,tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color/Alarms/Stat_Gravity.DisplayPath\"),\r\n\"not response\"),\r\n\r\nif ({view.params.DeviceType} \u003d \"AirCompressor\", \r\ncase (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color\"),\r\n1 ,\"Low Air Pressure\",\r\n2 ,\"Faulted\",\r\n10 ,\"Running\",\r\n13 ,\"Off\",\r\n14 ,\"Maintenance Mode\",\r\n\"not response\"),\r\n\"not response\"\r\n)))))" }, "type": "expr" } } }, "props": { "enabled": false, "style": { "fontFamily": "Arial", "fontSize": 15 } }, "type": "ia.input.text-area" }, { "meta": { "name": "Name" }, "position": { "height": 36, "width": 540, "x": 222, "y": 94 }, "propConfig": { "props.text": { "binding": { "config": { "expression": "replace({view.params.tagPath}, \"_\", \"-\")" }, "type": "expr" } } }, "props": { "enabled": false, "style": { "fontFamily": "Arial", "fontSize": 15 } }, "type": "ia.input.text-area" }, { "meta": { "name": "label_1" }, "position": { "height": 36, "width": 190, "x": 24.4, "y": 145 }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 }, "text": "State:" }, "type": "ia.display.label" }, { "meta": { "name": "label_2" }, "position": { "height": 36, "width": 190, "x": 24.4, "y": 94 }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 }, "text": "Name:" }, "type": "ia.display.label" }, { "meta": { "name": "label_3" }, "position": { "height": 36, "width": 190, "x": 24.4, "y": 349 }, "propConfig": { "meta.visible": { "binding": { "config": { "expression": "if ({view.params.DeviceType} \u003d \"AirCompressor\" || {view.params.DeviceType} \u003d \"IO\" || {view.params.ASdata} \u003d \"BcnP\" || \r\n{view.params.DeviceType} \u003d \"CP\" || {view.params.DeviceType} \u003d \"PE\" || {view.params.DeviceType} \u003d \"Beacon\"\r\n, false,true)\t" }, "type": "expr" } } }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 }, "text": "Area:" }, "type": "ia.display.label" }, { "meta": { "name": "label_6" }, "position": { "height": 36, "width": 190, "x": 24.4, "y": 400 }, "propConfig": { "meta.visible": { "binding": { "config": { "expression": "if ({view.params.DeviceType} \u003d \"AirCompressor\" || {view.params.DeviceType} \u003d \"IO\" || {view.params.ASdata} \u003d \"BcnP\" || \r\n{view.params.DeviceType} \u003d \"CP\" || {view.params.DeviceType} \u003d \"PE\" || {view.params.DeviceType} \u003d \"Beacon\"\r\n, false,true)\t" }, "type": "expr" } } }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 }, "text": "CP:" }, "type": "ia.display.label" }, { "meta": { "name": "label_7" }, "position": { "height": 36, "width": 190, "x": 24.4, "y": 247 }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 }, "text": "Device Type:" }, "type": "ia.display.label" }, { "meta": { "name": "label_8" }, "position": { "height": 36, "width": 190, "x": 24.4, "y": 298 }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 }, "text": "Maintenance Template:" }, "type": "ia.display.label" }, { "meta": { "name": "label_9" }, "position": { "height": 36, "width": 190, "x": 24.4, "y": 196 }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 }, "text": "Tag:" }, "type": "ia.display.label" }, { "meta": { "name": "label_4", "tooltip": { "text": "SorterBcnP" } }, "position": { "height": 36, "width": 190, "x": 24.4, "y": 43 }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 }, "text": "PLC:" }, "type": "ia.display.label" }, { "meta": { "name": "PLC" }, "position": { "height": 36, "width": 540, "x": 222, "y": 43 }, "propConfig": { "props.text": { "binding": { "config": { "expression": "tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/Parameters.PLCname\")" }, "type": "expr" } } }, "props": { "enabled": false, "style": { "fontFamily": "Arial", "fontSize": 15 } }, "type": "ia.input.text-area" }, { "meta": { "name": "State_SSTArt_JR_SStop" }, "position": { "height": 36, "width": 540, "x": 222, "y": 145 }, "propConfig": { "meta.visible": { "binding": { "config": { "expression": "{view.params.DeviceType} \u003d \"SStart\" || {view.params.DeviceType} \u003d \"JR\" || {view.params.DeviceType} \u003d \"SStop\"" }, "type": "expr" } }, "props.text": { "binding": { "config": { "expression": "if ({view.params.DeviceType} \u003d \"SStart\",\r\n(if (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color_Start\") \u003d 4,\r\n\t\"Start\",\r\n\tif (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color_Start\") \u003d 3,\r\n\t\t\"Start Pressed\",\r\n\t\tif (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color_Start\") \u003d 2,\r\n\t\t\t\"Start Illuminated\",\r\n\t\t\tif (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color_Start\") \u003d 1,\r\n\t\t\t\t\"Start Pressed/Illuminated\",\r\n\"not response\"\r\n))))),\r\nif ({view.params.DeviceType} \u003d \"JR\",\r\n(if (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color_Start\") \u003d 4,\r\n\t\"Restart\",\r\n\tif (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color_Start\") \u003d 3,\r\n\t\t\"Restart Pressed\",\r\n\t\tif (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color_Start\") \u003d 2,\r\n\t\t\t\"Restart Illuminated\",\r\n\t\t\tif (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color_Start\") \u003d 1,\r\n\t\t\t\t\"Restart Pressed/Illuminated\",\r\n\"not response\"\r\n))))),\r\nif ({view.params.DeviceType} \u003d \"SStop\",\r\n(if (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color_Stop\") \u003d 4,\r\n\t\"Stop\",\r\n\tif (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color_Stop\") \u003d 3,\r\n\t\t\"Stop Pressed\",\r\n\t\tif (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color_Stop\") \u003d 2,\r\n\t\t\t\"Stop Illuminated\",\r\n\t\t\tif (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color_Stop\") \u003d 1,\r\n\t\t\t\t\"Stop Pressed/Illuminated\",\r\n\"not response\"\r\n))))),\"not response\")\r\n\r\n))\r\n\t\t\t\t\r\n" }, "type": "expr" } } }, "props": { "enabled": false, "style": { "fontFamily": "Arial", "fontSize": 15 } }, "type": "ia.input.text-area" }, { "meta": { "name": "State_Beacon" }, "position": { "height": 36, "width": 540, "x": 222, "y": 145 }, "propConfig": { "meta.visible": { "binding": { "config": { "expression": "{view.params.DeviceType} \u003d \"Beacon\"" }, "type": "expr" } }, "props.text": { "binding": { "config": { "expression": "case (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Beacon\"),\r\n1 ,\"On\", \r\n0 ,\"Off\", \r\n\"not response\")" }, "type": "expr" } } }, "props": { "enabled": false, "style": { "fontFamily": "Arial", "fontSize": 15 } }, "type": "ia.input.text-area" }, { "meta": { "name": "State_PE" }, "position": { "height": 36, "width": 540, "x": 222, "y": 145 }, "propConfig": { "meta.visible": { "binding": { "config": { "expression": "{view.params.DeviceType} \u003d \"PE\"" }, "type": "expr" } }, "props.text": { "binding": { "config": { "expression": "if ({view.params.ASdata} \u003d \"PEjam\",\r\ncase (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color\"),\r\n4 ,\"Jammed\", \r\n6 ,\"Disabled\", \r\n10 ,\"Clear\",\r\n101,\"Blocked\",\r\n\"not response\"),\r\nif ({view.params.ASdata} \u003d \"PEfull\",\r\ncase (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color\"),\r\n4 ,\"Full\", \r\n6 ,\"Disabled\", \r\n10 ,\"Clear\",\r\n101,\"Blocked\",\r\n\"not response\"), \"not response\"))" }, "type": "expr" } } }, "props": { "enabled": false, "style": { "fontFamily": "Arial", "fontSize": 15 } }, "type": "ia.input.text-area" }, { "meta": { "name": "State_VFD" }, "position": { "height": 36, "width": 540, "x": 222, "y": 145 }, "propConfig": { "meta.visible": { "binding": { "config": { "expression": "{view.params.DeviceType} \u003d \"VFD\"" }, "type": "expr" } }, "props.text": { "binding": { "config": { "expression": "case (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/StatusVFD\"),\r\n 0 ,\"Disconnect\",\r\n 2 ,\"Faulted/Disconnect\", \r\n 3 ,\"Faulted/OK\",\r\n 10 ,\"OK\",\r\n \"not response\")" }, "type": "expr" } } }, "props": { "enabled": false, "style": { "fontFamily": "Arial", "fontSize": 15 } }, "type": "ia.input.text-area" } ], "meta": { "name": "AS" }, "position": { "height": 523, "width": 835, "x": 31.2806, "y": 30 }, "propConfig": { "meta.visible": { "binding": { "config": { "expression": "{view.params.Vendor} \u003d \"AS\"" }, "type": "expr" } } }, "type": "ia.container.coord" }, { "children": [ { "meta": { "name": "CP" }, "position": { "height": 36, "width": 540, "x": 222, "y": 400 }, "propConfig": { "meta.visible": { "binding": { "config": { "expression": "if ({view.params.DeviceType} \u003d \"CP\" ||\r\n({view.params.DeviceType} \u003d \"Beacon\" \u0026\u0026 ({../Name.props.text} \u003d \"Sorter\" || {../Name.props.text} \u003d \"Induct\"))\r\n, false,true)" }, "type": "expr" } }, "props.text": { "binding": { "config": { "expression": "if ({view.params.ASdata} \u003d \"ChutePE_CP\" || {view.params.ASdata} \u003d \"ChutePE_PF50\"||\r\n\t{view.params.ASdata} \u003d \"ChutePE_PF2\"|| {view.params.ASdata} \u003d \"ChutePE_PJ\" ||\r\n\t{view.params.ASdata} \u003d \"ChutePE_GF\" || {view.params.ASdata} \u003d \"ChutePE_PF\" ||\r\n\t{view.params.ASdata} \u003d \"BeaconChuteB\" || {view.params.ASdata} \u003d \"ChutePE_GP\" ||\r\n\t{view.params.ASdata} \u003d \"BeaconChuteA\" || \r\n\t{view.params.ASdata} \u003d \"BeaconChuteG\" || \r\n\t{view.params.ASdata} \u003d \"ChuteChute\" ||\r\n\t{view.params.ASdata} \u003d \"ChuteGaylord\" ||\r\n\t{view.params.ASdata} \u003d \"ChuteLS\" ||\r\n\t{view.params.ASdata} \u003d \"BeaconSDS\" || \r\n\t{view.params.ASdata} \u003d \"Chute\",\r\n\ttag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/CP_Name\"),\r\nif ({view.params.ASdata} \u003d \"BeaconPE14\" || {view.params.ASdata} \u003d \"BeaconPE513\" || {view.params.ASdata} \u003d \"BeaconPECLS35\" ||\r\n\t{view.params.ASdata} \u003d \"JRInductPE14\" || {view.params.ASdata} \u003d \"JRInductPE513\" || {view.params.ASdata} \u003d \"JRPECLS35\" || {view.params.ASdata} \u003d \"SStop\" || {view.params.ASdata} \u003d \"Scanner\",\r\n\t\"S03\",\r\ntag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/CP_Name\")\r\n))" }, "type": "expr" } } }, "props": { "enabled": false, "style": { "fontFamily": "Arial", "fontSize": 15 } }, "type": "ia.input.text-area" }, { "meta": { "name": "Area" }, "position": { "height": 36, "width": 540, "x": 222, "y": 349 }, "propConfig": { "meta.visible": { "binding": { "config": { "expression": "if ({view.params.DeviceType} \u003d \"CP\" ||\r\n({view.params.DeviceType} \u003d \"Beacon\" \u0026\u0026 ({../Name.props.text} \u003d \"Sorter\" || {../Name.props.text} \u003d \"Induct\"))\r\n, false,true)" }, "type": "expr" } }, "props.text": { "binding": { "config": { "expression": "if ({view.params.ASdata} \u003d \"BeaconPE14\" || {view.params.ASdata} \u003d \"JRInductPE14\" || \r\n\t{view.params.ASdata} \u003d \"BeaconPE513\" || {view.params.ASdata} \u003d \"JRInductPE513\",\r\n\t\"Induct\",\r\nif ({view.params.ASdata} \u003d \"BeaconPECLS35\" || {view.params.ASdata} \u003d \"JRPECLS35\" || {view.params.ASdata} \u003d \"SStop\",\r\n\t\"Sorter\",\r\ntag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/Parameters.AreaPar\")\r\n))" }, "type": "expr" } } }, "props": { "enabled": false, "style": { "fontFamily": "Arial", "fontSize": 15 } }, "type": "ia.input.text-area" }, { "meta": { "name": "Template" }, "position": { "height": 36, "width": 540, "x": 222, "y": 298 }, "propConfig": { "props.text": { "binding": { "config": { "expression": "if ({view.params.DeviceType} \u003d \"Encoder\",\r\n\t\"Templates/Interroll/Encoder\",\r\nif ({view.params.DeviceType} \u003d \"PE\",\r\n\t\"Templates/Interroll/Photoeye\",\r\nif ({view.params.DeviceType} \u003d \"Beacon\",\r\n\t\"Templates/Interroll/Beacon\",\r\nif ({view.params.DeviceType} \u003d \"Diverter\",\r\n\t\"Templates/Devices/Diverter\",\r\nif ({view.params.DeviceType} \u003d \"IO\",\r\n\t\"Templates/Devices/EIP\",\r\nif ({view.params.DeviceType} \u003d \"EPC\",\r\n\t\"Templates/Interroll/EPC\",\r\nif ({view.params.DeviceType} \u003d \"Gaylord\",\r\n\t\"Templates/Devices/Gaylord\",\r\nif ({view.params.DeviceType} \u003d \"LS\" || {view.params.DeviceType} \u003d \"LimitSwitch\",\r\n\t\"Templates/Interroll/LimitSwitch\",\r\nif ({view.params.DeviceType} \u003d \"CP\",\r\n\t\"Templates/Interroll/CP\",\r\nif ({view.params.DeviceType} \u003d \"Scanner\",\r\n\t\"Templates/Interroll/Scanner\",\r\nif ({view.params.DeviceType} \u003d \"VFD\",\r\n\t\"Templates/Interroll/VFD\",\r\nif ({view.params.DeviceType} \u003d \"Conv\" || {view.params.DeviceType} \u003d \"Chute\",\r\n\t\"Templates/Interroll/Conv\",\r\nif ({view.params.DeviceType} \u003d \"SStart\" || {view.params.DeviceType} \u003d \"SStop\" || {view.params.DeviceType} \u003d \"Jam Reset Button\",\r\n\t\"Templates/Interroll/Control_Station\", \r\n\t\"fault\"\r\n)))))))))))))" }, "type": "expr" } } }, "props": { "enabled": false, "style": { "fontFamily": "Arial", "fontSize": 15 } }, "type": "ia.input.text-area" }, { "meta": { "name": "DevType" }, "position": { "height": 36, "width": 540, "x": 222, "y": 247 }, "propConfig": { "props.text": { "binding": { "config": { "expression": "if ({view.params.ASdata} \u003d \"PE\" || {view.params.ASdata} \u003d \"CP\" || {view.params.ASdata} \u003d \"EPC\" || {view.params.ASdata} \u003d \"IO\",\r\n\ttag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/Parameters.DeviceType\"),\r\nif ({view.params.ASdata} \u003d \"BeaconPE\" || {view.params.ASdata} \u003d \"BeaconEPC\",\r\n\t\"Beacon\",\r\nif ({view.params.ASdata} \u003d \"Conv\",\r\n\t\"Conv\",\r\n\t{view.params.DeviceType})))" }, "type": "expr" } } }, "props": { "enabled": false, "style": { "fontFamily": "Arial", "fontSize": 15 } }, "type": "ia.input.text-area" }, { "meta": { "name": "State_other" }, "position": { "height": 36, "width": 540, "x": 222, "y": 145 }, "propConfig": { "meta.visible": { "binding": { "config": { "expression": "{view.params.ASdata} \u003d \"Sorter_CP\" || {view.params.ASdata} \u003d \"Scanner\" || \r\n{view.params.ASdata} \u003d \"Chute\" || {view.params.ASdata} \u003d \"Conv\"" }, "type": "expr" } }, "props.text": { "binding": { "config": { "expression": "if ({view.params.ASdata} \u003d \"Sorter_CP\", \r\n \tif (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/SorterOpMode_Auto\"),\r\n \t\"OK\", \"Fault\"),\r\nif ({view.params.ASdata} \u003d \"Scanner\", \r\n \tif (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Alarm/Scanner_FLT\"),\r\n \t\"Fault\", \"OK\"),\r\nif ({view.params.ASdata} \u003d \"Chute\", \r\n\tif (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color\")\u003d3, \"Jammed\",\r\n \t\tif (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color\")\u003d13, \"OFF/Inactive\",\r\n \t\t\tif (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color\")\u003d4, \"Full\",\r\n \t\t\t\tif (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/ChuteNotPresent\")\u003dfalse \u0026\u0026 \r\n \t\t\t\t\ttag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/Full50\") \u003d true, \"Full 50%\",\r\n \t\t\t\t\tif (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/ChuteNotPresent\") \u003d false \u0026\u0026 \r\n \t\t\t\t\t\ttag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/Full50\") \u003d false, \"Running\",\r\n \t\t\t\t\t\tif (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/GaylordPresent\"), \"Running\",\r\n \t\t\t\t\t\t\"Invalid, Unavailable, Bad Quality\"\r\n \t\t\t\t\t\t\t)\r\n \t\t\t\t\t\t)\r\n \t\t\t\t\t)\r\n \t\t\t\t)\r\n \t\t\t)\r\n \t\t),\r\nif ({view.params.ASdata} \u003d \"Conv\",\r\ncase (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color\"),\r\n0 ,tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color/Alarms/Stat_Quality.DisplayPath\"),\r\n1 ,tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color/Alarms/Stat_EStop.DisplayPath\"),\r\n2 ,tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color/Alarms/Stat_UnitFaulted.DisplayPath\"), \r\n3 ,tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color/Alarms/Stat_Gridlocked.DisplayPath\"),\r\n4 ,tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color/Alarms/Stat_Jam.DisplayPath\"), \r\n5 ,tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color/Alarms/Stat_AntiGridlockMode.DisplayPath\"), \r\n6 ,tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color/Alarms/Stat_Full100.DisplayPath\"), \r\n7 ,tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color/Alarms/Stat_Full75.DisplayPath\"),\r\n8 ,tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color/Alarms/Stat_Full50.DisplayPath\"),\r\n9 ,tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color/Alarms/Stat_Full25.DisplayPath\"), \r\n10 ,tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color/Alarms/Stat_Running.DisplayPath\"),\r\n11 ,tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color/Alarms/Stat_AEM.DisplayPath\"), \r\n12 ,tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color/Alarms/Stat_Enabled.DisplayPath\"), \r\n13 ,tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color/Alarms/Stat_Stopped.DisplayPath\"), \r\n14 ,tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color/Alarms/Stat_Manual.DisplayPath\"),\r\n15 ,tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color/Alarms/Stat_PBstopped.DisplayPath\"), \r\n100,tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color/Alarms/Stat_Gravity.DisplayPath\"),\r\n\"not response\"),\r\n \t\"not response\"))))" }, "type": "expr" } } }, "props": { "enabled": false, "style": { "fontFamily": "Arial", "fontSize": 15 } }, "type": "ia.input.text-area" }, { "meta": { "name": "Name" }, "position": { "height": 36, "width": 540, "x": 222, "y": 94 }, "propConfig": { "props.text": { "binding": { "config": { "expression": "if ({view.params.ASdata} \u003d \"BeaconPE14\" || {view.params.ASdata} \u003d \"BeaconPE513\" || {view.params.ASdata} \u003d \"BeaconPECLS35\",\r\n\t{view.params.ASdata},\r\nreplace({view.params.tagPath}, \"_\", \"-\")\r\n)" }, "type": "expr" } } }, "props": { "enabled": false, "style": { "fontFamily": "Arial", "fontSize": 15 } }, "type": "ia.input.text-area" }, { "meta": { "name": "label_1" }, "position": { "height": 36, "width": 190, "x": 24.4, "y": 145 }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 }, "text": "State:" }, "type": "ia.display.label" }, { "meta": { "name": "label_2" }, "position": { "height": 36, "width": 190, "x": 24.4, "y": 94 }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 }, "text": "Name:" }, "type": "ia.display.label" }, { "meta": { "name": "label_3" }, "position": { "height": 36, "width": 190, "x": 24.4, "y": 349 }, "propConfig": { "meta.visible": { "binding": { "config": { "expression": "if ({view.params.DeviceType} \u003d \"CP\" ||\r\n({view.params.DeviceType} \u003d \"Beacon\" \u0026\u0026 ({../Name.props.text} \u003d \"Sorter\" || {../Name.props.text} \u003d \"Induct\"))\r\n, false,true)" }, "type": "expr" } } }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 }, "text": "Area:" }, "type": "ia.display.label" }, { "meta": { "name": "label_6" }, "position": { "height": 36, "width": 190, "x": 24.4, "y": 400 }, "propConfig": { "meta.visible": { "binding": { "config": { "expression": "if ({view.params.DeviceType} \u003d \"CP\" ||\r\n({view.params.DeviceType} \u003d \"Beacon\" \u0026\u0026 ({../Name.props.text} \u003d \"Sorter\" || {../Name.props.text} \u003d \"Induct\"))\r\n, false,true)" }, "type": "expr" } } }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 }, "text": "CP:" }, "type": "ia.display.label" }, { "meta": { "name": "label_7" }, "position": { "height": 36, "width": 190, "x": 24.4, "y": 247 }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 }, "text": "Device Type:" }, "type": "ia.display.label" }, { "meta": { "name": "label_8" }, "position": { "height": 36, "width": 190, "x": 24.4, "y": 298 }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 }, "text": "Maintenance Template:" }, "type": "ia.display.label" }, { "meta": { "name": "label_9" }, "position": { "height": 36, "width": 190, "x": 24.4, "y": 196 }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 }, "text": "Tag(s):" }, "type": "ia.display.label" }, { "meta": { "name": "label_4" }, "position": { "height": 36, "width": 190, "x": 24.4, "y": 43 }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 }, "text": "PLC:" }, "type": "ia.display.label" }, { "meta": { "name": "PLC" }, "position": { "height": 36, "width": 540, "x": 222, "y": 43 }, "propConfig": { "props.text": { "binding": { "config": { "expression": "if ({view.params.ASdata} \u003d \"BeaconPE14\" || {view.params.ASdata} \u003d \"BeaconPE513\" || {view.params.ASdata} \u003d \"BeaconPECLS35\" || {view.params.ASdata} \u003d \"BcnP\",\r\n\t\"Interroll\",\r\nif ({view.params.ASdata} \u003d \"JRInductPE14\" || {view.params.ASdata} \u003d \"JRInductPE513\" || {view.params.ASdata} \u003d \"JRPECLS35\" || {view.params.ASdata} \u003d \"SStop\",\r\n\t\"Interroll\",\r\ntag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/Parameters.PLCname\")\r\n))" }, "type": "expr" } } }, "props": { "enabled": false, "style": { "fontFamily": "Arial", "fontSize": 15 } }, "type": "ia.input.text-area" }, { "meta": { "name": "State_SSTArt_JR_SStop" }, "position": { "height": 36, "width": 540, "x": 222, "y": 145 }, "propConfig": { "meta.visible": { "binding": { "config": { "expression": "{view.params.ASdata} \u003d \"SStart\" || {view.params.DeviceType} \u003d \"Jam Reset Button\" || {view.params.ASdata} \u003d \"SStop\"" }, "type": "expr" } } }, "props": { "enabled": false, "style": { "fontFamily": "Arial", "fontSize": 15 }, "text": "Null" }, "type": "ia.input.text-area" }, { "meta": { "name": "State_Beacon" }, "position": { "height": 36, "width": 540, "x": 222, "y": 145 }, "propConfig": { "meta.visible": { "binding": { "config": { "expression": "{view.params.DeviceType} \u003d \"Beacon\"" }, "type": "expr" } }, "props.text": { "binding": { "config": { "expression": "if ({view.params.ASdata} \u003d \"BeaconPE\" || {view.params.ASdata} \u003d \"BeaconPEGAP\",\r\n\tif (!tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Alarm/JAM\") \u0026\u0026 \r\n\t\t!tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/AutoInductPE\"),\r\n\t\t\"OFF\",\t\"ON\"),\r\nif ({view.params.ASdata} \u003d \"BeaconEPC\",\r\n\tif (!tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/EstopWasTriggered\") \u0026\u0026 \r\n\t\t!tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Alarm/Estop\"),\r\n\t\t\"OFF\",\t\"ON\"),\r\nif ({view.params.ASdata} \u003d \"BeaconCP_G\",\r\n\tif (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/\"+{view.params.tagPath}+\"OpMode_Auto\"),\r\n\t\t\"ON\",\t\"OFF\"),\r\nif ({view.params.ASdata} \u003d \"BeaconCP_R\",\r\n\tif (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Alert\"+{view.params.tagPath}),\r\n\t\t\"ON\",\t\"OFF\"),\r\nif ({view.params.ASdata} \u003d \"BeaconCP_A_Sort\",\r\n\tif (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Alarm/FLT_JamChutes\") || \r\n\t\ttag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Alarm/FLT_JamCLS\"),\r\n\t\t\"ON\",\t\"OFF\"),\r\nif ({view.params.ASdata} \u003d \"BeaconCP_A_Induct\",\r\n\tif (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"Sorter/HMI/Alarm/FLT_Jaminductions\"),\r\n\t\t\"ON\",\t\"OFF\"),\r\nif ({view.params.ASdata} \u003d \"BeaconChuteG\",\r\n\tif (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/Suspended\") \u003d 0,\r\n\t\t\"ON\",\t\"OFF\"),\r\nif ({view.params.ASdata} \u003d \"BeaconChuteA\",\r\n\tif (!tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/Jam\") \u0026\u0026 \r\n\t\t!tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/PEJam\"), \"OFF\", \"ON\"),\r\nif ({view.params.ASdata} \u003d \"BeaconChuteB\",\r\n\tif (!tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/Full50\") \u0026\u0026 \r\n\t\t!tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/Full\"), \"OFF\", \"ON\"),\r\nif ({view.params.ASdata} \u003d \"BeaconPE14\",\t\r\n\tif (!{[Amazon]Interroll/PE/InductPE1/HMI/Alarm/JAM} \u0026\u0026 !{[Amazon]Interroll/PE/InductPE1/HMI/AutoInductPE} ||\r\n\t\t!{[Amazon]Interroll/PE/InductPE2/HMI/Alarm/JAM} \u0026\u0026 !{[Amazon]Interroll/PE/InductPE2/HMI/AutoInductPE} ||\r\n\t\t!{[Amazon]Interroll/PE/InductPE3/HMI/Alarm/JAM} \u0026\u0026 !{[Amazon]Interroll/PE/InductPE3/HMI/AutoInductPE} ||\r\n\t\t!{[Amazon]Interroll/PE/InductPE4/HMI/Alarm/JAM} \u0026\u0026 !{[Amazon]Interroll/PE/InductPE4/HMI/AutoInductPE},\r\n\t\t\"OFF\",\t\"ON\"),\r\nif ({view.params.ASdata} \u003d \"BeaconPE14\",\r\n\tif (!{[Amazon]Interroll/PE/InductPE5/HMI/Alarm/JAM} \u0026\u0026 !{[Amazon]Interroll/PE/InductPE5/HMI/AutoInductPE} ||\r\n\t\t!{[Amazon]Interroll/PE/InductPE6/HMI/Alarm/JAM} \u0026\u0026 !{[Amazon]Interroll/PE/InductPE6/HMI/AutoInductPE} ||\r\n\t\t!{[Amazon]Interroll/PE/InductPE7/HMI/Alarm/JAM} \u0026\u0026 !{[Amazon]Interroll/PE/InductPE7/HMI/AutoInductPE} ||\r\n\t\t!{[Amazon]Interroll/PE/InductPE8/HMI/Alarm/JAM} \u0026\u0026 !{[Amazon]Interroll/PE/InductPE8/HMI/AutoInductPE} ||\r\n\t\t!{[Amazon]Interroll/PE/InductPE9/HMI/Alarm/JAM} \u0026\u0026 !{[Amazon]Interroll/PE/InductPE9/HMI/AutoInductPE} ||\r\n\t\t!{[Amazon]Interroll/PE/InductPE10/HMI/Alarm/JAM} \u0026\u0026 !{[Amazon]Interroll/PE/InductPE10/HMI/AutoInductPE} ||\r\n\t\t!{[Amazon]Interroll/PE/InductPE11/HMI/Alarm/JAM} \u0026\u0026 !{[Amazon]Interroll/PE/InductPE11/HMI/AutoInductPE} ||\r\n\t\t!{[Amazon]Interroll/PE/InductPE12/HMI/Alarm/JAM} \u0026\u0026 !{[Amazon]Interroll/PE/InductPE12/HMI/AutoInductPE} ||\r\n\t\t!{[Amazon]Interroll/PE/InductPE13/HMI/Alarm/JAM} \u0026\u0026 !{[Amazon]Interroll/PE/InductPE13/HMI/AutoInductPE},\r\n\t\t\"OFF\",\t\"ON\"),\r\nif ({view.params.ASdata} \u003d \"BeaconPECLS35\",\t\r\n\tif (!{[Amazon]Interroll/PE/CLS3/HMI/Alarm/JAM} \u0026\u0026 !{[Amazon]Interroll/PE/CLS3/HMI/AutoInductPE} ||\r\n\t\t!{[Amazon]Interroll/PE/CLS4/HMI/Alarm/JAM} \u0026\u0026 !{[Amazon]Interroll/PE/CLS4/HMI/AutoInductPE} ||\r\n\t\t!{[Amazon]Interroll/PE/CLS5/HMI/Alarm/JAM} \u0026\u0026 !{[Amazon]Interroll/PE/CLS5/HMI/AutoInductPE},\r\n\t\t\"OFF\",\t\"ON\"),\r\nif ({view.params.ASdata} \u003d \"BeaconSDS\",\t\r\n\tif (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/Stacklight_Solid\") ||\r\n\t\ttag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/Stacklight_Fast\") ||\r\n\t\ttag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/Stacklight_Slow\"),\r\n\t\t\"ON\",\t\"OFF\"),\r\nif ({view.params.ASdata} \u003d \"BcnP\",\t\r\n\tif (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/BeaconSolid\") ||\r\n\t\ttag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/BeaconBlink\"),\r\n\t\t\"ON\",\t\"OFF\"),\r\n\r\n\"not response\"))))))))))))))" }, "type": "expr" } } }, "props": { "enabled": false, "style": { "fontFamily": "Arial", "fontSize": 15 } }, "type": "ia.input.text-area" }, { "meta": { "name": "State_PE" }, "position": { "height": 36, "width": 540, "x": 222, "y": 145 }, "propConfig": { "meta.visible": { "binding": { "config": { "expression": "{view.params.ASdata} \u003d \"PE\" || {view.params.ASdata} \u003d \"ChutePE_CP\" || {view.params.ASdata} \u003d \"ChutePE_PF50\"||\r\n\t{view.params.ASdata} \u003d \"ChutePE_PF2\"|| {view.params.ASdata} \u003d \"ChutePE_PJ\" ||\r\n\t{view.params.ASdata} \u003d \"ChutePE_GF\" || {view.params.ASdata} \u003d \"ChutePE_PF\" || {view.params.ASdata} \u003d \"ChutePE_GP\"" }, "type": "expr" } }, "props.text": { "binding": { "config": { "expression": "if ({view.params.ASdata} \u003d \"PE\",\r\n\tif (!tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Alarm/JAM\") \u0026\u0026 \r\n\t\ttag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/AutoInductPE\"),\r\n\t\t\"Full\",\r\n\t\tif (!tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Alarm/JAM\") \u0026\u0026 \r\n\t\t\t!tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/AutoInductPE\"),\r\n\t\t\t\"Clear\",\r\n\t\t\t\"Jammed\"\r\n\t\t\t)\r\n\t\t),\r\nif ({view.params.ASdata} \u003d \"ChutePE_CP\" || {view.params.ASdata} \u003d \"ChutePE_PJ\" || {view.params.ASdata} \u003d \"ChutePE_GP\",\r\n\t\t\t\"Jammed\",\r\n\t\t\tif ({view.params.DeviceType} \u003d \"ChutePE_PF50\" || {view.params.DeviceType} \u003d \"ChutePE_PF2\" || \r\n\t\t\t\t{view.params.DeviceType} \u003d \"ChutePE_PF\" || {view.params.DeviceType} \u003d \"ChutePE_GF\" ,\r\n\t\t\t\t\"Full\",\r\n\t\t\t\t\"Clear\")))" }, "type": "expr" } } }, "props": { "enabled": false, "style": { "fontFamily": "Arial", "fontSize": 15 } }, "type": "ia.input.text-area" }, { "meta": { "name": "State_VFD" }, "position": { "height": 36, "width": 540, "x": 222, "y": 145 }, "propConfig": { "meta.visible": { "binding": { "config": { "expression": "{view.params.ASdata} \u003d \"VFD\" || {view.params.ASdata} \u003d \"Encoder\"" }, "type": "expr" } }, "props.text": { "binding": { "config": { "expression": "if ({view.params.ASdata} \u003d \"VFD\",\r\n\t(if (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Alarm/FLT_Disconnect\") \u0026\u0026 \r\n\t\ttag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Alarm/FLT_Motor\"),\r\n\t \"Faulted/Disconnect\",\r\n\t if(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Alarm/FLT_Motor\"),\r\n\t \t\"Faulted/OK\",\r\n\t if (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Alarm/FLT_Disconnect\"),\r\n\t \t\"Disconnect\",\r\n\t \"OK\")))),\r\nif ({view.params.ASdata} \u003d \"Encoder\",\r\n\tif (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Alarm/FLT_Encoder\"),\r\n\t\t\"Fault\",\r\n\t\t\"OK\"\r\n\t),\r\n\t\"nor response\"))" }, "type": "expr" } } }, "props": { "enabled": false, "style": { "fontFamily": "Arial", "fontSize": 15 } }, "type": "ia.input.text-area" }, { "meta": { "name": "State_EPC" }, "position": { "height": 36, "width": 540, "x": 222, "y": 145 }, "propConfig": { "meta.visible": { "binding": { "config": { "expression": "{view.params.ASdata} \u003d \"EPC\"" }, "type": "expr" } }, "props.text": { "binding": { "config": { "expression": "if (!tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/EstopWasTriggered\") \u0026\u0026\r\n\t!tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Alarm/Estop\"),\r\n\t\"Idle\",\r\n\t\"E-Stop Actuated\")" }, "type": "expr" } } }, "props": { "enabled": false, "style": { "fontFamily": "Arial", "fontSize": 15 } }, "type": "ia.input.text-area" }, { "meta": { "name": "State_LS" }, "position": { "height": 36, "width": 540, "x": 222, "y": 145 }, "propConfig": { "meta.visible": { "binding": { "config": { "expression": "{view.params.ASdata} \u003d \"ChuteLS\"" }, "type": "expr" } }, "props.text": { "binding": { "config": { "expression": "if (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/Chutenotpresent\"),\r\n\t\t\"Inactive\",\t\"Actuated\")" }, "type": "expr" } } }, "props": { "enabled": false, "style": { "fontFamily": "Arial", "fontSize": 15 } }, "type": "ia.input.text-area" }, { "meta": { "name": "Tag" }, "position": { "height": 36, "width": 540, "x": 222, "y": 196 }, "propConfig": { "meta.visible": { "binding": { "config": { "expression": "{view.params.ASdata} \u003d \"BeaconPE\"|| {view.params.ASdata} \u003d \"SStart\" || {view.params.ASdata} \u003d \"BeaconCP_A_Sort\" ||\r\n{view.params.ASdata} \u003d \"BeaconChuteB\" || {view.params.ASdata} \u003d \"BeaconPE14\" || {view.params.ASdata} \u003d \"BeaconPE513\" || \r\n{view.params.ASdata} \u003d \"BeaconPECLS35\" || {view.params.ASdata} \u003d \"BeaconPEGAP\" || \r\n{view.params.ASdata} \u003d \"JRInductPE14\" || {view.params.ASdata} \u003d \"JRInductPE513\" || {view.params.ASdata} \u003d \"JRPECLS35\" || \r\n{view.params.ASdata} \u003d \"JRInductPEGAP\"||\r\n\r\n{view.params.ASdata} \u003d \"PE\" || {view.params.ASdata} \u003d \"VFD\" || {view.params.ASdata} \u003d \"BcnP\" || {view.params.ASdata} \u003d \"BeaconSDS\" ||\r\n{view.params.ASdata} \u003d \"BeaconEPC\" || {view.params.ASdata} \u003d \"EPC\"" }, "transforms": [ { "fallback": null, "inputType": "scalar", "mappings": [ { "input": true, "output": false }, { "input": false, "output": true } ], "outputType": "scalar", "type": "map" } ], "type": "expr" } }, "props.text": { "binding": { "config": { "expression": "if ({view.params.ASdata} \u003d \"JR\",\r\n\tsubstring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color_Start.OPCItemPath\"), 7),\r\n\tif ({view.params.ASdata} \u003d \"SStop\",\r\n\t\t\"Interroll do not have tag\",\r\n\t\tif ({view.params.ASdata} \u003d \"Encoder\",\r\n\t\t\tsubstring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Alarm/FLT_Encoder.OPCItemPath\"), 7),\r\n\t\t\tif ({view.params.ASdata} \u003d \"ChutePE_CP\",\r\n\t\t\t\tsubstring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/CartPresent.OPCItemPath\"), 7),\r\n\t\t\tif ({view.params.ASdata} \u003d \"ChutePE_PF50\",\r\n\t\t\t\tsubstring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/PEFull50.OPCItemPath\"), 7),\r\n\t\t\tif ({view.params.ASdata} \u003d \"ChutePE_PF2\",\r\n\t\t\t\tsubstring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/PEFull2.OPCItemPath\"), 7),\r\n\t\t\tif ({view.params.ASdata} \u003d \"ChutePE_PJ\",\r\n\t\t\t\tsubstring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/PEJam.OPCItemPath\"), 7),\r\n\t\t\tif ({view.params.ASdata} \u003d \"ChutePE_GP\",\r\n\t\t\t\tsubstring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/GaylordPresent.OPCItemPath\"), 7),\r\n\t\t\tif ({view.params.ASdata} \u003d \"ChutePE_GF\",\r\n\t\t\t\tsubstring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/GaylordFull.OPCItemPath\"), 7),\r\n\t\t\tif ({view.params.ASdata} \u003d \"ChutePE_PF\",\r\n\t\t\t\tsubstring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/PEFull.OPCItemPath\"), 7),\r\n\t\t\t\tif ({view.params.ASdata} \u003d \"ChuteLS\",\r\n\t\t\t\t\tsubstring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/Chutenotpresent.OPCItemPath\"), 7),\r\n\t\t\t\t\tif ({view.params.ASdata} \u003d \"Sorter_CP\" || {view.params.ASdata} \u003d \"BeaconCP_G\",\r\n\t\t\t\t\t\tsubstring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/\"+{view.params.tagPath}+\"OpMode_Auto.OPCItemPath\"), 7),\r\n\t\t\t\t\tif ({view.params.ASdata} \u003d \"BeaconCP_R\",\r\n\t\t\t\t\t\tsubstring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Alert\"+{view.params.tagPath}+\".OPCItemPath\"), 7),\r\n\t\t\t\t\t\tif ({view.params.ASdata} \u003d \"Scanner\",\r\n\t\t\t\t\t\t\tsubstring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Alarm/Scanner_FLT.OPCItemPath\"), 7),\r\n\t\t\t\t\t\t\tif ({view.params.ASdata} \u003d \"BeaconCP_A_Induct\",\r\n\t\t\t\t\t\t\t\tsubstring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"Sorter/HMI/Alarm/FLT_Jaminductions.OPCItemPath\"), 7),\r\n\t\t\t\t\t\t\t\tif ({view.params.ASdata} \u003d \"BeaconChuteG\",\r\n\t\t\t\t\t\t\t\t\tsubstring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/Suspended.OPCItemPath\"), 7),\r\n\t\t\t\t\t\t\t\t\tif ({view.params.ASdata} \u003d \"PE\",\r\n\t\t\t\t\t\t\t\t\t\tsubstring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Alarm/JAM.OPCItemPath\"), 7) +\", \"+ \r\n\t\t\t\t\t\t\t\t\t\tsubstring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/AutoInductPE.OPCItemPath\"), 7),\r\n\t\t\t\t\t\t\t\t\t\tif ({view.params.ASdata} \u003d \"VFD\",\r\n\t\t\t\t\t\t\t\t\t\t\tsubstring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Alarm/FLT_Disconnect.OPCItemPath\"), 7) +\", \"+ \r\n\t\t\t\t\t\t\t\t\t\t\tsubstring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Alarm/FLT_Motor.OPCItemPath\"), 7),\r\n\t\t\t\t\t\t\t\t\t\t\tif ({view.params.ASdata} \u003d \"BcnP\",\r\n\t\t\t\t\t\t\t\t\t\t\t\tsubstring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/BeaconSolid.OPCItemPath\"), 7) +\", \"+ \r\n\t\t\t\t\t\t\t\t\t\t\t\tsubstring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/BeaconBlink.OPCItemPath\"), 7),\r\n\t\t\t\t\t\t\t\t\t\t\t\tif ({view.params.ASdata} \u003d \"BeaconSDS\",\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tsubstring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/Stacklight_Solid.OPCItemPath\"), 7) +\", \"+ \r\n\t\t\t\t\t\t\t\t\t\t\t\t\tsubstring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/Stacklight_Fast.OPCItemPath\"), 7) +\", \"+ \r\n\t\t\t\t\t\t\t\t\t\t\t\t\tsubstring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/Stacklight_Slow.OPCItemPath\"), 7),\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tif ({view.params.ASdata} \u003d \"BeaconEPC\" || {view.params.ASdata} \u003d \"EPC\",\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tsubstring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/EstopWasTriggered.OPCItemPath\"), 7) +\", \"+ \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tsubstring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Alarm/Estop.OPCItemPath\"), 7),\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tif ({view.params.ASdata} \u003d \"BeaconPE\"|| {view.params.ASdata} \u003d \"SStart\" || {view.params.ASdata} \u003d \"BeaconCP_A_Sort\" ||\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{view.params.ASdata} \u003d \"BeaconChuteB\" || {view.params.ASdata} \u003d \"BeaconPE14\" || {view.params.ASdata} \u003d \"BeaconPE513\" || \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{view.params.ASdata} \u003d \"BeaconPECLS35\" || {view.params.ASdata} \u003d \"BeaconPEGAP\" || \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{view.params.ASdata} \u003d \"JRInductPE14\" || {view.params.ASdata} \u003d \"JRInductPE513\" || {view.params.ASdata} \u003d \"JRPECLS35\" || \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{view.params.ASdata} \u003d \"JRInductPEGAP\",\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"Used more then one tag\",\r\n\t\t\t\t\t\r\nsubstring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color.OPCItemPath\"), 7)\r\n))))))))))))))))))))))" }, "type": "expr" } } }, "props": { "enabled": false, "style": { "fontFamily": "Arial", "fontSize": 15 } }, "type": "ia.input.text-area" }, { "custom": { "BcnP": [ {}, {} ], "BeaconCP_A_Sort": [ {}, {} ], "BeaconChuteB": [ {}, {} ], "BeaconJRInductPE14": [ {}, {}, {}, {}, {}, {}, {}, {} ], "BeaconJRInductPE513": [ {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {} ], "BeaconSDS": [ {}, {}, {} ], "EPC": [ {}, {} ], "JRPECLS35": [ {}, {}, {}, {}, {}, {} ], "PE": [ {}, {} ], "SStart": [ {}, {} ], "VFD": [ {}, {} ] }, "meta": { "name": "dropdownTags" }, "position": { "height": 36, "width": 540, "x": 222, "y": 196 }, "propConfig": { "custom.BcnP[0].label": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/BeaconSolid.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BcnP[0].value": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/BeaconSolid.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BcnP[1].label": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/BeaconBlink.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BcnP[1].value": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/BeaconBlink.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BeaconCP_A_Sort[0].label": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Alarm/FLT_JamChutes.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BeaconCP_A_Sort[0].value": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Alarm/FLT_JamChutes.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BeaconCP_A_Sort[1].label": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Alarm/FLT_JamCLS.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BeaconCP_A_Sort[1].value": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Alarm/FLT_JamCLS.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BeaconChuteB[0].label": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/Full50.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BeaconChuteB[0].value": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/Full50.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BeaconChuteB[1].label": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/Full.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BeaconChuteB[1].value": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/Full.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BeaconJRInductPE14[0].label": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"InductPE1/HMI/Alarm/JAM.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BeaconJRInductPE14[0].value": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"InductPE1/HMI/Alarm/JAM.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BeaconJRInductPE14[1].label": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"InductPE2/HMI/Alarm/JAM.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BeaconJRInductPE14[1].value": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"InductPE2/HMI/Alarm/JAM.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BeaconJRInductPE14[2].label": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"InductPE3/HMI/Alarm/JAM.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BeaconJRInductPE14[2].value": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"InductPE3/HMI/Alarm/JAM.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BeaconJRInductPE14[3].label": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"InductPE4/HMI/Alarm/JAM.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BeaconJRInductPE14[3].value": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"InductPE4/HMI/Alarm/JAM.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BeaconJRInductPE14[4].label": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"InductPE1/HMI/AutoInductPE.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BeaconJRInductPE14[4].value": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"InductPE1/HMI/AutoInductPE.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BeaconJRInductPE14[5].label": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"InductPE2/HMI/AutoInductPE.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BeaconJRInductPE14[5].value": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"InductPE2/HMI/AutoInductPE.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BeaconJRInductPE14[6].label": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"InductPE3/HMI/AutoInductPE.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BeaconJRInductPE14[6].value": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"InductPE3/HMI/AutoInductPE.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BeaconJRInductPE14[7].label": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"InductPE4/HMI/AutoInductPE.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BeaconJRInductPE14[7].value": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"InductPE4/HMI/AutoInductPE.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BeaconJRInductPE513[0].label": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"InductPE5/HMI/Alarm/JAM.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BeaconJRInductPE513[0].value": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"InductPE5/HMI/Alarm/JAM.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BeaconJRInductPE513[10].label": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"InductPE6/HMI/AutoInductPE.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BeaconJRInductPE513[10].value": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"InductPE6/HMI/AutoInductPE.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BeaconJRInductPE513[11].label": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"InductPE7/HMI/AutoInductPE.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BeaconJRInductPE513[11].value": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"InductPE7/HMI/AutoInductPE.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BeaconJRInductPE513[12].label": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"InductPE8/HMI/AutoInductPE.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BeaconJRInductPE513[12].value": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"InductPE8/HMI/AutoInductPE.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BeaconJRInductPE513[13].label": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"InductPE9/HMI/AutoInductPE.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BeaconJRInductPE513[13].value": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"InductPE9/HMI/AutoInductPE.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BeaconJRInductPE513[14].label": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"InductPE10/HMI/AutoInductPE.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BeaconJRInductPE513[14].value": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"InductPE10/HMI/AutoInductPE.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BeaconJRInductPE513[15].label": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"InductPE11/HMI/AutoInductPE.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BeaconJRInductPE513[15].value": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"InductPE11/HMI/AutoInductPE.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BeaconJRInductPE513[16].label": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"InductPE12/HMI/AutoInductPE.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BeaconJRInductPE513[16].value": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"InductPE12/HMI/AutoInductPE.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BeaconJRInductPE513[17].label": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"InductPE13/HMI/AutoInductPE.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BeaconJRInductPE513[17].value": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"InductPE13/HMI/AutoInductPE.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BeaconJRInductPE513[1].label": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"InductPE6/HMI/Alarm/JAM.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BeaconJRInductPE513[1].value": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"InductPE6/HMI/Alarm/JAM.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BeaconJRInductPE513[2].label": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"InductPE7/HMI/Alarm/JAM.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BeaconJRInductPE513[2].value": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"InductPE7/HMI/Alarm/JAM.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BeaconJRInductPE513[3].label": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"InductPE8/HMI/Alarm/JAM.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BeaconJRInductPE513[3].value": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"InductPE8/HMI/Alarm/JAM.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BeaconJRInductPE513[4].label": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"InductPE9/HMI/Alarm/JAM.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BeaconJRInductPE513[4].value": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"InductPE9/HMI/Alarm/JAM.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BeaconJRInductPE513[5].label": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"InductPE10/HMI/Alarm/JAM.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BeaconJRInductPE513[5].value": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"InductPE10/HMI/Alarm/JAM.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BeaconJRInductPE513[6].label": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"InductPE11/HMI/Alarm/JAM.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BeaconJRInductPE513[6].value": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"InductPE11/HMI/Alarm/JAM.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BeaconJRInductPE513[7].label": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"InductPE12/HMI/Alarm/JAM.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BeaconJRInductPE513[7].value": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"InductPE12/HMI/Alarm/JAM.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BeaconJRInductPE513[8].label": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"InductPE13/HMI/Alarm/JAM.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BeaconJRInductPE513[8].value": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"InductPE13/HMI/Alarm/JAM.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BeaconJRInductPE513[9].label": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"InductPE5/HMI/AutoInductPE.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BeaconJRInductPE513[9].value": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"InductPE5/HMI/AutoInductPE.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BeaconSDS[0].label": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/Stacklight_Solid.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BeaconSDS[0].value": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/Stacklight_Solid.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BeaconSDS[1].label": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/Stacklight_Fast.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BeaconSDS[1].value": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/Stacklight_Fast.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BeaconSDS[2].label": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/Stacklight_Slow.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.BeaconSDS[2].value": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/Stacklight_Slow.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.EPC[0].label": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/EstopWasTriggered.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.EPC[0].value": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/EstopWasTriggered.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.EPC[1].label": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Alarm/Estop.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.EPC[1].value": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Alarm/Estop.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.JRPECLS35[0].label": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"CLS3/HMI/Alarm/JAM.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.JRPECLS35[0].value": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"CLS3/HMI/Alarm/JAM.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.JRPECLS35[1].label": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"CLS4/HMI/Alarm/JAM.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.JRPECLS35[1].value": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"CLS4/HMI/Alarm/JAM.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.JRPECLS35[2].label": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"CLS5/HMI/Alarm/JAM.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.JRPECLS35[2].value": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"CLS5/HMI/Alarm/JAM.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.JRPECLS35[3].label": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"CLS3/HMI/AutoInductPE.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.JRPECLS35[3].value": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"CLS3/HMI/AutoInductPE.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.JRPECLS35[4].label": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"CLS4/HMI/AutoInductPE.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.JRPECLS35[4].value": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"CLS4/HMI/AutoInductPE.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.JRPECLS35[5].label": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"CLS5/HMI/AutoInductPE.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.JRPECLS35[5].value": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"CLS5/HMI/AutoInductPE.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.PE[0].label": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Alarm/JAM.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.PE[0].value": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Alarm/JAM.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.PE[1].label": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/AutoInductPE.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.PE[1].value": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/AutoInductPE.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.SStart[0].label": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/SorterOpMode_Auto.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.SStart[0].value": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/SorterOpMode_Auto.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.SStart[1].label": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/SorterOpMode_Stop.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.SStart[1].value": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/SorterOpMode_Stop.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.VFD[0].label": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Alarm/FLT_Disconnect.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.VFD[0].value": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Alarm/FLT_Disconnect.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.VFD[1].label": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Alarm/FLT_Motor.OPCItemPath\"), 7)" }, "type": "expr" } }, "custom.VFD[1].value": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Alarm/FLT_Motor.OPCItemPath\"), 7)" }, "type": "expr" } }, "meta.visible": { "binding": { "config": { "expression": "{view.params.ASdata} \u003d \"BeaconPE\"|| {view.params.ASdata} \u003d \"SStart\" || {view.params.ASdata} \u003d \"BeaconCP_A_Sort\" ||\r\n{view.params.ASdata} \u003d \"BeaconChuteB\" || {view.params.ASdata} \u003d \"BeaconPE14\" || {view.params.ASdata} \u003d \"BeaconPE513\" || \r\n{view.params.ASdata} \u003d \"BeaconPECLS35\" || {view.params.ASdata} \u003d \"BeaconPEGAP\" || \r\n{view.params.ASdata} \u003d \"JRInductPE14\" || {view.params.ASdata} \u003d \"JRInductPE513\" || {view.params.ASdata} \u003d \"JRPECLS35\" || \r\n{view.params.ASdata} \u003d \"JRInductPEGAP\"||\r\n\r\n{view.params.ASdata} \u003d \"PE\" || {view.params.ASdata} \u003d \"VFD\" || {view.params.ASdata} \u003d \"BcnP\" || {view.params.ASdata} \u003d \"BeaconSDS\" ||\r\n{view.params.ASdata} \u003d \"BeaconEPC\" || {view.params.ASdata} \u003d \"EPC\"" }, "type": "expr" } }, "props.options": { "binding": { "config": { "expression": "case ({view.params.ASdata},\r\n\"PE\", {this.custom.PE},\r\n\"VFD\", {this.custom.VFD},\r\n\"BcnP\", {this.custom.BcnP},\r\n\"BeaconSDS\", {this.custom.BeaconSDS},\r\n\"BeaconEPC\", {this.custom.EPC},\r\n\"EPC\", {this.custom.EPC},\r\n\"JRInductPE14\",{this.custom.BeaconJRInductPE14},\r\n\"BeaconPE14\",{this.custom.BeaconJRInductPE14},\r\n\"JRInductPE513\",{this.custom.BeaconJRInductPE513},\r\n\"BeaconPE513\",{this.custom.BeaconJRInductPE513},\r\n\"JRPECLS35\",{this.custom.JRPECLS35},\r\n\"BeaconPECLS35\",{this.custom.JRPECLS35},\r\n\"BeaconPEGAP\",{this.custom.PE},\r\n\"JRInductPEGAP\",{this.custom.PE},\r\n\"SStart\",{this.custom.SStart},\r\n\"BeaconCP_A_Sort\",{this.custom.BeaconCP_A_Sort},\r\n\"BeaconChuteB\",{this.custom.BeaconChuteB},\r\n\"null\")" }, "type": "expr" } }, "props.value": { "binding": { "config": { "path": "this.props.options[0].value" }, "type": "property" } } }, "props": { "search": { "enabled": false }, "style": { "fontFamily": "Arial", "fontSize": 15 } }, "type": "ia.input.dropdown" } ], "meta": { "name": "Interroll" }, "position": { "height": 523, "width": 835, "x": 31.2806, "y": 30 }, "propConfig": { "meta.visible": { "binding": { "config": { "expression": "{view.params.Vendor} \u003d \"Interroll\"" }, "type": "expr" } } }, "type": "ia.container.coord" }, { "children": [ { "meta": { "name": "CP" }, "position": { "height": 36, "width": 540, "x": 222, "y": 400 }, "propConfig": { "meta.visible": { "binding": { "config": { "expression": "if ({view.params.DeviceType} \u003d \"IO\" || {view.params.DeviceType} \u003d \"CP\" ||\r\n({view.params.DeviceType} \u003d \"Beacon\" \u0026\u0026 ({../Name.props.text} \u003d \"CP1\" || {../Name.props.text} \u003d \"CP2\"))\r\n, false,true)\t" }, "type": "expr" } }, "props.text": { "binding": { "config": { "expression": "tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/Parameters.AreaPar\")" }, "type": "expr" } } }, "props": { "enabled": false, "style": { "fontFamily": "Arial", "fontSize": 15 } }, "type": "ia.input.text-area" }, { "meta": { "name": "Area" }, "position": { "height": 36, "width": 540, "x": 222, "y": 349 }, "propConfig": { "meta.visible": { "binding": { "config": { "expression": "if ({view.params.DeviceType} \u003d \"IO\" || {view.params.DeviceType} \u003d \"CP\" ||\r\n({view.params.DeviceType} \u003d \"Beacon\" \u0026\u0026 ({../Name.props.text} \u003d \"CP1\" || {../Name.props.text} \u003d \"CP2\"))\r\n, false,true)\t" }, "type": "expr" } }, "props.text": { "binding": { "config": { "expression": "tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/Parameters.AreaPar\")" }, "type": "expr" } } }, "props": { "enabled": false, "style": { "fontFamily": "Arial", "fontSize": 15 } }, "type": "ia.input.text-area" }, { "meta": { "name": "Template" }, "position": { "height": 36, "width": 540, "x": 222, "y": 298 }, "propConfig": { "props.text": { "binding": { "config": { "expression": "if ({view.params.DeviceType} \u003d \"Encoder\",\r\n\t\"Templates/Devices/Encoder\",\r\nif ({view.params.DeviceType} \u003d \"PE\",\r\n\t\"Templates/Siemens/PE\",\r\nif ({view.params.DeviceType} \u003d \"Beacon\",\r\n\t\"Templates/Devices/Beacon\",\r\nif ({view.params.DeviceType} \u003d \"Diverter\",\r\n\t\"Templates/Devices/Diverter\",\r\nif ({view.params.DeviceType} \u003d \"IO\",\r\n\t\"Templates/Devices/EIP\",\r\nif ({view.params.DeviceType} \u003d \"EPC\",\r\n\t\"Templates/Devices/EPC\",\r\nif ({view.params.DeviceType} \u003d \"Gaylord\",\r\n\t\"Templates/Devices/Gaylord\",\r\nif ({view.params.DeviceType} \u003d \"LS\",\r\n\t\"Templates/Devices/LimitSwitch\",\r\nif ({view.params.DeviceType} \u003d \"CP\",\r\n\t\"Templates/Siemens/CP\",\r\nif ({view.params.DeviceType} \u003d \"Scan\",\r\n\t\"Templates/Devices/Scanner\",\r\nif ({view.params.DeviceType} \u003d \"VFD\",\r\n\t\"Templates/Siemens/VFD\",\r\nif ({view.params.DeviceType} \u003d \"Conv\",\r\n\t\"Templates/Siemens/conv\",\r\nif ({view.params.DeviceType} \u003d \"Roller\",\r\n\t\"Templates/Conveyors/Conveyor_Roller\",\r\nif ({view.params.DeviceType} \u003d \"EStopPB\",\r\n\t\"Templates/Siemens/Control_Station\", \"fault\"\r\n))))))))))))))" }, "type": "expr" } } }, "props": { "enabled": false, "style": { "fontFamily": "Arial", "fontSize": 15 } }, "type": "ia.input.text-area" }, { "meta": { "name": "DevType" }, "position": { "height": 36, "width": 540, "x": 222, "y": 247 }, "propConfig": { "props.text": { "binding": { "config": { "expression": "{view.params.DeviceType}" }, "type": "expr" } } }, "props": { "enabled": false, "style": { "fontFamily": "Arial", "fontSize": 15 } }, "type": "ia.input.text-area" }, { "meta": { "name": "Tag" }, "position": { "height": 36, "width": 540, "x": 222, "y": 196 }, "propConfig": { "props.text": { "binding": { "config": { "expression": "substring(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/INTL_CPLA_STS.OPCItemPath\"), 7)\r\n" }, "type": "expr" } } }, "props": { "enabled": false, "style": { "fontFamily": "Arial", "fontSize": 15 } }, "type": "ia.input.text-area" }, { "meta": { "name": "State_other" }, "position": { "height": 36, "width": 540, "x": 222, "y": 145 }, "propConfig": { "props.text": { "binding": { "config": { "fallbackDelay": 2.5, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "FolderPath": "{view.params.FolderPath}", "tagPath": "{view.params.tagPath}" }, "tagPath": "[{Browser}]{FolderPath}{tagPath}/INTL_CPLA_STS" }, "transforms": [ { "expression": "if ({view.params.DeviceType} \u003d \"Conv\",\r\n\tif (!getBit({value},5), \"Invalid, Unavailable, Bad Quality\",\r\n\t\tif (!getBit({value},3), \"Unit Faulted\",\r\n\t\t\tif (!getBit({value},4), \"Jammed\",\r\n\t\t\t\tif (getBit({value},2), \"Enabled, not running\",\r\n\t\t\t\t\tif (!getBit({value},1), \"OFF / Inactive\",\r\n\t\t\t\t\t\tif (getBit({value},1), \"Running or ON\",\r\n\t\t\t\t\t\t\tif (getBit({value},0), \"Manual/Maintenance Mode\",\r\n\t\"Gravity / not motorized MHE\"\r\n\t))))))),\r\nif ({view.params.DeviceType} \u003d \"PE\",\r\n\tif (!getBit({value},4), \"Jammed\",\r\n\t\t\"Running or ON\"),\r\nif ({view.params.DeviceType} \u003d \"VFD\",\r\n\tif (getBit({value},19), \"Fault\", \r\n\t\t\"OK\"),\r\nif ({view.params.DeviceType} \u003d \"EStopPB\",\r\n\tif (getBit({value},12), \"E-Stop Actuated\", \r\n\t\t\"Idle\"),\r\nif ({view.params.DeviceType} \u003d \"CP\",\r\n\tif (getBit(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"INTL_CPLA_STS_0/INTL_CPLA_STS\"),12) ||\r\n\t\tgetBit(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"INTL_CPLA_STS_0/INTL_CPLA_STS\"),30) ||\r\n\t\t!getBit(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"INTL_CPLA_STS_0/INTL_CPLA_STS\"),2) ||\r\n\t\tgetBit(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"INTL_CPLA_STS_10/INTL_CPLA_STS\"),17), \"Faulted\",\r\n\t\tif (getBit(tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+\"INTL_CPLA_STS_0/INTL_CPLA_STS\"),3), \"OK\",\r\n\t\t\t101)\r\n\t),\r\n\"not response\")))))", "type": "expression" } ], "type": "tag" } } }, "props": { "enabled": false, "style": { "fontFamily": "Arial", "fontSize": 15 } }, "type": "ia.input.text-area" }, { "meta": { "name": "Name" }, "position": { "height": 36, "width": 540, "x": 222, "y": 94 }, "propConfig": { "props.text": { "binding": { "config": { "expression": "replace({view.params.tagPath}, \"_\", \"-\")" }, "type": "expr" } } }, "props": { "enabled": false, "style": { "fontFamily": "Arial", "fontSize": 15 } }, "type": "ia.input.text-area" }, { "meta": { "name": "label_1" }, "position": { "height": 36, "width": 190, "x": 24.4, "y": 145 }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 }, "text": "State:" }, "type": "ia.display.label" }, { "meta": { "name": "label_2" }, "position": { "height": 36, "width": 190, "x": 24.4, "y": 94 }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 }, "text": "Name:" }, "type": "ia.display.label" }, { "meta": { "name": "label_3" }, "position": { "height": 36, "width": 190, "x": 24.4, "y": 349 }, "propConfig": { "meta.visible": { "binding": { "config": { "expression": "if ({view.params.DeviceType} \u003d \"IO\" || {view.params.DeviceType} \u003d \"CP\" ||\r\n({view.params.DeviceType} \u003d \"Beacon\" \u0026\u0026 ({../Name.props.text} \u003d \"CP1\" || {../Name.props.text} \u003d \"CP2\"))\r\n, false,true)\t" }, "type": "expr" } } }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 }, "text": "Area:" }, "type": "ia.display.label" }, { "meta": { "name": "label_6" }, "position": { "height": 36, "width": 190, "x": 24.4, "y": 400 }, "propConfig": { "meta.visible": { "binding": { "config": { "expression": "if ({view.params.DeviceType} \u003d \"IO\" || {view.params.DeviceType} \u003d \"CP\" ||\r\n({view.params.DeviceType} \u003d \"Beacon\" \u0026\u0026 ({../Name.props.text} \u003d \"CP1\" || {../Name.props.text} \u003d \"CP2\"))\r\n, false,true)\t" }, "type": "expr" } } }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 }, "text": "CP:" }, "type": "ia.display.label" }, { "meta": { "name": "label_7" }, "position": { "height": 36, "width": 190, "x": 24.4, "y": 247 }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 }, "text": "Device Type:" }, "type": "ia.display.label" }, { "meta": { "name": "label_8" }, "position": { "height": 36, "width": 190, "x": 24.4, "y": 298 }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 }, "text": "Maintenance Template:" }, "type": "ia.display.label" }, { "meta": { "name": "label_9" }, "position": { "height": 36, "width": 190, "x": 24.4, "y": 196 }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 }, "text": "Tag:" }, "type": "ia.display.label" }, { "meta": { "name": "label_4" }, "position": { "height": 36, "width": 190, "x": 24.4, "y": 43 }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 }, "text": "PLC:" }, "type": "ia.display.label" }, { "meta": { "name": "PLC" }, "position": { "height": 36, "width": 540, "x": 222, "y": 43 }, "propConfig": { "props.text": { "binding": { "config": { "expression": "tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/Parameters.PLCname\")" }, "type": "expr" } } }, "props": { "enabled": false, "style": { "fontFamily": "Arial", "fontSize": 15 } }, "type": "ia.input.text-area" } ], "meta": { "name": "Siemens" }, "position": { "height": 523, "width": 835, "x": 31.2806, "y": 30 }, "propConfig": { "meta.visible": { "binding": { "config": { "expression": "{view.params.Vendor} \u003d \"Siemens\"" }, "type": "expr" } } }, "type": "ia.container.coord" } ], "meta": { "name": "Info" }, "props": { "style": { "fontFamily": "Arial" } }, "type": "ia.container.coord" }, { "children": [ { "children": [ { "meta": { "name": "LPeriod" }, "position": { "basis": "55px" }, "props": { "text": "Period:" }, "type": "ia.display.label" }, { "meta": { "name": "Period" }, "position": { "basis": "160px" }, "props": { "options": [ { "label": "Past 30 Min", "value": "Past 30 Min" }, { "label": "Past Hour", "value": "Past Hour" }, { "label": "Past 2 Hour", "value": "Past 2 Hour" }, { "label": "Past 4 Hour", "value": "Past 4 Hour" }, { "label": "Past 8 Hour", "value": "Past 8 Hour" }, { "label": "Current Day", "value": "Current Day" }, { "label": "Morning", "value": "Morning" }, { "label": "Daylight", "value": "Daylight" }, { "label": "Twilight", "value": "Twilight" }, { "label": "Night", "value": "Night" }, { "label": "Wrap Down", "value": "Wrap Down" }, { "label": "Current Sort", "value": "Current Sort" }, { "label": "Custom", "value": "Custom" } ], "value": "Past 30 Min" }, "type": "ia.input.dropdown" }, { "meta": { "name": "Spare_0" }, "position": { "basis": "15px" }, "type": "ia.display.label" }, { "meta": { "name": "Start Date" }, "position": { "basis": "85px" }, "props": { "text": "Start Date:" }, "type": "ia.display.label" }, { "custom": { "Selected": "value" }, "events": { "component": { "onActionPerformed": { "config": { "script": "\t\n\tself.custom.Selected \u003d self.props.value" }, "scope": "G", "type": "script" } } }, "meta": { "name": "StartTime" }, "propConfig": { "props.enabled": { "binding": { "config": { "expression": "{../Period.props.value} \u003d \"Custom\"" }, "type": "expr" } }, "props.maxDate": { "binding": { "config": { "expression": "now()" }, "type": "expr" } }, "props.startDate": { "binding": { "config": { "path": "../Period.props.value" }, "transforms": [ { "fallback": "todate(now())", "inputType": "expression", "mappings": [ { "input": "\"Past 30 Min\"", "output": "todate(dateFormat(dateArithmetic(now(),-30, \"Minute\"), \"yyyy-MM-dd HH:mm:ss\"))" }, { "input": "\"Past Hour\"", "output": "todate(dateFormat(dateArithmetic(now(),-1, \"Hour\"), \"yyyy-MM-dd HH:mm:ss\"))" }, { "input": "\"Past 2 Hour\"", "output": "todate(dateFormat(dateArithmetic(now(),-2, \"Hour\"), \"yyyy-MM-dd HH:mm:ss\"))" }, { "input": "\"Past 4 Hour\"", "output": "todate(dateFormat(dateArithmetic(now(),-4, \"Hour\"), \"yyyy-MM-dd HH:mm:ss\"))" }, { "input": "\"Past 8 Hour\"", "output": "todate(dateFormat(dateArithmetic(now(),-8, \"Hour\"), \"yyyy-MM-dd HH:mm:ss\"))" }, { "input": "\"Current Day\"", "output": "todate(dateFormat(dateArithmetic(now(0),0, \"Day\"), \"yyyy-MM-dd 00:00:00\"))" }, { "input": "\"Morning\"", "output": "if (dateFormat(dateArithmetic(now(),0, \"Day\"), \"HH:mm:ss\")\u003c\"2:30:00\",\r dateFormat(dateArithmetic(now(0),-1, \"Day\"), \"yyyy-MM-dd 2:30:00\"),todate(dateFormat(dateArithmetic(now(0),0, \"Day\"), \"yyyy-MM-dd 2:30:00\")))" }, { "input": "\"Daylight\"", "output": "if (dateFormat(dateArithmetic(now(),0, \"Day\"), \"HH:mm:ss\")\u003c\"7:30:00\", todate(dateFormat(dateArithmetic(now(0),-1, \"Day\"), \"yyyy-MM-dd 7:30:00\")),todate(dateFormat(dateArithmetic(now(0),0, \"Day\"), \"yyyy-MM-dd 7:30:00\")))" }, { "input": "\"Twilight\"", "output": "if (dateFormat(dateArithmetic(now(),0, \"Hours\"), \"HH:mm:ss\")\u003c\"13:00:00\", todate(dateFormat(dateArithmetic(now(0),-1, \"Day\"), \"yyyy-MM-dd 13:00:00\")),todate(dateFormat(dateArithmetic(now(0),0, \"Day\"), \"yyyy-MM-dd 13:00:00\")))" }, { "input": "\"Night\"", "output": "if (dateFormat(dateArithmetic(now(),0, \"Day\"), \"HH:mm:ss\")\u003c\"18:30:00\", todate(dateFormat(dateArithmetic(now(0),-1, \"Day\"), \"yyyy-MM-dd 18:30:00\")),todate(dateFormat(dateArithmetic(now(0),0, \"Day\"), \"yyyy-MM-dd 18:30:00\")))" }, { "input": "\"Wrap Down\"", "output": "if (dateFormat(dateArithmetic(now(),0, \"Day\"), \"HH:mm:ss\")\u003c\"23:30:00\", todate(dateFormat(dateArithmetic(now(0),-1, \"Day\"), \"yyyy-MM-dd 23:30:00\")),todate(dateFormat(dateArithmetic(now(0),0, \"Day\"), \"yyyy-MM-dd 23:30:00\")))" }, { "input": "\"Current Sort\"", "output": "if (dateFormat(dateArithmetic(now(),0, \"Day\"), \"HH:mm:ss\")\u003c\"7:30:00\", todate(dateFormat(dateArithmetic(now(0),0, \"Day\"), \"yyyy-MM-dd 2:30:00\")), \r if (dateFormat(dateArithmetic(now(),0, \"Day\"), \"HH:mm:ss\")\u003c\"13:00:00\",todate(dateFormat(dateArithmetic(now(0),0, \"Day\"), \"yyyy-MM-dd 7:30:00\")),\r if (dateFormat(dateArithmetic(now(),0, \"Day\"), \"HH:mm:ss\")\u003c\"18:30:00\",todate(dateFormat(dateArithmetic(now(0),0, \"Day\"), \"yyyy-MM-dd 13:00:00\")),\r if (dateFormat(dateArithmetic(now(),0, \"Day\"), \"HH:mm:ss\")\u003c\"23:30:00\",todate(dateFormat(dateArithmetic(now(0),0, \"Day\"), \"yyyy-MM-dd 18:30:00\")),\r if (dateFormat(dateArithmetic(now(),0, \"Day\"), \"HH:mm:ss\")\u003c\"2:30:00\", todate(dateFormat(dateArithmetic(now(0),0, \"Day\"), \"yyyy-MM-dd 23:30:00\")),\r todate(dateFormat(dateArithmetic(now(),0, \"Day\"), \"yyyy-MM-dd HH:mm:ss\")))))))" }, { "input": "\"Custom\"", "output": "{this.props.value}" } ], "outputType": "expression", "type": "map" } ], "type": "property" }, "onChange": { "enabled": null, "script": "\t\n\tif self.getSibling(\"Period\").props.value !\u003d \"Custom\":\n\t\tself.props.value \u003d self.props.startDate" } }, "props.value": { "onChange": { "enabled": null, "script": "\t\n\tif system.date.secondsBetween(self.props.value,self.getSibling(\"EndTime\").props.value) \u003e 604800:\n\t\tself.getSibling(\"EndTime\").props.value \u003d system.date.addSeconds(self.props.value,604800)" } } }, "props": { "dismissOnSelect": false, "formattedValue": "Jun 14, 2023 3:35 PM", "formattedValues": { "date": "Mar 26, 2021", "datetime": "Mar 26, 2021 12:00 AM", "time": "12:00 AM" }, "value": { "$": [ "ts", 192, 1698746823002 ], "$ts": 1698745023000 } }, "type": "ia.input.date-time-input" }, { "meta": { "name": "Spare" }, "position": { "basis": "15px" }, "type": "ia.display.label" }, { "meta": { "name": "End Date" }, "position": { "basis": "75px" }, "props": { "text": "End Date:" }, "type": "ia.display.label" }, { "custom": { "Selected": "value" }, "events": { "component": { "onActionPerformed": { "config": { "script": "\t\n\tself.custom.Selected \u003d self.props.value" }, "scope": "G", "type": "script" } } }, "meta": { "name": "EndTime" }, "position": { "basis": "190px" }, "propConfig": { "props.enabled": { "binding": { "config": { "expression": "{../Period.props.value} \u003d \"Custom\"" }, "type": "expr" } }, "props.endDate": { "binding": { "config": { "path": "../Period.props.value" }, "transforms": [ { "fallback": "{this.props.value}", "inputType": "scalar", "mappings": [ { "input": "Past 30 Min", "output": "todate(dateFormat(dateArithmetic(now(),0, \"Hour\"), \"yyyy-MM-dd HH:mm:ss\"))" }, { "input": "Past Hour", "output": "todate(dateFormat(dateArithmetic(now(),0, \"hour\"), \"yyyy-MM-dd HH:mm:ss\"))" }, { "input": "Past 2 Hour", "output": "todate(dateFormat(dateArithmetic(now(),0, \"hour\"), \"yyyy-MM-dd HH:mm:ss\"))" }, { "input": "Past 4 Hour", "output": "todate(dateFormat(dateArithmetic(now(),0, \"hour\"), \"yyyy-MM-dd HH:mm:ss\"))" }, { "input": "Past 8 Hour", "output": "todate(dateFormat(dateArithmetic(now(),0, \"hour\"), \"yyyy-MM-dd HH:mm:ss\"))" }, { "input": "Current Day", "output": "todate(dateFormat(dateArithmetic(now(),0, \"hour\"), \"yyyy-MM-dd HH:mm:ss\"))" }, { "input": "Morning", "output": "if (dateFormat(dateArithmetic(now(),0, \"Day\"), \"HH:mm:ss\")\u003c\"2:30:00\",\r todate(dateFormat(dateArithmetic(now(0),-1, \"Day\"), \"yyyy-MM-dd 7:30:00\")),\r if (dateFormat(dateArithmetic(now(),0, \"Day\"), \"HH:mm:ss\")\u003c\"7:30:00\",\r todate(dateFormat(dateArithmetic(now(),0, \"Day\"), \"yyyy-MM-dd HH:mm:ss\")), todate(dateFormat(dateArithmetic(now(0),0, \"Day\"), \"yyyy-MM-dd 7:30:00\"))))" }, { "input": "Daylight", "output": "if (dateFormat(dateArithmetic(now(),0, \"Day\"), \"HH:mm:ss\")\u003c\"7:30:00\",\r todate(dateFormat(dateArithmetic(now(0),-1, \"Day\"), \"yyyy-MM-dd 13:00:00\")),\r if (dateFormat(dateArithmetic(now(),0, \"Day\"), \"HH:mm:ss\")\u003c\"13:00:00\",\r todate(dateFormat(dateArithmetic(now(),0, \"Day\"), \"yyyy-MM-dd HH:mm:ss\")), todate(dateFormat(dateArithmetic(now(0),0, \"Day\"), \"yyyy-MM-dd 13:00:00\"))))" }, { "input": "Twilight", "output": "if (dateFormat(dateArithmetic(now(),0, \"Day\"), \"HH:mm:ss\")\u003c\"13:00:00\",\r todate(dateFormat(dateArithmetic(now(0),-1, \"Day\"), \"yyyy-MM-dd 18:30:00\")),\r if (dateFormat(dateArithmetic(now(),0, \"Day\"), \"HH:mm:ss\")\u003c\"18:30:00\",\r todate(dateFormat(dateArithmetic(now(),0, \"Day\"), \"yyyy-MM-dd HH:mm:ss\")), todate(dateFormat(dateArithmetic(now(0),0, \"Day\"), \"yyyy-MM-dd 18:30:00\"))))" }, { "input": "Night", "output": "if (dateFormat(dateArithmetic(now(),0, \"Day\"), \"HH:mm:ss\")\u003c\"18:30:00\",\r todate(dateFormat(dateArithmetic(now(0),-1, \"Day\"), \"yyyy-MM-dd 23:30:00\")),\r if (dateFormat(dateArithmetic(now(),0, \"Day\"), \"HH:mm:ss\")\u003c\"23:30:00\",\r todate(dateFormat(dateArithmetic(now(),0, \"Day\"), \"yyyy-MM-dd HH:mm:ss\")), todate(dateFormat(dateArithmetic(now(0),0, \"Day\"), \"yyyy-MM-dd 23:30:00\"))))" }, { "input": "Wrap Down", "output": "if (dateFormat(dateArithmetic(now(),0, \"Day\"), \"HH:mm:ss\")\u003c\"23:30:00\",\r todate(dateFormat(dateArithmetic(now(0),0, \"Day\"), \"yyyy-MM-dd 2:30:00\")),\r if (dateFormat(dateArithmetic(now(),0, \"Day\"), \"HH:mm:ss\")\u003c\"2:30:00\",\r todate(dateFormat(dateArithmetic(now(),0, \"Day\"), \"yyyy-MM-dd HH:mm:ss\")), todate(dateFormat(dateArithmetic(now(0),0, \"Day\"), \"yyyy-MM-dd 2:30:00\"))))" }, { "input": "Current Sort", "output": "todate(dateFormat(dateArithmetic(now(),0, \"hour\"), \"yyyy-MM-dd HH:mm:ss\"))" } ], "outputType": "expression", "type": "map" } ], "type": "property" }, "onChange": { "enabled": null, "script": "\t\n\tif self.getSibling(\"Period\").props.value !\u003d \"Custom\":\n\t\tself.props.value \u003d self.props.endDate" } }, "props.maxDate": { "binding": { "config": { "expression": "if(dateDiff({../StartTime.props.value},now(),\"day\") \u003c 7, now(),dateArithmetic({../StartTime.props.value}, 7, \"days\"))" }, "type": "expr" } }, "props.minDate": { "binding": { "config": { "expression": "{../StartTime.props.value}" }, "type": "expr" } } }, "props": { "dismissOnSelect": false, "formattedValue": "Jun 14, 2023 4:05 PM", "formattedValues": { "date": "Mar 29, 2021", "datetime": "Mar 29, 2021 1:37 PM", "time": "1:37 PM" }, "value": { "$": [ "ts", 192, 1698746823002 ], "$ts": 1698746823000 } }, "type": "ia.input.date-time-input" } ], "meta": { "name": "Period_not_Global_0" }, "position": { "height": 25, "width": 779, "x": 2.49, "y": 4 }, "propConfig": { "custom.EndDate": { "binding": { "config": { "path": "./EndTime.props.value" }, "type": "property" } }, "custom.StartDate": { "binding": { "config": { "path": "./StartTime.props.value" }, "type": "property" } } }, "type": "ia.container.flex" }, { "meta": { "name": "HistoryAlarm" }, "position": { "height": "auto", "width": "100%", "y": 33.02999999999997 }, "propConfig": { "custom.query": { "binding": { "config": { "expression": "{..../TabContainer.props.currentTabIndex} + {../Period_not_Global_0/Period.props.value} + {../Period_not_Global_0/StartTime.custom.Selected} + {../Period_not_Global_0/EndTime.custom.Selected}" }, "type": "expr" }, "onChange": { "enabled": null, "script": "\tfrom system import date\n\n\tfrom java.lang import System\n\t\n\tfrom com.inductiveautomation.ignition.common.config import BasicProperty\n\t\n\tfrom com.inductiveautomation.ignition.common.alarming.config import CommonAlarmProperties\n\t\t\t\n\tp_alarmClass \u003d BasicProperty(\"Class\", BasicProperty().getType())\n\tp_location \u003d BasicProperty(\"Area\", BasicProperty().getType())\n\tp_description \u003d BasicProperty(\"Description\", BasicProperty().getType())\n\tp_tag \u003d BasicProperty(\"Tag\", BasicProperty().getType())\n\t\n\tdef testRow(number,startTime,endTime,duration,alarmClass,location,description,tag,color):\n\t\t return {\n\t\t\"value\":{\n\t\t\t \"NumberID\": number,\n\t\t\t \"StartTimestamp\": startTime, \n\t\t\t \"EndTimestamp\": endTime,\n\t\t\t \"Duration\": duration,\n\t\t\t \"Class\": alarmClass,\n\t\t\t \"Area\": location,\n\t\t\t \"Description\": description, \n\t\t\t \"Tag\": tag\n\t\t\t }, \n\t\t \"style\": {\n\t\t\t \"backgroundColor\": color,\n\t\t\t \"classes\": \"some-class\"\n\t\t }\n\t\t } \n\t\t\n\tdata \u003d []\n\t\n\tevents \u003d system.alarm.queryJournal(journalName\u003d\"Journal\", startDate\u003dself.getSibling(\"Period_not_Global_0\").custom.StartDate, \n\tendDate\u003dself.getSibling(\"Period_not_Global_0\").custom.EndDate,source\u003d[\"*\" + self.view.params.tagPath + \"*\"],\n\tstate\u003d[\u0027ActiveUnacked\u0027], includeData\u003dTrue)\n\t\n\tcolor \u003d \"#FFFFFF\"\n\t\n\t# Get the active duration for each alarm id\n\tfor alarm in events:\n\t\tactTime \u003d None\n\t\tclrTime \u003d None\n\t\t# Get active time\n\t\td \u003d alarm.activeData\n\t\tactTime \u003d d.timestamp\n\t\talarmClass \u003d d.get(p_alarmClass)\n\t\tlocation \u003d d.get(p_location)\n\t\tdescription \u003d d.get(p_description)\n\t\ttag \u003d d.get(p_tag)\n\t\tnumberID \u003d system.db.runQuery(\"SELECT id FROM alarm_events where eventid \u003d \" + \"\u0027\" + str(alarm.id) + \"\u0027\",\"MariaDB80\")[0][0]\n\t\t#Get Clear time\n\t\tfindOutsidePeriod \u003d system.db.runQuery(\"SELECT eventtime FROM alarm_events where eventid \u003d \" + \"\u0027\" + str(alarm.id) + \"\u0027 AND eventtype \u003d 1\",\"MariaDB80\")\n\t\tif len(findOutsidePeriod) \u003e 0:\n\t\t\tclrTime \u003d date.toMillis(findOutsidePeriod[0][0])\n\t\t# Populate Table\n\t\tif actTime !\u003d None and clrTime !\u003d None:\n\t\t\tduration \u003d (clrTime - actTime) / 1000\n\t\t\tclrTime \u003d date.format(date.fromMillis(clrTime),\"yyyy-MM-dd HH:mm:ss\")\n\t\t\tcolor \u003d \"#FFFFFF\"\n\t\telif actTime !\u003d None and alarmClass !\u003d None:\n\t\t\tduration \u003d (date.toMillis(date.now()) - actTime) / 1000\n\t\t\tclrTime \u003d \"\"\n\t\t\tcolor \u003d \"#FFA500\"\n\t\tif actTime !\u003d None and alarmClass !\u003d None:\t\n\t\t\t#Number (ID)\n\t\t\tdata.append(testRow(numberID + 30000,\n\t\t\t#Start Time\t \n\t\t\tdate.format(date.fromMillis(actTime),\"yyyy-MM-dd HH:mm:ss\"),\n\t\t\t#End Time\n\t\t\tclrTime,\n\t\t\t#Duration\n\t\t\tdate.format(date.addSeconds(date.midnight(date.now()),duration),\"HH:mm:ss\"),\n\t\t\t#Class\n\t\t\talarmClass,\n\t\t\t#Location\n\t\t\tlocation,\n\t\t\t#Description\n\t\t\tdescription,\n\t\t\t#Tag\n\t\t\ttag,\n\t\t\t#Color\n\t\t\tcolor))\n\t\t\n\tself.getSibling(\"HistoryAlarm\").props.data \u003d data\t\n\tself.custom.query \u003d 0\n\n\t\n\t\t\t" } }, "props.data": { "persistent": true } }, "props": { "columns": [ { "align": "center", "boolean": "checkbox", "dateFormat": "MM/DD/YYYY", "editable": false, "field": "NumberID", "footer": { "align": "center", "justify": "left", "style": { "classes": "" }, "title": "" }, "header": { "align": "center", "justify": "center", "style": { "classes": "" }, "title": "ID" }, "justify": "center", "number": "value", "numberFormat": "none", "progressBar": { "bar": { "color": "", "style": { "classes": "" } }, "max": 100, "min": 0, "track": { "color": "", "style": { "classes": "" } }, "value": { "enabled": true, "format": "0,0.##", "justify": "center", "style": { "classes": "" } } }, "render": "auto", "resizable": true, "sort": "none", "sortable": true, "strictWidth": false, "style": { "classes": "" }, "toggleSwitch": { "color": { "selected": "", "unselected": "" } }, "viewParams": {}, "viewPath": "", "visible": true, "width": 30 }, { "align": "center", "boolean": "checkbox", "dateFormat": "MM/DD/YYYY", "editable": false, "field": "StartTimestamp", "footer": { "align": "center", "justify": "left", "style": { "classes": "" }, "title": "" }, "header": { "align": "center", "justify": "center", "style": { "classes": "" }, "title": "Start Timestamp" }, "justify": "center", "number": "value", "numberFormat": "0,0.##", "progressBar": { "bar": { "color": "", "style": { "classes": "" } }, "max": 100, "min": 0, "track": { "color": "", "style": { "classes": "" } }, "value": { "enabled": true, "format": "0,0.##", "justify": "center", "style": { "classes": "" } } }, "render": "auto", "resizable": true, "sort": "descending", "sortable": true, "strictWidth": false, "style": { "classes": "" }, "toggleSwitch": { "color": { "selected": "", "unselected": "" } }, "viewParams": {}, "viewPath": "", "visible": true, "width": 60 }, { "align": "center", "boolean": "checkbox", "dateFormat": "MM/DD/YYYY", "editable": false, "field": "EndTimestamp", "footer": { "align": "center", "justify": "left", "style": { "classes": "" }, "title": "" }, "header": { "align": "center", "justify": "center", "style": { "classes": "" }, "title": "End Timestamp" }, "justify": "center", "number": "value", "numberFormat": "0,0.##", "progressBar": { "bar": { "color": "", "style": { "classes": "" } }, "max": 100, "min": 0, "track": { "color": "", "style": { "classes": "" } }, "value": { "enabled": true, "format": "0,0.##", "justify": "center", "style": { "classes": "" } } }, "render": "auto", "resizable": true, "sort": "none", "sortable": true, "strictWidth": false, "style": { "classes": "" }, "toggleSwitch": { "color": { "selected": "", "unselected": "" } }, "viewParams": {}, "viewPath": "", "visible": true, "width": 60 }, { "align": "center", "boolean": "checkbox", "dateFormat": "MM/DD/YYYY", "editable": false, "field": "Duration", "footer": { "align": "center", "justify": "left", "style": { "classes": "" }, "title": "" }, "header": { "align": "center", "justify": "left", "style": { "classes": "" }, "title": "Duration" }, "justify": "auto", "number": "value", "numberFormat": "0,0.##", "progressBar": { "bar": { "color": "", "style": { "classes": "" } }, "max": 100, "min": 0, "track": { "color": "", "style": { "classes": "" } }, "value": { "enabled": true, "format": "0,0.##", "justify": "center", "style": { "classes": "" } } }, "render": "auto", "resizable": true, "sort": "none", "sortable": true, "strictWidth": false, "style": { "classes": "" }, "toggleSwitch": { "color": { "selected": "", "unselected": "" } }, "viewParams": {}, "viewPath": "", "visible": true, "width": 40 }, { "align": "center", "boolean": "checkbox", "dateFormat": "MM/DD/YYYY", "editable": false, "field": "Class", "footer": { "align": "center", "justify": "left", "style": { "classes": "" }, "title": "" }, "header": { "align": "center", "justify": "center", "style": { "classes": "" }, "title": "Class" }, "justify": "center", "number": "value", "numberFormat": "0,0.##", "progressBar": { "bar": { "color": "", "style": { "classes": "" } }, "max": 100, "min": 0, "track": { "color": "", "style": { "classes": "" } }, "value": { "enabled": true, "format": "0,0.##", "justify": "center", "style": { "classes": "" } } }, "render": "auto", "resizable": true, "sort": "none", "sortable": true, "strictWidth": false, "style": { "classes": "" }, "toggleSwitch": { "color": { "selected": "", "unselected": "" } }, "viewParams": {}, "viewPath": "", "visible": true, "width": 30 }, { "align": "center", "boolean": "checkbox", "dateFormat": "MM/DD/YYYY", "editable": false, "field": "Area", "footer": { "align": "center", "justify": "left", "style": { "classes": "" }, "title": "" }, "header": { "align": "center", "justify": "center", "style": { "classes": "" }, "title": "Location" }, "justify": "center", "number": "value", "numberFormat": "0,0.##", "progressBar": { "bar": { "color": "", "style": { "classes": "" } }, "max": 100, "min": 0, "track": { "color": "", "style": { "classes": "" } }, "value": { "enabled": true, "format": "0,0.##", "justify": "center", "style": { "classes": "" } } }, "render": "auto", "resizable": true, "sort": "none", "sortable": true, "strictWidth": false, "style": { "classes": "" }, "toggleSwitch": { "color": { "selected": "", "unselected": "" } }, "viewParams": {}, "viewPath": "", "visible": true, "width": 40 }, { "align": "center", "boolean": "checkbox", "dateFormat": "MM/DD/YYYY", "editable": false, "field": "Description", "footer": { "align": "center", "justify": "left", "style": { "classes": "" }, "title": "" }, "header": { "align": "center", "justify": "center", "style": { "classes": "" }, "title": "Description" }, "justify": "center", "number": "value", "numberFormat": "0,0.##", "progressBar": { "bar": { "color": "", "style": { "classes": "" } }, "max": 100, "min": 0, "track": { "color": "", "style": { "classes": "" } }, "value": { "enabled": true, "format": "0,0.##", "justify": "center", "style": { "classes": "" } } }, "render": "auto", "resizable": true, "sort": "none", "sortable": true, "strictWidth": false, "style": { "classes": "" }, "toggleSwitch": { "color": { "selected": "", "unselected": "" } }, "viewParams": {}, "viewPath": "", "visible": true, "width": 60 }, { "align": "center", "boolean": "checkbox", "dateFormat": "MM/DD/YYYY", "editable": false, "field": "Tag", "footer": { "align": "center", "justify": "left", "style": { "classes": "" }, "title": "" }, "header": { "align": "center", "justify": "center", "style": { "classes": "" }, "title": "Tag" }, "justify": "left", "number": "value", "numberFormat": "0,0.##", "progressBar": { "bar": { "color": "", "style": { "classes": "" } }, "max": 100, "min": 0, "track": { "color": "", "style": { "classes": "" } }, "value": { "enabled": true, "format": "0,0.##", "justify": "center", "style": { "classes": "" } } }, "render": "auto", "resizable": true, "sort": "none", "sortable": true, "strictWidth": false, "style": { "classes": "" }, "toggleSwitch": { "color": { "selected": "", "unselected": "" } }, "viewParams": {}, "viewPath": "", "visible": true, "width": 200 } ], "filter": { "results": { "enabled": true }, "text": "PE1_PS1_1" }, "footerGroups": [ [] ], "pager": { "bottom": false, "options": [ 5, 10, 25, 50, 999 ] }, "selection": { "enableColumnSelection": true }, "sortOrder": [ "StartTimestamp" ], "virtualized": false }, "type": "ia.display.table" }, { "events": { "component": { "onActionPerformed": { "config": { "script": "\t\n\tself.getSibling(\"HistoryAlarm\").custom.query \u003d 99" }, "scope": "G", "type": "script" } } }, "meta": { "name": "Refresh", "tooltip": { "enabled": true, "style": { "backgroundColor": "#2B2B2BBF", "color": "#FFFFFF", "fontSize": 14, "textAlign": "left", "white-space": "pre" }, "text": "To Update information \non table, you need click \nto this button." } }, "position": { "height": 40, "width": 110, "x": 781.486, "y": 34.9858 }, "props": { "text": "Refresh" }, "type": "ia.input.button" }, { "custom": { "debug": [ [ "2020-03-24 03:58:00", 83.44392609984358, 93.58514404296875, 71.81086730957031 ], [ "2020-03-24 03:59:00", 83.35893577107669, 106.05998229980469, 72.54214477539062 ], [ "2020-03-24 04:00:00", 83.2739454423098, 102.124267578125, 72.18306732177734 ], [ "2020-03-24 04:01:00", 83.26998772600022, 104.7994155883789, 72.2726821899414 ], [ "2020-03-24 04:02:00", 83.09998708000028, 110.67745971679688, 72.70557403564453 ], [ "2020-03-24 04:03:00", 82.95057846075277, 110.90865325927734, 72.86494445800781 ], [ "2020-03-24 04:04:00", 82.87408810123425, 111.18544006347656, 72.739990234375 ], [ "2020-03-24 04:05:00", 82.79759774171573, 110.57137298583984, 72.47943878173828 ], [ "2020-03-24 04:06:00", 82.72110738219722, 111.59486389160156, 72.50711059570312 ], [ "2020-03-24 04:07:00", 82.6446170226787, 110.79205322265625, 72.84617614746094 ], [ "2020-03-24 04:08:00", 82.56812666316019, 112.36724853515625, 72.59688568115234 ], [ "2020-03-24 04:09:00", 82.49163630364167, 111.96199035644531, 71.75237274169922 ], [ "2020-03-24 04:10:00", 82.41514594412317, 114.09909057617188, 72.87260437011719 ], [ "2020-03-24 04:11:00", 82.33865558460465, 113.22314453125, 72.4264144897461 ], [ "2020-03-24 04:12:00", 82.26216522508614, 112.67841339111328, 72.77767944335938 ], [ "2020-03-24 04:13:00", 82.18567486556762, 109.4883041381836, 73.2457504272461 ], [ "2020-03-24 04:14:00", 82.1091845060491, 109.47913360595703, 72.0219955444336 ], [ "2020-03-24 04:15:00", 82.03269414653059, 109.40910339355469, 72.11457061767578 ], [ "2020-03-24 04:16:00", 81.95620378701207, 108.2085189819336, 73.03665924072266 ], [ "2020-03-24 04:17:00", 81.87971342749356, 109.74492645263672, 72.89605712890625 ], [ "2020-03-24 04:18:00", 81.80322306797505, 110.48381042480469, 72.340087890625 ], [ "2020-03-24 04:19:00", 81.72673270845654, 110.1125259399414, 72.04779815673828 ], [ "2020-03-24 04:20:00", 81.65024234893802, 110.58039855957031, 72.02574157714844 ], [ "2020-03-24 04:21:00", 81.5737519894195, 111.26719665527344, 72.68399810791016 ], [ "2020-03-24 04:22:00", 81.57001033599973, 111.0679931640625, 72.2317123413086 ], [ "2020-03-24 04:23:00", 81.40001291999972, 111.84290313720703, 73.5782470703125 ], [ "2020-03-24 04:24:00", 81.22444354734957, 111.08856201171875, 74.54239654541016 ], [ "2020-03-24 04:25:00", 81.13445335130304, 110.7277603149414, 73.62892150878906 ], [ "2020-03-24 04:26:00", 81.04446315525652, 110.72388458251953, 74.79293823242188 ], [ "2020-03-24 04:27:00", 80.95447295921001, 113.21517944335938, 73.95577239990234 ], [ "2020-03-24 04:28:00", 80.86448276316348, 112.6423568725586, 74.46560668945312 ], [ "2020-03-24 04:29:00", 80.77449256711697, 113.47187805175781, 75.20769500732422 ], [ "2020-03-24 04:30:00", 80.68450237107044, 113.81484985351562, 74.11184692382812 ], [ "2020-03-24 04:31:00", 80.59451217502392, 110.26861572265625, 73.92262268066406 ], [ "2020-03-24 04:32:00", 80.50452197897741, 109.19113159179688, 74.61058807373047 ], [ "2020-03-24 04:33:00", 80.41453178293088, 108.94200134277344, 74.5039291381836 ], [ "2020-03-24 04:34:00", 80.32454158688437, 109.96826934814453, 74.46529388427734 ], [ "2020-03-24 04:35:00", 80.23455139083784, 81.94364929199219, 73.67473602294922 ], [ "2020-03-24 04:36:00", 80.14456119479132, 23.80181121826172, 73.68876117466887 ], [ "2020-03-24 04:37:00", 80.0545709987448, 1.4474921226501465, 73.68912506103516 ], [ "2020-03-24 04:38:00", 79.96458080269828, 4.1637725830078125, 73.72541046142578 ], [ "2020-03-24 04:39:00", 79.87459060665176, 26.945161819458008, 74.61903381347656 ], [ "2020-03-24 04:40:00", 79.87000710599979, 34.11628341674805, 73.51866149902344 ], [ "2020-03-24 04:41:00", 79.70000645999983, 27.773473739624023, 74.04241180419922 ], [ "2020-03-24 04:42:00", 79.60965611151889, 27.49029541015625, 73.1905517578125 ], [ "2020-03-24 04:43:00", 79.56329763722199, 34.070072174072266, 73.98297882080078 ], [ "2020-03-24 04:44:00", 79.5169391629251, 33.60432052612305, 74.68580627441406 ], [ "2020-03-24 04:45:00", 79.4705806886282, 33.17567825317383, 73.96578216552734 ], [ "2020-03-24 04:46:00", 79.42422221433131, 33.235443115234375, 74.14202880859375 ], [ "2020-03-24 04:47:00", 79.37786374003441, 33.624229431152344, 73.29328918457031 ], [ "2020-03-24 04:48:00", 79.33150526573752, 33.59697723388672, 73.17694091796875 ], [ "2020-03-24 04:49:00", 79.28514679144062, 33.403076171875, 73.81486511230469 ], [ "2020-03-24 04:50:00", 79.23878831714373, 33.89695739746094, 74.30374145507812 ], [ "2020-03-24 04:51:00", 79.19242984284683, 32.8265266418457, 74.06024169921875 ], [ "2020-03-24 04:52:00", 79.14607136854994, 48.27207946777344, 73.2079086303711 ], [ "2020-03-24 04:53:00", 79.09971289425305, 74.11988830566406, 72.95736694335938 ], [ "2020-03-24 04:54:00", 79.05335441995615, 85.12024688720703, 73.62250518798828 ], [ "2020-03-24 04:55:00", 79.00699594565926, 89.70301055908203, 72.9462661743164 ], [ "2020-03-24 04:56:00", 78.96063747136236, 98.89726257324219, 72.34540557861328 ], [ "2020-03-24 04:57:00", 78.91427899706547, 104.57252502441406, 73.3578872680664 ], [ "2020-03-24 04:58:00", 78.86792052276857, 103.37727355957031, 73.94607543945312 ], [ "2020-03-24 04:59:00", 78.82156204847168, 103.06717681884766, 72.9709701538086 ], [ "2020-03-24 05:00:00", 78.77520357417478, 102.50790405273438, 74.46186065673828 ], [ "2020-03-24 05:01:00", 78.72884509987789, 102.56554412841797, 72.30302429199219 ], [ "2020-03-24 05:02:00", 78.68248662558099, 100.72061157226562, 73.90963745117188 ], [ "2020-03-24 05:03:00", 78.6361281512841, 84.94855499267578, 72.5624771118164 ], [ "2020-03-24 05:04:00", 78.5897696769872, 73.80229949951172, 72.40718078613281 ], [ "2020-03-24 05:05:00", 78.54341120269031, 66.7529296875, 73.5855941772461 ], [ "2020-03-24 05:06:00", 78.49705272839341, 58.3730354309082, 73.1899185180664 ], [ "2020-03-24 05:07:00", 78.45069425409652, 54.12462615966797, 73.07763671875 ], [ "2020-03-24 05:08:00", 78.40433577979962, 51.171958923339844, 73.19320678710938 ], [ "2020-03-24 05:09:00", 78.35797730550273, 48.614585876464844, 72.81364440917969 ], [ "2020-03-24 05:10:00", 78.31161883120583, 55.98033905029297, 74.0353775024414 ], [ "2020-03-24 05:11:00", 78.26526035690894, 55.769962310791016, 74.27434539794922 ], [ "2020-03-24 05:12:00", 78.21890188261204, 55.67626190185547, 72.99474334716797 ], [ "2020-03-24 05:13:00", 78.17254340831515, 53.84586715698242, 73.18851470947266 ], [ "2020-03-24 05:14:00", 78.17000064599996, 49.15884017944336, 72.83944702148438 ], [ "2020-03-24 05:15:00", 78, 48.674129486083984, 72.74655151367188 ], [ "2020-03-24 05:16:00", 77.9366887710829, 48.823998987048924, 73.24293518066406 ], [ "2020-03-24 05:17:00", 77.90413912638326, 48.8282470703125, 72.28050994873047 ], [ "2020-03-24 05:18:00", 77.87158948168361, 49.756980895996094, 72.88276672363281 ], [ "2020-03-24 05:19:00", 77.83903983698399, 49.47259521484375, 73.35757446289062 ], [ "2020-03-24 05:20:00", 77.80649019228434, 49.850311279296875, 73.20963287353516 ], [ "2020-03-24 05:21:00", 77.77394054758471, 49.637855529785156, 72.9081039428711 ], [ "2020-03-24 05:22:00", 77.74139090288507, 49.61250305175781, 72.93186950683594 ], [ "2020-03-24 05:23:00", 77.70884125818544, 48.27946090698242, 74.17268371582031 ], [ "2020-03-24 05:24:00", 77.6762916134858, 48.74678421020508, 73.15660858154297 ], [ "2020-03-24 05:25:00", 77.64374196878616, 48.357120513916016, 72.6622543334961 ], [ "2020-03-24 05:26:00", 77.61119232408653, 49.31953430175781, 72.34400177001953 ], [ "2020-03-24 05:27:00", 77.57864267938689, 49.709964752197266, 72.97113037109375 ], [ "2020-03-24 05:28:00", 77.54609303468726, 50.2484130859375, 72.39154052734375 ], [ "2020-03-24 05:29:00", 77.51354338998762, 50.60381317138672, 72.06515502929688 ], [ "2020-03-24 05:30:00", 77.48099374528799, 50.00936508178711, 56.87029266357422 ], [ "2020-03-24 05:31:00", 77.44844410058835, 49.875885009765625, 16.654312133789062 ], [ "2020-03-24 05:32:00", 77.4158944558887, 48.563663482666016, 18.19554901123047 ], [ "2020-03-24 05:33:00", 77.38334481118908, 48.847572326660156, 18.055583953857422 ], [ "2020-03-24 05:34:00", 77.35079516648943, 48.35354232788086, 18.378847122192383 ], [ "2020-03-24 05:35:00", 77.3182455217898, 48.75905990600586, 17.62409782409668 ], [ "2020-03-24 05:36:00", 77.28569587709016, 48.05728530883789, 18.058086395263672 ], [ "2020-03-24 05:37:00", 77.25314623239053, 54.909175872802734, 17.759536743164062 ], [ "2020-03-24 05:38:00", 77.22059658769089, 54.575439453125, 17.888395309448242 ], [ "2020-03-24 05:39:00", 77.18804694299125, 55.046234130859375, 18.210878372192383 ], [ "2020-03-24 05:40:00", 77.15549729829162, 54.0140495300293, 17.824277877807617 ], [ "2020-03-24 05:41:00", 77.12294765359198, 53.690467834472656, 18.451248168945312 ], [ "2020-03-24 05:42:00", 77.09039800889235, 53.07158279418945, 18.209468841552734 ], [ "2020-03-24 05:43:00", 77.05784836419271, 53.31936264038086, 18.179603576660156 ], [ "2020-03-24 05:44:00", 77.02529871949308, 53.26475143432617, 18.342716217041016 ], [ "2020-03-24 05:45:00", 76.99274907479344, 51.945220947265625, 18.539770126342773 ], [ "2020-03-24 05:46:00", 76.9601994300938, 51.81389617919922, 18.015705108642578 ], [ "2020-03-24 05:47:00", 76.92764978539417, 51.123085021972656, 17.368398666381836 ], [ "2020-03-24 05:48:00", 76.89510014069452, 51.4550666809082, 18.14003562927246 ], [ "2020-03-24 05:49:00", 76.8625504959949, 50.60249710083008, 18.289703369140625 ], [ "2020-03-24 05:50:00", 76.83000085129525, 50.91603088378906, 18.2962646484375 ], [ "2020-03-24 05:51:00", 76.79745120659562, 53.06449508666992, 18.563539505004883 ], [ "2020-03-24 05:52:00", 76.76490156189598, 54.72663497924805, 18.568862915039062 ], [ "2020-03-24 05:53:00", 76.73235191719634, 54.90778732299805, 18.28094482421875 ], [ "2020-03-24 05:54:00", 76.69980227249671, 53.92911911010742, 18.02821159362793 ], [ "2020-03-24 05:55:00", 76.66725262779707, 53.20056915283203, 21.20859718322754 ], [ "2020-03-24 05:56:00", 76.63470298309744, 53.7746696472168, 70.31324768066406 ], [ "2020-03-24 05:57:00", 76.6021533383978, 54.07472610473633, 73.2507553100586 ], [ "2020-03-24 05:58:00", 76.56960369369816, 53.80739974975586, 73.81517791748047 ], [ "2020-03-24 05:59:00", 76.53705404899853, 53.748661041259766, 73.31723022460938 ], [ "2020-03-24 06:00:00", 76.50450440429888, 54.74142837524414, 72.85430145263672 ], [ "2020-03-24 06:01:00", 76.47195475959926, 56.06607437133789, 73.29580688476562 ], [ "2020-03-24 06:02:00", 76.46999418600018, 55.171714782714844, 72.67166195723287 ], [ "2020-03-24 06:03:00", 76.29999354000017, 55.41927719116211, 72.6522445678711 ], [ "2020-03-24 06:04:00", 76.17097911658006, 55.45018005371094, 73.24137115478516 ], [ "2020-03-24 06:05:00", 76.10446483646761, 55.66059112548828, 72.9041976928711 ], [ "2020-03-24 06:06:00", 76.03795055635517, 49.595481872558594, 73.65878295898438 ], [ "2020-03-24 06:07:00", 75.97143627624271, 47.00128173828125, 72.86134338378906 ], [ "2020-03-24 06:08:00", 75.90492199613027, 47.58378601074219, 72.69776153564453 ], [ "2020-03-24 06:09:00", 75.83840771601783, 49.07365417480469, 72.17729187011719 ], [ "2020-03-24 06:10:00", 75.77189343590538, 56.555606842041016, 72.93250274658203 ], [ "2020-03-24 06:11:00", 75.70537915579293, 56.26713180541992, 72.06671905517578 ], [ "2020-03-24 06:12:00", 75.63886487568048, 55.18650817871094, 73.08904266357422 ], [ "2020-03-24 06:13:00", 75.57235059556804, 48.025177001953125, 73.17881774902344 ], [ "2020-03-24 06:14:00", 75.50583631545558, 47.967350006103516, 73.10953521728516 ], [ "2020-03-24 06:15:00", 75.43932203534314, 49.351463317871094, 72.9697265625 ], [ "2020-03-24 06:16:00", 75.3728077552307, 57.63689041137695, 73.93919372558594 ], [ "2020-03-24 06:17:00", 75.30629347511824, 51.609039306640625, 73.03306579589844 ], [ "2020-03-24 06:18:00", 75.2397791950058, 49.73860549926758, 73.2399673461914 ], [ "2020-03-24 06:19:00", 75.17326491489335, 50.75581359863281, 72.73904418945312 ], [ "2020-03-24 06:20:00", 75.1067506347809, 50.66218566894531, 72.50445556640625 ], [ "2020-03-24 06:21:00", 75.04023635466845, 50.81214141845703, 72.9201431274414 ], [ "2020-03-24 06:22:00", 74.97372207455601, 51.4454231262207, 72.74983978271484 ], [ "2020-03-24 06:23:00", 74.90720779444355, 51.69704055786133, 72.99396514892578 ], [ "2020-03-24 06:24:00", 74.84069351433111, 51.35186767578125, 73.40730285644531 ], [ "2020-03-24 06:25:00", 74.77417923421866, 50.72081756591797, 72.23859405517578 ], [ "2020-03-24 06:26:00", 74.76998772600024, 50.91818618774414, 73.011474609375 ], [ "2020-03-24 06:27:00", 74.59998708000028, 50.9371452331543, 73.52397918701172 ], [ "2020-03-24 06:28:00", 74.47115968724424, 51.061458587646484, 73.56307220458984 ], [ "2020-03-24 06:29:00", 74.40464696005053, 50.900325775146484, 73.50645446777344 ], [ "2020-03-24 06:30:00", 74.33813423285682, 51.356689453125, 73.11031341552734 ], [ "2020-03-24 06:31:00", 74.2716215056631, 51.44089126586914, 74.34957122802734 ], [ "2020-03-24 06:32:00", 74.2051087784694, 51.28786849975586, 73.98580169677734 ], [ "2020-03-24 06:33:00", 74.13859605127568, 51.93085537607588, 72.36542510986328 ], [ "2020-03-24 06:34:00", 74.07208332408197, 51.952125549316406, 72.51180267333984 ], [ "2020-03-24 06:35:00", 74.00557059688826, 57.87371063232422, 73.43373107910156 ], [ "2020-03-24 06:36:00", 73.93905786969457, 80.50335693359375, 73.54712677001953 ], [ "2020-03-24 06:37:00", 73.87254514250085, 86.00247192382812, 73.6276626586914 ], [ "2020-03-24 06:38:00", 73.80603241530714, 92.10163116455078, 73.07763671875 ], [ "2020-03-24 06:39:00", 73.73951968811343, 92.22298431396484, 72.73919677734375 ], [ "2020-03-24 06:40:00", 73.67300696091972, 91.8537368774414, 72.59422302246094 ], [ "2020-03-24 06:41:00", 73.60649423372601, 91.79039764404297, 72.58702850341797 ], [ "2020-03-24 06:42:00", 73.5399815065323, 92.08602905273438, 73.7885971069336 ], [ "2020-03-24 06:43:00", 73.47346877933859, 92.87781524658203, 72.7099609375 ], [ "2020-03-24 06:44:00", 73.40695605214488, 96.19808197021484, 73.00537872314453 ], [ "2020-03-24 06:45:00", 73.34044332495118, 96.97959899902344, 73.0341567993164 ], [ "2020-03-24 06:46:00", 73.27393059775747, 92.9488296508789, 73.91197967529297 ], [ "2020-03-24 06:47:00", 73.20741787056376, 93.09352111816406, 72.77579498291016 ], [ "2020-03-24 06:48:00", 73.14090514337005, 91.96395111083984, 71.88639831542969 ], [ "2020-03-24 06:49:00", 73.07439241617634, 92.7508773803711, 73.19898986816406 ], [ "2020-03-24 06:50:00", 73.07001033599973, 91.7613525390625, 73.58168029785156 ], [ "2020-03-24 06:51:00", 72.90001291999972, 90.88325500488281, 73.70819854736328 ], [ "2020-03-24 06:52:00", 72.74429166862062, 90.33417510986328, 72.71105194091797 ], [ "2020-03-24 06:53:00", 72.66377465236994, 95.02799224853516, 75.33968353271484 ], [ "2020-03-24 06:54:00", 72.58325763611924, 96.9925308227539, 74.09574890136719 ], [ "2020-03-24 06:55:00", 72.50274061986855, 96.695068359375, 73.8018798828125 ], [ "2020-03-24 06:56:00", 72.42222360361787, 95.75796508789062, 74.43511199951172 ], [ "2020-03-24 06:57:00", 72.34170658736717, 96.17393493652344, 74.73851776123047 ], [ "2020-03-24 06:58:00", 72.26118957111649, 88.4173812866211, 75.60273742675781 ], [ "2020-03-24 06:59:00", 72.1806725548658, 88.39751434326172, 74.84156799316406 ], [ "2020-03-24 07:00:00", 72.1001555386151, 87.41456604003906, 74.45763397216797 ], [ "2020-03-24 07:01:00", 72.01963852236442, 87.65657806396484, 73.62500762939453 ], [ "2020-03-24 07:02:00", 71.93912150611372, 87.04649353027344, 75.57865142822266 ], [ "2020-03-24 07:03:00", 71.85860448986304, 87.92521667480469, 74.86284637451172 ], [ "2020-03-24 07:04:00", 71.77808747361235, 85.46574401855469, 74.23040008544922 ], [ "2020-03-24 07:05:00", 71.69757045736166, 51.844181060791016, 73.2090072631836 ], [ "2020-03-24 07:06:00", 71.61705344111097, 36.57521057128906, 74.82296752929688 ], [ "2020-03-24 07:07:00", 71.53653642486027, 34.56216812133789, 74.66110229492188 ], [ "2020-03-24 07:08:00", 71.45601940860959, 48.19200897216797, 73.77107238769531 ], [ "2020-03-24 07:09:00", 71.3755023923589, 52.86350631713867, 74.53269958496094 ], [ "2020-03-24 07:10:00", 71.37000710599979, 52.843929290771484, 73.5987319946289 ], [ "2020-03-24 07:11:00", 71.20000645999983, 52.08213424682617, 74.15689849853516 ], [ "2020-03-24 07:12:00", 71.03583251441142, 51.53842544555664, 73.91010284423828 ], [ "2020-03-24 07:13:00", 70.95084242170037, 43.506919860839844, 73.70914459228516 ], [ "2020-03-24 07:14:00", 70.86585232898932, 43.037841796875, 73.2168197631836 ], [ "2020-03-24 07:15:00", 70.78086223627825, 43.77318572998047, 74.06806182861328 ], [ "2020-03-24 07:16:00", 70.6958721435672, 46.766944885253906, 74.05726623535156 ], [ "2020-03-24 07:17:00", 70.61088205085615, 50.872379302978516, 74.08291625976562 ], [ "2020-03-24 07:18:00", 70.5258919581451, 51.395668029785156, 74.64201354980469 ], [ "2020-03-24 07:19:00", 70.44090186543403, 50.60863494873047, 73.44953155517578 ], [ "2020-03-24 07:20:00", 70.35591177272298, 40.730621337890625, 72.79737854003906 ], [ "2020-03-24 07:21:00", 70.27092168001192, 41.385196685791016, 73.6615982055664 ], [ "2020-03-24 07:22:00", 70.18593158730087, 52.25959777832031, 73.92058563232422 ], [ "2020-03-24 07:23:00", 70.10094149458982, 46.88405990600586, 74.61308288574219 ], [ "2020-03-24 07:24:00", 70.01595140187875, 47.141448974609375, 73.66790870618443 ], [ "2020-03-24 07:25:00", 69.9309613091677, 47.107181549072266, 73.63360595703125 ], [ "2020-03-24 07:26:00", 69.84597121645665, 47.4166259765625, 74.238525390625 ], [ "2020-03-24 07:27:00", 69.7609811237456, 46.56296157836914, 73.82565307617188 ], [ "2020-03-24 07:28:00", 69.67599103103453, 46.3474006652832, 72.98832702636719 ], [ "2020-03-24 07:29:00", 69.67000064599995, 47.08136046272777, 73.30158233642578 ], [ "2020-03-24 07:30:00", 69.5, 47.10820770263672, 73.27828216552734 ], [ "2020-03-24 07:31:00", 69.32637243713472, 47.034088134765625, 73.60092163085938 ], [ "2020-03-24 07:32:00", 69.23638277037952, 45.57647705078125, 73.87054443359375 ], [ "2020-03-24 07:33:00", 69.1463931036243, 51.21367645263672, 72.25328826904297 ], [ "2020-03-24 07:34:00", 69.0564034368691, 70.96977996826172, 73.15692138671875 ], [ "2020-03-24 07:35:00", 68.96641377011389, 76.6375961303711, 72.21951293945312 ], [ "2020-03-24 07:36:00", 68.87642410335869, 83.16655731201172, 74.12545776367188 ], [ "2020-03-24 07:37:00", 68.78643443660347, 83.07859802246094, 72.88916991454134 ], [ "2020-03-24 07:38:00", 68.69644476984827, 92.17417907714844, 72.8433609008789 ], [ "2020-03-24 07:39:00", 68.60645510309305, 92.9948959350586, 73.65784454345703 ], [ "2020-03-24 07:40:00", 68.51646543633785, 92.51905822753906, 72.56232452392578 ], [ "2020-03-24 07:41:00", 68.42647576958265, 91.8058090209961, 73.06637573242188 ], [ "2020-03-24 07:42:00", 68.33648610282744, 90.04006958007812, 72.91545104980469 ], [ "2020-03-24 07:43:00", 68.24649643607223, 85.17295837402344, 73.79078674316406 ], [ "2020-03-24 07:44:00", 68.15650676931702, 95.68914794921875, 72.5380859375 ], [ "2020-03-24 07:45:00", 68.06651710256182, 74.87901306152344, 73.2021255493164 ], [ "2020-03-24 07:46:00", 67.9765274358066, 60.12022018432617, 73.76215362548828 ], [ "2020-03-24 07:47:00", 67.96999418600018, 53.05949020385742, 73.28720092773438 ], [ "2020-03-24 07:48:00", 67.79999354000017, 48.9787483215332, 73.20462799072266 ], [ "2020-03-24 07:49:00", 67.60342746002077, 49.55990219116211, 72.59485626220703 ], [ "2020-03-24 07:50:00", 67.50143795130171, 50.27000427246094, 73.38900756835938 ], [ "2020-03-24 07:51:00", 67.39944844258264, 49.79863766947178, 72.78111267089844 ], [ "2020-03-24 07:52:00", 67.29745893386358, 49.78076171875, 73.90713500976562 ], [ "2020-03-24 07:53:00", 67.19546942514451, 50.86861801147461, 38.183509826660156 ], [ "2020-03-24 07:54:00", 67.09347991642545, 51.039466857910156, 17.961437225341797 ], [ "2020-03-24 07:55:00", 66.99149040770638, 51.160526275634766, 19.09199333190918 ], [ "2020-03-24 07:56:00", 66.88950089898731, 50.949893951416016, 18.68396759033203 ], [ "2020-03-24 07:57:00", 66.78751139026825, 51.169769287109375, 17.29629898071289 ], [ "2020-03-24 07:58:00", 66.68552188154918, 50.19011306762695, 18.370710372924805 ] ] }, "events": { "dom": { "onClick": { "config": { "script": "\tdata \u003d []\n\ttable \u003d []\n\n\tresults \u003d self.getSibling(\"HistoryAlarm\").props.filter.results.data\n\tif(len(results) \u003e 0):\n\t\theaders \u003d [\"Number (ID)\", \"Start TimeStamp\", \"End TimeStamp\",\"Duration\",\"Class\",\"Location\",\"Description\",\"Tag\"]\n\t\tfor result in results:\n\t\t\tdata.append([result[\u0027NumberID\u0027],result[\u0027StartTimestamp\u0027],result[\u0027EndTimestamp\u0027],result[\u0027Duration\u0027],result[\u0027Class\u0027],result[\u0027Area\u0027],result[\u0027Description\u0027],result[\u0027Tag\u0027]])\n\t\t\n\ttable \u003d system.dataset.toDataSet(headers, data)\t\n\tcsv \u003d system.dataset.toCSV(table,1,0,1)\n\tsystem.perspective.download(filename \u003d \u0027Alarm History.csv\u0027, data \u003d csv)\n\t" }, "scope": "G", "type": "script" } } }, "meta": { "name": "ExporttoCSV", "tooltip": { "enabled": true, "style": { "backgroundColor": "#2B2B2BBF", "color": "#FFFFFF", "fontSize": 14, "textAlign": "left", "white-space": "pre" }, "text": "To Export data from table, \nyou need click to this button." } }, "position": { "height": 25, "width": 110, "x": 783.4857883453369, "y": -12.014202117919922 }, "props": { "style": { "classes": "Button_Action", "marginBottom": "2px", "marginTop": "16px" }, "text": "Export to CSV" }, "type": "ia.input.button" } ], "meta": { "name": "HistoryAlarm" }, "position": { "tabIndex": 2 }, "propConfig": { "meta.visible": { "binding": { "config": { "expression": "if ({view.params.Vendor} \u003d \"Interroll\" \u0026\u0026 \r\n\t({view.params.DeviceType} \u003d \"Jam Reset Button\" || {view.params.ASdata} \u003d \"BeaconPE14\" ||\r\n\t{view.params.ASdata} \u003d \"BeaconPE513\" || {view.params.ASdata} \u003d \"BeaconPECLS35\" || \r\n\t{view.params.ASdata} \u003d \"BeaconSDS\"), false,true)" }, "type": "expr" } } }, "type": "ia.container.coord" }, { "children": [ { "meta": { "name": "AlarmSummary" }, "position": { "height": "100%", "width": "100%" }, "propConfig": { "props.query": { "binding": { "config": { "expression": "now(1000)" }, "type": "expr" }, "onChange": { "enabled": null, "script": "\t\t\t\t\n\tfrom system import date\n\t\n\tfrom datetime import datetime\n\t\n\tfrom com.inductiveautomation.ignition.common.config import BasicProperty\n\t\n\tfrom com.inductiveautomation.ignition.common.alarming.config import CommonAlarmProperties\n\t\n\tp_alarmClass \u003d BasicProperty(\"Class\", BasicProperty().getType())\n\tp_location \u003d BasicProperty(\"Area\", BasicProperty().getType())\n\tp_description \u003d BasicProperty(\"Description\", BasicProperty().getType())\n\tp_tag \u003d BasicProperty(\"Tag\", BasicProperty().getType())\n\t\n\tdef testRow(number,eventTimeStamp,duration,alarmClass,location,description,tag,color):\n\t\t\t return {\n\t\"value\":{\n\t\t \"NumberID\": number,\n\t\t \"EventTimestamp\": eventTimeStamp,\n\t\t \"Duration\": duration,\n\t\t \"Class\": alarmClass,\n\t\t \"Area\": location,\n\t\t \"Description\": description, \n\t\t \"Tag\": tag\n\t\t }, \n\t\t\t \"style\": {\n\t\t \"backgroundColor\": color,\n\t\t \"classes\": \"some-class\"\n\t\t\t }\n\t\t\t } \t\n\t\n\tdata \u003d []\n\t\n\tcolor \u003d \"#FFFFFF\"\n\t\n\tresults \u003d system.alarm.queryStatus(state \u003d [\"ActiveUnacked\", \"ActiveAcked\"],source\u003d[\"*\" + self.view.params.tagPath + \"*\"])\n\t\n\tfor alarm in results:\n\t\td \u003d alarm.activeData\n\t\ttry:\n\t\t\tquery \u003d system.db.runQuery(\"SELECT id,eventtime FROM alarm_events where eventid \u003d \" + \"\u0027\" + str(alarm.id) + \"\u0027\",\"MariaDB80\")\n\t\t\tnumberID \u003d query[0][0]\n\t\t\tactTime \u003d date.parse(str(query[0][1]))\n\t\t\talarmClass \u003d d.get(p_alarmClass)\n\t\t\tlocation \u003d d.get(p_location)\n\t\t\tdescription \u003d d.get(p_description)\n\t\t\ttag \u003d d.get(p_tag)\n\t\t\tduration \u003d date.secondsBetween(date.parse(str(query[0][1])),date.now())\n\t\t\t#Number (ID)\n\t\t\tdata.append(testRow(numberID + 30000,\n\t\t\t#Event Timestamp\t \n\t\t\tsystem.date.format(date.parse(str(query[0][1])), \"yyyy-MM-dd HH:mm:ss\"),\n\t\t\t#Duration\n\t\t\tdate.format(date.addSeconds(date.midnight(date.now()),duration),\"HH:mm:ss\"),\n\t\t\t#Class\n\t\t\talarmClass,\n\t\t\t#Location\n\t\t\tlocation,\n\t\t\t#Description\n\t\t\tdescription,\n\t\t\t#Tag\n\t\t\ttag,\n\t\t\t#Color\n\t\t\tcolor))\n\t\texcept:\n\t\t\tsystem.perspective.print(message\u003dalarm.source)\n\t\n\tself.props.data \u003d data" } } }, "props": { "columns": [ { "align": "center", "boolean": "checkbox", "dateFormat": "MM/DD/YYYY", "editable": false, "field": "NumberID", "footer": { "align": "center", "justify": "left", "style": { "classes": "" }, "title": "" }, "header": { "align": "center", "justify": "center", "style": { "classes": "" }, "title": "ID" }, "justify": "center", "number": "value", "numberFormat": "0,0.##", "progressBar": { "bar": { "color": "", "style": { "classes": "" } }, "max": 100, "min": 0, "track": { "color": "", "style": { "classes": "" } }, "value": { "enabled": true, "format": "0,0.##", "justify": "center", "style": { "classes": "" } } }, "render": "auto", "resizable": true, "sort": "none", "sortable": true, "strictWidth": false, "style": { "classes": "" }, "toggleSwitch": { "color": { "selected": "", "unselected": "" } }, "viewParams": {}, "viewPath": "", "visible": true, "width": 20 }, { "align": "center", "boolean": "checkbox", "dateFormat": "MM/DD/YYYY", "editable": false, "field": "EventTimestamp", "footer": { "align": "center", "justify": "left", "style": { "classes": "" }, "title": "" }, "header": { "align": "center", "justify": "center", "style": { "classes": "" }, "title": "Event Timestamp" }, "justify": "center", "number": "value", "numberFormat": "0,0.##", "progressBar": { "bar": { "color": "", "style": { "classes": "" } }, "max": 100, "min": 0, "track": { "color": "", "style": { "classes": "" } }, "value": { "enabled": true, "format": "0,0.##", "justify": "center", "style": { "classes": "" } } }, "render": "auto", "resizable": true, "sort": "descending", "sortable": true, "strictWidth": false, "style": { "classes": "" }, "toggleSwitch": { "color": { "selected": "", "unselected": "" } }, "viewParams": {}, "viewPath": "", "visible": true, "width": 35 }, { "align": "center", "boolean": "checkbox", "dateFormat": "MM/DD/YYYY", "editable": false, "field": "Duration", "footer": { "align": "center", "justify": "left", "style": { "classes": "" }, "title": "" }, "header": { "align": "center", "justify": "center", "style": { "classes": "" }, "title": "" }, "justify": "center", "number": "value", "numberFormat": "0,0.##", "progressBar": { "bar": { "color": "", "style": { "classes": "" } }, "max": 100, "min": 0, "track": { "color": "", "style": { "classes": "" } }, "value": { "enabled": true, "format": "0,0.##", "justify": "center", "style": { "classes": "" } } }, "render": "auto", "resizable": true, "sort": "none", "sortable": true, "strictWidth": false, "style": { "classes": "" }, "toggleSwitch": { "color": { "selected": "", "unselected": "" } }, "viewParams": {}, "viewPath": "", "visible": true, "width": 30 }, { "align": "center", "boolean": "checkbox", "dateFormat": "MM/DD/YYYY", "editable": false, "field": "Class", "footer": { "align": "center", "justify": "left", "style": { "classes": "" }, "title": "" }, "header": { "align": "center", "justify": "center", "style": { "classes": "" }, "title": "" }, "justify": "center", "number": "value", "numberFormat": "0,0.##", "progressBar": { "bar": { "color": "", "style": { "classes": "" } }, "max": 100, "min": 0, "track": { "color": "", "style": { "classes": "" } }, "value": { "enabled": true, "format": "0,0.##", "justify": "center", "style": { "classes": "" } } }, "render": "auto", "resizable": true, "sort": "none", "sortable": true, "strictWidth": false, "style": { "classes": "" }, "toggleSwitch": { "color": { "selected": "", "unselected": "" } }, "viewParams": {}, "viewPath": "", "visible": true, "width": 20 }, { "align": "center", "boolean": "checkbox", "dateFormat": "MM/DD/YYYY", "editable": false, "field": "Area", "footer": { "align": "center", "justify": "left", "style": { "classes": "" }, "title": "" }, "header": { "align": "center", "justify": "center", "style": { "classes": "" }, "title": "Location" }, "justify": "center", "number": "value", "numberFormat": "0,0.##", "progressBar": { "bar": { "color": "", "style": { "classes": "" } }, "max": 100, "min": 0, "track": { "color": "", "style": { "classes": "" } }, "value": { "enabled": true, "format": "0,0.##", "justify": "center", "style": { "classes": "" } } }, "render": "auto", "resizable": true, "sort": "none", "sortable": true, "strictWidth": false, "style": { "classes": "" }, "toggleSwitch": { "color": { "selected": "", "unselected": "" } }, "viewParams": {}, "viewPath": "", "visible": true, "width": 30 }, { "align": "center", "boolean": "checkbox", "dateFormat": "MM/DD/YYYY", "editable": false, "field": "Description", "footer": { "align": "center", "justify": "left", "style": { "classes": "" }, "title": "" }, "header": { "align": "center", "justify": "center", "style": { "classes": "" }, "title": "" }, "justify": "center", "number": "value", "numberFormat": "0,0.##", "progressBar": { "bar": { "color": "", "style": { "classes": "" } }, "max": 100, "min": 0, "track": { "color": "", "style": { "classes": "" } }, "value": { "enabled": true, "format": "0,0.##", "justify": "center", "style": { "classes": "" } } }, "render": "auto", "resizable": true, "sort": "none", "sortable": true, "strictWidth": false, "style": { "classes": "" }, "toggleSwitch": { "color": { "selected": "", "unselected": "" } }, "viewParams": {}, "viewPath": "", "visible": true, "width": 40 }, { "align": "center", "boolean": "checkbox", "dateFormat": "MM/DD/YYYY", "editable": false, "field": "Tag", "footer": { "align": "center", "justify": "left", "style": { "classes": "" }, "title": "" }, "header": { "align": "center", "justify": "center", "style": { "classes": "" }, "title": "" }, "justify": "center", "number": "value", "numberFormat": "0,0.##", "progressBar": { "bar": { "color": "", "style": { "classes": "" } }, "max": 100, "min": 0, "track": { "color": "", "style": { "classes": "" } }, "value": { "enabled": true, "format": "0,0.##", "justify": "center", "style": { "classes": "" } } }, "render": "auto", "resizable": true, "sort": "none", "sortable": true, "strictWidth": false, "style": { "classes": "" }, "toggleSwitch": { "color": { "selected": "", "unselected": "" } }, "viewParams": {}, "viewPath": "", "visible": true, "width": 90 } ], "pager": { "bottom": false }, "sortOrder": [ "EventTimestamp" ] }, "type": "ia.display.table" } ], "meta": { "name": "AlarmSummary" }, "position": { "tabIndex": 1 }, "propConfig": { "meta.visible": { "binding": { "config": { "expression": "if ({view.params.Vendor} \u003d \"Interroll\" \u0026\u0026 \r\n\t({view.params.DeviceType} \u003d \"Jam Reset Button\" || {view.params.ASdata} \u003d \"BeaconPE14\" ||\r\n\t{view.params.ASdata} \u003d \"BeaconPE513\" || {view.params.ASdata} \u003d \"BeaconPECLS35\" || \r\n\t{view.params.ASdata} \u003d \"BeaconSDS\"), false,true)" }, "type": "expr" } } }, "type": "ia.container.coord" }, { "children": [ { "meta": { "name": "Table" }, "position": { "height": 700, "width": 870, "x": 13, "y": 54 }, "propConfig": { "custom.query": { "binding": { "config": { "expression": "{..../TabContainer.props.currentTabIndex}" }, "type": "expr" }, "onChange": { "enabled": null, "script": "\t\t\n\t\n\tdef Row(tag,type,value,quality,color):\n\t\t return {\n\t\t\"Tag\": tag,\n\t\t\"Type\": type, \n\t\t\"Value\": value,\n\t\t\"Quality\":{\n\t\t\t \"value\": quality,\n\t\t\t \"style\": {\n\t\t\t\t \"backgroundColor\": color,\n\t\t\t\t \"classes\": \"some-class\"\n\t\t\t } \n\t\t }\n\t\t }\n\t\t \n\tpath \u003d self.getSibling(\"TextField\").props.text\n\t \t\n\tself.props.data \u003d []\n\t\n\tdef browseTags(path, filter\u003d{}, recursive\u003dFalse, ret\u003dNone):\n\t\t\tif ret\u003d\u003dNone: ret\u003d[]\n\t\t\tif str(path).find(\"[\") \u003d\u003d -1:\n\t\t\t\tpath \u003d \u0027[default]\u0027 + str(path)\n\t\t\tif recursive:\n\t\t\t\tresults \u003d system.tag.browse(path)\n\t\t\t\tif results.getResults() is not None:\n\t\t\t\t\tfor branch in results.getResults(): \n\t\t\t\t\t\tif branch[\u0027hasChildren\u0027]:\n\t\t\t\t\t\t\tret \u003d browseTags(path\u003dbranch[\u0027fullPath\u0027], filter\u003dfilter, recursive\u003drecursive,ret\u003dret)\t\t\t\n\t\t\tresults \u003d system.tag.browse(path, filter)\n\t\t\tif results.getResults() is not None:\n\t\t\t\tfor result in results.getResults():\n\t\t\t\t\tresult[\"quality\"] \u003d result[\"value\"].quality\n\t\t\t\t\tret.append(result)\n\t\t\treturn ret\n\t\t\t\n\tfor tag in browseTags(path, filter \u003d {\u0027tagType\u0027:\u0027AtomicTag\u0027},recursive \u003d True):\t\t\t\t\n\t\tif str(tag[\"value\"].quality) \u003d\u003d \"Good\":\n\t\t\tself.props.data.append(Row(tag[\u0027fullPath\u0027],tag[\u0027dataType\u0027],tag[\u0027value\u0027].value,tag[\u0027value\u0027].quality, \"#00FF00\"))\t\t\n\t\telse:\n\t\t\tself.props.data.append(Row(tag[\u0027fullPath\u0027],tag[\u0027dataType\u0027],tag[\u0027value\u0027].value,tag[\u0027value\u0027].quality, \"#FF0000\"))\n\t\t\t\t\t\t\t\t\t " } } }, "props": { "Refresh": "value", "columns": [ { "align": "center", "boolean": "checkbox", "dateFormat": "MM/DD/YYYY", "editable": false, "field": "Tag", "footer": { "align": "center", "justify": "left", "style": { "classes": "" }, "title": "" }, "header": { "align": "center", "justify": "left", "style": { "classes": "" }, "title": "OPC Tag" }, "justify": "left", "number": "value", "numberFormat": "0,0.##", "progressBar": { "bar": { "color": "", "style": { "classes": "" } }, "max": 100, "min": 0, "track": { "color": "", "style": { "classes": "" } }, "value": { "enabled": true, "format": "0,0.##", "justify": "center", "style": { "classes": "" } } }, "render": "auto", "resizable": true, "sort": "none", "sortable": true, "strictWidth": false, "style": { "classes": "" }, "toggleSwitch": { "color": { "selected": "", "unselected": "" } }, "viewParams": {}, "viewPath": "", "visible": true, "width": 250 }, { "align": "center", "boolean": "checkbox", "dateFormat": "MM/DD/YYYY", "editable": false, "field": "Type", "footer": { "align": "center", "justify": "left", "style": { "classes": "" }, "title": "" }, "header": { "align": "center", "justify": "center", "style": { "classes": "" }, "title": "Type" }, "justify": "center", "number": "value", "numberFormat": "0,0.##", "progressBar": { "bar": { "color": "", "style": { "classes": "" } }, "max": 100, "min": 0, "track": { "color": "", "style": { "classes": "" } }, "value": { "enabled": true, "format": "0,0.##", "justify": "center", "style": { "classes": "" } } }, "render": "auto", "resizable": true, "sort": "ascending", "sortable": true, "strictWidth": false, "style": { "classes": "" }, "toggleSwitch": { "color": { "selected": "", "unselected": "" } }, "viewParams": {}, "viewPath": "", "visible": true, "width": 50 }, { "align": "center", "boolean": "checkbox", "dateFormat": "MM/DD/YYYY", "editable": false, "field": "Value", "footer": { "align": "center", "justify": "left", "style": { "classes": "" }, "title": "" }, "header": { "align": "center", "justify": "center", "style": { "classes": "" }, "title": "Value" }, "justify": "center", "number": "value", "numberFormat": "0,0.##", "progressBar": { "bar": { "color": "", "style": { "classes": "" } }, "max": 100, "min": 0, "track": { "color": "", "style": { "classes": "" } }, "value": { "enabled": true, "format": "0,0.##", "justify": "center", "style": { "classes": "" } } }, "render": "auto", "resizable": true, "sort": "none", "sortable": true, "strictWidth": false, "style": { "classes": "" }, "toggleSwitch": { "color": { "selected": "", "unselected": "" } }, "viewParams": {}, "viewPath": "", "visible": true, "width": 50 }, { "align": "center", "boolean": "checkbox", "dateFormat": "MM/DD/YYYY", "editable": false, "field": "Quality", "footer": { "align": "center", "justify": "left", "style": { "classes": "" }, "title": "" }, "header": { "align": "center", "justify": "center", "style": { "classes": "" }, "title": "Quality" }, "justify": "center", "number": "value", "numberFormat": "0,0.##", "progressBar": { "bar": { "color": "", "style": { "classes": "" } }, "max": 100, "min": 0, "track": { "color": "", "style": { "classes": "" } }, "value": { "enabled": true, "format": "0,0.##", "justify": "center", "style": { "classes": "" } } }, "render": "auto", "resizable": true, "sort": "none", "sortable": true, "strictWidth": false, "style": { "classes": "" }, "toggleSwitch": { "color": { "selected": "", "unselected": "" } }, "viewParams": {}, "viewPath": "", "visible": true, "width": 50 } ], "data": [ { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/Alarm/Comm_Fault", "Type": "Boolean", "Value": false }, { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/Alarm/Disconnect_Off", "Type": "Boolean", "Value": false }, { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/Alarm/Motor_Fault", "Type": "Boolean", "Value": false }, { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/Alarm/Reset_Comm", "Type": "Boolean", "Value": false }, { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/Alarm/Reset_Motor", "Type": "Boolean", "Value": false }, { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/Alarm/Safe_Off_Fault", "Type": "Boolean", "Value": false }, { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/Color", "Type": "Int4", "Value": 10 }, { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/Comm_F_Code", "Type": "Int4", "Value": 0 }, { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/CP_Name", "Type": "String", "Value": "CP02" }, { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/Current", "Type": "Int2", "Value": 0 }, { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/FPM", "Type": "Int4", "Value": 0 }, { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/Frequency", "Type": "Int4", "Value": 0 }, { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/IP_Address", "Type": "String", "Value": "11.200.1.37" }, { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/Last_Motor_F_Code", "Type": "Int4", "Value": 4 }, { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/Maint_Bypass_LT", "Type": "Boolean", "Value": false }, { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/Maint_Bypass_PB", "Type": "Boolean", "Value": false }, { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/Maint_Dir_LT", "Type": "Boolean", "Value": false }, { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/Maint_Dir_PB", "Type": "Boolean", "Value": false }, { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/Maint_Dir_Visible", "Type": "Boolean", "Value": false }, { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/Maint_Jog_LT", "Type": "Boolean", "Value": false }, { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/Maint_Jog_PB", "Type": "Boolean", "Value": false }, { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/Maint_Speed", "Type": "Int4", "Value": 0 }, { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/Maint_Start_LT", "Type": "Boolean", "Value": false }, { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/Maint_Start_PB", "Type": "Boolean", "Value": false }, { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/Maint_Stop_LT", "Type": "Boolean", "Value": false }, { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/Maint_Stop_PB", "Type": "Boolean", "Value": false }, { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/MaintMode", "Type": "Boolean", "Value": false }, { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/Motor_F_Code", "Type": "Int4", "Value": 0 }, { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/Name", "Type": "String", "Value": "PS1-1" }, { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/Speed", "Type": "Int4", "Value": 0 }, { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/Speed_At_60Hz", "Type": "Int4", "Value": 200 }, { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/StatusVFD", "Type": "Int4", "Value": 10 }, { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/Voltage", "Type": "Int4", "Value": 0 }, { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/Zone_Name", "Type": "String", "Value": "Zone 1" } ], "pager": { "bottom": false }, "virtualized": false }, "type": "ia.display.table" }, { "events": { "component": { "onActionPerformed": { "config": { "script": "\n\tself.getSibling(\"Table\").custom.query \u003d 99" }, "scope": "G", "type": "script" } } }, "meta": { "name": "Button", "tooltip": { "enabled": true, "location": "bottom", "style": { "backgroundColor": "#2B2B2BBF", "color": "#FFFFFF", "fontSize": 14, "textAlign": "left", "white-space": "pre" }, "sustain": 3000, "text": "To Update information \non table, you need click \nto this button." } }, "position": { "height": 40, "rotate": { "anchor": "50% 65%" }, "width": 110, "x": 773, "y": 5 }, "props": { "text": "Refresh" }, "type": "ia.input.button" }, { "meta": { "name": "TextField" }, "position": { "height": 40, "width": 750, "x": 13, "y": 5 }, "propConfig": { "props.text": { "binding": { "config": { "expression": "concat(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath})" }, "type": "expr" } } }, "props": { "enabled": false }, "type": "ia.input.text-field" } ], "meta": { "name": "Maintenance" }, "position": { "tabIndex": 3 }, "propConfig": { "meta.visible": { "binding": { "config": { "expression": "if ({view.params.Vendor} \u003d \"Interroll\" \u0026\u0026 \r\n\t({view.params.DeviceType} \u003d \"Jam Reset Button\" || {view.params.ASdata} \u003d \"BeaconPE14\" ||\r\n\t{view.params.ASdata} \u003d \"BeaconPE513\" || {view.params.ASdata} \u003d \"BeaconPECLS35\" || \r\n\t{view.params.ASdata} \u003d \"BeaconSDS\"), false,true)" }, "type": "expr" } } }, "type": "ia.container.coord" }, { "children": [ { "children": [ { "meta": { "name": "Device" }, "position": { "height": 30, "width": "100%" }, "propConfig": { "props.source": { "binding": { "config": { "expression": "\"Photoeye: \"+ replace({view.params.tagPath}, \"_\", \"-\")" }, "type": "expr" } } }, "props": { "style": { "fontFamily": "Arial", "fontSize": 24, "textAlign": "center" } }, "type": "ia.display.markdown" }, { "meta": { "name": "NumericEntryField" }, "position": { "height": 32, "width": 109, "x": 141, "y": 115 }, "propConfig": { "custom.Tag_Value": { "binding": { "config": { "bidirectional": true, "fallbackDelay": 2.5, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "FolderPath": "{view.params.FolderPath}", "tagPath": "{view.params.tagPath}" }, "tagPath": "[{Browser}]{FolderPath}{tagPath}/HMI/Set_Time_Sec" }, "type": "tag" } }, "props.value": { "binding": { "config": { "bidirectional": true, "path": "this.custom.Tag_Value" }, "type": "property" } } }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 } }, "type": "ia.input.numeric-entry-field" }, { "meta": { "name": "Label" }, "position": { "height": 32, "width": 93, "x": 149, "y": 78 }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 }, "text": "Set Time(s):" }, "type": "ia.display.label" }, { "custom": { "Text": { "OFF": "Disable", "ON": "Disabled" } }, "events": { "component": { "onActionPerformed": { "config": { "script": "\tself.custom.PB \u003d not self.custom.PB" }, "scope": "G", "type": "script" } } }, "meta": { "name": "Button" }, "position": { "height": 60, "width": 155, "x": 602, "y": 87 }, "propConfig": { "custom.LT": { "binding": { "config": { "fallbackDelay": 1, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "FolderPath": "{view.params.FolderPath}", "tagPath": "{view.params.tagPath}" }, "tagPath": "[{Browser}]{FolderPath}{tagPath}/HMI/Disable_LT" }, "type": "tag" } }, "custom.PB": { "binding": { "config": { "bidirectional": true, "fallbackDelay": 1, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "FolderPath": "{view.params.FolderPath}", "tagPath": "{view.params.tagPath}" }, "tagPath": "[{Browser}]{FolderPath}{tagPath}/HMI/Disable_PB" }, "type": "tag" } }, "props.style.classes": { "binding": { "config": { "expression": "if (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Disable_LT\"), \"Buttons/Red\", \"Buttons/Green\")" }, "type": "expr" } }, "props.text": { "binding": { "config": { "expression": "if ({this.custom.LT}, {this.custom.Text.ON}, {this.custom.Text.OFF})" }, "type": "expr" } } }, "props": { "style": {}, "textStyle": { "fontFamily": "Arial", "fontSize": 16 } }, "type": "ia.input.button" } ], "meta": { "name": "PE" }, "position": { "height": 160, "width": "100%", "y": 18 }, "propConfig": { "meta.visible": { "binding": { "config": { "expression": "if ({view.params.DeviceType} \u003d \"PE\", true, false \r\n)" }, "type": "expr" } } }, "type": "ia.container.coord" }, { "children": [ { "meta": { "name": "Device" }, "position": { "height": 30, "width": "100%" }, "propConfig": { "props.source": { "binding": { "config": { "expression": "\"Control Station: \"+ replace({view.params.tagPath}, \"_\", \"-\")" }, "type": "expr" } } }, "props": { "style": { "fontFamily": "Arial", "fontSize": 24, "textAlign": "center" } }, "type": "ia.display.markdown" }, { "custom": { "Text": { "OFF": "Start - ON", "ON": "Start - OFF" } }, "events": { "component": { "onActionPerformed": { "config": { "script": "\tself.custom.PB \u003d 1" }, "scope": "G", "type": "script" } } }, "meta": { "name": "StartPB" }, "position": { "height": 60, "width": 155, "x": 66.5, "y": 85 }, "propConfig": { "custom.LT": { "binding": { "config": { "fallbackDelay": 1, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "FolderPath": "{view.params.FolderPath}", "tagPath": "{view.params.tagPath}" }, "tagPath": "[{Browser}]{FolderPath}{tagPath}/HMI/Start_PB" }, "type": "tag" } }, "custom.PB": { "binding": { "config": { "bidirectional": true, "fallbackDelay": 1, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "FolderPath": "{view.params.FolderPath}", "tagPath": "{view.params.tagPath}" }, "tagPath": "[{Browser}]{FolderPath}{tagPath}/HMI/Start_PB" }, "type": "tag" } }, "meta.visible": { "binding": { "config": { "expression": "if ({view.params.DeviceType} \u003d \"SStart\", true, false \r\n)" }, "type": "expr" } }, "props.style.classes": { "binding": { "config": { "expression": "if (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Start_PB\"), \"Buttons/Red\", \"Buttons/Green\")\r\n\r\n" }, "type": "expr" } }, "props.text": { "binding": { "config": { "expression": "if ({this.custom.LT}, {this.custom.Text.ON}, {this.custom.Text.OFF})" }, "type": "expr" } } }, "props": { "style": {}, "textStyle": { "fontFamily": "Arial", "fontSize": 16 } }, "type": "ia.input.button" }, { "custom": { "Text": { "OFF": "Stop - ON", "ON": "Stop - OFF" } }, "events": { "component": { "onActionPerformed": { "config": { "script": "\tself.custom.PB \u003d 1" }, "scope": "G", "type": "script" } } }, "meta": { "name": "StopPB" }, "position": { "height": 60, "width": 155, "x": 371.5, "y": 85 }, "propConfig": { "custom.LT": { "binding": { "config": { "fallbackDelay": 1, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "FolderPath": "{view.params.FolderPath}", "tagPath": "{view.params.tagPath}" }, "tagPath": "[{Browser}]{FolderPath}{tagPath}/HMI/Stop_PB" }, "type": "tag" } }, "custom.PB": { "binding": { "config": { "bidirectional": true, "fallbackDelay": 1, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "FolderPath": "{view.params.FolderPath}", "tagPath": "{view.params.tagPath}" }, "tagPath": "[{Browser}]{FolderPath}{tagPath}/HMI/Stop_PB" }, "type": "tag" } }, "meta.visible": { "binding": { "config": { "expression": "if ({view.params.DeviceType} \u003d \"SStop\", true, false \r\n)" }, "type": "expr" } }, "props.style.classes": { "binding": { "config": { "expression": "if (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Stop_PB\"), \"Buttons/Red\", \"Buttons/Green\")" }, "type": "expr" } }, "props.text": { "binding": { "config": { "expression": "if ({this.custom.LT}, {this.custom.Text.ON}, {this.custom.Text.OFF})" }, "type": "expr" } } }, "props": { "style": {}, "textStyle": { "fontFamily": "Arial", "fontSize": 16 } }, "type": "ia.input.button" }, { "custom": { "Text": { "OFF": "JamReset - ON", "ON": "JamReset - OFF" } }, "events": { "component": { "onActionPerformed": { "config": { "script": "\tself.custom.PB \u003d \"true\"" }, "scope": "G", "type": "script" } } }, "meta": { "name": "JamResetPB" }, "position": { "height": 60, "width": 155, "x": 676.5, "y": 85 }, "propConfig": { "custom.LT": { "binding": { "config": { "fallbackDelay": 1, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "FolderPath": "{view.params.FolderPath}", "tagPath": "{view.params.tagPath}" }, "tagPath": "[{Browser}]{FolderPath}{tagPath}/HMI/Start_PB" }, "type": "tag" } }, "custom.PB": { "binding": { "config": { "bidirectional": true, "fallbackDelay": 1, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "FolderPath": "{view.params.FolderPath}", "tagPath": "{view.params.tagPath}" }, "tagPath": "[{Browser}]{FolderPath}{tagPath}/HMI/Start_PB" }, "type": "tag" } }, "meta.visible": { "binding": { "config": { "expression": "if ({view.params.DeviceType} \u003d \"JR\", true, false \r\n)" }, "type": "expr" } }, "props.style.classes": { "binding": { "config": { "expression": "if (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Start_PB\"), \"Buttons/Red\", \"Buttons/Green\")" }, "type": "expr" } }, "props.text": { "binding": { "config": { "expression": "if ({this.custom.LT}, {this.custom.Text.ON}, {this.custom.Text.OFF})" }, "type": "expr" } } }, "props": { "style": {}, "textStyle": { "fontFamily": "Arial", "fontSize": 16 } }, "type": "ia.input.button" } ], "meta": { "name": "ControlStation" }, "position": { "height": 160, "width": "100%", "y": 18 }, "propConfig": { "meta.visible": { "binding": { "config": { "expression": "if ({view.params.DeviceType} \u003d \"SStart\" || {view.params.DeviceType} \u003d \"SStop\" || {view.params.DeviceType} \u003d \"JR\", true, false \r\n)" }, "type": "expr" } } }, "type": "ia.container.coord" }, { "meta": { "name": "LabelNoCommands" }, "position": { "height": 250, "width": "100%", "y": 193 }, "propConfig": { "meta.visible": { "binding": { "config": { "expression": "IF ({view.params.Vendor} \u003d \"Interroll\" || {view.params.Vendor} \u003d \"Siemens\" || \r\n({view.params.Vendor} \u003d \"AS\" \u0026\u0026 ({view.params.DeviceType} \u003d \"Beacon\" || {view.params.DeviceType} \u003d \"EPC\"\r\n|| {view.params.DeviceType} \u003d \"IO\"))\r\n, true,false)" }, "type": "expr" } }, "props.source": { "binding": { "config": { "expression": "\"NO COMMANDS FOR THIS OBJECT IS NOT PROVIDED\"" }, "type": "expr" } } }, "props": { "style": { "fontSize": 60, "textAlign": "center", "textDecoration": "underline", "textTransform": "uppercase" } }, "type": "ia.display.markdown" }, { "children": [ { "meta": { "name": "Device" }, "position": { "height": 30, "width": "100%" }, "propConfig": { "props.source": { "binding": { "config": { "expression": "\"Input/Output: \"+ replace({view.params.tagPath}, \"_\", \"-\")" }, "type": "expr" } } }, "props": { "style": { "fontFamily": "Arial", "fontSize": 24, "textAlign": "center" } }, "type": "ia.display.markdown" }, { "custom": { "Number": "0" }, "meta": { "name": "Description0" }, "position": { "height": 25, "width": 600, "x": 148.58483695983887, "y": 63 }, "propConfig": { "props.source": { "binding": { "config": { "expression": "{this.custom.Number}+\": \" + tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Description/Description_\"+{this.custom.Number})" }, "type": "expr" } } }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 } }, "type": "ia.display.markdown" }, { "custom": { "Number": 1 }, "meta": { "name": "Description1" }, "position": { "height": 25, "width": 600, "x": 148.58483695983887, "y": 93 }, "propConfig": { "props.source": { "binding": { "config": { "expression": "{this.custom.Number}+\": \" + tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Description/Description_\"+{this.custom.Number})" }, "type": "expr" } } }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 } }, "type": "ia.display.markdown" }, { "custom": { "Number": 2 }, "meta": { "name": "Description2" }, "position": { "height": 25, "width": 600, "x": 148.58483695983887, "y": 123 }, "propConfig": { "props.source": { "binding": { "config": { "expression": "{this.custom.Number}+\": \" + tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Description/Description_\"+{this.custom.Number})" }, "type": "expr" } } }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 } }, "type": "ia.display.markdown" }, { "custom": { "Number": 3 }, "meta": { "name": "Description3" }, "position": { "height": 25, "width": 600, "x": 148.58483695983887, "y": 153 }, "propConfig": { "props.source": { "binding": { "config": { "expression": "{this.custom.Number}+\": \" + tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Description/Description_\"+{this.custom.Number})" }, "type": "expr" } } }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 } }, "type": "ia.display.markdown" }, { "custom": { "Number": 4 }, "meta": { "name": "Description4" }, "position": { "height": 25, "width": 600, "x": 148.58483695983887, "y": 183 }, "propConfig": { "props.source": { "binding": { "config": { "expression": "{this.custom.Number}+\": \" + tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Description/Description_\"+{this.custom.Number})" }, "type": "expr" } } }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 } }, "type": "ia.display.markdown" }, { "custom": { "Number": 5 }, "meta": { "name": "Description5" }, "position": { "height": 25, "width": 600, "x": 148.58483695983887, "y": 213 }, "propConfig": { "props.source": { "binding": { "config": { "expression": "{this.custom.Number}+\": \" + tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Description/Description_\"+{this.custom.Number})" }, "type": "expr" } } }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 } }, "type": "ia.display.markdown" }, { "custom": { "Number": 6 }, "meta": { "name": "Description6" }, "position": { "height": 25, "width": 600, "x": 148.58483695983887, "y": 243 }, "propConfig": { "props.source": { "binding": { "config": { "expression": "{this.custom.Number}+\": \" + tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Description/Description_\"+{this.custom.Number})" }, "type": "expr" } } }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 } }, "type": "ia.display.markdown" }, { "custom": { "Number": 7 }, "meta": { "name": "Description7" }, "position": { "height": 25, "width": 600, "x": 148.58483695983887, "y": 273 }, "propConfig": { "props.source": { "binding": { "config": { "expression": "{this.custom.Number}+\": \" + tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Description/Description_\"+{this.custom.Number})" }, "type": "expr" } } }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 } }, "type": "ia.display.markdown" }, { "custom": { "Number": 8 }, "meta": { "name": "Description8" }, "position": { "height": 25, "width": 600, "x": 148.58483695983887, "y": 303 }, "propConfig": { "props.source": { "binding": { "config": { "expression": "{this.custom.Number}+\": \" + tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Description/Description_\"+{this.custom.Number})" }, "type": "expr" } } }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 } }, "type": "ia.display.markdown" }, { "custom": { "Number": 9 }, "meta": { "name": "Description9" }, "position": { "height": 25, "width": 600, "x": 148.58483695983887, "y": 333 }, "propConfig": { "props.source": { "binding": { "config": { "expression": "{this.custom.Number}+\": \" + tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Description/Description_\"+{this.custom.Number})" }, "type": "expr" } } }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 } }, "type": "ia.display.markdown" }, { "custom": { "Number": 10 }, "meta": { "name": "Description10" }, "position": { "height": 25, "width": 600, "x": 148.58483695983887, "y": 363 }, "propConfig": { "props.source": { "binding": { "config": { "expression": "{this.custom.Number}+\": \" + tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Description/Description_\"+{this.custom.Number})" }, "type": "expr" } } }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 } }, "type": "ia.display.markdown" }, { "custom": { "Number": 11 }, "meta": { "name": "Description11" }, "position": { "height": 25, "width": 600, "x": 148.58483695983887, "y": 393 }, "propConfig": { "props.source": { "binding": { "config": { "expression": "{this.custom.Number}+\": \" + tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Description/Description_\"+{this.custom.Number})" }, "type": "expr" } } }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 } }, "type": "ia.display.markdown" }, { "custom": { "Number": 12 }, "meta": { "name": "Description12" }, "position": { "height": 25, "width": 600, "x": 148.58483695983887, "y": 423 }, "propConfig": { "props.source": { "binding": { "config": { "expression": "{this.custom.Number}+\": \" + tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Description/Description_\"+{this.custom.Number})" }, "type": "expr" } } }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 } }, "type": "ia.display.markdown" }, { "custom": { "Number": 13 }, "meta": { "name": "Description13" }, "position": { "height": 25, "width": 600, "x": 148.58483695983887, "y": 453 }, "propConfig": { "props.source": { "binding": { "config": { "expression": "{this.custom.Number}+\": \" + tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Description/Description_\"+{this.custom.Number})" }, "type": "expr" } } }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 } }, "type": "ia.display.markdown" }, { "custom": { "Number": 14 }, "meta": { "name": "Description14" }, "position": { "height": 25, "width": 600, "x": 148.58483695983887, "y": 483 }, "propConfig": { "props.source": { "binding": { "config": { "expression": "{this.custom.Number}+\": \" + tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Description/Description_\"+{this.custom.Number})" }, "type": "expr" } } }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 } }, "type": "ia.display.markdown" }, { "custom": { "Number": 15 }, "meta": { "name": "Description15" }, "position": { "height": 25, "width": 600, "x": 148.58483695983887, "y": 513 }, "propConfig": { "props.source": { "binding": { "config": { "expression": "{this.custom.Number}+\": \" + tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Description/Description_\"+{this.custom.Number})" }, "type": "expr" } } }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 } }, "type": "ia.display.markdown" } ], "meta": { "name": "IO", "visible": false }, "position": { "height": 554, "width": "100%", "y": 18 }, "type": "ia.container.coord" }, { "children": [ { "meta": { "name": "FaultReset" }, "position": { "height": 319, "width": 187, "x": 247, "y": 60 }, "props": { "alignVertical": "top", "style": { "borderBottomLeftRadius": 5, "borderBottomRightRadius": 5, "borderStyle": "solid", "borderTopLeftRadius": 5, "borderTopRightRadius": 5, "fontFamily": "Arial", "fontSize": 16, "fontWeight": "bold", "textAlign": "center" }, "text": "Faults Reset CP" }, "type": "ia.display.label" }, { "meta": { "name": "ChangeMode" }, "position": { "height": 177, "width": 187, "x": 464, "y": 60 }, "props": { "alignVertical": "top", "style": { "borderBottomLeftRadius": 5, "borderBottomRightRadius": 5, "borderStyle": "solid", "borderTopLeftRadius": 5, "borderTopRightRadius": 5, "fontFamily": "Arial", "fontSize": 16, "fontWeight": "bold", "textAlign": "center" }, "text": "Change Modes CP" }, "type": "ia.display.label" }, { "meta": { "name": "BeaconHornTest" }, "position": { "height": 177, "width": 187, "x": 681, "y": 60 }, "props": { "alignVertical": "top", "style": { "borderBottomLeftRadius": 5, "borderBottomRightRadius": 5, "borderStyle": "solid", "borderTopLeftRadius": 5, "borderTopRightRadius": 5, "fontFamily": "Arial", "fontSize": 16, "fontWeight": "bold", "textAlign": "center" }, "text": "Beacon/Horn Test CP" }, "type": "ia.display.label" }, { "meta": { "name": "Start/Stop" }, "position": { "height": 177, "width": 187, "x": 30, "y": 60 }, "props": { "alignVertical": "top", "style": { "borderBottomLeftRadius": 5, "borderBottomRightRadius": 5, "borderStyle": "solid", "borderTopLeftRadius": 5, "borderTopRightRadius": 5, "fontFamily": "Arial", "fontSize": 16, "fontWeight": "bold", "textAlign": "center" }, "text": "Start/Stop CP" }, "type": "ia.display.label" }, { "meta": { "name": "Device" }, "position": { "height": 30, "width": "100%" }, "propConfig": { "props.source": { "binding": { "config": { "expression": "\"CP: \"+ replace({view.params.tagPath}, \"_\", \"-\")" }, "type": "expr" } } }, "props": { "style": { "fontFamily": "Arial", "fontSize": 24, "textAlign": "center" } }, "type": "ia.display.markdown" }, { "custom": { "Text": { "OFF": "Start", "ON": "Started" } }, "events": { "component": { "onActionPerformed": { "config": { "script": "\tself.custom.PB \u003d 1" }, "scope": "G", "type": "script" } } }, "meta": { "name": "Start" }, "position": { "height": 60, "width": 155, "x": 46, "y": 94.5 }, "propConfig": { "custom.LT": { "binding": { "config": { "fallbackDelay": 1, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "FolderPath": "{view.params.FolderPath}", "tagPath": "{view.params.tagPath}" }, "tagPath": "[{Browser}]{FolderPath}{tagPath}/HMI/Start_LT" }, "type": "tag" } }, "custom.PB": { "binding": { "config": { "bidirectional": true, "fallbackDelay": 1, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "FolderPath": "{view.params.FolderPath}", "tagPath": "{view.params.tagPath}" }, "tagPath": "[{Browser}]{FolderPath}{tagPath}/HMI/Start_PB" }, "type": "tag" } }, "props.style.classes": { "binding": { "config": { "expression": "if (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Start_LT\"), \"Buttons/Green\", \"Buttons/Grey\")" }, "type": "expr" } }, "props.text": { "binding": { "config": { "expression": "if ({this.custom.LT}, {this.custom.Text.ON}, {this.custom.Text.OFF})" }, "type": "expr" } } }, "props": { "style": {}, "textStyle": { "fontFamily": "Arial", "fontSize": 16 } }, "type": "ia.input.button" }, { "custom": { "Text": { "OFF": "Stop", "ON": "Stopped" } }, "events": { "component": { "onActionPerformed": { "config": { "script": "\tself.custom.PB \u003d 1" }, "scope": "G", "type": "script" } } }, "meta": { "name": "Stop" }, "position": { "height": 60, "width": 155, "x": 46, "y": 164 }, "propConfig": { "custom.LT": { "binding": { "config": { "fallbackDelay": 1, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "FolderPath": "{view.params.FolderPath}", "tagPath": "{view.params.tagPath}" }, "tagPath": "[{Browser}]{FolderPath}{tagPath}/HMI/Stop_LT" }, "type": "tag" } }, "custom.PB": { "binding": { "config": { "bidirectional": true, "fallbackDelay": 1, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "FolderPath": "{view.params.FolderPath}", "tagPath": "{view.params.tagPath}" }, "tagPath": "[{Browser}]{FolderPath}{tagPath}/HMI/Stop_PB" }, "type": "tag" } }, "props.style.classes": { "binding": { "config": { "expression": "if (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Stop_LT\"), \"Buttons/Red\", \"Buttons/Grey\")" }, "type": "expr" } }, "props.text": { "binding": { "config": { "expression": "if ({this.custom.LT}, {this.custom.Text.ON}, {this.custom.Text.OFF})" }, "type": "expr" } } }, "props": { "style": {}, "textStyle": { "fontFamily": "Arial", "fontSize": 16 } }, "type": "ia.input.button" }, { "custom": { "Text": { "OFF": "Contingency Mode", "ON": "Contingency Mode" } }, "events": { "component": { "onActionPerformed": { "config": { "script": "\tself.custom.PB \u003d not self.custom.PB" }, "scope": "G", "type": "script" } } }, "meta": { "name": "Contingency" }, "position": { "height": 60, "width": 155, "x": 480, "y": 94.5 }, "propConfig": { "custom.LT": { "binding": { "config": { "fallbackDelay": 1, "mode": "direct", "tagPath": "[Amazon]CP/Global/HMI/Flow_Stop_Contingency_LT" }, "type": "tag" } }, "custom.PB": { "binding": { "config": { "bidirectional": true, "fallbackDelay": 1, "mode": "direct", "tagPath": "[Amazon]CP/Global/HMI/Flow_Stop_Contingency_PB" }, "type": "tag" } }, "props.style.classes": { "binding": { "config": { "expression": "if ({[Amazon]CP/Global/HMI/Flow_Stop_Contingency_LT}, \"Buttons/Blue\", \"Buttons/DarkBlue\")" }, "type": "expr" } }, "props.text": { "binding": { "config": { "expression": "if ({this.custom.LT}, {this.custom.Text.ON}, {this.custom.Text.OFF})" }, "type": "expr" } } }, "props": { "style": {}, "textStyle": { "fontFamily": "Arial", "fontSize": 16 } }, "type": "ia.input.button" }, { "custom": { "Text": { "OFF": "VFD Fault Reset", "ON": "VFD Fault Reset" } }, "events": { "component": { "onActionPerformed": { "config": { "script": "\tself.custom.PB \u003d \"true\"" }, "scope": "G", "type": "script" } } }, "meta": { "name": "VFDFault" }, "position": { "height": 60, "width": 155, "x": 263, "y": 94.5 }, "propConfig": { "custom.LT": { "binding": { "config": { "fallbackDelay": 1, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "FolderPath": "{view.params.FolderPath}", "tagPath": "{view.params.tagPath}" }, "tagPath": "[{Browser}]{FolderPath}{tagPath}/HMI/Motor_Fault_Reset_PB" }, "type": "tag" } }, "custom.PB": { "binding": { "config": { "bidirectional": true, "fallbackDelay": 1, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "FolderPath": "{view.params.FolderPath}", "tagPath": "{view.params.tagPath}" }, "tagPath": "[{Browser}]{FolderPath}{tagPath}/HMI/Motor_Fault_Reset_PB" }, "type": "tag" } }, "props.style.classes": { "binding": { "config": { "expression": "if (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Motor_Fault_Reset_PB\"), \"Buttons/Blue\", \"Buttons/DarkBlue\")" }, "type": "expr" } }, "props.text": { "binding": { "config": { "expression": "if ({this.custom.LT}, {this.custom.Text.ON}, {this.custom.Text.OFF})" }, "type": "expr" } } }, "props": { "style": {}, "textStyle": { "fontFamily": "Arial", "fontSize": 16 } }, "type": "ia.input.button" }, { "custom": { "Text": { "OFF": "Lamp Test", "ON": "Lamp Test" } }, "events": { "component": { "onActionPerformed": { "config": { "script": "\tself.custom.PB \u003d 1" }, "scope": "G", "type": "script" } } }, "meta": { "name": "LampTest" }, "position": { "height": 60, "width": 155, "x": 697, "y": 94.5 }, "propConfig": { "custom.LT": { "binding": { "config": { "fallbackDelay": 1, "mode": "direct", "tagPath": "[Amazon]CP/Global/HMI/Lamp_Test_LT" }, "type": "tag" } }, "custom.PB": { "binding": { "config": { "bidirectional": true, "fallbackDelay": 1, "mode": "direct", "tagPath": "[Amazon]CP/Global/HMI/Lamp_Test_PB" }, "type": "tag" } }, "props.style.classes": { "binding": { "config": { "expression": "if ({[Amazon]CP/Global/HMI/Lamp_Test_LT}, \"Buttons/Blue\", \"Buttons/DarkBlue\")" }, "type": "expr" } }, "props.text": { "binding": { "config": { "expression": "if ({this.custom.LT}, {this.custom.Text.ON}, {this.custom.Text.OFF})" }, "type": "expr" } } }, "props": { "style": {}, "textStyle": { "fontFamily": "Arial", "fontSize": 16 } }, "type": "ia.input.button" }, { "custom": { "Text": { "OFF": "Comm Fault Reset", "ON": "Comm Fault Reset" } }, "events": { "component": { "onActionPerformed": { "config": { "script": "\tself.custom.PB \u003d \"true\"" }, "scope": "G", "type": "script" } } }, "meta": { "name": "CommFault" }, "position": { "height": 60, "width": 155, "x": 263, "y": 164 }, "propConfig": { "custom.LT": { "binding": { "config": { "fallbackDelay": 1, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "FolderPath": "{view.params.FolderPath}", "tagPath": "{view.params.tagPath}" }, "tagPath": "[{Browser}]{FolderPath}{tagPath}/HMI/Comm_Fault_Reset_PB" }, "type": "tag" } }, "custom.PB": { "binding": { "config": { "bidirectional": true, "fallbackDelay": 1, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "FolderPath": "{view.params.FolderPath}", "tagPath": "{view.params.tagPath}" }, "tagPath": "[{Browser}]{FolderPath}{tagPath}/HMI/Comm_Fault_Reset_PB" }, "type": "tag" } }, "props.style.classes": { "binding": { "config": { "expression": "if (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Comm_Fault_Reset_PB\"), \"Buttons/Blue\", \"Buttons/DarkBlue\")" }, "type": "expr" } }, "props.text": { "binding": { "config": { "expression": "if ({this.custom.LT}, {this.custom.Text.ON}, {this.custom.Text.OFF})" }, "type": "expr" } } }, "props": { "style": {}, "textStyle": { "fontFamily": "Arial", "fontSize": 16 } }, "type": "ia.input.button" }, { "meta": { "name": "Label_0" }, "position": { "height": 30, "width": 450, "x": 44, "y": 387 }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 }, "text": "Number of jams before photoeye must be unblocked(Quantity):" }, "type": "ia.display.label" }, { "meta": { "name": "NumericEntryField" }, "position": { "height": 30, "width": 155, "x": 697, "y": 387 }, "propConfig": { "custom.Tag_Value": { "binding": { "config": { "bidirectional": true, "fallbackDelay": 2.5, "mode": "direct", "tagPath": "[Amazon]CP/Global/HMI/Jam_Count_Num" }, "type": "tag" } }, "props.value": { "binding": { "config": { "bidirectional": true, "path": "this.custom.Tag_Value" }, "type": "property" } } }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 } }, "type": "ia.input.numeric-entry-field" }, { "custom": { "All_zone": [ { "label": "Zone-1", "value": "Zone_1" }, { "label": "Zone-2", "value": "Zone_2" }, { "label": "Zone-3", "value": "Zone_3" }, { "label": "Zone-4", "value": "Zone_4" }, { "label": "Zone-5", "value": "Zone_5" }, { "label": "Zone-6", "value": "Zone_6" }, { "label": "Zone-7", "value": "Zone_7" }, { "label": "Zone-8", "value": "Zone_8" }, { "label": "Zone-9", "value": "Zone_9" }, { "label": "Zone-10", "value": "Zone_10" }, { "label": "Zone-11", "value": "Zone_11" }, { "label": "Zone-12", "value": "Zone_12" }, { "label": "Zone-12A", "value": "Zone_12A" }, { "label": "Zone-13", "value": "Zone_13" }, { "label": "Zone-13A", "value": "Zone_13A" }, { "label": "Zone-14", "value": "Zone_14" }, { "label": "Zone-14A", "value": "Zone_14A" }, { "label": "Zone-15", "value": "Zone_15" }, { "label": "Zone-16", "value": "Zone_16" }, { "label": "Zone-17", "value": "Zone_17" }, { "label": "Zone-18", "value": "Zone_18" }, { "label": "Zone-19", "value": "Zone_19" }, { "label": "Zone-19A", "value": "Zone_19A" }, { "label": "Zone-20", "value": "Zone_20" }, { "label": "Zone-21", "value": "Zone_21" } ], "CP1_zone": [ { "label": "Zone-13A", "value": "Zone_13A" }, { "label": "Zone-14", "value": "Zone_14" }, { "label": "Zone-14A", "value": "Zone_14A" }, { "label": "Zone-15", "value": "Zone_15" }, { "label": "Zone-16", "value": "Zone_16" }, { "label": "Zone-17", "value": "Zone_17" }, { "label": "Zone-18", "value": "Zone_18" }, { "label": "Zone-19", "value": "Zone_19" }, { "label": "Zone-19A", "value": "Zone_19A" }, { "label": "Zone-20", "value": "Zone_20" }, { "label": "Zone-21", "value": "Zone_21" } ], "CP2_zone": [ { "label": "Zone-1", "value": "Zone_1" }, { "label": "Zone-2", "value": "Zone_2" }, { "label": "Zone-3", "value": "Zone_3" }, { "label": "Zone-4", "value": "Zone_4" }, { "label": "Zone-5", "value": "Zone_5" }, { "label": "Zone-6", "value": "Zone_6" }, { "label": "Zone-7", "value": "Zone_7" }, { "label": "Zone-8", "value": "Zone_8" }, { "label": "Zone-9", "value": "Zone_9" }, { "label": "Zone-10", "value": "Zone_10" }, { "label": "Zone-11", "value": "Zone_11" }, { "label": "Zone-12", "value": "Zone_12" }, { "label": "Zone-12A", "value": "Zone_12A" }, { "label": "Zone-13", "value": "Zone_13" } ] }, "meta": { "name": "Zone" }, "position": { "height": 30, "rotate": { "anchor": "50% 39%" }, "width": 155, "x": 697, "y": 421.39 }, "propConfig": { "props.options": { "binding": { "config": { "path": "this.custom.All_zone" }, "type": "property" } }, "props.value": { "binding": { "config": { "expression": "{this.props.options[0].value}" }, "type": "expr" } } }, "props": { "dropdownOptionStyle": { "fontFamily": "Arial", "fontSize": 16 } }, "type": "ia.input.dropdown" }, { "children": [ { "meta": { "name": "ChangeMode" }, "position": { "height": 200, "width": 187, "x": 434, "y": 1 }, "propConfig": { "props.text": { "binding": { "config": { "expression": "\"Change Modes \"+replace({.../Zone.props.value}, \"_\", \"-\")" }, "type": "expr" } } }, "props": { "alignVertical": "top", "style": { "borderBottomLeftRadius": 5, "borderBottomRightRadius": 5, "borderStyle": "solid", "borderTopLeftRadius": 5, "borderTopRightRadius": 5, "fontFamily": "Arial", "fontSize": 16, "fontWeight": "bold", "textAlign": "center" } }, "type": "ia.display.label" }, { "custom": { "Text": { "OFF": "Maint Mode", "ON": "Maint Mode" } }, "events": { "component": { "onActionPerformed": { "config": { "script": "\tself.custom.PB \u003d not self.custom.PB" }, "scope": "G", "type": "script" } } }, "meta": { "name": "MaintMode" }, "position": { "height": 60, "width": 155, "x": 450, "y": 50.5 }, "propConfig": { "custom.LT": { "binding": { "config": { "fallbackDelay": 1, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "tagPath": "{.../Zone.props.value}" }, "tagPath": "[{Browser}]Zone/{tagPath}/HMI/Maint_Mode_LT" }, "type": "tag" } }, "custom.PB": { "binding": { "config": { "bidirectional": true, "fallbackDelay": 1, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "tagPath": "{.../Zone.props.value}" }, "tagPath": "[{Browser}]Zone/{tagPath}/HMI/Maint_Mode_PB" }, "type": "tag" } }, "props.style.classes": { "binding": { "config": { "expression": "if (tag(\"[\"+{view.params.Browser}+\"]\"+\"Zone/\"+{.../Zone.props.value}+\"/HMI/Maint_Mode_LT\"), \"Buttons/Grey\", \"Buttons/DarkGrey\")" }, "type": "expr" } }, "props.text": { "binding": { "config": { "expression": "if ({this.custom.LT}, {this.custom.Text.ON}, {this.custom.Text.OFF})" }, "type": "expr" } } }, "props": { "style": {}, "textStyle": { "fontFamily": "Arial", "fontSize": 16 } }, "type": "ia.input.button" }, { "meta": { "name": "FaultReset" }, "position": { "height": 200, "width": 187, "x": 217, "y": 1 }, "propConfig": { "props.text": { "binding": { "config": { "expression": "\"Faults Reset \"+replace({.../Zone.props.value}, \"_\", \"-\")" }, "type": "expr" } } }, "props": { "alignVertical": "top", "style": { "borderBottomLeftRadius": 5, "borderBottomRightRadius": 5, "borderStyle": "solid", "borderTopLeftRadius": 5, "borderTopRightRadius": 5, "fontFamily": "Arial", "fontSize": 16, "fontWeight": "bold", "textAlign": "center" } }, "type": "ia.display.label" }, { "custom": { "Text": { "OFF": "VFD Fault Reset", "ON": "VFD Fault Reset" } }, "events": { "component": { "onActionPerformed": { "config": { "script": "\tself.custom.PB \u003d \"true\"" }, "scope": "G", "type": "script" } } }, "meta": { "name": "VFDFault" }, "position": { "height": 60, "width": 155, "x": 233, "y": 50.5 }, "propConfig": { "custom.LT": { "binding": { "config": { "fallbackDelay": 1, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "tagPath": "{.../Zone.props.value}" }, "tagPath": "[{Browser}]Zone/{tagPath}/HMI/Motor_Fault_Reset_PB" }, "type": "tag" } }, "custom.PB": { "binding": { "config": { "bidirectional": true, "fallbackDelay": 1, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "tagPath": "{.../Zone.props.value}" }, "tagPath": "[{Browser}]Zone/{tagPath}/HMI/Motor_Fault_Reset_PB" }, "type": "tag" } }, "props.style.classes": { "binding": { "config": { "expression": "if (tag(\"[\"+{view.params.Browser}+\"]\"+\"Zone/\"+{.../Zone.props.value}+\"/HMI/Motor_Fault_Reset_PB\"), \"Buttons/Blue\", \"Buttons/DarkBlue\")" }, "type": "expr" } }, "props.text": { "binding": { "config": { "expression": "if ({this.custom.LT}, {this.custom.Text.ON}, {this.custom.Text.OFF})" }, "type": "expr" } } }, "props": { "style": {}, "textStyle": { "fontFamily": "Arial", "fontSize": 16 } }, "type": "ia.input.button" }, { "meta": { "name": "Start_Stop" }, "position": { "height": 200, "width": 187, "y": 1 }, "propConfig": { "props.text": { "binding": { "config": { "expression": "\"Start/Stop \"+replace({.../Zone.props.value}, \"_\", \"-\")" }, "type": "expr" } } }, "props": { "alignVertical": "top", "style": { "borderBottomLeftRadius": 5, "borderBottomRightRadius": 5, "borderStyle": "solid", "borderTopLeftRadius": 5, "borderTopRightRadius": 5, "fontFamily": "Arial", "fontSize": 16, "fontWeight": "bold", "textAlign": "center" } }, "type": "ia.display.label" }, { "custom": { "Text": { "OFF": "Start", "ON": "Started" } }, "events": { "component": { "onActionPerformed": { "config": { "script": "\tself.custom.PB \u003d 1" }, "scope": "G", "type": "script" } } }, "meta": { "name": "Start" }, "position": { "height": 60, "width": 155, "x": 16, "y": 50.5 }, "propConfig": { "custom.LT": { "binding": { "config": { "fallbackDelay": 1, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "tagPath": "{.../Zone.props.value}" }, "tagPath": "[{Browser}]Zone/{tagPath}/HMI/Start_LT" }, "type": "tag" } }, "custom.PB": { "binding": { "config": { "bidirectional": true, "fallbackDelay": 1, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "tagPath": "{.../Zone.props.value}" }, "tagPath": "[{Browser}]Zone/{tagPath}/HMI/Start_PB" }, "type": "tag" } }, "props.style.classes": { "binding": { "config": { "expression": "if (tag(\"[\"+{view.params.Browser}+\"]\"+\"Zone/\"+{.../Zone.props.value}+\"/HMI/Start_LT\"), \"Buttons/Green\", \"Buttons/Grey\")" }, "type": "expr" } }, "props.text": { "binding": { "config": { "expression": "if ({this.custom.LT}, {this.custom.Text.ON}, {this.custom.Text.OFF})" }, "type": "expr" } } }, "props": { "style": {}, "textStyle": { "fontFamily": "Arial", "fontSize": 16 } }, "type": "ia.input.button" }, { "custom": { "Text": { "OFF": "Stop", "ON": "Stopped" } }, "events": { "component": { "onActionPerformed": { "config": { "script": "\tself.custom.PB \u003d 1" }, "scope": "G", "type": "script" } } }, "meta": { "name": "Stop" }, "position": { "height": 60, "width": 155, "x": 16, "y": 120 }, "propConfig": { "custom.LT": { "binding": { "config": { "bidirectional": true, "fallbackDelay": 1, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "tagPath": "{.../Zone.props.value}" }, "tagPath": "[{Browser}]Zone/{tagPath}/HMI/Stop_PB" }, "type": "tag" } }, "custom.PB": { "binding": { "config": { "bidirectional": true, "fallbackDelay": 1, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "tagPath": "{.../Zone.props.value}" }, "tagPath": "[{Browser}]Zone/{tagPath}/HMI/Stop_PB" }, "type": "tag" } }, "props.style.classes": { "binding": { "config": { "expression": "if (tag(\"[\"+{view.params.Browser}+\"]\"+\"Zone/\"+{.../Zone.props.value}+\"/HMI/Stop_LT\"), \"Buttons/Red\", \"Buttons/Grey\")" }, "type": "expr" } }, "props.text": { "binding": { "config": { "expression": "if ({this.custom.LT}, {this.custom.Text.ON}, {this.custom.Text.OFF})" }, "type": "expr" } } }, "props": { "style": {}, "textStyle": { "fontFamily": "Arial", "fontSize": 16 } }, "type": "ia.input.button" }, { "custom": { "Text": { "OFF": "Setup Speed", "ON": "Setup Speed" } }, "events": { "component": { "onActionPerformed": { "config": { "script": "\tself.custom.PB \u003d not self.custom.PB" }, "scope": "G", "type": "script" } } }, "meta": { "name": "SetupSpeed" }, "position": { "height": 60, "width": 155, "x": 450, "y": 119.5 }, "propConfig": { "custom.LT": { "binding": { "config": { "fallbackDelay": 1, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "tagPath": "{.../Zone.props.value}" }, "tagPath": "[{Browser}]Zone/{tagPath}/HMI/Setup_Speed_LT" }, "type": "tag" } }, "custom.PB": { "binding": { "config": { "bidirectional": true, "fallbackDelay": 1, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "tagPath": "{.../Zone.props.value}" }, "tagPath": "[{Browser}]Zone/{tagPath}/HMI/Setup_Speed_PB" }, "type": "tag" } }, "props.style.classes": { "binding": { "config": { "expression": "if (tag(\"[\"+{view.params.Browser}+\"]\"+\"Zone/\"+{.../Zone.props.value}+\"/HMI/Setup_Speed_LT\"), \"Buttons/Blue\", \"Buttons/DarkBlue\")" }, "type": "expr" } }, "props.text": { "binding": { "config": { "expression": "if ({this.custom.LT}, {this.custom.Text.ON}, {this.custom.Text.OFF})" }, "type": "expr" } } }, "props": { "style": {}, "textStyle": { "fontFamily": "Arial", "fontSize": 16 } }, "type": "ia.input.button" }, { "custom": { "Text": { "OFF": "Jam Fault Reset", "ON": "Jam Fault Reset" } }, "events": { "component": { "onActionPerformed": { "config": { "script": "\tself.custom.PB \u003d \"true\"" }, "scope": "G", "type": "script" } } }, "meta": { "name": "JamFault" }, "position": { "height": 60, "width": 155, "x": 233, "y": 120 }, "propConfig": { "custom.LT": { "binding": { "config": { "fallbackDelay": 1, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "tagPath": "{.../Zone.props.value}" }, "tagPath": "[{Browser}]Zone/{tagPath}/HMI/Jam_Fault_Reset_PB" }, "type": "tag" } }, "custom.PB": { "binding": { "config": { "bidirectional": true, "fallbackDelay": 1, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "tagPath": "{.../Zone.props.value}" }, "tagPath": "[{Browser}]Zone/{tagPath}/HMI/Jam_Fault_Reset_PB" }, "type": "tag" } }, "props.style.classes": { "binding": { "config": { "expression": "if (tag(\"[\"+{view.params.Browser}+\"]\"+\"Zone/\"+{.../Zone.props.value}+\"/HMI/Jam_Fault_Reset_PB\"), \"Buttons/Yellow\", \"Buttons/Yellow\")" }, "type": "expr" } }, "props.text": { "binding": { "config": { "expression": "if ({this.custom.LT}, {this.custom.Text.ON}, {this.custom.Text.OFF})" }, "type": "expr" } } }, "props": { "style": {}, "textStyle": { "fontFamily": "Arial", "fontSize": 16 } }, "type": "ia.input.button" } ], "meta": { "name": "CoordinateContainer" }, "position": { "height": 210, "width": 843, "x": 30, "y": 463 }, "type": "ia.container.coord" }, { "meta": { "name": "Label_1" }, "position": { "height": 30, "width": 450, "x": 46, "y": 427 }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 }, "text": "To configure E-Stop zone, you need to select a zone:" }, "type": "ia.display.label" }, { "custom": { "Text": { "OFF": "Jam Fault Reset", "ON": "Jam Fault Reset" } }, "events": { "component": { "onActionPerformed": { "config": { "script": "\tself.custom.PB \u003d \"true\"" }, "scope": "G", "type": "script" } } }, "meta": { "name": "JamFault" }, "position": { "height": 60, "width": 155, "x": 263, "y": 234 }, "propConfig": { "custom.LT": { "binding": { "config": { "fallbackDelay": 1, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "FolderPath": "{view.params.FolderPath}", "tagPath": "{view.params.tagPath}" }, "tagPath": "[{Browser}]{FolderPath}{tagPath}/HMI/Jam_Fault_Reset_PB" }, "type": "tag" } }, "custom.PB": { "binding": { "config": { "bidirectional": true, "fallbackDelay": 1, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "FolderPath": "{view.params.FolderPath}", "tagPath": "{view.params.tagPath}" }, "tagPath": "[{Browser}]{FolderPath}{tagPath}/HMI/Jam_Fault_Reset_PB" }, "type": "tag" } }, "props.style.classes": { "binding": { "config": { "expression": "if (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Jam_Fault_Reset_PB\"), \"Buttons/Yellow\", \"Buttons/Yellow\")" }, "type": "expr" } }, "props.text": { "binding": { "config": { "expression": "if ({this.custom.LT}, {this.custom.Text.ON}, {this.custom.Text.OFF})" }, "type": "expr" } } }, "props": { "style": {}, "textStyle": { "fontFamily": "Arial", "fontSize": 16 } }, "type": "ia.input.button" }, { "custom": { "Text": { "OFF": "Low Air Pressure Reset", "ON": "Low Air Pressure Reset" } }, "events": { "component": { "onActionPerformed": { "config": { "script": "\tself.custom.PB \u003d \"true\"" }, "scope": "G", "type": "script" } } }, "meta": { "name": "LowAirFaultResetPB" }, "position": { "height": 60, "width": 155, "x": 263, "y": 303.5 }, "propConfig": { "custom.LT": { "binding": { "config": { "fallbackDelay": 1, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "FolderPath": "{view.params.FolderPath}", "tagPath": "{view.params.tagPath}" }, "tagPath": "[{Browser}]{FolderPath}{tagPath}/HMI/Low_Air_Fault_Reset_PB" }, "type": "tag" } }, "custom.PB": { "binding": { "config": { "bidirectional": true, "fallbackDelay": 1, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "FolderPath": "{view.params.FolderPath}", "tagPath": "{view.params.tagPath}" }, "tagPath": "[{Browser}]{FolderPath}{tagPath}/HMI/Low_Air_Fault_Reset_PB" }, "type": "tag" } }, "props.style.classes": { "binding": { "config": { "expression": "if (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Low_Air_Fault_Reset_PB\"), \"Buttons/Blue\", \"Buttons/DarkBlue\")" }, "type": "expr" } }, "props.text": { "binding": { "config": { "expression": "if ({this.custom.LT}, {this.custom.Text.ON}, {this.custom.Text.OFF})" }, "type": "expr" } } }, "props": { "style": {}, "textStyle": { "fontFamily": "Arial", "fontSize": 16 } }, "type": "ia.input.button" } ], "meta": { "name": "CP" }, "position": { "height": 740, "width": "100%", "y": 18 }, "propConfig": { "meta.visible": { "binding": { "config": { "expression": "if ({view.params.DeviceType} \u003d \"CP\", true, false \r\n)" }, "type": "expr" } } }, "type": "ia.container.coord" }, { "children": [ { "meta": { "name": "border for FaultReset" }, "position": { "height": 177, "width": 187, "x": 247, "y": 60 }, "props": { "alignVertical": "top", "style": { "borderBottomLeftRadius": 5, "borderBottomRightRadius": 5, "borderStyle": "solid", "borderTopLeftRadius": 5, "borderTopRightRadius": 5, "fontFamily": "Arial", "fontSize": 16, "fontWeight": "bold", "textAlign": "center" }, "text": "Maint/Jog" }, "type": "ia.display.label" }, { "meta": { "name": "Start/Stop" }, "position": { "height": 177, "width": 187, "x": 30, "y": 60 }, "props": { "alignVertical": "top", "style": { "borderBottomLeftRadius": 5, "borderBottomRightRadius": 5, "borderStyle": "solid", "borderTopLeftRadius": 5, "borderTopRightRadius": 5, "fontFamily": "Arial", "fontSize": 16, "fontWeight": "bold", "textAlign": "center" }, "text": "Start/Stop Conveyor" }, "type": "ia.display.label" }, { "meta": { "name": "Device" }, "position": { "height": 30, "width": "100%" }, "propConfig": { "props.source": { "binding": { "config": { "expression": "\"Conveyor: \"+ replace({view.params.tagPath}, \"_\", \"-\")" }, "type": "expr" } } }, "props": { "style": { "fontFamily": "Arial", "fontSize": 24, "textAlign": "center" } }, "type": "ia.display.markdown" }, { "custom": { "Text": { "OFF": "Start", "ON": "Started" } }, "events": { "dom": { "onMouseDown": { "config": { "script": "\tself.custom.PB \u003d True" }, "scope": "G", "type": "script" } } }, "meta": { "name": "Start", "visible": 1 }, "position": { "height": 60, "width": 155, "x": 46, "y": 94.5 }, "propConfig": { "custom.LT": { "binding": { "config": { "fallbackDelay": 1, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "FolderPath": "{view.params.FolderPath}", "tagPath": "{view.params.tagPath}" }, "tagPath": "[{Browser}]{FolderPath}{tagPath}/HMI/Maint_Start_LT" }, "type": "tag" } }, "custom.PB": { "binding": { "config": { "bidirectional": true, "fallbackDelay": 1, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "FolderPath": "{view.params.FolderPath}", "tagPath": "{view.params.tagPath}" }, "tagPath": "[{Browser}]{FolderPath}{tagPath}/HMI/Maint_Start_PB" }, "type": "tag" } }, "meta.visible": { "binding": { "config": { "expression": "if (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/MaintMode\"), 1, 0)" }, "enabled": false, "type": "expr" } }, "props.enabled": { "binding": { "config": { "expression": "if (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/MaintMode\"),1,0)" }, "type": "expr" } }, "props.style.classes": { "binding": { "config": { "expression": "if (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/MaintMode\"),\r\nif (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Maint_Start_LT\"), \"Buttons/Green\", \"Buttons/Grey\"),\r\n\"Buttons/DarkGrey\")" }, "type": "expr" } }, "props.text": { "binding": { "config": { "expression": "if ({this.custom.LT}, {this.custom.Text.ON}, {this.custom.Text.OFF})" }, "type": "expr" } } }, "props": { "style": {}, "textStyle": { "fontFamily": "Arial", "fontSize": 16 } }, "type": "ia.input.button" }, { "custom": { "Text": { "OFF": "Stop", "ON": "Stopped" } }, "events": { "dom": { "onMouseDown": { "config": { "script": "\tself.custom.PB \u003d True" }, "scope": "G", "type": "script" } } }, "meta": { "name": "Stop" }, "position": { "height": 60, "width": 155, "x": 46, "y": 164 }, "propConfig": { "custom.LT": { "binding": { "config": { "fallbackDelay": 1, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "FolderPath": "{view.params.FolderPath}", "tagPath": "{view.params.tagPath}" }, "tagPath": "[{Browser}]{FolderPath}{tagPath}/HMI/Maint_Stop_LT" }, "type": "tag" } }, "custom.PB": { "binding": { "config": { "bidirectional": true, "fallbackDelay": 1, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "FolderPath": "{view.params.FolderPath}", "tagPath": "{view.params.tagPath}" }, "tagPath": "[{Browser}]{FolderPath}{tagPath}/HMI/Maint_Stop_PB" }, "type": "tag" } }, "props.enabled": { "binding": { "config": { "expression": "if (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/MaintMode\"),1,0)" }, "type": "expr" } }, "props.style.classes": { "binding": { "config": { "expression": "if (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/MaintMode\"),\r\nif (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Maint_Stop_LT\"), \"Buttons/Green\", \"Buttons/Grey\"),\r\n\"Buttons/DarkGrey\")" }, "type": "expr" } }, "props.text": { "binding": { "config": { "expression": "if ({this.custom.LT}, {this.custom.Text.ON}, {this.custom.Text.OFF})" }, "type": "expr" } } }, "props": { "style": {}, "textStyle": { "fontFamily": "Arial", "fontSize": 16 } }, "type": "ia.input.button" }, { "custom": { "Text": { "OFF": "Jog", "ON": "Jogged" } }, "events": { "dom": { "onMouseDown": { "config": { "script": "\tself.custom.PB \u003d True" }, "scope": "G", "type": "script" }, "onMouseLeave": { "config": { "script": "\tself.custom.PB \u003d False" }, "scope": "G", "type": "script" }, "onMouseUp": { "config": { "script": "\tself.custom.PB \u003d False" }, "scope": "G", "type": "script" } } }, "meta": { "name": "Jog" }, "position": { "height": 60, "width": 155, "x": 263, "y": 164 }, "propConfig": { "custom.LT": { "binding": { "config": { "fallbackDelay": 1, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "FolderPath": "{view.params.FolderPath}", "tagPath": "{view.params.tagPath}" }, "tagPath": "[{Browser}]{FolderPath}{tagPath}/HMI/Maint_Jog_PB" }, "type": "tag" } }, "custom.PB": { "binding": { "config": { "bidirectional": true, "fallbackDelay": 1, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "FolderPath": "{view.params.FolderPath}", "tagPath": "{view.params.tagPath}" }, "tagPath": "[{Browser}]{FolderPath}{tagPath}/HMI/Maint_Jog_PB" }, "type": "tag" } }, "props.enabled": { "binding": { "config": { "expression": "if (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/MaintMode\"),1,0)" }, "type": "expr" } }, "props.style.classes": { "binding": { "config": { "expression": "if (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/MaintMode\"),\r\nif (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Maint_Jog_PB\"), \"Buttons/Green\", \"Buttons/Grey\"),\r\n\"Buttons/DarkGrey\")" }, "type": "expr" } }, "props.text": { "binding": { "config": { "expression": "if ({this.custom.LT}, {this.custom.Text.ON}, {this.custom.Text.OFF})" }, "type": "expr" } } }, "props": { "style": {}, "textStyle": { "fontFamily": "Arial", "fontSize": 16 } }, "type": "ia.input.button" }, { "meta": { "name": "Border for Speed" }, "position": { "height": 177, "width": 187, "x": 464, "y": 60 }, "props": { "alignVertical": "top", "style": { "borderBottomLeftRadius": 5, "borderBottomRightRadius": 5, "borderStyle": "solid", "borderTopLeftRadius": 5, "borderTopRightRadius": 5, "fontFamily": "Arial", "fontSize": 16, "fontWeight": "bold", "textAlign": "center" }, "text": "Set Speed/Reverse" }, "type": "ia.display.label" }, { "meta": { "name": "FPMat60Hz" }, "position": { "height": 25, "width": 75, "x": 568, "y": 201 }, "propConfig": { "custom.Tag_Value": { "binding": { "config": { "bidirectional": true, "fallbackDelay": 1, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "FolderPath": "{view.params.FolderPath}", "tagPath": "{view.params.tagPath}" }, "tagPath": "[{Browser}]{FolderPath}{tagPath}/HMI/Speed_at_60Hz" }, "type": "tag" } }, "props.value": { "binding": { "config": { "bidirectional": true, "path": "this.custom.Tag_Value" }, "type": "property" } } }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 } }, "type": "ia.input.numeric-entry-field" }, { "meta": { "name": "Set FPM" }, "position": { "height": 25, "width": 75, "x": 568, "y": 173 }, "propConfig": { "custom.Tag_Value": { "binding": { "config": { "bidirectional": true, "fallbackDelay": 1, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "FolderPath": "{view.params.FolderPath}", "tagPath": "{view.params.tagPath}" }, "tagPath": "[{Browser}]{FolderPath}{tagPath}/HMI/Maint_Speed" }, "type": "tag" } }, "props.value": { "binding": { "config": { "bidirectional": true, "path": "this.custom.Tag_Value" }, "type": "property" } } }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 } }, "type": "ia.input.numeric-entry-field" }, { "meta": { "name": "Label set FPM" }, "position": { "height": 25, "width": 75, "x": 470, "y": 173.5 }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 }, "text": "Set FPM:" }, "type": "ia.display.label" }, { "meta": { "name": "Label 60HZ" }, "position": { "height": 25, "width": 99, "x": 471, "y": 201.5 }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 }, "text": "FPM at 60Hz:" }, "type": "ia.display.label" }, { "custom": { "Text": { "OFF": "Reverse", "ON": "Forward" } }, "events": { "component": { "onActionPerformed": { "config": { "script": "\tself.custom.PB \u003d not self.custom.PB" }, "scope": "G", "type": "script" } } }, "meta": { "name": "Direction" }, "position": { "height": 60, "width": 155, "x": 480, "y": 94.5 }, "propConfig": { "custom.LT": { "binding": { "config": { "fallbackDelay": 1, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "FolderPath": "{view.params.FolderPath}", "tagPath": "{view.params.tagPath}" }, "tagPath": "[{Browser}]{FolderPath}{tagPath}/HMI/Maint_Dir_LT" }, "type": "tag" } }, "custom.PB": { "binding": { "config": { "bidirectional": true, "fallbackDelay": 1, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "FolderPath": "{view.params.FolderPath}", "tagPath": "{view.params.tagPath}" }, "tagPath": "[{Browser}]{FolderPath}{tagPath}/HMI/Maint_Dir_PB" }, "type": "tag" } }, "meta.visible": { "binding": { "config": { "fallbackDelay": 1, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "FolderPath": "{view.params.FolderPath}", "tagPath": "{view.params.tagPath}" }, "tagPath": "[{Browser}]{FolderPath}{tagPath}/HMI/Maint_Dir_Visible" }, "type": "tag" } }, "props.style.classes": { "binding": { "config": { "expression": "if (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Maint_Dir_LT\"), \"Buttons/Red\", \"Buttons/Green\")" }, "type": "expr" } }, "props.text": { "binding": { "config": { "expression": "if ({this.custom.LT}, {this.custom.Text.OFF}, {this.custom.Text.ON})" }, "type": "expr" } } }, "props": { "style": {}, "textStyle": { "fontFamily": "Arial", "fontSize": 16 } }, "type": "ia.input.button" }, { "custom": { "Text": { "OFF": "Maint Enable", "ON": "Maint Disable" } }, "events": { "component": { "onActionPerformed": { "config": { "script": "\t\n\tself.custom.PB \u003d not self.custom.PB " }, "scope": "G", "type": "script" } } }, "meta": { "name": "Maint" }, "position": { "height": 60, "width": 155, "x": 263, "y": 94.5 }, "propConfig": { "custom.LT": { "binding": { "config": { "fallbackDelay": 1, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "FolderPath": "{view.params.FolderPath}", "tagPath": "{view.params.tagPath}" }, "tagPath": "[{Browser}]{FolderPath}{tagPath}/HMI/Color" }, "transforms": [ { "fallback": 0, "inputType": "scalar", "mappings": [ { "input": 14, "output": 1 } ], "outputType": "scalar", "type": "map" } ], "type": "tag" } }, "custom.PB": { "binding": { "config": { "bidirectional": true, "fallbackDelay": 1, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "FolderPath": "{view.params.FolderPath}", "tagPath": "{view.params.tagPath}" }, "tagPath": "[{Browser}]{FolderPath}{tagPath}/HMI/MaintMode" }, "type": "tag" } }, "props.style.classes": { "binding": { "config": { "expression": "if (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/MaintMode\"), \"Buttons/Green\", \"Buttons/Grey\")" }, "type": "expr" } }, "props.text": { "binding": { "config": { "expression": "if ({this.custom.LT}, {this.custom.Text.ON}, {this.custom.Text.OFF})" }, "type": "expr" } } }, "props": { "style": {}, "textStyle": { "fontFamily": "Arial", "fontSize": 16 } }, "type": "ia.input.button" } ], "meta": { "name": "Conv" }, "position": { "height": 262, "width": "100%", "y": 18 }, "propConfig": { "meta.visible": { "binding": { "config": { "expression": "if ({view.params.DeviceType} \u003d \"Conv\" || {view.params.DeviceType} \u003d \"VFD\", true, false \r\n)" }, "type": "expr" } } }, "type": "ia.container.coord" }, { "children": [ { "meta": { "name": "Device" }, "position": { "height": 30, "width": "100%" }, "propConfig": { "props.source": { "binding": { "config": { "expression": "\"Roller: \"+ replace({view.params.tagPath}, \"_\", \"-\")" }, "type": "expr" } } }, "props": { "style": { "fontFamily": "Arial", "fontSize": 24, "textAlign": "center" } }, "type": "ia.display.markdown" }, { "meta": { "name": "Device_0" }, "position": { "height": 75, "width": "100%", "y": 130 }, "propConfig": { "props.source": { "binding": { "config": { "expression": "\"This object doesn`t have Command\"" }, "type": "expr" } } }, "props": { "style": { "fontFamily": "Arial", "fontSize": 50, "textAlign": "center" } }, "type": "ia.display.markdown" } ], "meta": { "name": "Roller" }, "position": { "height": 262, "width": "100%", "y": 18 }, "propConfig": { "meta.visible": { "binding": { "config": { "expression": "if ({view.params.DeviceType} \u003d \"Roller\", true, false \r\n)" }, "type": "expr" } } }, "type": "ia.container.coord" }, { "children": [ { "meta": { "name": "FaultReset" }, "position": { "height": 177, "width": 187, "x": 30, "y": 60 }, "props": { "alignVertical": "top", "style": { "borderBottomLeftRadius": 5, "borderBottomRightRadius": 5, "borderStyle": "solid", "borderTopLeftRadius": 5, "borderTopRightRadius": 5, "fontFamily": "Arial", "fontSize": 16, "fontWeight": "bold", "textAlign": "center" }, "text": "Faults Reset" }, "type": "ia.display.label" }, { "meta": { "name": "Device" }, "position": { "height": 30, "width": "100%" }, "propConfig": { "props.source": { "binding": { "config": { "expression": "\"Compressor: \"+ replace({view.params.tagPath}, \"_\", \"-\")" }, "type": "expr" } } }, "props": { "style": { "fontFamily": "Arial", "fontSize": 24, "textAlign": "center" } }, "type": "ia.display.markdown" }, { "custom": { "Text": { "OFF": "Low Air Pressure Reset", "ON": "Low Air Pressure Reset" } }, "events": { "component": { "onActionPerformed": { "config": { "script": "\tself.custom.PB \u003d \"true\"" }, "scope": "G", "type": "script" } } }, "meta": { "name": "LowAirFaultResetPB" }, "position": { "height": 60, "width": 155, "x": 46, "y": 94.5 }, "propConfig": { "custom.LT": { "binding": { "config": { "fallbackDelay": 1, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "FolderPath": "{view.params.FolderPath}", "tagPath": "{view.params.tagPath}" }, "tagPath": "[{Browser}]{FolderPath}{tagPath}/HMI/LowAirFaultResetPB" }, "type": "tag" } }, "custom.PB": { "binding": { "config": { "bidirectional": true, "fallbackDelay": 1, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "FolderPath": "{view.params.FolderPath}", "tagPath": "{view.params.tagPath}" }, "tagPath": "[{Browser}]{FolderPath}{tagPath}/HMI/LowAirFaultResetPB" }, "type": "tag" } }, "props.style.classes": { "binding": { "config": { "expression": "if (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/LowAirFaultResetPB\"), \"Buttons/Blue\", \"Buttons/DarkBlue\")" }, "type": "expr" } }, "props.text": { "binding": { "config": { "expression": "if ({this.custom.LT}, {this.custom.Text.ON}, {this.custom.Text.OFF})" }, "type": "expr" } } }, "props": { "style": {}, "textStyle": { "fontFamily": "Arial", "fontSize": 16 } }, "type": "ia.input.button" }, { "meta": { "name": "LabelPressureComp1" }, "position": { "height": 25, "width": 260, "x": 30.004467010498047, "y": 256 }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 }, "text": "Сompressor 1 pressure, bar" }, "type": "ia.display.label" }, { "meta": { "name": "LevelPressureComp1" }, "position": { "height": 25, "width": 75, "x": 300.00446701049805, "y": 256 }, "propConfig": { "props.value": { "binding": { "config": { "fallbackDelay": 1, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "FolderPath": "{view.params.FolderPath}", "tagPath": "{view.params.tagPath}" }, "tagPath": "[{Browser}]{FolderPath}{tagPath}/HMI/Compressor1PressureBar" }, "type": "tag" } } }, "props": { "enabled": false, "style": { "fontFamily": "Arial", "fontSize": 16 } }, "type": "ia.input.numeric-entry-field" }, { "meta": { "name": "SetFaultPressurebar" }, "position": { "height": 25, "width": 75, "x": 86, "y": 197 }, "propConfig": { "props.value": { "binding": { "config": { "bidirectional": true, "fallbackDelay": 1, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "FolderPath": "{view.params.FolderPath}", "tagPath": "{view.params.tagPath}" }, "tagPath": "[{Browser}]{FolderPath}{tagPath}/HMI/SetFaultPressureBar" }, "type": "tag" } } }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 } }, "type": "ia.input.numeric-entry-field" }, { "meta": { "name": "Label 60HZ" }, "position": { "height": 25, "width": 156, "x": 45.5, "y": 165.5 }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 }, "text": "Fault Pressure, bar:" }, "type": "ia.display.label" }, { "meta": { "name": "LabelSpeedComp1" }, "position": { "height": 25, "width": 260, "x": 30.004467010498047, "y": 291 }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 }, "text": "Compressor 1 motor speed, RPM" }, "type": "ia.display.label" }, { "meta": { "name": "LevelSpeedComp1" }, "position": { "height": 25, "width": 75, "x": 300.00446701049805, "y": 291 }, "propConfig": { "props.value": { "binding": { "config": { "fallbackDelay": 1, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "FolderPath": "{view.params.FolderPath}", "tagPath": "{view.params.tagPath}" }, "tagPath": "[{Browser}]{FolderPath}{tagPath}/HMI/Compressor1SpeedRPM" }, "type": "tag" } } }, "props": { "enabled": false, "style": { "fontFamily": "Arial", "fontSize": 16 } }, "type": "ia.input.numeric-entry-field" }, { "meta": { "name": "LabelTempComp1" }, "position": { "height": 25, "width": 260, "x": 30.004467010498047, "y": 326 }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 }, "text": "Compressor 1 temperature,°С" }, "type": "ia.display.label" }, { "meta": { "name": "LevelTempComp1" }, "position": { "height": 25, "width": 75, "x": 300, "y": 326 }, "propConfig": { "props.value": { "binding": { "config": { "fallbackDelay": 1, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "FolderPath": "{view.params.FolderPath}", "tagPath": "{view.params.tagPath}" }, "tagPath": "[{Browser}]{FolderPath}{tagPath}/HMI/Compressor1TemperatureC" }, "type": "tag" } } }, "props": { "enabled": false, "style": { "fontFamily": "Arial", "fontSize": 16 } }, "type": "ia.input.numeric-entry-field" }, { "meta": { "name": "LevelTempComp2" }, "position": { "height": 25, "width": 75, "x": 776.004, "y": 326 }, "propConfig": { "props.value": { "binding": { "config": { "fallbackDelay": 1, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "FolderPath": "{view.params.FolderPath}", "tagPath": "{view.params.tagPath}" }, "tagPath": "[{Browser}]{FolderPath}{tagPath}/HMI/Compressor2TemperatureC" }, "type": "tag" } } }, "props": { "enabled": false, "style": { "fontFamily": "Arial", "fontSize": 16 } }, "type": "ia.input.numeric-entry-field" }, { "meta": { "name": "LabelTempComp2" }, "position": { "height": 25, "width": 260, "x": 506, "y": 326 }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 }, "text": "Compressor 2 temperature,°С" }, "type": "ia.display.label" }, { "meta": { "name": "LabelSpeedComp2" }, "position": { "height": 25, "width": 260, "x": 506.0045, "y": 291 }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 }, "text": "Compressor 2 motor speed, RPM" }, "type": "ia.display.label" }, { "meta": { "name": "LevelSpeedComp2" }, "position": { "height": 25, "width": 75, "x": 776.004, "y": 291 }, "propConfig": { "props.value": { "binding": { "config": { "fallbackDelay": 1, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "FolderPath": "{view.params.FolderPath}", "tagPath": "{view.params.tagPath}" }, "tagPath": "[{Browser}]{FolderPath}{tagPath}/HMI/Compressor2SpeedRPM" }, "type": "tag" } } }, "props": { "enabled": false, "style": { "fontFamily": "Arial", "fontSize": 16 } }, "type": "ia.input.numeric-entry-field" }, { "meta": { "name": "LabelPressureComp2" }, "position": { "height": 25, "width": 260, "x": 506.0045, "y": 256 }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 }, "text": "Сompressor 2 pressure, bar" }, "type": "ia.display.label" }, { "meta": { "name": "LevelPressureComp2" }, "position": { "height": 25, "width": 75, "x": 776.004, "y": 256 }, "propConfig": { "props.value": { "binding": { "config": { "fallbackDelay": 1, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "FolderPath": "{view.params.FolderPath}", "tagPath": "{view.params.tagPath}" }, "tagPath": "[{Browser}]{FolderPath}{tagPath}/HMI/Compressor2PressureBar" }, "type": "tag" } } }, "props": { "enabled": false, "style": { "fontFamily": "Arial", "fontSize": 16 } }, "type": "ia.input.numeric-entry-field" }, { "meta": { "name": "LabelOnComp1" }, "position": { "height": 25, "width": 260, "x": 30.0045, "y": 361 }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 }, "text": "Сompressor 1 On/Off" }, "type": "ia.display.label" }, { "meta": { "name": "LabelRemoteComp1" }, "position": { "height": 25, "width": 260, "x": 30.0045, "y": 396 }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 }, "text": "Compressor 1 On/Off Remote" }, "type": "ia.display.label" }, { "meta": { "name": "LabelMotorComp1" }, "position": { "height": 25, "width": 260, "x": 30.0045, "y": 431 }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 }, "text": "Compressor 1 Motor Running" }, "type": "ia.display.label" }, { "meta": { "name": "LabelIdleComp1" }, "position": { "height": 25, "width": 260, "x": 30.0045, "y": 501 }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 }, "text": "Compressor 1 Idle" }, "type": "ia.display.label" }, { "meta": { "name": "LabelLoadComp1" }, "position": { "height": 25, "width": 260, "x": 30.0045, "y": 466 }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 }, "text": "Compressor 1 Load Run" }, "type": "ia.display.label" }, { "meta": { "name": "OnComp1" }, "position": { "height": 25, "width": 75, "x": 300, "y": 361 }, "propConfig": { "props.style.backgroundColor": { "binding": { "config": { "fallbackDelay": 1, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "FolderPath": "{view.params.FolderPath}", "tagPath": "{view.params.tagPath}" }, "tagPath": "[{Browser}]{FolderPath}{tagPath}/HMI/Compressor1On" }, "transforms": [ { "fallback": "#000000", "inputType": "scalar", "mappings": [ { "input": false, "output": "#FF0000" }, { "input": true, "output": "#00FF00" } ], "outputType": "color", "type": "map" } ], "type": "tag" } } }, "props": { "style": { "borderColor": "#000000", "borderStyle": "solid", "borderWidth": 2 } }, "type": "ia.display.label" }, { "meta": { "name": "RemoteComp1" }, "position": { "height": 25, "width": 75, "x": 300, "y": 396 }, "propConfig": { "props.style.backgroundColor": { "binding": { "config": { "fallbackDelay": 1, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "FolderPath": "{view.params.FolderPath}", "tagPath": "{view.params.tagPath}" }, "tagPath": "[{Browser}]{FolderPath}{tagPath}/HMI/Compressor1On_RemoteOn" }, "transforms": [ { "fallback": "#000000", "inputType": "scalar", "mappings": [ { "input": false, "output": "#FF0000" }, { "input": true, "output": "#00FF00" } ], "outputType": "color", "type": "map" } ], "type": "tag" } } }, "props": { "style": { "borderColor": "#000000", "borderStyle": "solid", "borderWidth": 2 } }, "type": "ia.display.label" }, { "meta": { "name": "MotorComp1" }, "position": { "height": 25, "width": 75, "x": 300, "y": 431 }, "propConfig": { "props.style.backgroundColor": { "binding": { "config": { "fallbackDelay": 1, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "FolderPath": "{view.params.FolderPath}", "tagPath": "{view.params.tagPath}" }, "tagPath": "[{Browser}]{FolderPath}{tagPath}/HMI/Compressor1MotorRunning" }, "transforms": [ { "fallback": "#000000", "inputType": "scalar", "mappings": [ { "input": true, "output": "#00FF00" }, { "input": false, "output": "#FF0000" } ], "outputType": "color", "type": "map" } ], "type": "tag" } } }, "props": { "style": { "borderColor": "#000000", "borderStyle": "solid", "borderWidth": 2 } }, "type": "ia.display.label" }, { "meta": { "name": "LoadComp1" }, "position": { "height": 25, "width": 75, "x": 300, "y": 466 }, "propConfig": { "props.style.backgroundColor": { "binding": { "config": { "fallbackDelay": 1, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "FolderPath": "{view.params.FolderPath}", "tagPath": "{view.params.tagPath}" }, "tagPath": "[{Browser}]{FolderPath}{tagPath}/HMI/Compressor1LoadRun" }, "transforms": [ { "fallback": "#000000", "inputType": "scalar", "mappings": [ { "input": true, "output": "#00FF00" }, { "input": false, "output": "#FF0000" } ], "outputType": "color", "type": "map" } ], "type": "tag" } } }, "props": { "style": { "borderColor": "#000000", "borderStyle": "solid", "borderWidth": 2 } }, "type": "ia.display.label" }, { "meta": { "name": "IdleComp1" }, "position": { "height": 25, "width": 75, "x": 300, "y": 501 }, "propConfig": { "props.style.backgroundColor": { "binding": { "config": { "fallbackDelay": 1, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "FolderPath": "{view.params.FolderPath}", "tagPath": "{view.params.tagPath}" }, "tagPath": "[{Browser}]{FolderPath}{tagPath}/HMI/Compressor1Idle" }, "transforms": [ { "fallback": "#000000", "inputType": "scalar", "mappings": [ { "input": true, "output": "#00FF00" }, { "input": false, "output": "#FF0000" } ], "outputType": "color", "type": "map" } ], "type": "tag" } } }, "props": { "style": { "borderColor": "#000000", "borderStyle": "solid", "borderWidth": 2 } }, "type": "ia.display.label" }, { "meta": { "name": "IdleComp2" }, "position": { "height": 25, "width": 75, "x": 776, "y": 501 }, "propConfig": { "props.style.backgroundColor": { "binding": { "config": { "fallbackDelay": 1, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "FolderPath": "{view.params.FolderPath}", "tagPath": "{view.params.tagPath}" }, "tagPath": "[{Browser}]{FolderPath}{tagPath}/HMI/Compressor2Idle" }, "transforms": [ { "fallback": "#000000", "inputType": "scalar", "mappings": [ { "input": true, "output": "#00FF00" }, { "input": false, "output": "#FF0000" } ], "outputType": "color", "type": "map" } ], "type": "tag" } } }, "props": { "style": { "borderColor": "#000000", "borderStyle": "solid", "borderWidth": 2 } }, "type": "ia.display.label" }, { "meta": { "name": "LoadComp2" }, "position": { "height": 25, "width": 75, "x": 776, "y": 466 }, "propConfig": { "props.style.backgroundColor": { "binding": { "config": { "fallbackDelay": 1, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "FolderPath": "{view.params.FolderPath}", "tagPath": "{view.params.tagPath}" }, "tagPath": "[{Browser}]{FolderPath}{tagPath}/HMI/Compressor2LoadRun" }, "transforms": [ { "fallback": "#000000", "inputType": "scalar", "mappings": [ { "input": true, "output": "#00FF00" }, { "input": false, "output": "#FF0000" } ], "outputType": "color", "type": "map" } ], "type": "tag" } } }, "props": { "style": { "borderColor": "#000000", "borderStyle": "solid", "borderWidth": 2 } }, "type": "ia.display.label" }, { "meta": { "name": "LabelIdleComp2" }, "position": { "height": 25, "width": 260, "x": 506, "y": 501 }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 }, "text": "Compressor 2 Idle" }, "type": "ia.display.label" }, { "meta": { "name": "LabelLoadComp2" }, "position": { "height": 25, "width": 260, "x": 506, "y": 466 }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 }, "text": "Compressor 2 Load Run" }, "type": "ia.display.label" }, { "meta": { "name": "LabelMotorComp2" }, "position": { "height": 25, "width": 260, "x": 506, "y": 431 }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 }, "text": "Compressor 2 Motor Running" }, "type": "ia.display.label" }, { "meta": { "name": "MotorComp2" }, "position": { "height": 25, "width": 75, "x": 776, "y": 431 }, "propConfig": { "props.style.backgroundColor": { "binding": { "config": { "fallbackDelay": 1, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "FolderPath": "{view.params.FolderPath}", "tagPath": "{view.params.tagPath}" }, "tagPath": "[{Browser}]{FolderPath}{tagPath}/HMI/Compressor2MotorRunning" }, "transforms": [ { "fallback": "#000000", "inputType": "scalar", "mappings": [ { "input": true, "output": "#00FF00" }, { "input": false, "output": "#FF0000" } ], "outputType": "color", "type": "map" } ], "type": "tag" } } }, "props": { "style": { "borderColor": "#000000", "borderStyle": "solid", "borderWidth": 2 } }, "type": "ia.display.label" }, { "meta": { "name": "LabelRemoteComp2" }, "position": { "height": 25, "width": 260, "x": 506, "y": 396 }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 }, "text": "Compressor 2 On/Off Remote" }, "type": "ia.display.label" }, { "meta": { "name": "RemoteComp2" }, "position": { "height": 25, "width": 75, "x": 776, "y": 396 }, "propConfig": { "props.style.backgroundColor": { "binding": { "config": { "fallbackDelay": 1, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "FolderPath": "{view.params.FolderPath}", "tagPath": "{view.params.tagPath}" }, "tagPath": "[{Browser}]{FolderPath}{tagPath}/HMI/Compressor2On_RemoteOn" }, "transforms": [ { "fallback": "#000000", "inputType": "scalar", "mappings": [ { "input": false, "output": "#FF0000" }, { "input": true, "output": "#00FF00" } ], "outputType": "color", "type": "map" } ], "type": "tag" } } }, "props": { "style": { "borderColor": "#000000", "borderStyle": "solid", "borderWidth": 2 } }, "type": "ia.display.label" }, { "meta": { "name": "LabelOnComp2" }, "position": { "height": 25, "width": 260, "x": 506, "y": 361 }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 }, "text": "Сompressor 2 On/Off" }, "type": "ia.display.label" }, { "meta": { "name": "OnComp2" }, "position": { "height": 25, "width": 75, "x": 775.9933166503906, "y": 361 }, "propConfig": { "props.style.backgroundColor": { "binding": { "config": { "fallbackDelay": 1, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "FolderPath": "{view.params.FolderPath}", "tagPath": "{view.params.tagPath}" }, "tagPath": "[{Browser}]{FolderPath}{tagPath}/HMI/Compressor2On" }, "transforms": [ { "fallback": "#000000", "inputType": "scalar", "mappings": [ { "input": false, "output": "#FF0000" }, { "input": true, "output": "#00FF00" } ], "outputType": "color", "type": "map" } ], "type": "tag" } } }, "props": { "style": { "borderColor": "#000000", "borderStyle": "solid", "borderWidth": 2 } }, "type": "ia.display.label" } ], "meta": { "name": "AirCompressor" }, "position": { "height": 740, "width": "100%", "y": 18 }, "propConfig": { "meta.visible": { "binding": { "config": { "expression": "if ({view.params.DeviceType} \u003d \"AirCompressor\", true, false \r\n)" }, "type": "expr" } } }, "type": "ia.container.coord" } ], "meta": { "name": "Commands" }, "position": { "tabIndex": 4 }, "type": "ia.container.coord" }, { "children": [ { "meta": { "name": "Table" }, "position": { "height": 498, "width": 870, "x": 13, "y": 256 }, "propConfig": { "custom.query": { "binding": { "config": { "expression": "{..../TabContainer.props.currentTabIndex}" }, "type": "expr" }, "onChange": { "enabled": null, "script": "\t\t\n\t\n\tdef Row(tag,type,value,quality,color):\n\t\t return {\n\t\t\"Tag\": tag,\n\t\t\"Type\": type, \n\t\t\"Value\": value,\n\t\t\"Quality\":{\n\t\t\t \"value\": quality,\n\t\t\t \"style\": {\n\t\t\t\t \"backgroundColor\": color,\n\t\t\t\t \"classes\": \"some-class\"\n\t\t\t } \n\t\t }\n\t\t }\n\t\t \n\tpath \u003d self.getSibling(\"TextField\").props.text\n\t \t\n\tself.props.data \u003d []\n\t\n\tdef browseTags(path, filter\u003d{}, recursive\u003dFalse, ret\u003dNone):\n\t\t\tif ret\u003d\u003dNone: ret\u003d[]\n\t\t\tif str(path).find(\"[\") \u003d\u003d -1:\n\t\t\t\tpath \u003d \u0027[default]\u0027 + str(path)\n\t\t\tif recursive:\n\t\t\t\tresults \u003d system.tag.browse(path)\n\t\t\t\tif results.getResults() is not None:\n\t\t\t\t\tfor branch in results.getResults(): \n\t\t\t\t\t\tif branch[\u0027hasChildren\u0027]:\n\t\t\t\t\t\t\tret \u003d browseTags(path\u003dbranch[\u0027fullPath\u0027], filter\u003dfilter, recursive\u003drecursive,ret\u003dret)\t\t\t\n\t\t\tresults \u003d system.tag.browse(path, filter)\n\t\t\tif results.getResults() is not None:\n\t\t\t\tfor result in results.getResults():\n\t\t\t\t\tresult[\"quality\"] \u003d result[\"value\"].quality\n\t\t\t\t\tret.append(result)\n\t\t\treturn ret\n\t\t\t\n\tfor tag in browseTags(path, filter \u003d {\u0027tagType\u0027:\u0027AtomicTag\u0027},recursive \u003d True):\t\t\t\t\n\t\tif str(tag[\"value\"].quality) \u003d\u003d \"Good\":\n\t\t\tself.props.data.append(Row(tag[\u0027fullPath\u0027],tag[\u0027dataType\u0027],tag[\u0027value\u0027].value,tag[\u0027value\u0027].quality, \"#00FF00\"))\t\t\n\t\telse:\n\t\t\tself.props.data.append(Row(tag[\u0027fullPath\u0027],tag[\u0027dataType\u0027],tag[\u0027value\u0027].value,tag[\u0027value\u0027].quality, \"#FF0000\"))\n\t\t\t\t\t\t\t\t\t " } } }, "props": { "Refresh": "value", "columns": [ { "align": "center", "boolean": "checkbox", "dateFormat": "MM/DD/YYYY", "editable": false, "field": "Tag", "footer": { "align": "center", "justify": "left", "style": { "classes": "" }, "title": "" }, "header": { "align": "center", "justify": "left", "style": { "classes": "" }, "title": "OPC Tag" }, "justify": "left", "number": "value", "numberFormat": "0,0.##", "progressBar": { "bar": { "color": "", "style": { "classes": "" } }, "max": 100, "min": 0, "track": { "color": "", "style": { "classes": "" } }, "value": { "enabled": true, "format": "0,0.##", "justify": "center", "style": { "classes": "" } } }, "render": "auto", "resizable": true, "sort": "none", "sortable": true, "strictWidth": false, "style": { "classes": "" }, "toggleSwitch": { "color": { "selected": "", "unselected": "" } }, "viewParams": {}, "viewPath": "", "visible": true, "width": 250 }, { "align": "center", "boolean": "checkbox", "dateFormat": "MM/DD/YYYY", "editable": false, "field": "Type", "footer": { "align": "center", "justify": "left", "style": { "classes": "" }, "title": "" }, "header": { "align": "center", "justify": "center", "style": { "classes": "" }, "title": "Type" }, "justify": "center", "number": "value", "numberFormat": "0,0.##", "progressBar": { "bar": { "color": "", "style": { "classes": "" } }, "max": 100, "min": 0, "track": { "color": "", "style": { "classes": "" } }, "value": { "enabled": true, "format": "0,0.##", "justify": "center", "style": { "classes": "" } } }, "render": "auto", "resizable": true, "sort": "ascending", "sortable": true, "strictWidth": false, "style": { "classes": "" }, "toggleSwitch": { "color": { "selected": "", "unselected": "" } }, "viewParams": {}, "viewPath": "", "visible": true, "width": 50 }, { "align": "center", "boolean": "checkbox", "dateFormat": "MM/DD/YYYY", "editable": false, "field": "Value", "footer": { "align": "center", "justify": "left", "style": { "classes": "" }, "title": "" }, "header": { "align": "center", "justify": "center", "style": { "classes": "" }, "title": "Value" }, "justify": "center", "number": "value", "numberFormat": "0,0.##", "progressBar": { "bar": { "color": "", "style": { "classes": "" } }, "max": 100, "min": 0, "track": { "color": "", "style": { "classes": "" } }, "value": { "enabled": true, "format": "0,0.##", "justify": "center", "style": { "classes": "" } } }, "render": "auto", "resizable": true, "sort": "none", "sortable": true, "strictWidth": false, "style": { "classes": "" }, "toggleSwitch": { "color": { "selected": "", "unselected": "" } }, "viewParams": {}, "viewPath": "", "visible": true, "width": 50 }, { "align": "center", "boolean": "checkbox", "dateFormat": "MM/DD/YYYY", "editable": false, "field": "Quality", "footer": { "align": "center", "justify": "left", "style": { "classes": "" }, "title": "" }, "header": { "align": "center", "justify": "center", "style": { "classes": "" }, "title": "Quality" }, "justify": "center", "number": "value", "numberFormat": "0,0.##", "progressBar": { "bar": { "color": "", "style": { "classes": "" } }, "max": 100, "min": 0, "track": { "color": "", "style": { "classes": "" } }, "value": { "enabled": true, "format": "0,0.##", "justify": "center", "style": { "classes": "" } } }, "render": "auto", "resizable": true, "sort": "none", "sortable": true, "strictWidth": false, "style": { "classes": "" }, "toggleSwitch": { "color": { "selected": "", "unselected": "" } }, "viewParams": {}, "viewPath": "", "visible": true, "width": 50 } ], "data": [ { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/Alarm/Comm_Fault", "Type": "Boolean", "Value": false }, { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/Alarm/Disconnect_Off", "Type": "Boolean", "Value": false }, { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/Alarm/Motor_Fault", "Type": "Boolean", "Value": false }, { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/Alarm/Reset_Comm", "Type": "Boolean", "Value": false }, { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/Alarm/Reset_Motor", "Type": "Boolean", "Value": false }, { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/Alarm/Safe_Off_Fault", "Type": "Boolean", "Value": false }, { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/Color", "Type": "Int4", "Value": 10 }, { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/Comm_F_Code", "Type": "Int4", "Value": 0 }, { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/CP_Name", "Type": "String", "Value": "CP02" }, { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/Current", "Type": "Int2", "Value": 0 }, { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/FPM", "Type": "Int4", "Value": 0 }, { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/Frequency", "Type": "Int4", "Value": 0 }, { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/IP_Address", "Type": "String", "Value": "11.200.1.37" }, { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/Last_Motor_F_Code", "Type": "Int4", "Value": 4 }, { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/Maint_Bypass_LT", "Type": "Boolean", "Value": false }, { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/Maint_Bypass_PB", "Type": "Boolean", "Value": false }, { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/Maint_Dir_LT", "Type": "Boolean", "Value": false }, { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/Maint_Dir_PB", "Type": "Boolean", "Value": false }, { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/Maint_Dir_Visible", "Type": "Boolean", "Value": false }, { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/Maint_Jog_LT", "Type": "Boolean", "Value": false }, { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/Maint_Jog_PB", "Type": "Boolean", "Value": false }, { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/Maint_Speed", "Type": "Int4", "Value": 0 }, { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/Maint_Start_LT", "Type": "Boolean", "Value": false }, { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/Maint_Start_PB", "Type": "Boolean", "Value": false }, { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/Maint_Stop_LT", "Type": "Boolean", "Value": false }, { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/Maint_Stop_PB", "Type": "Boolean", "Value": false }, { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/MaintMode", "Type": "Boolean", "Value": false }, { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/Motor_F_Code", "Type": "Int4", "Value": 0 }, { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/Name", "Type": "String", "Value": "PS1-1" }, { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/Speed", "Type": "Int4", "Value": 0 }, { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/Speed_At_60Hz", "Type": "Int4", "Value": 200 }, { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/StatusVFD", "Type": "Int4", "Value": 10 }, { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/Voltage", "Type": "Int4", "Value": 0 }, { "Quality": { "style": { "backgroundColor": "#00FF00", "classes": "some-class" }, "value": "Good" }, "Tag": "[Amazon]Conveyor/Conv_PS1_1/HMI/Zone_Name", "Type": "String", "Value": "Zone 1" } ], "pager": { "bottom": false }, "virtualized": false }, "type": "ia.display.table" }, { "events": { "component": { "onActionPerformed": { "config": { "script": "\n\tself.getSibling(\"Table\").custom.query \u003d 99" }, "scope": "G", "type": "script" } } }, "meta": { "name": "Button", "tooltip": { "enabled": true, "location": "bottom", "style": { "backgroundColor": "#2B2B2BBF", "color": "#FFFFFF", "fontSize": 14, "textAlign": "left", "white-space": "pre" }, "sustain": 3000, "text": "To Update information \non table, you need click \nto this button." } }, "position": { "height": 40, "rotate": { "anchor": "50% 65%" }, "width": 110, "x": 773, "y": 5 }, "props": { "text": "Refresh" }, "type": "ia.input.button" }, { "meta": { "name": "TextField" }, "position": { "height": 40, "width": 750, "x": 13, "y": 5 }, "propConfig": { "props.text": { "binding": { "config": { "expression": "concat(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath})" }, "type": "expr" } } }, "props": { "enabled": false }, "type": "ia.input.text-field" }, { "meta": { "name": "Border for Speed" }, "position": { "height": 133, "width": 387, "x": 222, "y": 60 }, "props": { "alignVertical": "top", "style": { "borderBottomLeftRadius": 5, "borderBottomRightRadius": 5, "borderStyle": "solid", "borderTopLeftRadius": 5, "borderTopRightRadius": 5, "fontFamily": "Arial", "fontSize": 16, "fontWeight": "bold", "textAlign": "center" }, "text": "MSP ALARMING THRESHOLDS" }, "type": "ia.display.label" }, { "meta": { "name": "Set FPM" }, "position": { "height": 25, "width": 75, "x": 504, "y": 103 }, "propConfig": { "custom.Tag_Value": { "binding": { "config": { "bidirectional": true, "fallbackDelay": 1, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "FolderPath": "{view.params.FolderPath}", "tagPath": "{view.params.tagPath}" }, "tagPath": "[{Browser}]{FolderPath}{tagPath}/HMI/Maint_Speed" }, "type": "tag" } }, "props.value": { "binding": { "config": { "bidirectional": true, "path": "this.custom.Tag_Value" }, "type": "property" } } }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 } }, "type": "ia.input.numeric-entry-field" }, { "meta": { "name": "FPMat60Hz" }, "position": { "height": 25, "width": 75, "x": 504, "y": 145 }, "propConfig": { "custom.Tag_Value": { "binding": { "config": { "bidirectional": true, "fallbackDelay": 1, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "FolderPath": "{view.params.FolderPath}", "tagPath": "{view.params.tagPath}" }, "tagPath": "[{Browser}]{FolderPath}{tagPath}/HMI/Speed_at_60Hz" }, "type": "tag" } }, "props.value": { "binding": { "config": { "bidirectional": true, "path": "this.custom.Tag_Value" }, "type": "property" } } }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 } }, "type": "ia.input.numeric-entry-field" }, { "meta": { "name": "Label 60HZ" }, "position": { "height": 25, "width": 225, "x": 256, "y": 145.5 }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 }, "text": "MAXIMUM THRESHOLD %:" }, "type": "ia.display.label" }, { "meta": { "name": "Label set FPM" }, "position": { "height": 25, "width": 225, "x": 256, "y": 103.5 }, "props": { "style": { "fontFamily": "Arial", "fontSize": 16 }, "text": "MINIMUM THRESHOLD %:" }, "type": "ia.display.label" } ], "meta": { "name": "Maintenance_0" }, "position": { "tabIndex": 5 }, "propConfig": { "meta.visible": { "binding": { "config": { "expression": "if ({view.params.Vendor} \u003d \"Interroll\" \u0026\u0026 \r\n\t({view.params.DeviceType} \u003d \"Jam Reset Button\" || {view.params.ASdata} \u003d \"BeaconPE14\" ||\r\n\t{view.params.ASdata} \u003d \"BeaconPE513\" || {view.params.ASdata} \u003d \"BeaconPECLS35\" || \r\n\t{view.params.ASdata} \u003d \"BeaconSDS\"), false,true)" }, "type": "expr" } } }, "type": "ia.container.coord" } ], "custom": { "tabs": [ "Info", "Current alarms", "History alarms", "Maintenance", "Command", "MSP Alarming" ], "tabsAS": [ "Info", "Current alarms", "History alarms", "Maintenance", "Command", "MSP Alarming" ], "tabs_other": [ "Info", "Current alarms", "History alarms", "Maintenance" ] }, "meta": { "name": "TabContainer" }, "position": { "height": "100%", "width": "100%" }, "propConfig": { "props.tabs": { "binding": { "config": { "expression": "case ({view.params.Vendor},\r\n\"AS\", if (isAuthorized(false, \u0027Authenticated/Roles/Administrator\u0027, \u0027Authenticated/Roles/Maintenance\u0027, \u0027Authenticated/Roles/Operator\u0027), {this.custom.tabsAS},{this.custom.tabs_other}),\r\n\"Interroll\", {this.custom.tabs_other},\r\n\"Siemens\", {this.custom.tabs_other},\r\n{this.custom.tabsAS})" }, "type": "expr" } } }, "props": { "style": { "fontFamily": "Arial" }, "tabSize": { "width": 115 } }, "type": "ia.container.tab" }, { "events": { "dom": { "onClick": { "config": { "draggable": false, "id": "information", "modal": false, "overlayDismiss": false, "resizable": false, "showCloseIcon": false, "type": "close", "viewParams": { "tagPath": "{view.params.tagPath}" }, "viewPath": "Windows/Information/Information", "viewportBound": false }, "scope": "C", "type": "popup" } } }, "meta": { "name": "Image" }, "position": { "height": 32, "width": 32, "x": 864, "y": 2 }, "props": { "source": "/system/images/MyIcon/exit32.png", "style": { "cursor": "pointer" }, "tint": { "enabled": true } }, "type": "ia.display.image" }, { "meta": { "name": "Label" }, "position": { "height": 242, "width": 536, "x": 164, "y": 227 }, "propConfig": { "meta.visible": { "binding": { "config": { "expression": "if ({view.params.Vendor} \u003d \"Interroll\" \u0026\u0026 \r\n\t({../TabContainer.props.currentTabIndex} \u003d 1 || {../TabContainer.props.currentTabIndex} \u003d 2 || {../TabContainer.props.currentTabIndex} \u003d 3) \u0026\u0026\r\n\t({view.params.DeviceType} \u003d \"Jam Reset Button\" || {view.params.ASdata} \u003d \"BeaconPE14\" ||\r\n\t{view.params.ASdata} \u003d \"BeaconPE513\" || {view.params.ASdata} \u003d \"BeaconPECLS35\" || \r\n\t{view.params.ASdata} \u003d \"BeaconSDS\"), true,false)" }, "type": "expr" } }, "props.text": { "binding": { "config": { "expression": "\"See PE tag for each Conveyor in Area field\"" }, "type": "expr" } } }, "props": { "style": { "fontFamily": "Arial", "fontSize": 40, "textAlign": "center" }, "textStyle": { "fontFamily": "Arial" } }, "type": "ia.display.label" }, { "meta": { "name": "Object_doesnt_have_tag" }, "position": { "height": 242, "width": 536, "x": 164, "y": 227 }, "propConfig": { "meta.visible": { "binding": { "config": { "expression": "{view.params.ASdata} \u003d \"NoAnimated\"" }, "type": "expr" } }, "props.text": { "binding": { "config": { "expression": "\"This object doesn`t have tag, it not animated\"" }, "type": "expr" } } }, "props": { "style": { "fontFamily": "Arial", "fontSize": 40, "textAlign": "center" }, "textStyle": { "fontFamily": "Arial" } }, "type": "ia.display.label" } ], "meta": { "name": "root" }, "type": "ia.container.coord" } }