Merge pull request 'Alarms in Docked-VFD' (#136) from guga into main

Reviewed-on: #136
This commit is contained in:
gigi.mamaladze 2025-06-23 13:57:08 +00:00
commit bd599b70b1

View File

@ -7,7 +7,7 @@
}, },
"params": { "params": {
"tagProps": [ "tagProps": [
"System/Conveyor/APF/UL1_3", "System/MCM01/Conveyor/UL1_3_VFD1",
"value", "value",
"value", "value",
"value", "value",
@ -238,14 +238,14 @@
"grow": 1 "grow": 1
}, },
"propConfig": { "propConfig": {
"props.filters.active.text": { "props.filters.active.conditions.displayPath": {
"binding": { "binding": {
"config": { "config": {
"path": "view.params.tagProps[0]" "path": "view.params.tagProps[0]"
}, },
"transforms": [ "transforms": [
{ {
"code": "\treturn value[1:]", "code": "\tparts \u003d value.split(\"/\")\n\tname \u003d parts[-1]\n\t\n\t# Split on \"_\" and remove the last part\n\tname_parts \u003d name.split(\"_\")\n\tnew_name \u003d \"_\".join(name_parts[:-1])\n\t\n\treturn new_name + \"_PE*,\" + new_name + \"_VFD*\"",
"type": "script" "type": "script"
} }
], ],
@ -270,8 +270,13 @@
} }
} }
}, },
"enableAcknowledge": false,
"enableDetails": false,
"enableShelve": false,
"enableUnshelve": false,
"filters": { "filters": {
"active": { "active": {
"conditions": {},
"priorities": { "priorities": {
"critical": false, "critical": false,
"high": false, "high": false,
@ -283,8 +288,65 @@
} }
} }
}, },
"pager": {
"enabled": false
},
"refreshRate": 500, "refreshRate": 500,
"rowStyles": {
"activeAcked": {
"priorities": {
"diagnostic": {
"backgroundColor": "#579af1"
},
"high": {
"backgroundColor": "#fb615b"
},
"low": {
"backgroundColor": "#f8fa6e"
},
"medium": {
"backgroundColor": "#ee9b5c"
}
}
},
"activeUnacked": {
"base": {
"color": "black"
},
"priorities": {
"critical": {
"backgroundColor": "#7C2320"
},
"diagnostic": {
"backgroundColor": "#579af1"
},
"high": {
"backgroundColor": "#fb615b"
},
"low": {
"backgroundColor": "#f8fa6e"
},
"medium": {
"backgroundColor": "#ee9b5c"
}
}
}
},
"selection": {
"active": {
"mode": "none"
},
"shelved": {
"mode": "none"
}
},
"toolbar": { "toolbar": {
"enableActiveTab": false,
"enableConfiguration": false,
"enableFilter": false,
"enableFilterResults": false,
"enablePreFilters": false,
"enableShelvedTab": false,
"enabled": false "enabled": false
} }
}, },
@ -1898,7 +1960,6 @@
"grow": 1 "grow": 1
}, },
"props": { "props": {
"currentTabIndex": 1,
"menuType": "modern", "menuType": "modern",
"tabSize": { "tabSize": {
"width": 1000 "width": 1000