Fix Device Status Docked-East

This commit is contained in:
beka makharadze 2025-07-01 11:00:35 +04:00
parent 4b9d34f83b
commit 3c897f4bde

View File

@ -1,14 +1,6 @@
{ {
"custom": { "custom": {
"PLC_list": [ "PLC_list": null,
"MCM01",
"MCM02",
"MCM03",
"MCM04",
"MCM05",
"MCM06",
"MCM07"
],
"running_state": -1, "running_state": -1,
"state": 0, "state": 0,
"views_data": [] "views_data": []
@ -441,7 +433,7 @@
}, },
"transforms": [ "transforms": [
{ {
"fallback": "#000000", "fallback": "#FFFFFF",
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
@ -473,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": "TRUE"
},
{
"input": 0,
"output": "FALSE"
} }
], ],
"outputType": "scalar", "outputType": "scalar",
@ -503,12 +499,12 @@
"inputType": "scalar", "inputType": "scalar",
"mappings": [ "mappings": [
{ {
"input": "FALSE", "input": "TRUE",
"output": "#FF0000" "output": "#47FF47"
}, },
{ {
"input": "FALSE", "input": "FALSE",
"output": "#47FF47" "output": "#FF0000"
} }
], ],
"outputType": "color", "outputType": "color",