BNA8/.resources/a9238476643e3ecfd949572992d3d7168538ad2e7bf805d53aad0a9f349d90bd

647 lines
16 KiB
Plaintext

{
"custom": {
"dpm1-dpm2": true,
"dpm2-dpm3": true,
"dpm3-dpm4": true,
"dpm4-mcm": true,
"mcm-dpm1": true
},
"params": {
"tagProps": [
"System/MCM03/MCM03",
"System/MCM03/IO_BLOCK/DPM/NCP1_1_DPM1",
"System/MCM03/IO_BLOCK/DPM/NCP1_2_DPM1",
"System/MCM03/IO_BLOCK/DPM/NCP1_3_DPM1",
"System/MCM03/IO_BLOCK/DPM/NCP1_5_DPM1"
]
},
"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": "NCP1_1_DPM1"
},
"position": {
"height": 0.5,
"width": 0.3333,
"x": 0.6666
},
"propConfig": {
"props.params.DownOn": {
"binding": {
"config": {
"path": "view.custom.mcm-dpm1"
},
"type": "property"
}
},
"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,
"DownRight": false,
"InDown": false,
"InLeft": true,
"InUp": false,
"OutDown": true,
"OutRight": false,
"OutUp": false,
"view": "Windows/Tabs/Enternet Windows/DPMs/DPM Devices/MCM03/NCP1_1_DPM1"
},
"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": "NCP1_2_DPM1"
},
"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/MCM03/NCP1_2_DPM1"
},
"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": "NCP1_3_DPM1"
},
"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/MCM03/NCP1_3_DPM1"
},
"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": "NCP1_5_DPM1"
},
"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/MCM03/NCP1_5_DPM1"
},
"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": "NCP1_1_DPM1 11.200.1.2",
"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": "NCP1_2_DPM1 11.200.1.3",
"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": "NCP1_3_DPM1 11.200.1.4",
"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": "NCP1_5_DPM1 11.200.1.5",
"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"
}
}