Updated Alarms

This commit is contained in:
gigi.mamaladze 2025-10-17 06:52:20 +04:00
parent 6661f5581d
commit 33ed290606
4 changed files with 604 additions and 2950 deletions

View File

@ -1917,11 +1917,11 @@
"data": [ "data": [
{ {
"Duration": "97h:57m:18s", "Duration": "97h:57m:18s",
"Expiration": "Thu Jan 01 1970 01:00:00 GMT+0100 (Greenwich Mean Time)", "Expiration": "Thu Jan 01 1970 04:00:00 GMT+0400 (Georgia Standard Time)",
"Message": "Estop activated", "Message": "Estop activated",
"Priority": "4. High", "Priority": "4. High",
"SourceId": "PLC03 / 30 / S0102", "SourceId": "PLC03 / 30 / S0102",
"Timestamp": "Fri Jan 20 2023 16:59:56 GMT+0000 (Greenwich Mean Time)" "Timestamp": "Fri Jan 20 2023 20:59:56 GMT+0400 (Georgia Standard Time)"
} }
], ],
"mode": "multiple interval", "mode": "multiple interval",

View File

@ -65,7 +65,7 @@ SELECT
) AS Duration, ) AS Duration,
-- Activation count: how many times alarm triggered in the window -- Activation count: how many times alarm triggered in the window
COUNT(*) AS ActivationCount, COUNT(*) AS "Count",
aed.strValue AS FullTag, aed.strValue AS FullTag,
ae.displaypath AS Device ae.displaypath AS Device