{ "custom": { "PLC": "MCM01", "amperage": 0, "device": "UL15_1_VFD1", "faultDescription": "PU overtemperature warning", "faultProbableCause": [ { "instancePosition": {}, "instanceStyle": {}, "text": "Ambient temperature too high." }, { "instancePosition": {}, "instanceStyle": {}, "text": "Fan or ventilation slots are polluted." }, { "instancePosition": {}, "instanceStyle": {}, "text": "Fan is defective." } ], "faultRemedy": [ { "instancePosition": {}, "instanceStyle": {}, "text": "Provide for a sufficient cooling of the device." }, { "instancePosition": {}, "instanceStyle": {}, "text": "Clean fan and ventilation slots." }, { "instancePosition": {}, "instanceStyle": {}, "text": "If required, replace fan." } ], "fpm": 0, "frequency": 0, "lastFaultCode": 0, "maintance_mode": false, "showTags": true, "state": "Offline", "statusCode": 0, "voltage": 0 }, "params": { "tagProps": [ "System/MCM01/VFD/UL15_1_VFD1/Drive", "value", "value", "value", "value", "value", "value", "value", "value", "value" ], "tags": [] }, "propConfig": { "custom.PLC": { "binding": { "config": { "path": "view.params.tagProps[0]" }, "transforms": [ { "code": "\treturn value.split(\"/\")[1]", "type": "script" } ], "type": "property" }, "persistent": true }, "custom.amperage": { "binding": { "config": { "fallbackDelay": 2.5, "mode": "indirect", "references": { "0": "{view.params.tagProps[0]}", "fc": "{session.custom.fc}" }, "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Amperage" }, "transforms": [ { "expression": "coalesce({value},0)", "type": "expression" } ], "type": "tag" }, "persistent": true }, "custom.device": { "binding": { "config": { "path": "view.params.tagProps[0]" }, "transforms": [ { "code": "\treturn value.split(\"/\")[-2]", "type": "script" } ], "type": "property" }, "persistent": true }, "custom.faultDescription": { "binding": { "config": { "fallbackDelay": 2.5, "mode": "indirect", "references": { "0": "{view.params.tagProps[0]}", "fc": "{session.custom.fc}" }, "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Fault/Fault_Description" }, "transforms": [ { "expression": "coalesce({value},\"\")", "type": "expression" } ], "type": "tag" }, "persistent": true }, "custom.faultProbableCause": { "binding": { "config": { "fallbackDelay": 2.5, "mode": "indirect", "references": { "0": "{view.params.tagProps[0]}", "fc": "{session.custom.fc}" }, "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Fault/Fault_Probable_Cause" }, "transforms": [ { "expression": "coalesce({value},\"\")", "type": "expression" }, { "code": "\t# Input: a string like \"Ambient temperature too high. || Fan or ventilation slots are polluted. || Fan is defective.\"\n\t# Output: a list of instance dicts for the repeater\n\t\n\titems \u003d []\n\t\n\ttry:\n\t text \u003d str(value).strip()\n\t if text:\n\t # Split by \"||\" and clean up\n\t parts \u003d [p.strip() for p in text.split(\"||\") if p.strip()]\n\t \n\t # Build instance dictionaries\n\t for p in parts:\n\t items.append({\n\t \"instanceStyle\": {},\n\t \"instancePosition\": {},\n\t \"text\": p\n\t })\n\texcept Exception as e:\n\t system.perspective.print(\"FaultItem repeater transform error: \" + str(e))\n\t items \u003d []\n\t\n\treturn items", "type": "script" } ], "type": "tag" }, "persistent": true }, "custom.faultRemedy": { "binding": { "config": { "fallbackDelay": 2.5, "mode": "indirect", "references": { "0": "{view.params.tagProps[0]}", "fc": "{session.custom.fc}" }, "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Fault/Fault_Remedy" }, "transforms": [ { "expression": "coalesce({value},\"\")", "type": "expression" }, { "code": "\t# Input: a string like \"Ambient temperature too high. || Fan or ventilation slots are polluted. || Fan is defective.\"\n\t# Output: a list of instance dicts for the repeater\n\t\n\titems \u003d []\n\t\n\ttry:\n\t text \u003d str(value).strip()\n\t if text:\n\t # Split by \"||\" and clean up\n\t parts \u003d [p.strip() for p in text.split(\"||\") if p.strip()]\n\t \n\t # Build instance dictionaries\n\t for p in parts:\n\t items.append({\n\t \"instanceStyle\": {},\n\t \"instancePosition\": {},\n\t \"text\": p\n\t })\n\texcept Exception as e:\n\t system.perspective.print(\"FaultItem repeater transform error: \" + str(e))\n\t items \u003d []\n\t\n\treturn items", "type": "script" } ], "type": "tag" }, "persistent": true }, "custom.fpm": { "binding": { "config": { "fallbackDelay": 2.5, "mode": "indirect", "references": { "0": "{view.params.tagProps[0]}", "fc": "{session.custom.fc}" }, "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/FPM" }, "transforms": [ { "expression": "coalesce({value},0)", "type": "expression" } ], "type": "tag" }, "persistent": true }, "custom.frequency": { "binding": { "config": { "fallbackDelay": 2.5, "mode": "indirect", "references": { "0": "{view.params.tagProps[0]}", "fc": "{session.custom.fc}" }, "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Frequency" }, "transforms": [ { "expression": "coalesce({value},0)", "type": "expression" } ], "type": "tag" }, "persistent": true }, "custom.lastFaultCode": { "binding": { "config": { "fallbackDelay": 2.5, "mode": "indirect", "references": { "0": "{view.params.tagProps[0]}", "fc": "{session.custom.fc}" }, "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Last_VFD_Fault_Code" }, "transforms": [ { "expression": "coalesce({value},0)", "type": "expression" } ], "type": "tag" }, "persistent": true }, "custom.maintance_mode": { "binding": { "config": { "fallbackDelay": 2.5, "mode": "indirect", "references": { "0": "{view.params.tagProps[0]}", "fc": "{session.custom.fc}" }, "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Maintenance/Maintenance_Mode" }, "transforms": [ { "expression": "coalesce({value},false)", "type": "expression" } ], "type": "tag" }, "persistent": true }, "custom.showTags": { "binding": { "config": { "expression": "len(trim({session.props.auth.user.userName})) \u003e 0 \u0026\u0026 lower({session.props.auth.user.userName}) !\u003d \"null\"" }, "type": "expr" }, "onChange": { "enabled": null, "script": "\ttabsComp \u003d self.getChild(\"root\").getChild(\"FlexContainer\").getChild(\"Main\").getChild(\"tabs\").props.tabs\n\ttabs \u003d list(tabsComp) # copy to modify\n\t\n\tif currentValue.value: # user logged in\n\t if \"Tags\" not in tabs:\n\t tabs.append(\"Tags\") # add the \"Tags\" tab\n\t self.getChild(\"root\").getChild(\"FlexContainer\").getChild(\"Main\").getChild(\"tabs\").props.tabs \u003d tabs\n\telse: # user logged out\n\t if \"Tags\" in tabs:\n\t tabs.remove(\"Tags\") # remove the \"Tags\" tab\n\t self.getChild(\"root\").getChild(\"FlexContainer\").getChild(\"Main\").getChild(\"tabs\").props.tabs \u003d tabs" }, "persistent": true }, "custom.state": { "binding": { "config": { "fallbackDelay": 2.5, "mode": "indirect", "references": { "0": "{view.params.tagProps[0]}", "fc": "{session.custom.fc}" }, "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Lenze" }, "transforms": [ { "expression": "coalesce({value},-1)", "type": "expression" }, { "fallback": "Offline", "inputType": "scalar", "mappings": [ { "input": 50, "output": "OK" }, { "input": 51, "output": "DISCONNECTED" }, { "input": 52, "output": "FAULTED" }, { "input": 53, "output": "FAULTED/DISCONNECTED" } ], "outputType": "scalar", "type": "map" } ], "type": "tag" }, "persistent": true }, "custom.statusCode": { "binding": { "config": { "fallbackDelay": 2.5, "mode": "indirect", "references": { "0": "{view.params.tagProps[0]}", "fc": "{session.custom.fc}" }, "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/VFD_Fault_Code" }, "transforms": [ { "expression": "coalesce({value},0)", "type": "expression" } ], "type": "tag" }, "persistent": true }, "custom.voltage": { "binding": { "config": { "fallbackDelay": 2.5, "mode": "indirect", "references": { "0": "{view.params.tagProps[0]}", "fc": "{session.custom.fc}" }, "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Voltage" }, "transforms": [ { "expression": "coalesce({value},0)", "type": "expression" } ], "type": "tag" }, "persistent": true }, "params.tagProps": { "paramDirection": "input", "persistent": true }, "params.tags": { "paramDirection": "input", "persistent": true } }, "props": { "defaultSize": { "height": 1080, "width": 600 } }, "root": { "children": [ { "children": [ { "children": [ { "meta": { "name": "Label" }, "position": { "grow": 1 }, "propConfig": { "props.text": { "binding": { "config": { "expression": "\u0027Source ID: \u0027 + {view.params.tagProps[0]}" }, "type": "expr" } } }, "props": { "style": { "color": "#FFFF", "fontFamily": "Arial", "fontSize": 14, "fontWeight": "bold", "paddingLeft": 10 } }, "type": "ia.display.label" }, { "events": { "dom": { "onClick": { "config": { "script": "\tsystem.perspective.closeDock(\u0027Docked-East-VFD\u0027)\n\tself.getSibling(\"tabs\").props.currentTabIndex \u003d 0" }, "scope": "G", "type": "script" } } }, "meta": { "name": "Icon", "tooltip": { "enabled": true, "style": { "cursor": "pointer" }, "text": "Close faceplate" } }, "props": { "path": "material/close", "style": { "cursor": "pointer", "marginBottom": 5, "marginLeft": 5, "marginRight": 5, "marginTop": 5 } }, "type": "ia.display.icon" } ], "meta": { "name": "Header" }, "position": { "basis": "30px", "shrink": 0 }, "type": "ia.container.flex" }, { "children": [ { "children": [ { "children": [ { "meta": { "name": "Label" }, "position": { "basis": "32px", "display": false }, "props": { "style": { "classes": "Labels/Label_1", "marginTop": 20 }, "text": "No Active Alarms" }, "type": "ia.display.label" }, { "meta": { "name": "AlarmStatusTable" }, "position": { "basis": "400px", "grow": 1 }, "propConfig": { "props.filters.active.conditions.displayPath": { "binding": { "config": { "path": "view.params.tagProps[0]" }, "transforms": [ { "code": "\treturn value.split(\"/\")[-1]", "type": "script" } ], "type": "property" } } }, "props": { "columns": { "active": { "displayPath": { "enabled": false }, "priority": { "enabled": false }, "source": { "enabled": false }, "state": { "enabled": false } } }, "enableAcknowledge": false, "enableDetails": false, "enableShelve": false, "enableUnshelve": false, "filters": { "active": { "conditions": {}, "priorities": { "critical": false, "high": false, "low": false, "medium": false }, "states": { "clearUnacked": false } } }, "pager": { "enabled": false }, "refreshRate": 500, "rowStyles": { "activeAcked": { "priorities": { "diagnostic": { "backgroundColor": "#579af1" }, "high": { "backgroundColor": "#fb615b" }, "low": { "backgroundColor": "#f8fa6e" }, "medium": { "backgroundColor": "#ee9b5c" } } }, "activeUnacked": { "base": { "color": "black" }, "priorities": { "critical": { "backgroundColor": "#7C2320" }, "diagnostic": { "backgroundColor": "#579af1" }, "high": { "backgroundColor": "#fb615b" }, "low": { "backgroundColor": "#f8fa6e" }, "medium": { "backgroundColor": "#ee9b5c" } } } }, "selection": { "active": { "mode": "none" }, "shelved": { "mode": "none" } }, "toolbar": { "enableActiveTab": false, "enableConfiguration": false, "enableFilter": false, "enableFilterResults": false, "enablePreFilters": false, "enableShelvedTab": false, "enabled": false, "toggleableFilter": false } }, "type": "ia.display.alarmstatustable" } ], "meta": { "name": "Active_tab" }, "props": { "direction": "column", "justify": "space-around" }, "type": "ia.container.flex" }, { "children": [ { "meta": { "name": "EmbeddedView" }, "position": { "height": 100, "width": 100, "x": 37.33, "y": 22.9967 }, "propConfig": { "props.params.tagProps[0]": { "binding": { "config": { "path": "view.params.tagProps[0]" }, "type": "property" } } }, "props": { "params": { "tagProps": [ null, "value", "value", "value", "value", "value", "value", "value", "value", "value" ] }, "path": "autStand/Equipment/VFD" }, "type": "ia.display.view" }, { "children": [ { "meta": { "name": "Label" }, "props": { "style": { "classes": "Text-Styles/Ariel-Bold-12pt", "fontSize": 25 }, "text": "Name:" }, "type": "ia.display.label" }, { "meta": { "name": "Label_0" }, "position": { "basis": "50px", "grow": 1 }, "propConfig": { "props.text": { "binding": { "config": { "path": "view.custom.device" }, "type": "property" } } }, "props": { "style": { "borderStyle": "solid", "classes": "Text-Styles/Ariel-Bold-12pt", "fontSize": 20, "marginLeft": 10, "textAlign": "center" } }, "type": "ia.display.label" } ], "meta": { "name": "FlexContainer" }, "position": { "height": 43, "width": 378, "x": 202, "y": 17.33 }, "type": "ia.container.flex" }, { "children": [ { "meta": { "name": "Label" }, "props": { "style": { "classes": "Text-Styles/Ariel-Bold-12pt", "fontSize": 25 }, "text": "Status: ", "textStyle": { "fontSize": 25 } }, "type": "ia.display.label" }, { "meta": { "name": "Label_0" }, "position": { "basis": "50px", "grow": 1 }, "propConfig": { "props.text": { "binding": { "config": { "path": "view.custom.state" }, "type": "property" } } }, "props": { "style": { "borderStyle": "solid", "classes": "Text-Styles/Ariel-Bold-12pt", "fontSize": 20, "marginLeft": 10, "textAlign": "center" }, "textStyle": { "fontSize": 20, "textAlign": "center" } }, "type": "ia.display.label" } ], "meta": { "name": "FlexContainer_0" }, "position": { "height": 43, "width": 386, "x": 194, "y": 69.33 }, "type": "ia.container.flex" }, { "children": [ { "meta": { "name": "Label" }, "props": { "style": { "classes": "Text-Styles/Ariel-Bold-12pt", "fontSize": 25 }, "text": "Panel:", "textStyle": { "fontSize": 25 } }, "type": "ia.display.label" }, { "meta": { "name": "Label_0" }, "position": { "basis": "50px", "grow": 1 }, "propConfig": { "props.text": { "binding": { "config": { "path": "view.custom.PLC" }, "type": "property" } } }, "props": { "style": { "borderStyle": "solid", "classes": "Text-Styles/Ariel-Bold-12pt", "fontSize": 20, "marginLeft": 10, "textAlign": "center" }, "textStyle": { "fontSize": 20, "textAlign": "center" } }, "type": "ia.display.label" } ], "meta": { "name": "FlexContainer_1" }, "position": { "height": 43, "width": 376, "x": 204, "y": 121.49 }, "type": "ia.container.flex" }, { "children": [ { "meta": { "name": "Label" }, "props": { "style": { "classes": "Text-Styles/Ariel-Bold-12pt", "fontSize": 25 }, "text": "Motor Current (Amps):", "textStyle": { "fontSize": 25 } }, "type": "ia.display.label" }, { "meta": { "name": "Label_0" }, "position": { "basis": "50px", "grow": 1 }, "propConfig": { "props.text": { "binding": { "config": { "path": "view.custom.amperage" }, "type": "property" } } }, "props": { "style": { "borderStyle": "solid", "classes": "Text-Styles/Ariel-Bold-12pt", "fontSize": 20, "marginLeft": 10, "textAlign": "center" }, "textStyle": { "fontSize": 20, "textAlign": "center" } }, "type": "ia.display.label" } ], "meta": { "name": "FlexContainer_3" }, "position": { "height": 43, "width": 568, "x": 12, "y": 172.49 }, "type": "ia.container.flex" }, { "children": [ { "meta": { "name": "Label" }, "position": { "shrink": 0 }, "props": { "style": { "classes": "Text-Styles/Ariel-Bold-12pt", "fontSize": 25 }, "text": "Speed (FPM) :", "textStyle": { "fontSize": 25 } }, "type": "ia.display.label" }, { "meta": { "name": "Label_0" }, "position": { "grow": 1, "shrink": 0 }, "propConfig": { "props.text": { "binding": { "config": { "path": "view.custom.fpm" }, "type": "property" } } }, "props": { "style": { "borderStyle": "solid", "classes": "Text-Styles/Ariel-Bold-12pt", "fontSize": 20, "marginLeft": 10, "textAlign": "center" }, "textStyle": { "fontSize": 20, "textAlign": "center" } }, "type": "ia.display.label" } ], "meta": { "name": "FlexContainer_4" }, "position": { "height": 43, "width": 467, "x": 113, "y": 227.49 }, "type": "ia.container.flex" }, { "children": [ { "meta": { "name": "Label" }, "props": { "style": { "classes": "Text-Styles/Ariel-Bold-12pt", "fontSize": 25 }, "text": "Speed (RPM) :", "textStyle": { "fontSize": 25 } }, "type": "ia.display.label" }, { "meta": { "name": "Label_0" }, "position": { "basis": "50px", "grow": 1 }, "propConfig": { "props.text": { "binding": { "config": { "path": "view.custom.frequency" }, "type": "property" } } }, "props": { "style": { "borderStyle": "solid", "classes": "Text-Styles/Ariel-Bold-12pt", "fontSize": 20, "marginLeft": 10, "textAlign": "center" }, "textStyle": { "fontSize": 20, "textAlign": "center" } }, "type": "ia.display.label" } ], "meta": { "name": "FlexContainer_5" }, "position": { "height": 43, "width": 468, "x": 112, "y": 282.49 }, "type": "ia.container.flex" }, { "events": { "component": { "onActionPerformed": { "config": { "script": "\ttag_name \u003d self.view.params.tagProps[0]\n\ttag_path \u003d \"[\" + self.session.custom.fc+ \"_SCADA_TAG_PROVIDER]\"+tag_name+\"/Maintenance/Maintenance_Mode\"\n\tsystem.tag.writeBlocking([tag_path],[False])" }, "scope": "G", "type": "script" } } }, "meta": { "name": "AUTO" }, "position": { "height": 161, "width": 98, "x": 97.65, "y": 455.33 }, "propConfig": { "props.style.backgroundColor": { "binding": { "config": { "expression": "if(!{view.custom.maintance_mode}, \"#8ADA54\" , \"#a1a1a1\")" }, "type": "expr" } } }, "props": { "primary": false, "text": "AUTO", "textStyle": { "fontSize": 20 } }, "type": "ia.input.button" }, { "events": { "component": { "onActionPerformed": { "config": { "script": "\ttag_name \u003d self.view.params.tagProps[0]\n\ttag_path \u003d \"[\" + self.session.custom.fc+ \"_SCADA_TAG_PROVIDER]\"+tag_name+\"/Maintenance/Maintenance_Mode\"\n\tsystem.tag.writeBlocking([tag_path],[True])\n\ttag_path2 \u003d \"[\" + self.session.custom.fc+ \"_SCADA_TAG_PROVIDER]\"+tag_name+\"/Maintenance/Start_PB_Pressed\"\n\tsystem.tag.writeBlocking([tag_path2],[True])" }, "scope": "G", "type": "script" } } }, "meta": { "name": "MANUAL" }, "position": { "height": 92, "width": 314, "x": 205.65, "y": 455.31 }, "propConfig": { "props.style.backgroundColor": { "binding": { "config": { "expression": "if({view.custom.maintance_mode}, \"#7393FE\" , \"#a1a1a1\")" }, "type": "expr" } } }, "props": { "primary": false, "text": "MANUAL", "textStyle": { "fontSize": 20 } }, "type": "ia.input.button" }, { "events": { "component": { "onActionPerformed": { "config": { "script": "\ttag_name \u003d self.view.params.tagProps[0]\n\ttag_path \u003d \"[\" + self.session.custom.fc+ \"_SCADA_TAG_PROVIDER]\"+tag_name+\"/Maintenance/Start_PB_Pressed\"\n\tsystem.tag.writeBlocking([tag_path],[True])" }, "scope": "G", "type": "script" } } }, "meta": { "name": "NOMINAL" }, "position": { "height": 64, "width": 98, "x": 205.296, "y": 552.3 }, "propConfig": { "props.enabled": { "binding": { "config": { "path": "view.custom.maintance_mode" }, "type": "property" } }, "props.style.backgroundColor": { "binding": { "config": { "expression": "if({view.custom.maintance_mode}, \"#7393FE\" , \"\")" }, "type": "expr" } } }, "props": { "primary": false, "text": "NOMINAL", "textStyle": { "fontSize": 15 } }, "type": "ia.input.button" }, { "events": { "component": { "onActionPerformed": { "config": { "script": "\ttag_name \u003d self.view.params.tagProps[0]\n\ttag_path \u003d \"[\" + self.session.custom.fc+ \"_SCADA_TAG_PROVIDER]\"+tag_name+\"/Maintenance/SLOW\"\n\tsystem.tag.writeBlocking([tag_path],[True])" }, "scope": "G", "type": "script" } } }, "meta": { "name": "SLOW" }, "position": { "height": 64, "width": 98, "x": 314.65, "y": 552.29 }, "propConfig": { "props.enabled": { "binding": { "config": { "path": "view.custom.maintance_mode" }, "type": "property" } }, "props.style.backgroundColor": { "binding": { "config": { "expression": "if({view.custom.maintance_mode}, \"#7393FE\" , \"\")" }, "type": "expr" } } }, "props": { "primary": false, "text": "SLOW", "textStyle": { "fontSize": 15 } }, "type": "ia.input.button" }, { "events": { "component": { "onActionPerformed": { "config": { "script": "\ttag_name \u003d self.view.params.tagProps[0]\n\ttag_path \u003d \"[\" + self.session.custom.fc+ \"_SCADA_TAG_PROVIDER]\"+tag_name+\"/Maintenance/Stop_PB_Pressed\"\n\tsystem.tag.writeBlocking([tag_path],[True])" }, "scope": "G", "type": "script" } } }, "meta": { "name": "OFF" }, "position": { "height": 64, "width": 98, "x": 421.296, "y": 552.249 }, "propConfig": { "props.enabled": { "binding": { "config": { "path": "view.custom.maintance_mode" }, "type": "property" } }, "props.style.backgroundColor": { "binding": { "config": { "expression": "if({view.custom.maintance_mode}, \"#7393FE\" , \"\")" }, "type": "expr" } } }, "props": { "primary": false, "text": "OFF", "textStyle": { "fontSize": 15 } }, "type": "ia.input.button" }, { "children": [ { "meta": { "name": "Label" }, "props": { "style": { "classes": "Text-Styles/Ariel-Bold-12pt", "fontSize": 25 }, "text": "Status Code:", "textStyle": { "fontSize": 25 } }, "type": "ia.display.label" }, { "meta": { "name": "Label_0" }, "position": { "basis": "50px", "grow": 1 }, "propConfig": { "props.text": { "binding": { "config": { "path": "view.custom.statusCode" }, "type": "property" } } }, "props": { "style": { "borderStyle": "solid", "classes": "Text-Styles/Ariel-Bold-12pt", "fontSize": 20, "marginLeft": 10, "textAlign": "center" }, "textStyle": { "fontSize": 20, "textAlign": "center" } }, "type": "ia.display.label" } ], "meta": { "name": "FlexContainer_6" }, "position": { "height": 43, "width": 453, "x": 127, "y": 331.49 }, "type": "ia.container.flex" }, { "children": [ { "meta": { "name": "Label" }, "props": { "style": { "classes": "Text-Styles/Ariel-Bold-12pt", "fontSize": 25 }, "text": "Last Fault Code:", "textStyle": { "fontSize": 25 } }, "type": "ia.display.label" }, { "meta": { "name": "Label_0" }, "position": { "basis": "50px", "grow": 1 }, "propConfig": { "props.text": { "binding": { "config": { "path": "view.custom.lastFaultCode" }, "type": "property" } } }, "props": { "style": { "borderStyle": "solid", "classes": "Text-Styles/Ariel-Bold-12pt", "fontSize": 20, "marginLeft": 10, "textAlign": "center" }, "textStyle": { "fontSize": 20, "textAlign": "center" } }, "type": "ia.display.label" } ], "meta": { "name": "FlexContainer_7" }, "position": { "height": 43, "width": 496, "x": 84, "y": 381.49 }, "type": "ia.container.flex" }, { "children": [ { "meta": { "name": "Label" }, "position": { "basis": "32px" }, "propConfig": { "props.text": { "binding": { "config": { "expression": "\"LENZE FAULTED : \" + {view.custom.faultDescription}" }, "type": "expr" } } }, "props": { "style": { "color": "#DA3030", "paddingLeft": "20px" } }, "type": "ia.display.label" }, { "children": [ { "children": [ { "meta": { "name": "Label" }, "position": { "basis": "33px", "shrink": 0 }, "props": { "style": { "background": "#d9d9d9", "color": "#000000", "textAlign": "center" }, "text": "Cause", "textStyle": { "textAlign": "center" } }, "type": "ia.display.label" }, { "children": [ { "meta": { "name": "FlexRepeater" }, "position": { "basis": "100%" }, "propConfig": { "props.instances": { "binding": { "config": { "path": "view.custom.faultProbableCause" }, "type": "property" } } }, "props": { "direction": "column", "elementPosition": { "basis": "auto" }, "elementStyle": { "alignSelf": "stretch", "flexBasis": "auto", "height": "auto" }, "path": "autStand/Equipment/VFD-Views/FaultItem", "style": { "overflow": "hidden", "overflowX": "hidden" }, "useDefaultViewHeight": false, "useDefaultViewWidth": false }, "type": "ia.display.flex-repeater" } ], "meta": { "name": "FlexContainer" }, "position": { "basis": "200px", "grow": 1 }, "props": { "direction": "column", "style": { "borderRight": "solid black 0.5px", "overflow": "visible" } }, "type": "ia.container.flex" } ], "meta": { "name": "FlexContainer" }, "position": { "basis": "277px" }, "props": { "direction": "column" }, "type": "ia.container.flex" }, { "children": [ { "meta": { "name": "Label" }, "position": { "basis": "33px", "shrink": 0 }, "props": { "style": { "background": "#d9d9d9", "color": "#000000", "textAlign": "center" }, "text": "Remedy", "textStyle": { "textAlign": "center" } }, "type": "ia.display.label" }, { "children": [ { "meta": { "name": "FlexRepeater" }, "position": { "basis": "100%", "grow": 1 }, "propConfig": { "props.instances": { "binding": { "config": { "path": "view.custom.faultRemedy" }, "type": "property" } } }, "props": { "direction": "column", "elementPosition": { "basis": "50px" }, "elementStyle": { "alignSelf": "stretch", "flexBasis": "auto", "height": "auto" }, "path": "autStand/Equipment/VFD-Views/FaultItem", "style": { "overflow": "visible", "overflowX": "hidden" }, "useDefaultViewHeight": false, "useDefaultViewWidth": false }, "type": "ia.display.flex-repeater" } ], "meta": { "name": "FlexContainer" }, "position": { "basis": "200px", "grow": 1 }, "props": { "direction": "column", "style": { "overflow": "visible" } }, "type": "ia.container.flex" } ], "meta": { "name": "FlexContainer_0" }, "position": { "basis": "277px" }, "props": { "direction": "column", "style": { "borderLeft": "solid black 0.5px" } }, "type": "ia.container.flex" } ], "meta": { "name": "FlexContainer_8" }, "position": { "grow": 1 }, "type": "ia.container.flex" } ], "meta": { "name": "FlexContainer_2" }, "position": { "height": 300, "width": 508, "x": 42.33000093823242, "y": 642.33 }, "propConfig": { "meta.visible": { "binding": { "config": { "expression": "{view.custom.faultDescription} !\u003d \"\"" }, "type": "expr" } } }, "props": { "direction": "column" }, "type": "ia.container.flex" } ], "meta": { "name": "Status_tab" }, "position": { "tabIndex": 1 }, "type": "ia.container.coord" }, { "children": [ { "meta": { "name": "Table" }, "position": { "basis": "400px", "grow": 1, "shrink": 0 }, "propConfig": { "props.data": { "binding": { "config": { "path": "view.params.tags" }, "type": "property" } } }, "props": { "columns": [ { "align": "center", "boolean": "checkbox", "dateFormat": "MM/DD/YYYY", "editable": false, "field": "Name", "filter": { "boolean": { "condition": "" }, "date": { "condition": "", "value": "" }, "enabled": false, "number": { "condition": "", "value": "" }, "string": { "condition": "", "value": "" }, "visible": "on-hover" }, "footer": { "align": "center", "justify": "left", "style": { "classes": "" }, "title": "" }, "header": { "align": "center", "justify": "center", "style": { "classes": "" }, "title": "Name" }, "justify": "center", "nullFormat": { "includeNullStrings": false, "nullFormatValue": "", "strict": false }, "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": "", "fontSize": "0.9vmin", "whiteSpace": "normal", "wordBreak": "break-all" }, "toggleSwitch": { "color": { "selected": "", "unselected": "" } }, "viewParams": {}, "viewPath": "", "visible": true, "width": 170 }, { "align": "center", "boolean": "checkbox", "dateFormat": "MM/DD/YYYY", "editable": false, "field": "OPC Path", "filter": { "boolean": { "condition": "" }, "date": { "condition": "", "value": "" }, "enabled": false, "number": { "condition": "", "value": "" }, "string": { "condition": "", "value": "" }, "visible": "on-hover" }, "footer": { "align": "center", "justify": "left", "style": { "classes": "" }, "title": "OPC Path" }, "header": { "align": "center", "justify": "center", "style": { "classes": "" }, "title": "OPC Path" }, "justify": "center", "nullFormat": { "includeNullStrings": false, "nullFormatValue": "", "strict": false }, "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": "", "fontSize": "0.9vmin", "whiteSpace": "normal", "wordBreak": "break-all" }, "toggleSwitch": { "color": { "selected": "", "unselected": "" } }, "viewParams": {}, "viewPath": "", "visible": true, "width": 310 }, { "align": "center", "boolean": "checkbox", "dateFormat": "MM/DD/YYYY", "editable": false, "field": "Value", "filter": { "boolean": { "condition": "" }, "date": { "condition": "", "value": "" }, "enabled": false, "number": { "condition": "", "value": "" }, "string": { "condition": "", "value": "" }, "visible": "on-hover" }, "footer": { "align": "center", "justify": "left", "style": { "classes": "" }, "title": "" }, "header": { "align": "center", "justify": "center", "style": { "classes": "" }, "title": "Value" }, "justify": "center", "nullFormat": { "includeNullStrings": false, "nullFormatValue": "", "strict": false }, "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": "", "fontSize": "0.9vmin" }, "toggleSwitch": { "color": { "selected": "", "unselected": "" } }, "viewParams": {}, "viewPath": "", "visible": true, "width": "" } ], "pager": { "bottom": false }, "rows": { "height": 50, "style": { "fontSize": "1vmin", "wordBreak": "break-all" } }, "selection": { "enableRowSelection": false }, "virtualized": false }, "type": "ia.display.table" } ], "meta": { "name": "Tags_tab" }, "position": { "tabIndex": 2 }, "type": "ia.container.flex" } ], "meta": { "name": "tabs" }, "position": { "grow": 1 }, "props": { "currentTabIndex": 1, "menuType": "modern", "tabSize": { "width": 1000 }, "tabStyle": { "active": { "classes": "", "color": "#FFFFFF", "fontFamily": "Arial", "fontSize": 14, "fontWeight": "bold", "paddingLeft": 10 }, "inactive": { "classes": "", "color": "#B8B8B8", "fontFamily": "Arial", "fontSize": 14, "fontWeight": "bold", "paddingLeft": 10 } }, "tabs": [ "Alarms", "Status", "Tags" ] }, "type": "ia.container.tab" } ], "meta": { "name": "Main" }, "position": { "basis": "670px", "grow": 1 }, "props": { "style": { "border-top": "1px solid white", "gap": "" } }, "type": "ia.container.flex" } ], "meta": { "name": "FlexContainer" }, "position": { "basis": "800px", "grow": 1 }, "props": { "direction": "column" }, "type": "ia.container.flex" } ], "meta": { "name": "root" }, "props": { "direction": "column", "style": { "classes": "Buttons/Button-Menu" } }, "type": "ia.container.flex" } }