597 lines
20 KiB
Plaintext
597 lines
20 KiB
Plaintext
{
|
|
"custom": {},
|
|
"params": {
|
|
"tagPath": "[Ignition_Common_IO_Gtwy]Yard/SATB1_YARD_DS-1A3"
|
|
},
|
|
"propConfig": {
|
|
"params.tagPath": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
}
|
|
},
|
|
"props": {},
|
|
"root": {
|
|
"children": [
|
|
{
|
|
"children": [
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Label"
|
|
},
|
|
"position": {
|
|
"basis": "20%"
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "\u0027Way \u0027+{parent.custom.wayNumber}+\u0027 Status:\u0027"
|
|
},
|
|
"type": "expr"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"gap": "5px"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"custom": {
|
|
"Status": {}
|
|
},
|
|
"meta": {
|
|
"name": "Label_0"
|
|
},
|
|
"position": {
|
|
"grow": 1
|
|
},
|
|
"propConfig": {
|
|
"custom.Status.Closed": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.tagPath}",
|
|
"wayNumber": "{parent.custom.wayNumber}"
|
|
},
|
|
"tagPath": "{tagPath}/Breaker Closed Way {wayNumber}"
|
|
},
|
|
"type": "tag"
|
|
}
|
|
},
|
|
"custom.Status.Grounded": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.tagPath}",
|
|
"wayNumber": "{parent.custom.wayNumber}"
|
|
},
|
|
"tagPath": "{tagPath}/Breaker Grounded Way {wayNumber}"
|
|
},
|
|
"type": "tag"
|
|
}
|
|
},
|
|
"custom.Status.Open": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.tagPath}",
|
|
"wayNumber": "{parent.custom.wayNumber}"
|
|
},
|
|
"tagPath": "{tagPath}/Breaker Open Way {wayNumber}"
|
|
},
|
|
"type": "tag"
|
|
}
|
|
},
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"struct": {
|
|
"Closed": "{this.custom.Status.Closed}",
|
|
"Grounded": "{this.custom.Status.Grounded}",
|
|
"Open": "{this.custom.Status.Open}"
|
|
},
|
|
"waitOnAll": true
|
|
},
|
|
"transforms": [
|
|
{
|
|
"expression": "if({value}[\u0027Closed\u0027],1,\r\nif({value}[\u0027Open\u0027],2,\r\nif({value}[\u0027Grounded\u0027],3,0\r\n)))",
|
|
"type": "expression"
|
|
},
|
|
{
|
|
"fallback": "Error",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": 1,
|
|
"output": "Closed"
|
|
},
|
|
{
|
|
"input": 2,
|
|
"output": "Open"
|
|
},
|
|
{
|
|
"input": 3,
|
|
"output": "Grounded"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "expr-struct"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"gap": "5px"
|
|
},
|
|
"textStyle": {
|
|
"color": "var(--tagvalue-color)"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"custom": {
|
|
"wayNumber": "01"
|
|
},
|
|
"meta": {
|
|
"name": "Way 1"
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Label"
|
|
},
|
|
"position": {
|
|
"basis": "20%"
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "\u0027Way \u0027+{parent.custom.wayNumber}+\u0027 Status:\u0027"
|
|
},
|
|
"type": "expr"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"gap": "5px"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"custom": {
|
|
"Status": {}
|
|
},
|
|
"meta": {
|
|
"name": "Label_0"
|
|
},
|
|
"position": {
|
|
"grow": 1
|
|
},
|
|
"propConfig": {
|
|
"custom.Status.Closed": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.tagPath}",
|
|
"wayNumber": "{parent.custom.wayNumber}"
|
|
},
|
|
"tagPath": "{tagPath}/Breaker Closed Way {wayNumber}"
|
|
},
|
|
"type": "tag"
|
|
}
|
|
},
|
|
"custom.Status.Grounded": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.tagPath}",
|
|
"wayNumber": "{parent.custom.wayNumber}"
|
|
},
|
|
"tagPath": "{tagPath}/Breaker Grounded Way {wayNumber}"
|
|
},
|
|
"type": "tag"
|
|
}
|
|
},
|
|
"custom.Status.Open": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.tagPath}",
|
|
"wayNumber": "{parent.custom.wayNumber}"
|
|
},
|
|
"tagPath": "{tagPath}/Breaker Open Way {wayNumber}"
|
|
},
|
|
"type": "tag"
|
|
}
|
|
},
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"struct": {
|
|
"Closed": "{this.custom.Status.Closed}",
|
|
"Grounded": "{this.custom.Status.Grounded}",
|
|
"Open": "{this.custom.Status.Open}"
|
|
},
|
|
"waitOnAll": true
|
|
},
|
|
"transforms": [
|
|
{
|
|
"expression": "if({value}[\u0027Closed\u0027],1,\r\nif({value}[\u0027Open\u0027],2,\r\nif({value}[\u0027Grounded\u0027],3,0\r\n)))",
|
|
"type": "expression"
|
|
},
|
|
{
|
|
"fallback": "Error",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": 1,
|
|
"output": "Closed"
|
|
},
|
|
{
|
|
"input": 2,
|
|
"output": "Open"
|
|
},
|
|
{
|
|
"input": 3,
|
|
"output": "Grounded"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "expr-struct"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"gap": "10px 0"
|
|
},
|
|
"textStyle": {
|
|
"color": "var(--tagvalue-color)"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"custom": {
|
|
"wayNumber": "02"
|
|
},
|
|
"meta": {
|
|
"name": "Way 2"
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Label"
|
|
},
|
|
"position": {
|
|
"basis": "20%"
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "\u0027Way \u0027+{parent.custom.wayNumber}+\u0027 Status:\u0027"
|
|
},
|
|
"type": "expr"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"gap": "5px"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"custom": {
|
|
"Status": {}
|
|
},
|
|
"meta": {
|
|
"name": "Label_0"
|
|
},
|
|
"position": {
|
|
"grow": 1
|
|
},
|
|
"propConfig": {
|
|
"custom.Status.Closed": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.tagPath}",
|
|
"wayNumber": "{parent.custom.wayNumber}"
|
|
},
|
|
"tagPath": "{tagPath}/Breaker Closed Way {wayNumber}"
|
|
},
|
|
"type": "tag"
|
|
}
|
|
},
|
|
"custom.Status.Grounded": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.tagPath}",
|
|
"wayNumber": "{parent.custom.wayNumber}"
|
|
},
|
|
"tagPath": "{tagPath}/Breaker Grounded Way {wayNumber}"
|
|
},
|
|
"type": "tag"
|
|
}
|
|
},
|
|
"custom.Status.Open": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.tagPath}",
|
|
"wayNumber": "{parent.custom.wayNumber}"
|
|
},
|
|
"tagPath": "{tagPath}/Breaker Open Way {wayNumber}"
|
|
},
|
|
"type": "tag"
|
|
}
|
|
},
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"struct": {
|
|
"Closed": "{this.custom.Status.Closed}",
|
|
"Grounded": "{this.custom.Status.Grounded}",
|
|
"Open": "{this.custom.Status.Open}"
|
|
},
|
|
"waitOnAll": true
|
|
},
|
|
"transforms": [
|
|
{
|
|
"expression": "if({value}[\u0027Closed\u0027],1,\r\nif({value}[\u0027Open\u0027],2,\r\nif({value}[\u0027Grounded\u0027],3,0\r\n)))",
|
|
"type": "expression"
|
|
},
|
|
{
|
|
"fallback": "Error",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": 1,
|
|
"output": "Closed"
|
|
},
|
|
{
|
|
"input": 2,
|
|
"output": "Open"
|
|
},
|
|
{
|
|
"input": 3,
|
|
"output": "Grounded"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "expr-struct"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"gap": "5px"
|
|
},
|
|
"textStyle": {
|
|
"color": "var(--tagvalue-color)"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"custom": {
|
|
"wayNumber": "03"
|
|
},
|
|
"meta": {
|
|
"name": "Way 3"
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Label"
|
|
},
|
|
"position": {
|
|
"basis": "20%"
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "\u0027Way \u0027+{parent.custom.wayNumber}+\u0027 Status:\u0027"
|
|
},
|
|
"type": "expr"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"gap": "5px"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"custom": {
|
|
"Status": {}
|
|
},
|
|
"meta": {
|
|
"name": "Label_0"
|
|
},
|
|
"position": {
|
|
"grow": 1
|
|
},
|
|
"propConfig": {
|
|
"custom.Status.Closed": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.tagPath}",
|
|
"wayNumber": "{parent.custom.wayNumber}"
|
|
},
|
|
"tagPath": "{tagPath}/Breaker Closed Way {wayNumber}"
|
|
},
|
|
"type": "tag"
|
|
}
|
|
},
|
|
"custom.Status.Grounded": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.tagPath}",
|
|
"wayNumber": "{parent.custom.wayNumber}"
|
|
},
|
|
"tagPath": "{tagPath}/Breaker Grounded Way {wayNumber}"
|
|
},
|
|
"type": "tag"
|
|
}
|
|
},
|
|
"custom.Status.Open": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.tagPath}",
|
|
"wayNumber": "{parent.custom.wayNumber}"
|
|
},
|
|
"tagPath": "{tagPath}/Breaker Open Way {wayNumber}"
|
|
},
|
|
"type": "tag"
|
|
}
|
|
},
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"struct": {
|
|
"Closed": "{this.custom.Status.Closed}",
|
|
"Grounded": "{this.custom.Status.Grounded}",
|
|
"Open": "{this.custom.Status.Open}"
|
|
},
|
|
"waitOnAll": true
|
|
},
|
|
"transforms": [
|
|
{
|
|
"expression": "if({value}[\u0027Closed\u0027],1,\r\nif({value}[\u0027Open\u0027],2,\r\nif({value}[\u0027Grounded\u0027],3,0\r\n)))",
|
|
"type": "expression"
|
|
},
|
|
{
|
|
"fallback": "Error",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": 1,
|
|
"output": "Closed"
|
|
},
|
|
{
|
|
"input": 2,
|
|
"output": "Open"
|
|
},
|
|
{
|
|
"input": 3,
|
|
"output": "Grounded"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "expr-struct"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"gap": "5px"
|
|
},
|
|
"textStyle": {
|
|
"color": "var(--tagvalue-color)"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"custom": {
|
|
"wayNumber": "04"
|
|
},
|
|
"meta": {
|
|
"name": "Way 4"
|
|
},
|
|
"type": "ia.container.flex"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "FlexContainer"
|
|
},
|
|
"position": {
|
|
"grow": 1
|
|
},
|
|
"props": {
|
|
"direction": "column",
|
|
"style": {
|
|
"border": "1px solid var(--border)",
|
|
"gap": "10px 0",
|
|
"padding": "10px"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "root"
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"classes": "containers/padded-container"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
}
|
|
} |