Fix priorities

This commit is contained in:
b.makharadze 2025-06-13 15:42:03 +04:00
parent f8d22160d6
commit eb2cc91911
2 changed files with 393 additions and 1150 deletions

View File

@ -1,10 +1,11 @@
{
"custom": {
"alarm_message": null,
"disconnected": true,
"plc": "value",
"priority": 0,
"priority_string": "No Active Alarms",
"searchId": "value",
"priority_string": "Medium",
"searchId": "PLC01",
"state": 0,
"state_string": "Disabled"
},
@ -113,11 +114,11 @@
"mappings": [
{
"input": 0,
"output": "No Active Alarms"
"output": "Medium"
},
{
"input": 1,
"output": "Low"
"output": "No Active Alarms"
},
{
"input": 2,
@ -173,7 +174,7 @@
"custom.state_string": {
"binding": {
"config": {
"expression": "case({view.custom.state},\r\n0, \"Disabled\",\r\n1, \"Enabled\",\r\n2, \"Half Full\",\r\n3, \"Full\",\r\n4, \"Jam\",\r\n\"Unknown\")"
"expression": "case({view.custom.state},\r\n0, \"Disabled\",\r\n1, \"Enabled\",\r\n2, \"Half Full\",\r\n3, \"Full\",\r\n4, \"Jammed\",\r\n\"Unknown\")"
},
"type": "expr"
},
@ -333,7 +334,7 @@
"mappings": [
{
"input": 1,
"output": "Alarms-Styles/Low"
"output": "Alarms-Styles/NoAlarm"
},
{
"input": 2,
@ -346,6 +347,10 @@
{
"input": 4,
"output": "Alarms-Styles/High"
},
{
"input": 0,
"output": "Alarms-Styles/Medium"
}
],
"outputType": "style-list",

File diff suppressed because it is too large Load Diff