526 lines
14 KiB
Plaintext
526 lines
14 KiB
Plaintext
{
|
|
"custom": {
|
|
"OCmd": {
|
|
"OOS": null
|
|
}
|
|
},
|
|
"params": {
|
|
"auth": {
|
|
"almAck": true,
|
|
"almShelve": true,
|
|
"config": true,
|
|
"control": true
|
|
},
|
|
"tagPath": "[Ignition_Common_IO_Gtwy]Roof/SATB1_RF_CH01_SYSTEM"
|
|
},
|
|
"propConfig": {
|
|
"custom.OCmd": {
|
|
"persistent": true
|
|
},
|
|
"custom.OCmd.Maint": {
|
|
"binding": {
|
|
"config": {
|
|
"bidirectional": true,
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}/Control/OCmd Maintenance"
|
|
},
|
|
"type": "tag"
|
|
}
|
|
},
|
|
"custom.OCmd.Mode": {
|
|
"binding": {
|
|
"config": {
|
|
"bidirectional": true,
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}/Control/MODE"
|
|
},
|
|
"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"
|
|
}
|
|
},
|
|
"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\n\tprint \"PRIME Manual button pressed\""
|
|
},
|
|
"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": false,
|
|
"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"
|
|
},
|
|
"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": [
|
|
{
|
|
"meta": {
|
|
"name": "Description",
|
|
"tooltip": {
|
|
"width": "50%"
|
|
}
|
|
},
|
|
"position": {
|
|
"basis": "50%"
|
|
},
|
|
"props": {
|
|
"text": "Maintenance",
|
|
"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.Maint"
|
|
},
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"text": ""
|
|
},
|
|
"type": "ia.input.checkbox"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "Maintenance"
|
|
},
|
|
"position": {
|
|
"basis": "50px"
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"gap": "10px",
|
|
"overflow": "visible"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label"
|
|
},
|
|
"position": {
|
|
"basis": "32px"
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"textAlign": "center"
|
|
},
|
|
"text": "Expiration date and time"
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "DateTimeInput_0"
|
|
},
|
|
"position": {
|
|
"basis": "32px"
|
|
},
|
|
"propConfig": {
|
|
"props.enabled": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.auth.control"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.value": {
|
|
"binding": {
|
|
"config": {
|
|
"bidirectional": true,
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}/Alarms/ExpirationTime"
|
|
},
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"formattedValue": null,
|
|
"style": {
|
|
"paddingLeft": 100,
|
|
"paddingRight": 100
|
|
}
|
|
},
|
|
"type": "ia.input.date-time-input"
|
|
}
|
|
],
|
|
"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",
|
|
"overflow": "visible"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
}
|
|
} |