Fix Extendo Docked-East
This commit is contained in:
parent
30e4c039d2
commit
4b9d34f83b
@ -397,304 +397,6 @@
|
|||||||
},
|
},
|
||||||
"type": "ia.container.flex"
|
"type": "ia.container.flex"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"children": [
|
|
||||||
{
|
|
||||||
"children": [
|
|
||||||
{
|
|
||||||
"meta": {
|
|
||||||
"name": "Name"
|
|
||||||
},
|
|
||||||
"position": {
|
|
||||||
"basis": "50%",
|
|
||||||
"grow": 1
|
|
||||||
},
|
|
||||||
"props": {
|
|
||||||
"style": {
|
|
||||||
"paddingLeft": 20
|
|
||||||
},
|
|
||||||
"text": "FULL"
|
|
||||||
},
|
|
||||||
"type": "ia.display.label"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"meta": {
|
|
||||||
"name": "Full"
|
|
||||||
},
|
|
||||||
"position": {
|
|
||||||
"basis": "50%",
|
|
||||||
"grow": 1
|
|
||||||
},
|
|
||||||
"propConfig": {
|
|
||||||
"props.style.backgroundColor": {
|
|
||||||
"binding": {
|
|
||||||
"config": {
|
|
||||||
"path": "this.props.text"
|
|
||||||
},
|
|
||||||
"transforms": [
|
|
||||||
{
|
|
||||||
"fallback": "#000000",
|
|
||||||
"inputType": "scalar",
|
|
||||||
"mappings": [
|
|
||||||
{
|
|
||||||
"input": "FULL",
|
|
||||||
"output": "#FFFFFF"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"input": "NOT FULL",
|
|
||||||
"output": "#D5D5D5"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"outputType": "color",
|
|
||||||
"type": "map"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"type": "property"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"props.text": {
|
|
||||||
"binding": {
|
|
||||||
"config": {
|
|
||||||
"fallbackDelay": 2.5,
|
|
||||||
"mode": "indirect",
|
|
||||||
"references": {
|
|
||||||
"0": "{view.params.tagProps[0]}",
|
|
||||||
"fc": "{session.custom.fc}"
|
|
||||||
},
|
|
||||||
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Pressed"
|
|
||||||
},
|
|
||||||
"transforms": [
|
|
||||||
{
|
|
||||||
"expression": "coalesce({value},{view.params.forceFaultStatus},0)",
|
|
||||||
"type": "expression"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"fallback": "NOT FULL",
|
|
||||||
"inputType": "scalar",
|
|
||||||
"mappings": [
|
|
||||||
{
|
|
||||||
"input": true,
|
|
||||||
"output": "FULL"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"outputType": "scalar",
|
|
||||||
"type": "map"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"type": "tag"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"props.textStyle.color": {
|
|
||||||
"binding": {
|
|
||||||
"config": {
|
|
||||||
"path": "this.props.text"
|
|
||||||
},
|
|
||||||
"transforms": [
|
|
||||||
{
|
|
||||||
"fallback": "#000000",
|
|
||||||
"inputType": "scalar",
|
|
||||||
"mappings": [
|
|
||||||
{
|
|
||||||
"input": "FULL",
|
|
||||||
"output": "#FF0000"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"input": "NOT FULL",
|
|
||||||
"output": "#47FF47"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"outputType": "color",
|
|
||||||
"type": "map"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"type": "property"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"props": {
|
|
||||||
"style": {
|
|
||||||
"classes": "Text-Styles/Ariel-Bold-12pt",
|
|
||||||
"paddingLeft": 10
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"type": "ia.display.label"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"meta": {
|
|
||||||
"name": "Property"
|
|
||||||
},
|
|
||||||
"position": {
|
|
||||||
"basis": "35px",
|
|
||||||
"shrink": 2
|
|
||||||
},
|
|
||||||
"props": {
|
|
||||||
"style": {
|
|
||||||
"classes": "PopUp-Styles/InfoLabel"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"type": "ia.container.flex"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"meta": {
|
|
||||||
"name": "Full"
|
|
||||||
},
|
|
||||||
"position": {
|
|
||||||
"basis": "35px"
|
|
||||||
},
|
|
||||||
"props": {
|
|
||||||
"direction": "column"
|
|
||||||
},
|
|
||||||
"type": "ia.container.flex"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"children": [
|
|
||||||
{
|
|
||||||
"children": [
|
|
||||||
{
|
|
||||||
"meta": {
|
|
||||||
"name": "Name"
|
|
||||||
},
|
|
||||||
"position": {
|
|
||||||
"basis": "50%",
|
|
||||||
"grow": 1
|
|
||||||
},
|
|
||||||
"props": {
|
|
||||||
"style": {
|
|
||||||
"paddingLeft": 20
|
|
||||||
},
|
|
||||||
"text": "EXTENDO FAULTED"
|
|
||||||
},
|
|
||||||
"type": "ia.display.label"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"meta": {
|
|
||||||
"name": "Extendo Faulted"
|
|
||||||
},
|
|
||||||
"position": {
|
|
||||||
"basis": "50%",
|
|
||||||
"grow": 1
|
|
||||||
},
|
|
||||||
"propConfig": {
|
|
||||||
"props.style.backgroundColor": {
|
|
||||||
"binding": {
|
|
||||||
"config": {
|
|
||||||
"path": "this.props.text"
|
|
||||||
},
|
|
||||||
"transforms": [
|
|
||||||
{
|
|
||||||
"fallback": "#000000",
|
|
||||||
"inputType": "scalar",
|
|
||||||
"mappings": [
|
|
||||||
{
|
|
||||||
"input": "TRUE",
|
|
||||||
"output": "#FFFFFF"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"input": "FALSE",
|
|
||||||
"output": "#D5D5D5"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"outputType": "color",
|
|
||||||
"type": "map"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"type": "property"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"props.text": {
|
|
||||||
"binding": {
|
|
||||||
"config": {
|
|
||||||
"fallbackDelay": 2.5,
|
|
||||||
"mode": "indirect",
|
|
||||||
"references": {
|
|
||||||
"0": "{view.params.tagProps[0]}",
|
|
||||||
"fc": "{session.custom.fc}"
|
|
||||||
},
|
|
||||||
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Extendo_Faulted"
|
|
||||||
},
|
|
||||||
"transforms": [
|
|
||||||
{
|
|
||||||
"expression": "coalesce({value},{view.params.forceFaultStatus},0)",
|
|
||||||
"type": "expression"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"fallback": "FALSE",
|
|
||||||
"inputType": "scalar",
|
|
||||||
"mappings": [
|
|
||||||
{
|
|
||||||
"input": 1,
|
|
||||||
"output": "TRUE"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"outputType": "scalar",
|
|
||||||
"type": "map"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"type": "tag"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"props.textStyle.color": {
|
|
||||||
"binding": {
|
|
||||||
"config": {
|
|
||||||
"path": "this.props.text"
|
|
||||||
},
|
|
||||||
"transforms": [
|
|
||||||
{
|
|
||||||
"fallback": "#000000",
|
|
||||||
"inputType": "scalar",
|
|
||||||
"mappings": [
|
|
||||||
{
|
|
||||||
"input": "TRUE",
|
|
||||||
"output": "#FF0000"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"input": "FALSE",
|
|
||||||
"output": "#47FF47"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"outputType": "color",
|
|
||||||
"type": "map"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"type": "property"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"props": {
|
|
||||||
"style": {
|
|
||||||
"classes": "Text-Styles/Ariel-Bold-12pt",
|
|
||||||
"paddingLeft": 10
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"type": "ia.display.label"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"meta": {
|
|
||||||
"name": "Property"
|
|
||||||
},
|
|
||||||
"position": {
|
|
||||||
"basis": "35px",
|
|
||||||
"shrink": 2
|
|
||||||
},
|
|
||||||
"props": {
|
|
||||||
"style": {
|
|
||||||
"classes": "PopUp-Styles/InfoLabel"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"type": "ia.container.flex"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"meta": {
|
|
||||||
"name": "Extendo Faulted"
|
|
||||||
},
|
|
||||||
"position": {
|
|
||||||
"basis": "35px"
|
|
||||||
},
|
|
||||||
"props": {
|
|
||||||
"direction": "column"
|
|
||||||
},
|
|
||||||
"type": "ia.container.flex"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"children": [
|
"children": [
|
||||||
{
|
{
|
||||||
@ -731,15 +433,15 @@
|
|||||||
},
|
},
|
||||||
"transforms": [
|
"transforms": [
|
||||||
{
|
{
|
||||||
"fallback": "#000000",
|
"fallback": "#FFFFFF",
|
||||||
"inputType": "scalar",
|
"inputType": "scalar",
|
||||||
"mappings": [
|
"mappings": [
|
||||||
{
|
{
|
||||||
"input": "TRUE",
|
"input": "ACTIVE",
|
||||||
"output": "#FFFFFF"
|
"output": "#FFFFFF"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"input": "FALSE",
|
"input": "NOT ACTIVE",
|
||||||
"output": "#D5D5D5"
|
"output": "#D5D5D5"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@ -763,16 +465,20 @@
|
|||||||
},
|
},
|
||||||
"transforms": [
|
"transforms": [
|
||||||
{
|
{
|
||||||
"expression": "coalesce({value},{view.params.forceFaultStatus},0)",
|
"expression": "coalesce({value},{view.params.forceFaultStatus},\"UNKNOWN\")",
|
||||||
"type": "expression"
|
"type": "expression"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"fallback": "FALSE",
|
"fallback": "UNKNOWN",
|
||||||
"inputType": "scalar",
|
"inputType": "scalar",
|
||||||
"mappings": [
|
"mappings": [
|
||||||
{
|
{
|
||||||
"input": 1,
|
"input": 1,
|
||||||
"output": "TRUE"
|
"output": "ACTIVE"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"input": 0,
|
||||||
|
"output": "NOT ACTIVE"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"outputType": "scalar",
|
"outputType": "scalar",
|
||||||
@ -793,12 +499,12 @@
|
|||||||
"inputType": "scalar",
|
"inputType": "scalar",
|
||||||
"mappings": [
|
"mappings": [
|
||||||
{
|
{
|
||||||
"input": "TRUE",
|
"input": "ACTIVE",
|
||||||
"output": "#FF0000"
|
"output": "#47FF47"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"input": "FALSE",
|
"input": "NOT ACTIVE",
|
||||||
"output": "#47FF47"
|
"output": "#FF0000"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"outputType": "color",
|
"outputType": "color",
|
||||||
@ -880,7 +586,7 @@
|
|||||||
},
|
},
|
||||||
"transforms": [
|
"transforms": [
|
||||||
{
|
{
|
||||||
"fallback": "#000000",
|
"fallback": "#FFFFFF",
|
||||||
"inputType": "scalar",
|
"inputType": "scalar",
|
||||||
"mappings": [
|
"mappings": [
|
||||||
{
|
{
|
||||||
@ -912,16 +618,20 @@
|
|||||||
},
|
},
|
||||||
"transforms": [
|
"transforms": [
|
||||||
{
|
{
|
||||||
"expression": "coalesce({value},{view.params.forceFaultStatus},0)",
|
"expression": "coalesce({value},{view.params.forceFaultStatus},\"UNKNOWN\")",
|
||||||
"type": "expression"
|
"type": "expression"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"fallback": "FALSE",
|
"fallback": "UNKNOWN",
|
||||||
"inputType": "scalar",
|
"inputType": "scalar",
|
||||||
"mappings": [
|
"mappings": [
|
||||||
{
|
{
|
||||||
"input": 1,
|
"input": 1,
|
||||||
"output": "TRUE"
|
"output": "TRUE"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"input": 0,
|
||||||
|
"output": "FALSE"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"outputType": "scalar",
|
"outputType": "scalar",
|
||||||
@ -943,11 +653,11 @@
|
|||||||
"mappings": [
|
"mappings": [
|
||||||
{
|
{
|
||||||
"input": "TRUE",
|
"input": "TRUE",
|
||||||
"output": "#FF0000"
|
"output": "#47FF47"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"input": "FALSE",
|
"input": "FALSE",
|
||||||
"output": "#47FF47"
|
"output": "#FF0000"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"outputType": "color",
|
"outputType": "color",
|
||||||
@ -1029,7 +739,7 @@
|
|||||||
},
|
},
|
||||||
"transforms": [
|
"transforms": [
|
||||||
{
|
{
|
||||||
"fallback": "#000000",
|
"fallback": "#FFFFFF",
|
||||||
"inputType": "scalar",
|
"inputType": "scalar",
|
||||||
"mappings": [
|
"mappings": [
|
||||||
{
|
{
|
||||||
@ -1061,16 +771,20 @@
|
|||||||
},
|
},
|
||||||
"transforms": [
|
"transforms": [
|
||||||
{
|
{
|
||||||
"expression": "coalesce({value},{view.params.forceFaultStatus},0)",
|
"expression": "coalesce({value},{view.params.forceFaultStatus},\"UNKNOWN\")",
|
||||||
"type": "expression"
|
"type": "expression"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"fallback": "FALSE",
|
"fallback": "UNKNOWN",
|
||||||
"inputType": "scalar",
|
"inputType": "scalar",
|
||||||
"mappings": [
|
"mappings": [
|
||||||
{
|
{
|
||||||
"input": 1,
|
"input": 1,
|
||||||
"output": "TRUE"
|
"output": "TRUE"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"input": 0,
|
||||||
|
"output": "FALSE"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"outputType": "scalar",
|
"outputType": "scalar",
|
||||||
@ -1092,11 +806,11 @@
|
|||||||
"mappings": [
|
"mappings": [
|
||||||
{
|
{
|
||||||
"input": "TRUE",
|
"input": "TRUE",
|
||||||
"output": "#FF0000"
|
"output": "#47FF47"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"input": "FALSE",
|
"input": "FALSE",
|
||||||
"output": "#47FF47"
|
"output": "#FF0000"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"outputType": "color",
|
"outputType": "color",
|
||||||
@ -1178,7 +892,7 @@
|
|||||||
},
|
},
|
||||||
"transforms": [
|
"transforms": [
|
||||||
{
|
{
|
||||||
"fallback": "#000000",
|
"fallback": "#FFFFFF",
|
||||||
"inputType": "scalar",
|
"inputType": "scalar",
|
||||||
"mappings": [
|
"mappings": [
|
||||||
{
|
{
|
||||||
@ -1210,16 +924,20 @@
|
|||||||
},
|
},
|
||||||
"transforms": [
|
"transforms": [
|
||||||
{
|
{
|
||||||
"expression": "coalesce({value},{view.params.forceFaultStatus},0)",
|
"expression": "coalesce({value},{view.params.forceFaultStatus},\"UNKNOWN\")",
|
||||||
"type": "expression"
|
"type": "expression"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"fallback": "FALSE",
|
"fallback": "UNKNOWN",
|
||||||
"inputType": "scalar",
|
"inputType": "scalar",
|
||||||
"mappings": [
|
"mappings": [
|
||||||
{
|
{
|
||||||
"input": 1,
|
"input": 1,
|
||||||
"output": "TRUE"
|
"output": "ON"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"input": 0,
|
||||||
|
"output": "OFF"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"outputType": "scalar",
|
"outputType": "scalar",
|
||||||
@ -1241,11 +959,11 @@
|
|||||||
"mappings": [
|
"mappings": [
|
||||||
{
|
{
|
||||||
"input": "TRUE",
|
"input": "TRUE",
|
||||||
"output": "#FF0000"
|
"output": "#47FF47"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"input": "FALSE",
|
"input": "FALSE",
|
||||||
"output": "#47FF47"
|
"output": "#FF0000"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"outputType": "color",
|
"outputType": "color",
|
||||||
@ -1327,7 +1045,7 @@
|
|||||||
},
|
},
|
||||||
"transforms": [
|
"transforms": [
|
||||||
{
|
{
|
||||||
"fallback": "#000000",
|
"fallback": "#FFFFFF",
|
||||||
"inputType": "scalar",
|
"inputType": "scalar",
|
||||||
"mappings": [
|
"mappings": [
|
||||||
{
|
{
|
||||||
@ -1359,16 +1077,20 @@
|
|||||||
},
|
},
|
||||||
"transforms": [
|
"transforms": [
|
||||||
{
|
{
|
||||||
"expression": "coalesce({value},{view.params.forceFaultStatus},0)",
|
"expression": "coalesce({value},{view.params.forceFaultStatus},\"UNKNOWN\")",
|
||||||
"type": "expression"
|
"type": "expression"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"fallback": "FALSE",
|
"fallback": "UNKNOWN",
|
||||||
"inputType": "scalar",
|
"inputType": "scalar",
|
||||||
"mappings": [
|
"mappings": [
|
||||||
{
|
{
|
||||||
"input": 1,
|
"input": 1,
|
||||||
"output": "TRUE"
|
"output": "ON"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"input": 0,
|
||||||
|
"output": "OFF"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"outputType": "scalar",
|
"outputType": "scalar",
|
||||||
@ -1390,11 +1112,11 @@
|
|||||||
"mappings": [
|
"mappings": [
|
||||||
{
|
{
|
||||||
"input": "TRUE",
|
"input": "TRUE",
|
||||||
"output": "#FF0000"
|
"output": "#47FF47"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"input": "FALSE",
|
"input": "FALSE",
|
||||||
"output": "#47FF47"
|
"output": "#FF0000"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"outputType": "color",
|
"outputType": "color",
|
||||||
@ -1476,7 +1198,7 @@
|
|||||||
},
|
},
|
||||||
"transforms": [
|
"transforms": [
|
||||||
{
|
{
|
||||||
"fallback": "#000000",
|
"fallback": "#FFFFFF",
|
||||||
"inputType": "scalar",
|
"inputType": "scalar",
|
||||||
"mappings": [
|
"mappings": [
|
||||||
{
|
{
|
||||||
@ -1504,20 +1226,24 @@
|
|||||||
"0": "{view.params.tagProps[0]}",
|
"0": "{view.params.tagProps[0]}",
|
||||||
"fc": "{session.custom.fc}"
|
"fc": "{session.custom.fc}"
|
||||||
},
|
},
|
||||||
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Power_Saving_Mode"
|
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Unloading_Mode"
|
||||||
},
|
},
|
||||||
"transforms": [
|
"transforms": [
|
||||||
{
|
{
|
||||||
"expression": "coalesce({value},{view.params.forceFaultStatus},0)",
|
"expression": "coalesce({value},{view.params.forceFaultStatus},\"UNKNOWN\")",
|
||||||
"type": "expression"
|
"type": "expression"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"fallback": "FALSE",
|
"fallback": "UNKNOWN",
|
||||||
"inputType": "scalar",
|
"inputType": "scalar",
|
||||||
"mappings": [
|
"mappings": [
|
||||||
{
|
{
|
||||||
"input": 1,
|
"input": 1,
|
||||||
"output": "TRUE"
|
"output": "ON"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"input": 0,
|
||||||
|
"output": "OFF"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"outputType": "scalar",
|
"outputType": "scalar",
|
||||||
@ -1539,11 +1265,11 @@
|
|||||||
"mappings": [
|
"mappings": [
|
||||||
{
|
{
|
||||||
"input": "TRUE",
|
"input": "TRUE",
|
||||||
"output": "#FF0000"
|
"output": "#47FF47"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"input": "FALSE",
|
"input": "FALSE",
|
||||||
"output": "#47FF47"
|
"output": "#FF0000"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"outputType": "color",
|
"outputType": "color",
|
||||||
@ -1641,33 +1367,9 @@
|
|||||||
"props.style.backgroundColor": {
|
"props.style.backgroundColor": {
|
||||||
"binding": {
|
"binding": {
|
||||||
"config": {
|
"config": {
|
||||||
"fallbackDelay": 2.5,
|
"expression": "if(\r\n {this.props.enabled} \u003d False,\r\n \"#9661A3\",\r\n if(\r\n {this.props.text} \u003d \"PEC OVERRIDE: ON\",\r\n \"#E888FF\",\r\n if(\r\n {this.props.text} \u003d \"PEC OVERRIDE: OFF\",\r\n \"#CC00FF\",\r\n \"#FFFFFF\"\r\n )\r\n )\r\n)\r\n"
|
||||||
"mode": "indirect",
|
|
||||||
"references": {
|
|
||||||
"0": "{view.params.tagProps[0]}",
|
|
||||||
"fc": "{session.custom.fc}"
|
|
||||||
},
|
|
||||||
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/PEC_Override_PB"
|
|
||||||
},
|
},
|
||||||
"transforms": [
|
"type": "expr"
|
||||||
{
|
|
||||||
"expression": "coalesce({value},{view.params.forceFaultStatus},0)",
|
|
||||||
"type": "expression"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"fallback": "#FF0000",
|
|
||||||
"inputType": "scalar",
|
|
||||||
"mappings": [
|
|
||||||
{
|
|
||||||
"input": 1,
|
|
||||||
"output": "#FF9191"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"outputType": "color",
|
|
||||||
"type": "map"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"type": "tag"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"props.text": {
|
"props.text": {
|
||||||
@ -1687,12 +1389,12 @@
|
|||||||
"type": "expression"
|
"type": "expression"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"fallback": "PEC OVERRIDE",
|
"fallback": "PEC OVERRIDE: OFF",
|
||||||
"inputType": "scalar",
|
"inputType": "scalar",
|
||||||
"mappings": [
|
"mappings": [
|
||||||
{
|
{
|
||||||
"input": 1,
|
"input": 1,
|
||||||
"output": "PEC OVERRIDE PRESSED"
|
"output": "PEC OVERRIDE: ON"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"outputType": "scalar",
|
"outputType": "scalar",
|
||||||
@ -1704,7 +1406,6 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"props": {
|
"props": {
|
||||||
"image": {},
|
|
||||||
"style": {
|
"style": {
|
||||||
"classes": "Background-Styles/Controller"
|
"classes": "Background-Styles/Controller"
|
||||||
}
|
}
|
||||||
@ -1759,33 +1460,9 @@
|
|||||||
"props.style.backgroundColor": {
|
"props.style.backgroundColor": {
|
||||||
"binding": {
|
"binding": {
|
||||||
"config": {
|
"config": {
|
||||||
"fallbackDelay": 2.5,
|
"expression": "if(\r\n {this.props.enabled} \u003d False,\r\n \"#BB5050\",\r\n if(\r\n {this.props.text} \u003d \"EXTENDO FAULTS RESET PRESSED\",\r\n \"#FF9191\",\r\n if(\r\n {this.props.text} \u003d \"EXTENDO FAULTS RESET\",\r\n \"#FF0000\",\r\n \"#FFFFFF\"\r\n )\r\n )\r\n)\r\n"
|
||||||
"mode": "indirect",
|
|
||||||
"references": {
|
|
||||||
"0": "{view.params.tagProps[0]}",
|
|
||||||
"fc": "{session.custom.fc}"
|
|
||||||
},
|
|
||||||
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Extendo_Faults_Reset_PB"
|
|
||||||
},
|
},
|
||||||
"transforms": [
|
"type": "expr"
|
||||||
{
|
|
||||||
"expression": "coalesce({value},{view.params.forceFaultStatus},0)",
|
|
||||||
"type": "expression"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"fallback": "#FF0000",
|
|
||||||
"inputType": "scalar",
|
|
||||||
"mappings": [
|
|
||||||
{
|
|
||||||
"input": 1,
|
|
||||||
"output": "#FF9191"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"outputType": "color",
|
|
||||||
"type": "map"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"type": "tag"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"props.text": {
|
"props.text": {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user