{ "custom": { "tabsConfig": { "tabs": [ "P4.1-1-1", "P4.1-1-2", "P4.1-1-3", "P4.1-1-4", "P4.1-1-5", "P4.1-1-6", "P4.1-2-1", "P4.1-2-2", "P4.1-2-3", "P4.1-2-4", "P4.1-2-5", "P4.1-2-6", "Control", "Config" ] }, "trendConfig": { "selectedPens": [] } }, "params": { "objectName": "Battery", "tagPath": "[PHXA2_IG_COMN]HE1138/PHXA2_UPS_BATT_VM_HS1" }, "propConfig": { "custom.tabsConfig": { "persistent": true }, "custom.tabsConfig.showConfig": { "binding": { "config": { "fallbackDelay": 2.5, "mode": "indirect", "references": { "1": "{view.params.tagPath}" }, "tagPath": "{1}/Config" }, "transforms": [ { "expression": "coalesce({value},false) !\u003d false", "type": "expression" } ], "type": "tag" } }, "custom.tabsConfig.showControl": { "binding": { "config": { "fallbackDelay": 2.5, "mode": "indirect", "references": { "1": "{view.params.tagPath}" }, "tagPath": "{1}/Control" }, "transforms": [ { "expression": "coalesce({value},false) !\u003d false", "type": "expression" } ], "type": "tag" } }, "custom.trendConfig": { "persistent": true }, "params.objectName": { "paramDirection": "input", "persistent": true }, "params.tagPath": { "paramDirection": "input", "persistent": true } }, "props": { "defaultSize": { "height": 1617, "width": 1046 } }, "root": { "children": [ { "children": [ { "meta": { "name": "P4.1-1-1" }, "props": { "params": { "tagPath": "[PHXA2_IG_DH04]CP2320/PHXA2_UPS_BATT_VM_P4_1_P4_2/1_1/Strings/1" }, "path": "Pages/Dev/D_Electrical/L2/Cellwatch/Components/Popup Template" }, "type": "ia.display.view" }, { "meta": { "name": "P4.1-1-2" }, "position": { "tabIndex": 1 }, "props": { "params": { "tagPath": "[PHXA2_IG_DH04]CP2320/PHXA2_UPS_BATT_VM_P4_1_P4_2/1_1/Strings/2" }, "path": "Pages/Dev/D_Electrical/L2/Cellwatch/Components/Popup Template" }, "type": "ia.display.view" }, { "meta": { "name": "P4.1-1-3" }, "position": { "tabIndex": 2 }, "props": { "params": { "tagPath": "[PHXA2_IG_DH04]CP2320/PHXA2_UPS_BATT_VM_P4_1_P4_2/1_1/Strings/3" }, "path": "Pages/Dev/D_Electrical/L2/Cellwatch/Components/Popup Template" }, "type": "ia.display.view" }, { "meta": { "name": "P4.1-1-4" }, "position": { "tabIndex": 3 }, "props": { "params": { "tagPath": "[PHXA2_IG_DH04]CP2320/PHXA2_UPS_BATT_VM_P4_1_P4_2/1_1/Strings/4" }, "path": "Pages/Dev/D_Electrical/L2/Cellwatch/Components/Popup Template" }, "type": "ia.display.view" }, { "meta": { "name": "P4.1-1-5" }, "position": { "tabIndex": 4 }, "props": { "params": { "tagPath": "[PHXA2_IG_DH04]CP2320/PHXA2_UPS_BATT_VM_P4_1_P4_2/1_1/Strings/5" }, "path": "Pages/Dev/D_Electrical/L2/Cellwatch/Components/Popup Template" }, "type": "ia.display.view" }, { "meta": { "name": "P4.1-1-6" }, "position": { "tabIndex": 5 }, "props": { "params": { "tagPath": "[PHXA2_IG_DH04]CP2320/PHXA2_UPS_BATT_VM_P4_1_P4_2/1_1/Strings/6" }, "path": "Pages/Dev/D_Electrical/L2/Cellwatch/Components/Popup Template" }, "type": "ia.display.view" }, { "meta": { "name": "P4.1-2-1" }, "position": { "tabIndex": 6 }, "props": { "params": { "tagPath": "[PHXA2_IG_DH04]CP2320/PHXA2_UPS_BATT_VM_P4_1_P4_2/1_2/Strings/1" }, "path": "Pages/Dev/D_Electrical/L2/Cellwatch/Components/Popup Template" }, "type": "ia.display.view" }, { "meta": { "name": "P4.1-2-2" }, "position": { "tabIndex": 7 }, "props": { "params": { "tagPath": "[PHXA2_IG_DH04]CP2320/PHXA2_UPS_BATT_VM_P4_1_P4_2/1_2/Strings/2" }, "path": "Pages/Dev/D_Electrical/L2/Cellwatch/Components/Popup Template" }, "type": "ia.display.view" }, { "meta": { "name": "P4.1-2-3" }, "position": { "tabIndex": 8 }, "props": { "params": { "tagPath": "[PHXA2_IG_DH04]CP2320/PHXA2_UPS_BATT_VM_P4_1_P4_2/1_2/Strings/3" }, "path": "Pages/Dev/D_Electrical/L2/Cellwatch/Components/Popup Template" }, "type": "ia.display.view" }, { "meta": { "name": "P4.1-2-4" }, "position": { "tabIndex": 9 }, "props": { "params": { "tagPath": "[PHXA2_IG_DH04]CP2320/PHXA2_UPS_BATT_VM_P4_1_P4_2/1_2/Strings/4" }, "path": "Pages/Dev/D_Electrical/L2/Cellwatch/Components/Popup Template" }, "type": "ia.display.view" }, { "meta": { "name": "P4.1-2-5" }, "position": { "tabIndex": 10 }, "props": { "params": { "tagPath": "[PHXA2_IG_DH04]CP2320/PHXA2_UPS_BATT_VM_P4_1_P4_2/1_2/Strings/5" }, "path": "Pages/Dev/D_Electrical/L2/Cellwatch/Components/Popup Template" }, "type": "ia.display.view" }, { "meta": { "name": "P4.1-2-6" }, "position": { "tabIndex": 11 }, "props": { "params": { "tagPath": "[PHXA2_IG_DH04]CP2320/PHXA2_UPS_BATT_VM_P4_1_P4_2/1_2/Strings/6" }, "path": "Pages/Dev/D_Electrical/L2/Cellwatch/Components/Popup Template" }, "type": "ia.display.view" } ], "meta": { "name": "TabContainer" }, "position": { "basis": "1191px", "shrink": 0 }, "propConfig": { "props.tabs": { "binding": { "config": { "expression": "{view.custom.tabsConfig}" }, "transforms": [ { "code": "\ttabs \u003d value[\u0027tabs\u0027]\n\tshowConfig \u003d value[\u0027showConfig\u0027]\n\tshowControl \u003d value[\u0027showControl\u0027]\n\tif not showConfig:\n\t\ttabs.pop(tabs.indexOf(\u0027Config\u0027))\n\tif not showControl:\n\t\ttabs.pop(tabs.indexOf(\u0027Control\u0027))\n\t\n\treturn tabs", "type": "script" } ], "type": "expr" } } }, "props": { "contentStyle": { "backgroundColor": "var(--container)" }, "currentTabIndex": 11 }, "type": "ia.container.tab" } ], "meta": { "name": "root" }, "props": { "direction": "column" }, "scripts": { "customMethods": [], "extensionFunctions": null, "messageHandlers": [ { "messageType": "enableDisablePen", "pageScope": true, "script": "\t# When a pen is selected or de-selected on the trends page, this handler is\n\t# responsible for appending or removing the pen name from the proper trend\n\t# config list.\n\t\n\tname \u003d payload[\u0027name\u0027]\n\tenabledOrDisabled \u003d payload[\u0027enabledOrDisabled\u0027]\n\tgroup \u003d payload[\u0027group\u0027]\n\t\n\tif enabledOrDisabled \u003d\u003d True:\n\t\tif name not in self.view.custom.trendConfig[\u0027selectedPens\u0027]:\n\t\t\tself.view.custom.trendConfig[\u0027selectedPens\u0027].append(name)\n\telse:\n\t\tif name in self.view.custom.trendConfig[\u0027selectedPens\u0027]:\n\t\t\tself.view.custom.trendConfig[\u0027selectedPens\u0027].remove(name)", "sessionScope": false, "viewScope": false } ] }, "type": "ia.container.flex" } }