{ "custom": { "dpm1-dpm2": false, "dpm2-dpm3": false, "dpm3-dpm4": false, "dpm4-mcm": false, "mcm-dpm1": false }, "params": { "tagProps": [ "DPM0_TAG", "DPM1_TAG", "DPM2_TAG", "DPM3_TAG", "DPM4_TAG" ] }, "propConfig": { "custom.dpm1-dpm2": { "binding": { "config": { "fallbackDelay": 2.5, "mode": "indirect", "references": { "1": "{view.params.tagProps[1]}", "fc": "{session.custom.fc}" }, "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{1}/STATE" }, "transforms": [ { "expression": "coalesce({value},{view.params.forceFaultStatus},1)", "type": "expression" }, { "fallback": false, "inputType": "scalar", "mappings": [ { "input": 0, "output": true }, { "input": 1, "output": false } ], "outputType": "scalar", "type": "map" } ], "type": "tag" }, "persistent": true }, "custom.dpm2-dpm3": { "binding": { "config": { "fallbackDelay": 2.5, "mode": "indirect", "references": { "2": "{view.params.tagProps[2]}", "fc": "{session.custom.fc}" }, "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{2}/STATE" }, "transforms": [ { "expression": "coalesce({value},{view.params.forceFaultStatus},1)", "type": "expression" }, { "fallback": false, "inputType": "scalar", "mappings": [ { "input": 0, "output": true }, { "input": 1, "output": false } ], "outputType": "scalar", "type": "map" } ], "type": "tag" }, "persistent": true }, "custom.dpm3-dpm4": { "binding": { "config": { "fallbackDelay": 2.5, "mode": "indirect", "references": { "3": "{view.params.tagProps[3]}", "fc": "{session.custom.fc}" }, "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{3}/STATE" }, "transforms": [ { "expression": "coalesce({value},{view.params.forceFaultStatus},1)", "type": "expression" }, { "fallback": false, "inputType": "scalar", "mappings": [ { "input": 0, "output": true }, { "input": 1, "output": false } ], "outputType": "scalar", "type": "map" } ], "type": "tag" }, "persistent": true }, "custom.dpm4-mcm": { "binding": { "config": { "fallbackDelay": 2.5, "mode": "indirect", "references": { "4": "{view.params.tagProps[4]}", "fc": "{session.custom.fc}" }, "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{4}/STATE" }, "transforms": [ { "expression": "coalesce({value},{view.params.forceFaultStatus},1)", "type": "expression" }, { "fallback": false, "inputType": "scalar", "mappings": [ { "input": 0, "output": true }, { "input": 1, "output": false } ], "outputType": "scalar", "type": "map" } ], "type": "tag" }, "persistent": true }, "custom.mcm-dpm1": { "binding": { "config": { "fallbackDelay": 2.5, "mode": "indirect", "references": { "0": "{view.params.tagProps[0]}", "fc": "{session.custom.fc}" }, "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/STATE" }, "transforms": [ { "expression": "coalesce({value},{view.params.forceFaultStatus},1)", "type": "expression" }, { "fallback": false, "inputType": "scalar", "mappings": [ { "input": 0, "output": true }, { "input": 1, "output": false } ], "outputType": "scalar", "type": "map" } ], "type": "tag" }, "persistent": true }, "params.tagProps": { "paramDirection": "input", "persistent": true } }, "props": { "defaultSize": { "height": 894, "width": 1920 } }, "root": { "children": [ { "events": { "dom": { "onClick": { "config": { "script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" }, "scope": "G", "type": "script" } } }, "meta": { "name": "MCM" }, "position": { "height": 0.5, "width": 0.3333, "x": 0.6666, "y": 0.5 }, "propConfig": { "props.params.InOn": { "binding": { "config": { "path": "view.custom.dpm4-mcm" }, "type": "property" } }, "props.params.OutOn": { "binding": { "config": { "path": "view.custom.mcm-dpm1" }, "type": "property" } } }, "props": { "params": { "InDown": false, "InLeft": true, "InUp": false, "OutDown": false, "OutRight": false, "OutUp": true }, "path": "Windows/Tabs/Enternet Windows/Components/EN4TR" }, "type": "ia.display.view" }, { "events": { "dom": { "onClick": { "config": { "script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" }, "scope": "G", "type": "script" } } }, "meta": { "name": "DPM1_DEVICE" }, "position": { "height": 0.5, "width": 0.3333, "x": 0.6666 }, "propConfig": { "props.params.InOn": { "binding": { "config": { "path": "view.custom.dpm1-dpm2" }, "type": "property" } }, "props.params.OutOn": { "binding": { "config": { "path": "view.custom.mcm-dpm1" }, "type": "property" } } }, "props": { "params": { "Down1": false, "Down2": false, "Down3": true, "DownLeft": false, "DownOn": false, "DownRight": false, "InDown": false, "InLeft": true, "InUp": false, "OutDown": true, "OutRight": false, "OutUp": false, "view": "Windows/Tabs/Enternet Windows/DPMs/DPM Devices/MCM01/DPM1_DEVICE" }, "path": "Windows/Tabs/Enternet Windows/Components/DPM_BLOCK" }, "type": "ia.display.view" }, { "events": { "dom": { "onClick": { "config": { "script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" }, "scope": "G", "type": "script" } } }, "meta": { "name": "DPM2_DEVICE" }, "position": { "height": 0.5, "width": 0.3333, "x": 0.3333 }, "propConfig": { "props.params.InOn": { "binding": { "config": { "path": "view.custom.dpm2-dpm3" }, "type": "property" } }, "props.params.OutOn": { "binding": { "config": { "path": "view.custom.dpm1-dpm2" }, "type": "property" } } }, "props": { "params": { "Down1": false, "Down2": false, "Down3": false, "DownLeft": false, "DownOn": false, "DownRight": false, "InDown": false, "InLeft": true, "InUp": false, "OutDown": false, "OutRight": true, "OutUp": false, "view": "Windows/Tabs/Enternet Windows/DPMs/DPM Devices/MCM01/DPM2_DEVICE" }, "path": "Windows/Tabs/Enternet Windows/Components/DPM_BLOCK" }, "type": "ia.display.view" }, { "events": { "dom": { "onClick": { "config": { "script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" }, "scope": "G", "type": "script" } } }, "meta": { "name": "DPM3_DEVICE" }, "position": { "height": 0.5, "width": 0.3333 }, "propConfig": { "props.params.DownOn": { "binding": { "config": { "path": "view.custom.dpm3-dpm4" }, "type": "property" } }, "props.params.InOn": { "binding": { "config": { "path": "view.custom.dpm3-dpm4" }, "type": "property" } }, "props.params.OutOn": { "binding": { "config": { "path": "view.custom.dpm2-dpm3" }, "type": "property" } } }, "props": { "params": { "Down1": false, "Down2": true, "Down3": false, "DownLeft": false, "DownRight": false, "InDown": true, "InLeft": false, "InUp": false, "OutDown": false, "OutRight": true, "OutUp": false, "view": "Windows/Tabs/Enternet Windows/DPMs/DPM Devices/MCM01/DPM3_DEVICE" }, "path": "Windows/Tabs/Enternet Windows/Components/DPM_BLOCK" }, "type": "ia.display.view" }, { "events": { "dom": { "onClick": { "config": { "script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" }, "scope": "G", "type": "script" } } }, "meta": { "name": "DPM4_DEVICE" }, "position": { "height": 0.5, "width": 0.3333, "y": 0.5 }, "propConfig": { "props.params.InOn": { "binding": { "config": { "path": "view.custom.dpm3-dpm4" }, "type": "property" } }, "props.params.OutOn": { "binding": { "config": { "path": "view.custom.dpm4-mcm" }, "type": "property" } } }, "props": { "params": { "Down1": false, "Down2": false, "Down3": false, "DownLeft": false, "DownOn": false, "DownRight": false, "InDown": false, "InLeft": false, "InUp": true, "OutDown": false, "OutRight": true, "OutUp": false, "view": "Windows/Tabs/Enternet Windows/DPMs/DPM Devices/MCM01/DPM4_DEVICE" }, "path": "Windows/Tabs/Enternet Windows/Components/DPM_BLOCK" }, "type": "ia.display.view" }, { "meta": { "name": "DPM1_label" }, "position": { "height": 0.0358, "width": 0.0547, "x": 0.65, "y": 0.1 }, "props": { "text": "DPM1_TEXT", "textStyle": { "fontSize": "1vmin" } }, "type": "ia.display.label" }, { "meta": { "name": "DPM2_label" }, "position": { "height": 0.0358, "width": 0.0547, "x": 0.32, "y": 0.1 }, "props": { "text": "DPM2_TEXT", "textStyle": { "fontSize": "1vmin" } }, "type": "ia.display.label" }, { "meta": { "name": "DPM3_label" }, "position": { "height": 0.0358, "width": 0.0547, "x": 0.005, "y": 0.1 }, "props": { "text": "DPM3_TEXT", "textStyle": { "fontSize": "1vmin" } }, "type": "ia.display.label" }, { "meta": { "name": "DPM4_label" }, "position": { "height": 0.0358, "width": 0.0547, "x": 0.005, "y": 0.6 }, "props": { "text": "DPM4_TEXT", "textStyle": { "fontSize": "1vmin" } }, "type": "ia.display.label" }, { "events": { "dom": { "onClick": { "config": { "script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_device_view \u003d True" }, "scope": "G", "type": "script" } } }, "meta": { "name": "DEVICE" }, "position": { "height": 0.5, "width": 0.3333, "x": 0.3333, "y": 0.4999 }, "propConfig": { "props.params.On": { "binding": { "config": { "path": "view.custom.dpm4-mcm" }, "type": "property" } } }, "props": { "params": { "LR": true, "LRU": false, "LU": false, "RD": false, "RLD": false, "RLU": false, "RU": false }, "path": "Windows/Tabs/Enternet Windows/Components/CommLines" }, "type": "ia.display.view" } ], "meta": { "name": "root" }, "position": { "x": 120, "y": -723 }, "props": { "mode": "percent", "style": { "backgroundColor": "#ffffff" } }, "type": "ia.container.coord" } }