Files
Stream_PHX_A7/Gateways/FE/projects/.resources/f2e409bc47d2b1748328201a73b99d9a351c33faaa3cf255c7616e4bd8e0e360

639 lines
18 KiB
Plaintext

{
"custom": {
"OCmd": {},
"OCmd_MB": {}
},
"params": {
"auth": {
"almAck": true,
"almShelve": true,
"config": true,
"control": true
},
"tagPath": "[Ignition_Common_IO_Gtwy]GAL1262/SATB1_GAL1262_HUM_01"
},
"propConfig": {
"custom.OCmd": {
"persistent": true
},
"custom.OCmd.Mode": {
"binding": {
"config": {
"bidirectional": true,
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.params.tagPath}"
},
"tagPath": "{tagPath}/Control/ModeCMD"
},
"type": "tag"
}
},
"custom.OCmd.OOS": {
"binding": {
"config": {
"bidirectional": true,
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.params.tagPath}"
},
"tagPath": "{tagPath}/Control/OCmd_OOS"
},
"type": "tag"
}
},
"custom.OCmd.Reset": {
"binding": {
"config": {
"bidirectional": true,
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.params.tagPath}"
},
"tagPath": "{tagPath}/Control/OCmd_Reset"
},
"type": "tag"
}
},
"custom.OCmd.Run": {
"binding": {
"config": {
"bidirectional": true,
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.params.tagPath}"
},
"tagPath": "{tagPath}/Control/OCmd_Run"
},
"type": "tag"
}
},
"custom.OCmd_MB": {
"persistent": true
},
"custom.OCmd_MB.Enable": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.params.tagPath}"
},
"tagPath": "{tagPath}/Control/Enable"
},
"type": "tag"
}
},
"custom.OCmd_MB.Reset": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.params.tagPath}"
},
"tagPath": "{tagPath}/Control/Alarm Reset"
},
"type": "tag"
}
},
"params.auth": {
"paramDirection": "input",
"persistent": true
},
"params.tagPath": {
"paramDirection": "input",
"persistent": true
}
},
"props": {},
"root": {
"children": [
{
"children": [
{
"children": [
{
"events": {
"dom": {
"onClick": {
"config": {
"script": "\tself.view.custom.OCmd.Mode \u003d True"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "AutoBtn"
},
"position": {
"basis": "50%"
},
"propConfig": {
"props.enabled": {
"binding": {
"config": {
"path": "view.params.auth.control"
},
"type": "property"
}
},
"props.primary": {
"binding": {
"config": {
"path": "view.custom.OCmd.Mode"
},
"type": "property"
}
}
},
"props": {
"text": "Auto"
},
"type": "ia.input.button"
},
{
"events": {
"dom": {
"onClick": {
"config": {
"script": "\tself.view.custom.OCmd.Mode \u003d False"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "CloseBtn"
},
"position": {
"basis": "50%"
},
"propConfig": {
"props.enabled": {
"binding": {
"config": {
"path": "view.params.auth.control"
},
"type": "property"
}
},
"props.primary": {
"binding": {
"config": {
"path": "view.custom.OCmd.Mode"
},
"transforms": [
{
"fallback": null,
"inputType": "scalar",
"mappings": [
{
"input": false,
"output": true
},
{
"input": true,
"output": false
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
}
},
"props": {
"text": "Manual"
},
"type": "ia.input.button"
}
],
"meta": {
"name": "Row1"
},
"position": {
"basis": "50px"
},
"props": {
"style": {
"gap": "10px",
"overflow": "visible"
}
},
"type": "ia.container.flex"
},
{
"children": [
{
"events": {
"dom": {
"onClick": {
"config": {
"script": "\tself.view.custom.OCmd.Run \u003d True"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "StartBtn"
},
"position": {
"basis": "50%"
},
"propConfig": {
"props.enabled": {
"binding": {
"config": {
"expression": "if({view.params.auth.control}, if(!{view.custom.OCmd.Mode}, true, false) , false)"
},
"type": "expr"
}
},
"props.primary": {
"binding": {
"config": {
"path": "view.custom.OCmd.Run"
},
"type": "property"
}
}
},
"props": {
"text": "Start"
},
"type": "ia.input.button"
},
{
"events": {
"dom": {
"onClick": {
"config": {
"script": "\tself.view.custom.OCmd.Run \u003d False"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "StopBtn"
},
"position": {
"basis": "50%"
},
"propConfig": {
"props.enabled": {
"binding": {
"config": {
"expression": "if({view.params.auth.control}, if(!{view.custom.OCmd.Mode}, true, false) , false)"
},
"type": "expr"
}
},
"props.primary": {
"binding": {
"config": {
"path": "view.custom.OCmd.Run"
},
"transforms": [
{
"fallback": null,
"inputType": "scalar",
"mappings": [
{
"input": false,
"output": true
},
{
"input": true,
"output": false
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
}
},
"props": {
"text": "Stop"
},
"type": "ia.input.button"
}
],
"meta": {
"name": "Row2"
},
"position": {
"basis": "50px"
},
"props": {
"style": {
"gap": "10px",
"overflow": "visible"
}
},
"type": "ia.container.flex"
},
{
"events": {
"dom": {
"onClick": {
"config": {
"script": "\tself.view.custom.OCmd.Reset \u003d True\n\tself.view.custom.OCmd_MB.Reset \u003d True"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "Reset Btn"
},
"position": {
"basis": "50px"
},
"propConfig": {
"props.enabled": {
"binding": {
"config": {
"path": "view.params.auth.control"
},
"type": "property"
}
}
},
"props": {
"primary": false,
"text": "Reset"
},
"type": "ia.input.button"
}
],
"meta": {
"name": "Left Column"
},
"position": {
"basis": "50%"
},
"props": {
"direction": "column",
"style": {
"gap": "10px",
"overflow": "visible"
}
},
"type": "ia.container.flex"
},
{
"children": [
{
"children": [
{
"events": {
"dom": {
"onClick": {
"config": {
"script": "\tself.view.custom.OCmd.Mode \u003d True"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "RstBtn"
},
"position": {
"basis": "50%"
},
"propConfig": {
"props.enabled": {
"binding": {
"config": {
"path": "view.params.auth.control"
},
"type": "property"
}
},
"props.primary": {
"binding": {
"config": {
"path": "view.custom.OCmd_MB.Reset"
},
"type": "property"
}
}
},
"props": {
"text": "Alarm Reset"
},
"type": "ia.input.button"
},
{
"events": {
"dom": {
"onClick": {
"config": {
"script": "\tself.view.custom.OCmd.Mode \u003d False"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "EnableBtn"
},
"position": {
"basis": "50%"
},
"propConfig": {
"props.enabled": {
"binding": {
"config": {
"path": "view.params.auth.control"
},
"type": "property"
}
},
"props.primary": {
"binding": {
"config": {
"path": "view.custom.OCmd_MB.Enable"
},
"transforms": [
{
"fallback": false,
"inputType": "scalar",
"mappings": [
{
"input": 0,
"output": false
},
{
"input": 1,
"output": true
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
},
"props.text": {
"binding": {
"config": {
"path": "view.custom.OCmd_MB.Enable"
},
"transforms": [
{
"fallback": null,
"inputType": "scalar",
"mappings": [
{
"input": 1,
"output": "Disable"
},
{
"input": 0,
"output": "Enable"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
}
},
"type": "ia.input.button"
}
],
"meta": {
"name": "Row1"
},
"position": {
"basis": "50px",
"display": false
},
"props": {
"style": {
"gap": "10px",
"overflow": "visible"
}
},
"type": "ia.container.flex"
},
{
"children": [
{
"meta": {
"name": "Description",
"tooltip": {
"width": "50%"
}
},
"position": {
"basis": "50%"
},
"props": {
"text": "Out of Service",
"textStyle": {
"textAlign": "right"
}
},
"type": "ia.display.label"
},
{
"meta": {
"name": "Val"
},
"position": {
"basis": "50%"
},
"propConfig": {
"props.enabled": {
"binding": {
"config": {
"path": "view.params.auth.control"
},
"type": "property"
}
},
"props.selected": {
"binding": {
"config": {
"bidirectional": true,
"path": "view.custom.OCmd.OOS"
},
"type": "property"
}
}
},
"props": {
"text": ""
},
"type": "ia.input.checkbox"
}
],
"meta": {
"name": "OutOfService"
},
"position": {
"basis": "50px"
},
"props": {
"style": {
"gap": "10px",
"overflow": "visible"
}
},
"type": "ia.container.flex"
}
],
"meta": {
"name": "Right Column"
},
"position": {
"basis": "50%"
},
"props": {
"direction": "column",
"style": {
"gap": "10px",
"overflow": "visible"
}
},
"type": "ia.container.flex"
}
],
"meta": {
"name": "root"
},
"props": {
"style": {
"classes": "containers/padded-container",
"gap": "10px"
}
},
"type": "ia.container.flex"
}
}