{ "custom": { "allTags": null, "fltCodes": [ "0: No Fault", "1: Low Ambient Temperature", "2: High Ambient Temperature", "3: Low Chilled Liquid Temperature", "4: VSD Initialization Failure", "5: Low RTC Battery Voltage", "6: Invalid Number of Compressors Selected", "7: VSD Communications Failure", "8: Pre-charge Low DC Bus Voltage", "9: Pre-charge DC Bus Voltage Imbalance", "10: High DC Bus Voltage", "11: Low DC Bus Voltage", "12: DC Bus Voltage Imbalance", "13: High VSD Ambien Temperature", "14: Single Phase Input", "15: VSD Power Supply Fault", "16: VSD Logic Board Fault", "17: Motor Current Overload (Hardware)", "18: CT Plug Fault", "19: High Harmonic Filter Temperature", "20: Evap Anti-Freeze Pump Fault", "21: Low Heat Exchange Temperature", "22: N/A", "23: N/A", "24: N/A", "25: N/A", "26: N/A", "27: High Discharge Pressure", "28: High Differential Oil Pressure", "29: Low Differential Oil Pressure", "30: Low Suction Pressure", "31: High Discharge Temperature", "32: N/A", "33: Eductor Clog Fault", "34: Sensor Failure", "35: Low Motor Current", "36: High Motor Temperature", "37: Pre-charge Low DC Bus Voltage Immbalance", "38: Pre-charge DC Bus Voltage Imbalance", "39: High DC Bus Voltage", "40: Low DC Bus Voltage", "41: DC Bus Voltage Imbalance", "42: High Motor Current", "43: Motor Current Overload", "44: IGBT Gate Driver Fault", "45: High Baseplate Temperature", "46: Single Phase Input", "47: VSD Run Signal Fault", "48: High Discharge Press (HPCO)", "49: Low Suction Superheat", "50: Control Valve Fault", "51: Low Discharge Superheat", "52: Low Suction PRessure Smart Freeze", "53: Isolation Valve Failed to Close Warning", "54: Isolation Valve failed to Open Fault", "55: High Discharge Pressure Rate", "56: Condenser Fan VSD Fault Warning", "57: N/A", "58: N/A", "59: N/A", "60: N/A", "61: N/A", "62: N/A" ] }, "params": { "tagPath": "[Ignition_Common_IO_Gtwy]ChillerFltCodes/CP08" }, "propConfig": { "custom.allTags": { "binding": { "config": { "struct": { "fltCodes": "{view.custom.fltCodes}", "tagPath": "{view.params.tagPath}" }, "waitOnAll": true }, "transforms": [ { "code": "\toutput \u003d []\n\tcount \u003d 0\n\ttagPath \u003d value[\u0027tagPath\u0027] #[Ignition_Common_IO_Gtwy]ChillerFltCodes/CP08[0]\n\tnodes \u003d system.tag.readBlocking(value[\u0027tagPath\u0027])\n\tdecode \u003d system.util.jsonDecode(system.util.jsonEncode(nodes))\n\tvals \u003d decode[0][\u0027value\u0027]\n\tfltCodes \u003d value[\u0027fltCodes\u0027]\n\tlista \u003d zip(vals , fltCodes)\n\t\n\tfor vals, fltCode in lista:\n\t\tif count \u003e\u003d 57:\n\t\t\tbreak\n\t\tinstance \u003d {\n \t\"instanceStyle\": {\n \t\"classes\": \"\"\n \t},\n \t\"instancePosition\": 999,\n \t\"name\": fltCode,\n \t\"value\": vals,\n \t\"tagPath\": tagPath + \u0027[\u0027 + str(count) + \u0027]\u0027,\n \t\"dataType\": \u0027Boolean\u0027,\n \t\"displaySelection\": 0,\n \t\"format\": \"0.0\",\n \t\"isArray\": True,\n \t\"options\": []\n \t}\n \toutput.append(instance)\n \tcount +\u003d 1\n\treturn output", "type": "script" } ], "type": "expr-struct" }, "persistent": true }, "custom.fltCodes": { "persistent": true }, "params.tagPath": { "paramDirection": "input", "persistent": true } }, "props": {}, "root": { "children": [ { "children": [ { "meta": { "name": "FlexRepeater" }, "position": { "basis": "100%" }, "propConfig": { "props.instances": { "binding": { "config": { "struct": { "allTags": "{view.custom.allTags}", "tagPath": "{view.params.tagPath}" }, "waitOnAll": true }, "transforms": [ { "code": "\toutput \u003d []\n\tallTags \u003d system.util.jsonDecode(system.util.jsonEncode(value[\u0027allTags\u0027]))\n\tfor tag in allTags:\n\t\ttagName \u003d tag[\"name\"]\n\t\toutput.append(tag)\n\toutput_sorted \u003d sorted(output, key\u003dlambda item: item[\"instancePosition\"])\n\treturn output_sorted", "type": "script" } ], "type": "expr-struct" } } }, "props": { "alignContent": "flex-start", "elementPosition": { "basis": "50%", "grow": 0 }, "loading": { "order": "with-parent" }, "path": "Library/Framework/Tag Config", "style": { "border": "1px solid var(--border)", "gap": "10px 0", "padding": "10px" }, "useDefaultViewHeight": false, "useDefaultViewWidth": false, "wrap": "wrap" }, "type": "ia.display.flex-repeater" } ], "meta": { "name": "RightColumn" }, "position": { "basis": "100%" }, "props": { "direction": "column", "style": { "gap": "10px" } }, "type": "ia.container.flex" } ], "meta": { "name": "root" }, "props": { "style": { "classes": "containers/padded-container", "gap": "10px" } }, "type": "ia.container.flex" } }