Fix MCM Docked-East
This commit is contained in:
parent
81e6d7be7c
commit
061ea0e091
@ -1,6 +1,14 @@
|
||||
{
|
||||
"custom": {
|
||||
"PLC_list": null,
|
||||
"PLC_list": [
|
||||
"MCM01",
|
||||
"MCM02",
|
||||
"MCM03",
|
||||
"MCM04",
|
||||
"MCM05",
|
||||
"MCM06",
|
||||
"MCM07"
|
||||
],
|
||||
"running_state": -1,
|
||||
"state": 0,
|
||||
"views_data": []
|
||||
@ -433,16 +441,12 @@
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"fallback": "#000000",
|
||||
"fallback": "#D5D5D5",
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": "TRUE",
|
||||
"input": "UNKNOWN",
|
||||
"output": "#FFFFFF"
|
||||
},
|
||||
{
|
||||
"input": "FALSE",
|
||||
"output": "#D5D5D5"
|
||||
}
|
||||
],
|
||||
"outputType": "color",
|
||||
@ -465,16 +469,20 @@
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"expression": "coalesce({value},{view.params.forceFaultStatus},0)",
|
||||
"expression": "coalesce({value},{view.params.forceFaultStatus},\"UNKNOWN\")",
|
||||
"type": "expression"
|
||||
},
|
||||
{
|
||||
"fallback": "FALSE",
|
||||
"fallback": "UNKNOWN",
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": 1,
|
||||
"output": "TRUE"
|
||||
"output": "MOTOR FAULTED"
|
||||
},
|
||||
{
|
||||
"input": 0,
|
||||
"output": "MOTOR NOT FAULTED"
|
||||
}
|
||||
],
|
||||
"outputType": "scalar",
|
||||
@ -495,11 +503,11 @@
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": "TRUE",
|
||||
"input": "MOTOR FAULTED",
|
||||
"output": "#FF0000"
|
||||
},
|
||||
{
|
||||
"input": "FALSE",
|
||||
"input": "MOTOR NOT FAULTED",
|
||||
"output": "#47FF47"
|
||||
}
|
||||
],
|
||||
@ -582,16 +590,12 @@
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"fallback": "#000000",
|
||||
"fallback": "#D5D5D5",
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": "TRUE",
|
||||
"input": "UNKNOWN",
|
||||
"output": "#FFFFFF"
|
||||
},
|
||||
{
|
||||
"input": "FALSE",
|
||||
"output": "#D5D5D5"
|
||||
}
|
||||
],
|
||||
"outputType": "color",
|
||||
@ -614,16 +618,20 @@
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"expression": "coalesce({value},{view.params.forceFaultStatus},0)",
|
||||
"expression": "coalesce({value},{view.params.forceFaultStatus},\"UNKNOWN\")",
|
||||
"type": "expression"
|
||||
},
|
||||
{
|
||||
"fallback": "FALSE",
|
||||
"fallback": "UNKNOWN",
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": 1,
|
||||
"output": "TRUE"
|
||||
"output": "JAM FAULTED"
|
||||
},
|
||||
{
|
||||
"input": 0,
|
||||
"output": "JAM NOT FAULTED"
|
||||
}
|
||||
],
|
||||
"outputType": "scalar",
|
||||
@ -644,11 +652,11 @@
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": "TRUE",
|
||||
"output": "#FF0000"
|
||||
"input": "JAM FAULTED",
|
||||
"output": "#FFC000"
|
||||
},
|
||||
{
|
||||
"input": "FALSE",
|
||||
"input": "JAM NOT FAULTED",
|
||||
"output": "#47FF47"
|
||||
}
|
||||
],
|
||||
@ -731,16 +739,12 @@
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"fallback": "#000000",
|
||||
"fallback": "#D5D5D5",
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": "TRUE",
|
||||
"input": "UNKNOWN",
|
||||
"output": "#FFFFFF"
|
||||
},
|
||||
{
|
||||
"input": "FALSE",
|
||||
"output": "#D5D5D5"
|
||||
}
|
||||
],
|
||||
"outputType": "color",
|
||||
@ -763,16 +767,20 @@
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"expression": "coalesce({value},{view.params.forceFaultStatus},0)",
|
||||
"expression": "coalesce({value},{view.params.forceFaultStatus},\"UNKNOWN\")",
|
||||
"type": "expression"
|
||||
},
|
||||
{
|
||||
"fallback": "FALSE",
|
||||
"fallback": "UNKNOWN",
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": 1,
|
||||
"output": "TRUE"
|
||||
"output": "DE ENERGIZED"
|
||||
},
|
||||
{
|
||||
"input": 0,
|
||||
"output": "NOT DE ENERGIZED"
|
||||
}
|
||||
],
|
||||
"outputType": "scalar",
|
||||
@ -793,11 +801,11 @@
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": "TRUE",
|
||||
"input": "DE ENERGIZED",
|
||||
"output": "#FF0000"
|
||||
},
|
||||
{
|
||||
"input": "FALSE",
|
||||
"input": "NOT DE ENERGIZED",
|
||||
"output": "#47FF47"
|
||||
}
|
||||
],
|
||||
@ -880,16 +888,12 @@
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"fallback": "#000000",
|
||||
"fallback": "#D5D5D5",
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": "TRUE",
|
||||
"input": "UNKNOWN",
|
||||
"output": "#FFFFFF"
|
||||
},
|
||||
{
|
||||
"input": "FALSE",
|
||||
"output": "#D5D5D5"
|
||||
}
|
||||
],
|
||||
"outputType": "color",
|
||||
@ -912,16 +916,20 @@
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"expression": "coalesce({value},{view.params.forceFaultStatus},0)",
|
||||
"expression": "coalesce({value},{view.params.forceFaultStatus},\"UNKNOWN\")",
|
||||
"type": "expression"
|
||||
},
|
||||
{
|
||||
"fallback": "FALSE",
|
||||
"fallback": "UNKNOWN",
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": 1,
|
||||
"output": "TRUE"
|
||||
"output": "ESTOPPED"
|
||||
},
|
||||
{
|
||||
"input": 0,
|
||||
"output": "NOT ESTOPPED"
|
||||
}
|
||||
],
|
||||
"outputType": "scalar",
|
||||
@ -942,11 +950,11 @@
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": "TRUE",
|
||||
"input": "ESTOPPED",
|
||||
"output": "#FF0000"
|
||||
},
|
||||
{
|
||||
"input": "FALSE",
|
||||
"input": "NOT ESTOPPED",
|
||||
"output": "#47FF47"
|
||||
}
|
||||
],
|
||||
@ -1029,16 +1037,12 @@
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"fallback": "#000000",
|
||||
"fallback": "#D5D5D5",
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": "TRUE",
|
||||
"input": "UNKNOWN",
|
||||
"output": "#FFFFFF"
|
||||
},
|
||||
{
|
||||
"input": "FALSE",
|
||||
"output": "#D5D5D5"
|
||||
}
|
||||
],
|
||||
"outputType": "color",
|
||||
@ -1061,16 +1065,20 @@
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"expression": "coalesce({value},{view.params.forceFaultStatus},0)",
|
||||
"expression": "coalesce({value},{view.params.forceFaultStatus},\"UNKNOWN\")",
|
||||
"type": "expression"
|
||||
},
|
||||
{
|
||||
"fallback": "FALSE",
|
||||
"fallback": "UNKNOWN",
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": 1,
|
||||
"output": "TRUE"
|
||||
"output": "ESTOPPED"
|
||||
},
|
||||
{
|
||||
"input": 0,
|
||||
"output": "NOT ESTOPPED"
|
||||
}
|
||||
],
|
||||
"outputType": "scalar",
|
||||
@ -1091,11 +1099,11 @@
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": "TRUE",
|
||||
"input": "ESTOPPED",
|
||||
"output": "#FF0000"
|
||||
},
|
||||
{
|
||||
"input": "FALSE",
|
||||
"input": "NOT ESTOPPED",
|
||||
"output": "#47FF47"
|
||||
}
|
||||
],
|
||||
@ -1178,16 +1186,12 @@
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"fallback": "#000000",
|
||||
"fallback": "#D5D5D5",
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": "TRUE",
|
||||
"input": "UNKNOWN",
|
||||
"output": "#FFFFFF"
|
||||
},
|
||||
{
|
||||
"input": "FALSE",
|
||||
"output": "#D5D5D5"
|
||||
}
|
||||
],
|
||||
"outputType": "color",
|
||||
@ -1210,16 +1214,20 @@
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"expression": "coalesce({value},{view.params.forceFaultStatus},0)",
|
||||
"expression": "coalesce({value},{view.params.forceFaultStatus},\"UNKNOWN\")",
|
||||
"type": "expression"
|
||||
},
|
||||
{
|
||||
"fallback": "FALSE",
|
||||
"fallback": "UNKNOWN",
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": 1,
|
||||
"output": "TRUE"
|
||||
"output": "STOPPED"
|
||||
},
|
||||
{
|
||||
"input": 0,
|
||||
"output": "NOT STOPPED"
|
||||
}
|
||||
],
|
||||
"outputType": "scalar",
|
||||
@ -1240,11 +1248,11 @@
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": "TRUE",
|
||||
"input": "STOPPED",
|
||||
"output": "#FF0000"
|
||||
},
|
||||
{
|
||||
"input": "FALSE",
|
||||
"input": "NOT STOPPED",
|
||||
"output": "#47FF47"
|
||||
}
|
||||
],
|
||||
@ -1327,16 +1335,12 @@
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"fallback": "#000000",
|
||||
"fallback": "#D5D5D5",
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": "TRUE",
|
||||
"input": "UNKNOWN",
|
||||
"output": "#FFFFFF"
|
||||
},
|
||||
{
|
||||
"input": "FALSE",
|
||||
"output": "#D5D5D5"
|
||||
}
|
||||
],
|
||||
"outputType": "color",
|
||||
@ -1359,16 +1363,20 @@
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"expression": "coalesce({value},{view.params.forceFaultStatus},0)",
|
||||
"expression": "coalesce({value},{view.params.forceFaultStatus},\"UNKNOWN\")",
|
||||
"type": "expression"
|
||||
},
|
||||
{
|
||||
"fallback": "FALSE",
|
||||
"fallback": "UNKNOWN",
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": 1,
|
||||
"output": "TRUE"
|
||||
"output": "SWITCH FAULTED"
|
||||
},
|
||||
{
|
||||
"input": 0,
|
||||
"output": "SWITCH NOT FAULTED"
|
||||
}
|
||||
],
|
||||
"outputType": "scalar",
|
||||
@ -1389,11 +1397,11 @@
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": "TRUE",
|
||||
"input": "SWITCH FAULTED",
|
||||
"output": "#FF0000"
|
||||
},
|
||||
{
|
||||
"input": "FALSE",
|
||||
"input": "SWITCH NOT FAULTED",
|
||||
"output": "#47FF47"
|
||||
}
|
||||
],
|
||||
@ -1476,16 +1484,12 @@
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"fallback": "#000000",
|
||||
"fallback": "#D5D5D5",
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": "TRUE",
|
||||
"input": "UNKNOWN",
|
||||
"output": "#FFFFFF"
|
||||
},
|
||||
{
|
||||
"input": "FALSE",
|
||||
"output": "#D5D5D5"
|
||||
}
|
||||
],
|
||||
"outputType": "color",
|
||||
@ -1508,16 +1512,20 @@
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"expression": "coalesce({value},{view.params.forceFaultStatus},0)",
|
||||
"expression": "coalesce({value},{view.params.forceFaultStatus},\"UNKNOWN\")",
|
||||
"type": "expression"
|
||||
},
|
||||
{
|
||||
"fallback": "FALSE",
|
||||
"fallback": "UNKNOWN",
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": 1,
|
||||
"output": "TRUE"
|
||||
"output": "ON UPS BATTERY"
|
||||
},
|
||||
{
|
||||
"input": 0,
|
||||
"output": "NOT ON UPS BATTERY"
|
||||
}
|
||||
],
|
||||
"outputType": "scalar",
|
||||
@ -1538,11 +1546,11 @@
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": "TRUE",
|
||||
"input": "NOT ON UPS BATTERY",
|
||||
"output": "#FF0000"
|
||||
},
|
||||
{
|
||||
"input": "FALSE",
|
||||
"input": "NOT ON UPS BATTERY",
|
||||
"output": "#47FF47"
|
||||
}
|
||||
],
|
||||
@ -1625,16 +1633,12 @@
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"fallback": "#000000",
|
||||
"fallback": "#D5D5D5",
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": "TRUE",
|
||||
"input": "UNKNOWN",
|
||||
"output": "#FFFFFF"
|
||||
},
|
||||
{
|
||||
"input": "FALSE",
|
||||
"output": "#D5D5D5"
|
||||
}
|
||||
],
|
||||
"outputType": "color",
|
||||
@ -1657,16 +1661,20 @@
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"expression": "coalesce({value},{view.params.forceFaultStatus},0)",
|
||||
"expression": "coalesce({value},{view.params.forceFaultStatus},\"UNKNOWN\")",
|
||||
"type": "expression"
|
||||
},
|
||||
{
|
||||
"fallback": "FALSE",
|
||||
"fallback": "UNKNOWN",
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": 1,
|
||||
"output": "TRUE"
|
||||
"output": "BATTERY FAULTED"
|
||||
},
|
||||
{
|
||||
"input": 0,
|
||||
"output": "BATTERY NOT FAULTED"
|
||||
}
|
||||
],
|
||||
"outputType": "scalar",
|
||||
@ -1687,11 +1695,11 @@
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": "TRUE",
|
||||
"input": "BATTERY FAULTED",
|
||||
"output": "#FF0000"
|
||||
},
|
||||
{
|
||||
"input": "FALSE",
|
||||
"input": "BATTERY NOT FAULTED",
|
||||
"output": "#47FF47"
|
||||
}
|
||||
],
|
||||
@ -1774,16 +1782,12 @@
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"fallback": "#000000",
|
||||
"fallback": "#D5D5D5",
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": "TRUE",
|
||||
"input": "UNKNOWN",
|
||||
"output": "#FFFFFF"
|
||||
},
|
||||
{
|
||||
"input": "FALSE",
|
||||
"output": "#D5D5D5"
|
||||
}
|
||||
],
|
||||
"outputType": "color",
|
||||
@ -1806,16 +1810,20 @@
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"expression": "coalesce({value},{view.params.forceFaultStatus},0)",
|
||||
"expression": "coalesce({value},{view.params.forceFaultStatus},\"UNKNOWN\")",
|
||||
"type": "expression"
|
||||
},
|
||||
{
|
||||
"fallback": "FALSE",
|
||||
"fallback": "UNKNOWN",
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": 1,
|
||||
"output": "TRUE"
|
||||
"output": "BATTERY LOW"
|
||||
},
|
||||
{
|
||||
"input": 0,
|
||||
"output": "BATTERY NOT LOW"
|
||||
}
|
||||
],
|
||||
"outputType": "scalar",
|
||||
@ -1836,11 +1844,11 @@
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": "TRUE",
|
||||
"input": "BATTERY LOW",
|
||||
"output": "#FF0000"
|
||||
},
|
||||
{
|
||||
"input": "FALSE",
|
||||
"input": "BATTERY NOT LOW",
|
||||
"output": "#47FF47"
|
||||
}
|
||||
],
|
||||
@ -1923,16 +1931,12 @@
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"fallback": "#000000",
|
||||
"fallback": "#D5D5D5",
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": "TRUE",
|
||||
"input": "UNKNOWN",
|
||||
"output": "#FFFFFF"
|
||||
},
|
||||
{
|
||||
"input": "FALSE",
|
||||
"output": "#D5D5D5"
|
||||
}
|
||||
],
|
||||
"outputType": "color",
|
||||
@ -1955,16 +1959,20 @@
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"expression": "coalesce({value},{view.params.forceFaultStatus},0)",
|
||||
"expression": "coalesce({value},{view.params.forceFaultStatus},\"UNKNOWN\")",
|
||||
"type": "expression"
|
||||
},
|
||||
{
|
||||
"fallback": "FALSE",
|
||||
"fallback": "UNKNOWN",
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": 1,
|
||||
"output": "TRUE"
|
||||
"output": "ON"
|
||||
},
|
||||
{
|
||||
"input": 0,
|
||||
"output": "OFF"
|
||||
}
|
||||
],
|
||||
"outputType": "scalar",
|
||||
@ -1985,11 +1993,11 @@
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": "TRUE",
|
||||
"input": "ON",
|
||||
"output": "#FF0000"
|
||||
},
|
||||
{
|
||||
"input": "FALSE",
|
||||
"input": "OFF",
|
||||
"output": "#47FF47"
|
||||
}
|
||||
],
|
||||
@ -2072,16 +2080,12 @@
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"fallback": "#000000",
|
||||
"fallback": "#D5D5D5",
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": "TRUE",
|
||||
"input": "UNKNOWN",
|
||||
"output": "#FFFFFF"
|
||||
},
|
||||
{
|
||||
"input": "FALSE",
|
||||
"output": "#D5D5D5"
|
||||
}
|
||||
],
|
||||
"outputType": "color",
|
||||
@ -2104,16 +2108,20 @@
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"expression": "coalesce({value},{view.params.forceFaultStatus},0)",
|
||||
"expression": "coalesce({value},{view.params.forceFaultStatus},\"UNKNOWN\")",
|
||||
"type": "expression"
|
||||
},
|
||||
{
|
||||
"fallback": "FALSE",
|
||||
"fallback": "UNKNOWN",
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": 1,
|
||||
"output": "TRUE"
|
||||
"output": "UPS FAULTED"
|
||||
},
|
||||
{
|
||||
"input": 0,
|
||||
"output": "UPS NOT FAULTED"
|
||||
}
|
||||
],
|
||||
"outputType": "scalar",
|
||||
@ -2134,11 +2142,11 @@
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": "TRUE",
|
||||
"input": "UPS FAULTED",
|
||||
"output": "#FF0000"
|
||||
},
|
||||
{
|
||||
"input": "FALSE",
|
||||
"input": "UPS NOT FAULTED",
|
||||
"output": "#47FF47"
|
||||
}
|
||||
],
|
||||
@ -2237,37 +2245,9 @@
|
||||
"props.style.backgroundColor": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"fallbackDelay": 2.5,
|
||||
"mode": "indirect",
|
||||
"references": {
|
||||
"0": "{view.params.tagProps[0]}",
|
||||
"fc": "{session.custom.fc}"
|
||||
},
|
||||
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Start_PB_STATE"
|
||||
"expression": "if(\r\n {this.props.enabled} \u003d False,\r\n \"#7DB17D\",\r\n if(\r\n {this.props.text} \u003d \"STARTED\",\r\n \"#009400\",\r\n if(\r\n {this.props.text} \u003d \"START\",\r\n \"#00D900\",\r\n \"#FFFFFF\"\r\n )\r\n )\r\n)\r\n"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"expression": "coalesce({value},{view.params.forceFaultStatus},0)",
|
||||
"type": "expression"
|
||||
},
|
||||
{
|
||||
"fallback": "#00D900",
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": 2,
|
||||
"output": "#009400"
|
||||
},
|
||||
{
|
||||
"input": 4,
|
||||
"output": "#009400"
|
||||
}
|
||||
],
|
||||
"outputType": "color",
|
||||
"type": "map"
|
||||
}
|
||||
],
|
||||
"type": "tag"
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.text": {
|
||||
@ -2367,33 +2347,9 @@
|
||||
"props.style.backgroundColor": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"fallbackDelay": 2.5,
|
||||
"mode": "indirect",
|
||||
"references": {
|
||||
"0": "{view.params.tagProps[0]}",
|
||||
"fc": "{session.custom.fc}"
|
||||
},
|
||||
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Stop_PB"
|
||||
"expression": "if(\r\n {this.props.enabled} \u003d False,\r\n \"#BB5050\",\r\n if(\r\n {this.props.text} \u003d \"STOP PRESSED\",\r\n \"#FF9191\",\r\n if(\r\n {this.props.text} \u003d \"STOP\",\r\n \"#FF0000\",\r\n \"#FFFFFF\"\r\n )\r\n )\r\n)\r\n"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"expression": "coalesce({value},{view.params.forceFaultStatus},0)",
|
||||
"type": "expression"
|
||||
},
|
||||
{
|
||||
"fallback": "#FF0000",
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": 1,
|
||||
"output": "#FF8787"
|
||||
}
|
||||
],
|
||||
"outputType": "color",
|
||||
"type": "map"
|
||||
}
|
||||
],
|
||||
"type": "tag"
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.text": {
|
||||
@ -2489,37 +2445,9 @@
|
||||
"props.style.backgroundColor": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"fallbackDelay": 2.5,
|
||||
"mode": "indirect",
|
||||
"references": {
|
||||
"0": "{view.params.tagProps[0]}",
|
||||
"fc": "{session.custom.fc}"
|
||||
},
|
||||
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Motor_Fault_Reset_PB_STATE"
|
||||
"expression": "if(\r\n {this.props.enabled} \u003d False,\r\n \"#BCBC52\",\r\n if(\r\n {this.props.text} \u003d \"MOTOR FAULT RESET PRESSED\",\r\n \"#FCFF86\",\r\n if(\r\n {this.props.text} \u003d \"MOTOR FAULT RESET\",\r\n \"#DCDC03\",\r\n \"#FFFFFF\"\r\n )\r\n )\r\n)\r\n"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"expression": "coalesce({value},{view.params.forceFaultStatus},0)",
|
||||
"type": "expression"
|
||||
},
|
||||
{
|
||||
"fallback": "#DCDC03",
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": 2,
|
||||
"output": "#FCFF86"
|
||||
},
|
||||
{
|
||||
"input": 4,
|
||||
"output": "#FCFF86"
|
||||
}
|
||||
],
|
||||
"outputType": "color",
|
||||
"type": "map"
|
||||
}
|
||||
],
|
||||
"type": "tag"
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.text": {
|
||||
@ -2541,7 +2469,16 @@
|
||||
{
|
||||
"fallback": "MOTOR FAULT RESET",
|
||||
"inputType": "scalar",
|
||||
"mappings": [],
|
||||
"mappings": [
|
||||
{
|
||||
"input": 2,
|
||||
"output": "MOTOR FAULT RESET PRESSED"
|
||||
},
|
||||
{
|
||||
"input": 4,
|
||||
"output": "MOTOR FAULT RESET PRESSED"
|
||||
}
|
||||
],
|
||||
"outputType": "scalar",
|
||||
"type": "map"
|
||||
}
|
||||
@ -2614,37 +2551,9 @@
|
||||
"props.style.backgroundColor": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"fallbackDelay": 2.5,
|
||||
"mode": "indirect",
|
||||
"references": {
|
||||
"0": "{view.params.tagProps[0]}",
|
||||
"fc": "{session.custom.fc}"
|
||||
},
|
||||
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Power_Branch_Fault_Reset_PB_STATE"
|
||||
"expression": "if(\r\n {this.props.enabled} \u003d False,\r\n \"#BCBC52\",\r\n if(\r\n {this.props.text} \u003d \"POWER BRANCH FAULT RESET PRESSED\",\r\n \"#FCFF86\",\r\n if(\r\n {this.props.text} \u003d \"POWER BRANCH FAULT RESET\",\r\n \"#DCDC03\",\r\n \"#FFFFFF\"\r\n )\r\n )\r\n)\r\n"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"expression": "coalesce({value},{view.params.forceFaultStatus},0)",
|
||||
"type": "expression"
|
||||
},
|
||||
{
|
||||
"fallback": "#DCDC03",
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": 2,
|
||||
"output": "#FCFF86"
|
||||
},
|
||||
{
|
||||
"input": 4,
|
||||
"output": "#FCFF86"
|
||||
}
|
||||
],
|
||||
"outputType": "color",
|
||||
"type": "map"
|
||||
}
|
||||
],
|
||||
"type": "tag"
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.text": {
|
||||
@ -2666,7 +2575,16 @@
|
||||
{
|
||||
"fallback": "POWER BRANCH FAULT RESET",
|
||||
"inputType": "scalar",
|
||||
"mappings": [],
|
||||
"mappings": [
|
||||
{
|
||||
"input": 2,
|
||||
"output": "POWER BRANCH FAULT RESET PRESSED"
|
||||
},
|
||||
{
|
||||
"input": 4,
|
||||
"output": "POWER BRANCH FAULT RESET PRESSED"
|
||||
}
|
||||
],
|
||||
"outputType": "scalar",
|
||||
"type": "map"
|
||||
}
|
||||
@ -2739,37 +2657,9 @@
|
||||
"props.style.backgroundColor": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"fallbackDelay": 2.5,
|
||||
"mode": "indirect",
|
||||
"references": {
|
||||
"0": "{view.params.tagProps[0]}",
|
||||
"fc": "{session.custom.fc}"
|
||||
},
|
||||
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Low_Air_Pressure_Reset_PB_STATE"
|
||||
"expression": "if(\r\n {this.props.enabled} \u003d False,\r\n \"#9090C2\",\r\n if(\r\n {this.props.text} \u003d \"LOW AIR PRESSURE RESET PRESSED\",\r\n \"#5D5DFF\",\r\n if(\r\n {this.props.text} \u003d \"LOW AIR PRESSURE RESET\",\r\n \"#0A0AA4\",\r\n \"#FFFFFF\"\r\n )\r\n )\r\n)\r\n"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"expression": "coalesce({value},{view.params.forceFaultStatus},0)",
|
||||
"type": "expression"
|
||||
},
|
||||
{
|
||||
"fallback": "#0A0AA4",
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": 2,
|
||||
"output": "#5D5DFF"
|
||||
},
|
||||
{
|
||||
"input": 4,
|
||||
"output": "#5D5DFF"
|
||||
}
|
||||
],
|
||||
"outputType": "color",
|
||||
"type": "map"
|
||||
}
|
||||
],
|
||||
"type": "tag"
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.text": {
|
||||
@ -2793,8 +2683,12 @@
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": 1,
|
||||
"output": "POWER BRANCH FAULT RESET PRESSED"
|
||||
"input": 2,
|
||||
"output": "LOW AIR PRESSURE RESET PRESSED"
|
||||
},
|
||||
{
|
||||
"input": 4,
|
||||
"output": "LOW AIR PRESSURE RESET PRESSED"
|
||||
}
|
||||
],
|
||||
"outputType": "scalar",
|
||||
@ -2865,37 +2759,9 @@
|
||||
"props.style.backgroundColor": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"fallbackDelay": 2.5,
|
||||
"mode": "indirect",
|
||||
"references": {
|
||||
"0": "{view.params.tagProps[0]}",
|
||||
"fc": "{session.custom.fc}"
|
||||
},
|
||||
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Jam_Restart_PB_STATE"
|
||||
"expression": "if(\r\n {this.props.enabled} \u003d False,\r\n \"#A1A1A1\",\r\n if(\r\n {this.props.text} \u003d \"JAM RESTART PRESSED\",\r\n \"#DADADA\",\r\n if(\r\n {this.props.text} \u003d \"JAM RESTART\",\r\n \"#FFFFFF\",\r\n \"#FFFFFF\"\r\n )\r\n )\r\n)\r\n"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"expression": "coalesce({value},{view.params.forceFaultStatus},0)",
|
||||
"type": "expression"
|
||||
},
|
||||
{
|
||||
"fallback": "#FFFFFF",
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": 2,
|
||||
"output": "#D0D0D0"
|
||||
},
|
||||
{
|
||||
"input": 4,
|
||||
"output": "#D0D0D0"
|
||||
}
|
||||
],
|
||||
"outputType": "color",
|
||||
"type": "map"
|
||||
}
|
||||
],
|
||||
"type": "tag"
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.text": {
|
||||
@ -2917,7 +2783,12 @@
|
||||
{
|
||||
"fallback": "JAM RESTART",
|
||||
"inputType": "scalar",
|
||||
"mappings": [],
|
||||
"mappings": [
|
||||
{
|
||||
"input": 1,
|
||||
"output": "JAM RESTART PRESSED"
|
||||
}
|
||||
],
|
||||
"outputType": "scalar",
|
||||
"type": "map"
|
||||
}
|
||||
@ -2990,33 +2861,9 @@
|
||||
"props.style.backgroundColor": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"fallbackDelay": 2.5,
|
||||
"mode": "indirect",
|
||||
"references": {
|
||||
"0": "{view.params.tagProps[0]}",
|
||||
"fc": "{session.custom.fc}"
|
||||
},
|
||||
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Setup_Motor_Speeds"
|
||||
"expression": "if(\r\n {this.props.enabled} \u003d False,\r\n \"#A1A1A1\",\r\n if(\r\n {this.props.text} \u003d \"SETUP MOTOR SPEEDS PRESSED\",\r\n \"#DADADA\",\r\n if(\r\n {this.props.text} \u003d \"SETUP MOTOR SPEEDS\",\r\n \"#FFFFFF\",\r\n \"#FFFFFF\"\r\n )\r\n )\r\n)\r\n"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"expression": "coalesce({value},{view.params.forceFaultStatus},0)",
|
||||
"type": "expression"
|
||||
},
|
||||
{
|
||||
"fallback": "#FFFFFF",
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": 1,
|
||||
"output": "#D0D0D0"
|
||||
}
|
||||
],
|
||||
"outputType": "color",
|
||||
"type": "map"
|
||||
}
|
||||
],
|
||||
"type": "tag"
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"props.text": {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user