diff --git a/SCADA_PERSPECTIVE_PARENT_PROJECT/com.inductiveautomation.perspective/views/Alarm-Views/RealTime/view.json b/SCADA_PERSPECTIVE_PARENT_PROJECT/com.inductiveautomation.perspective/views/Alarm-Views/RealTime/view.json index a6571dd..fb215e9 100644 --- a/SCADA_PERSPECTIVE_PARENT_PROJECT/com.inductiveautomation.perspective/views/Alarm-Views/RealTime/view.json +++ b/SCADA_PERSPECTIVE_PARENT_PROJECT/com.inductiveautomation.perspective/views/Alarm-Views/RealTime/view.json @@ -14,8 +14,7 @@ } }, "params": { - "page_name": "Alarms-RealTime", - "table_type": "value" + "page_name": "Alarms-RealTime" }, "propConfig": { "custom.activityLogger": { @@ -24,10 +23,6 @@ "params.page_name": { "paramDirection": "input", "persistent": true - }, - "params.table_type": { - "paramDirection": "input", - "persistent": true } }, "props": { @@ -504,7 +499,7 @@ "system": { "onStartup": { "config": { - "script": "\tself.custom.priorities \u003d {\n\t \"diagnostic\": True,\n\t \"low\": True,\n\t \"medium\": True,\n\t \"high\": True,\n\t}" + "script": "\tself.custom.priorities \u003d {\n\t \"diagnostic\": False,\n\t \"low\": False,\n\t \"medium\": False,\n\t \"high\": False,\n\t}" }, "scope": "G", "type": "script" @@ -605,7 +600,7 @@ "component": { "onActionPerformed": { "config": { - "script": "\ttry:\n\t # Get table data\n\t data \u003d self.parent.parent.parent.getChild(\"FlexContainer_0\").getChild(\"Table\").props.data\n\t\n\t # CSV header\n\t csv_content \u003d \"Event Timestamp,Duration,Name,Priority,Description,Tag\\n\"\n\t\n\t if data and len(data) \u003e 0:\n\t for row in data:\n\t val \u003d row.get(\"value\", {})\n\t row_data \u003d [\n\t str(val.get(\"EventTimestamp\", \"\")),\n\t str(val.get(\"Duration\", \"\")),\n\t str(val.get(\"Name\", \"\")),\n\t str(val.get(\"Priority\", \"\")),\n\t str(val.get(\"Description\", \"\")),\n\t str(val.get(\"Tag\", \"\"))\n\t ]\n\t\n\t # Escape commas for CSV safety\n\t row_data \u003d [field.replace(\",\", \";\") for field in row_data]\n\t csv_content +\u003d \",\".join(row_data) + \"\\n\"\n\t else:\n\t csv_content +\u003d \"No alarms in current view\\n\"\n\t\n\texcept Exception as e:\n\t system.perspective.print(\"Error during CSV export: \" + str(e))\n\t csv_content \u003d \"Error exporting alarm data\\n\"\n\t\n\t# Convert to bytes and trigger download\n\tcsv_bytes \u003d csv_content.encode(\u0027utf-8\u0027)\n\tsystem.perspective.download(\"active_alarms.csv\", csv_bytes)\n " + "script": "\tfrom datetime import datetime\n\ttry:\n\t # Get table data\n\t data \u003d self.parent.parent.parent.getChild(\"FlexContainer_0\").getChild(\"Table\").props.data\n\t \n\t column_order \u003d [\n\t \"ID\",\n\t \"StartTimestamp\", \n\t \"Duration\",\n\t \"Priority\",\n\t \"Location\",\n\t \"Description\",\n\t \"Tag\"\n\t ]\n\t\n\t # CSV header\n\t csv_content \u003d \",\".join(column_order) + \"\\n\"\n\t \n\t def unwrap(v):\n\t\t\tif hasattr(v, \u0027value\u0027):\n\t\t\t\treturn str(v.value)\n\t \t\n\t\t\treturn v\n\t \n\t if data and len(data) \u003e 0:\n\t for item in data:\n\t row_data \u003d []\n\t \n\t for col in column_order:\n\t # Look for the column in the current item\n\t if col in item:\n\t cell \u003d item[col]\n\t # Extract the value from the nested structure\n\t if isinstance(cell, dict) and \"value\" in cell:\n\t raw_value \u003d cell[\"value\"]\n\t else:\n\t raw_value \u003d cell\n\t else:\n\t raw_value \u003d \"\"\n\t \n\t # Process and clean the value\n\t processed_value \u003d unwrap(raw_value).replace(\",\", \";\")\n\t row_data.append(processed_value)\n\t \n\t csv_content +\u003d \",\".join(row_data) + \"\\n\"\n\t else:\n\t csv_content +\u003d \"No alarms in current view\\n\"\n\t\n\texcept Exception as e:\n\t system.perspective.print(\"Export Error: \" + str(e))\n\t csv_content \u003d \"Export failed\\n\"\n\t\n\tcsv_bytes \u003d csv_content.encode(\"utf-8\")\n\tsystem.perspective.download(\"active_alarms.csv\", csv_bytes) \n\t \n\t \n\t \n\t\n#\t if data and len(data) \u003e 0:\n#\t for row in data:\n#\t val \u003d row.get(\"value\", {})\n#\t row_data \u003d [\n#\t str(val.get(\"NumberID\", \"\")),\n#\t str(val.get(\"EventTimestamp\", \"\")),\n#\t str(val.get(\"Duration\", \"\")),\n#\t str(val.get(\"Priority\", \"\")),\n#\t str(val.get(\"Description\", \"\")),\n#\t str(val.get(\"Tag\", \"\"))\n#\t ]\n#\t\n#\t # Escape commas for CSV safety\n#\t row_data \u003d [field.replace(\",\", \";\") for field in row_data]\n#\t csv_content +\u003d \",\".join(row_data) + \"\\n\"\n#\t else:\n#\t csv_content +\u003d \"No alarms in current view\\n\"\n#\t\n#\texcept Exception as e:\n#\t system.perspective.print(\"Error during CSV export: \" + str(e))\n#\t csv_content \u003d \"Error exporting alarm data\\n\"\n#\t\n#\t# Convert to bytes and trigger download\n#\tcsv_bytes \u003d csv_content.encode(\u0027utf-8\u0027)\n#\tsystem.perspective.download(\"active_alarms.csv\", csv_bytes)\n " }, "scope": "G", "type": "script" @@ -662,187 +657,6 @@ "basis": "10px" }, "type": "ia.display.label" - }, - { - "custom": { - "alarms_to_shelve": [ - { - "style": { - "classes": "Alarms-Styles/Medium" - }, - "value": { - "Alarm_id": { - "value": 13 - }, - "Duration": { - "value": 10495 - }, - "Expiration": { - "value": { - "$": [ - "ts", - 0, - 1704730823344 - ], - "$ts": 0 - } - }, - "Message": { - "value": "Photo eye blocked" - }, - "Priority": { - "value": "3. Medium" - }, - "Shelve": { - "value": false - }, - "SourceId": { - "value": "PLC09/1210_07_44/B830_3" - }, - "State": { - "value": "Active" - }, - "Timestamp": { - "value": { - "$": [ - "ts", - 0, - 1704730823344 - ], - "$ts": 1704720394486 - } - }, - "Unshelve": { - "value": false - } - } - } - ] - }, - "events": { - "component": { - "onActionPerformed": { - "config": { - "script": "\t\n\tselected_alarms \u003d self.parent.parent.parent.getChild(\"FlexContainer_0\").getChild(\"Table\").props.selection.data\n\t\n\tif len(selected_alarms) \u003d\u003d 0:\n\t\tself.props.value \u003d None\n\t\treturn\n\t\n\tduration \u003d self.props.value \n\t\n\tif(duration):\n\t\tfor alarm in selected_alarms:\n\t\t\tsystem.alarm.shelve(alarm.value[\"Device\"], duration * 60) #60 - seconds.\n\t\t\n\t\tself.props.value \u003d None" - }, - "scope": "G", - "type": "script" - } - } - }, - "meta": { - "name": "Dropdown" - }, - "position": { - "basis": "120px" - }, - "propConfig": { - "props.enabled": { - "binding": { - "config": { - "path": "session.custom.fc" - }, - "enabled": false, - "transforms": [ - { - "code": "\twhid \u003d value.lower()\n\tWHID \u003d value.upper()\n\tsiterole \u003d \u0027Authenticated/Roles/rme-ignition-\u0027+whid+\u0027-alarm-shelving\u0027\n\tSITErole \u003d \u0027Authenticated/Roles/rme-ignition-\u0027+WHID+\u0027-alarm-shelving\u0027\n# Example: rme-ignition-BRS1-alarm-shelving\n\troles \u003d [\u0027Authenticated/Roles/eurme-ignition-admins\u0027, siterole, SITErole]\n\tauth \u003d system.perspective.isAuthorized(False, securityLevels\u003droles)\n\treturn auth", - "type": "script" - } - ], - "type": "property" - } - } - }, - "props": { - "options": [ - { - "label": "15 mins", - "value": 15 - }, - { - "label": "30 min", - "value": 30 - }, - { - "label": "45 min", - "value": 45 - }, - { - "label": "1 hr", - "value": 60 - }, - { - "label": "2 hr", - "value": 120 - }, - { - "label": "4 hr", - "value": 240 - }, - { - "label": "8 hr", - "value": 480 - }, - { - "label": "1 Day", - "value": 1440 - }, - { - "label": "2 Days", - "value": 2880 - }, - { - "label": "1 week", - "value": 10080 - }, - { - "label": "2 weeks", - "value": 20160 - }, - { - "label": "Out of Service", - "value": 263000 - } - ], - "placeholder": { - "color": "#000000", - "icon": { - "color": "#000000", - "path": "material/archive", - "style": { - "classes": "" - } - }, - "text": "Shelve" - }, - "search": { - "enabled": false - }, - "showClearIcon": true, - "style": { - "borderBottomLeftRadius": "5px", - "borderBottomRightRadius": "5px", - "borderTopLeftRadius": "5px", - "borderTopRightRadius": "5px", - "classes": "Dropdown/DropDownBox", - "margin": 15 - }, - "value": null - }, - "scripts": { - "customMethods": [], - "extensionFunctions": null, - "messageHandlers": [ - { - "messageType": "alarms-to-shelve", - "pageScope": true, - "script": "\t# implement your handler here\n\tself.custom.alarms_to_shelve \u003d payload", - "sessionScope": false, - "viewScope": true - } - ] - }, - "type": "ia.input.dropdown" } ], "meta": { @@ -878,23 +692,6 @@ { "children": [ { - "custom": { - "rawData": [ - { - "style": { - "backgroundColor": "#ffff00" - }, - "value": { - "Description": "", - "Device": "", - "Duration": "01:06:55", - "EventTimestamp": "2025-06-12 18:37:25", - "Name": "s", - "Priority": "Low" - } - } - ] - }, "meta": { "name": "Table" }, @@ -907,33 +704,34 @@ "config": { "path": ".../FlexContainer/FlexContainer.custom.priorities" }, - "type": "property" - } - }, - "props.data": { - "binding": { - "config": { - "path": "this.custom.rawData" - }, "transforms": [ { - "code": "\t\n\tpriorities \u003d self.custom.priorities if hasattr(self.custom, \"priorities\") else []\n\t\n\tactivePriorities \u003d [k.capitalize() for k, v in priorities.items() if v]\n\t\n\tif not activePriorities:\n\t return value\n\t\n\tfiltered_data \u003d []\n\t\n\tfor row in value:\n\t\tpriority \u003d row[\"value\"][\"Priority\"]\n\t\tif priority in activePriorities:\n\t \t filtered_data.append(row)\n\t\n\treturn filtered_data", + "code": "\t\n\tpriority_to_number \u003d {\n\t \"critical\": 4,\n\t \"high\": 3,\n\t \"medium\": 2,\n\t \"low\": 1,\n\t \"diagnostic\": 0\n\t}\n\t\n\t\n\t# Collect enabled priorities\n\tenabled \u003d [str(priority_to_number[k]) for k, v in value.items() if v]\n\t\n\tresult \u003d \",\".join(enabled)\n\t\n\tif not result:\n\t\treturn \"\"\n\t\n\treturn result\n\t\n", "type": "script" } ], "type": "property" } }, - "props.query": { + "props.data": { "binding": { "config": { - "expression": "now(2000)" + "parameters": { + "priorityList": "{this.custom.priorities}" + }, + "polling": { + "enabled": true, + "rate": "3" + }, + "queryPath": "GetActiveAlarms" }, - "type": "expr" - }, - "onChange": { - "enabled": null, - "script": "\tfrom system import date\n\t\n\t# Helper: format row for table\n\tdef testRow(eventTimeStamp, duration, name, priority, description, device, color):\n\t\treturn {\n\t\t \"value\": {\n\t\t \"EventTimestamp\": eventTimeStamp,\n\t\t \"Duration\": duration,\n\t\t \"Name\":name,\n\t\t \"Priority\": priority,\n\t\t \"Description\": description,\n\t\t \"Device\": device\n\t\t },\n\t\t \"style\": {\n\t\t \"backgroundColor\": color,\n\t\t }\n\t\t}\n\t\n\t\n\t# Query active alarms\n\tresults \u003d system.alarm.queryStatus(state\u003d[\"ActiveUnacked\", \"ActiveAcked\"])\n\t\n\t# Build rows\n\tdata \u003d []\n\tcolor \u003d \"\"\n\t\n\tfor i, alarm in enumerate(results):\n\t\tactiveTime \u003d alarm.eventTime # The timestamp when alarm became active\n\t\n\t\t# Duration in seconds and formatted as HH:mm:ss\n\t\tdurationSeconds \u003d date.secondsBetween(activeTime, date.now())\n\t\tdurationStr \u003d date.format(date.addSeconds(date.midnight(date.now()), durationSeconds), \"HH:mm:ss\")\n\t\tpriority \u003d alarm.priority.toString()\n\t\tif priority \u003d\u003d \"High\": \n\t\t\tcolor \u003d \"#f45d56\"\n\t\telif priority \u003d\u003d \"Medium\": \n\t\t\tcolor \u003d \"#fca25f\"\n\t\telif priority \u003d\u003d \"Low\": \n\t\t\tcolor \u003d \"#ffff00\"\n\t\telif priority \u003d\u003d \"Diagnostic\": \n\t\t\tcolor \u003d \"#5da0f9\"\n\t\telif priority \u003d\u003d \"Critical\": \n\t\t\tcolor \u003d \"#c86462\"\n\t\telse:\n\t\t\tcolor \u003d \"#fff\"\n\t\n\t\tdata.append(testRow(\n\t\t eventTimeStamp \u003d date.format(activeTime, \"yyyy-MM-dd HH:mm:ss\"),\n\t\t duration \u003d durationStr,\n\t\t name \u003d alarm.name,\n\t\t priority \u003d priority,\n\t\t description \u003d alarm.notes,\n\t\t device \u003d alarm.displayPath,\n\t\t color \u003d color\n\t\t))\n\t\n\tself.custom.rawData \u003d data" + "transforms": [ + { + "code": "\n\tfrom system.dataset import toPyDataSet\n\n\tds \u003d toPyDataSet(value)\n\tdata \u003d []\n\n\tcolumn_names \u003d [col for col in ds.columnNames if col !\u003d \"EndTimestamp\"]\n\t\n\n\tfor row in ds:\n\t\tpriority \u003d row[\"Priority\"]\n\n\t\t# Use style class names from Perspective\n\t\tif priority \u003d\u003d \"High\":\n\t\t\tclassName \u003d \"Alarms-Styles/High\"\n\t\telif priority \u003d\u003d \"Medium\":\n\t\t\tclassName \u003d \"Alarms-Styles/Medium\"\n\t\telif priority \u003d\u003d \"Low\":\n\t\t\tclassName \u003d \"Alarms-Styles/Low\"\n\t\telif priority \u003d\u003d \"Diagnostic\":\n\t\t\tclassName \u003d \"Alarms-Styles/Diagnostic\"\n\t\telse:\n\t\t\tclassName \u003d \"Alarms-Styles/NoAlarm\"\n\n\t\t# Apply the style class to all cells in the row\n\t\trow_dict \u003d {\n\t\t\tcol: {\n\t\t\t\t\"value\": row[col],\n\t\t\t\t\"style\": { \"classes\": className }\n\t\t\t} for col in column_names\n\t\t}\n\t\tdata.append(row_dict)\n\n\treturn data", + "type": "script" + } + ], + "type": "query" } } }, @@ -944,7 +742,7 @@ "boolean": "checkbox", "dateFormat": "MM/DD/YYYY", "editable": false, - "field": "Name", + "field": "NumberID", "filter": { "boolean": { "condition": "" @@ -978,7 +776,7 @@ "style": { "classes": "" }, - "title": "" + "title": "Number (ID)" }, "justify": "left", "nullFormat": { @@ -1029,14 +827,14 @@ "viewParams": {}, "viewPath": "", "visible": true, - "width": 40 + "width": 70 }, { "align": "center", "boolean": "checkbox", - "dateFormat": "MM/DD/YYYY", + "dateFormat": "MM/DD/YYYY HH:mm:ss", "editable": false, - "field": "Device", + "field": "StartTimestamp", "filter": { "boolean": { "condition": "" @@ -1070,7 +868,7 @@ "style": { "classes": "" }, - "title": "" + "title": "Event Timestamp" }, "justify": "auto", "nullFormat": { @@ -1121,14 +919,14 @@ "viewParams": {}, "viewPath": "", "visible": true, - "width": 40 + "width": 70 }, { "align": "center", "boolean": "checkbox", "dateFormat": "MM/DD/YYYY", "editable": false, - "field": "EventTimestamp", + "field": "Duration", "filter": { "boolean": { "condition": "" @@ -1213,14 +1011,14 @@ "viewParams": {}, "viewPath": "", "visible": true, - "width": 40 + "width": 70 }, { "align": "center", "boolean": "checkbox", "dateFormat": "MM/DD/YYYY", "editable": false, - "field": "Duration", + "field": "Priority", "filter": { "boolean": { "condition": "" @@ -1305,7 +1103,99 @@ "viewParams": {}, "viewPath": "", "visible": true, - "width": 100 + "width": 70 + }, + { + "align": "center", + "boolean": "checkbox", + "dateFormat": "MM/DD/YYYY", + "editable": false, + "field": "Location", + "filter": { + "boolean": { + "condition": "" + }, + "date": { + "condition": "", + "value": "" + }, + "enabled": false, + "number": { + "condition": "", + "value": "" + }, + "string": { + "condition": "", + "value": "" + }, + "visible": "on-hover" + }, + "footer": { + "align": "center", + "justify": "left", + "style": { + "classes": "" + }, + "title": "" + }, + "header": { + "align": "center", + "justify": "center", + "style": { + "classes": "" + }, + "title": "" + }, + "justify": "center", + "nullFormat": { + "includeNullStrings": false, + "nullFormatValue": "", + "strict": false + }, + "number": "value", + "numberFormat": "0,0.##", + "progressBar": { + "bar": { + "color": "", + "style": { + "classes": "" + } + }, + "max": 100, + "min": 0, + "track": { + "color": "", + "style": { + "classes": "" + } + }, + "value": { + "enabled": true, + "format": "0,0.##", + "justify": "center", + "style": { + "classes": "" + } + } + }, + "render": "auto", + "resizable": true, + "sort": "none", + "sortable": true, + "strictWidth": false, + "style": { + "classes": "" + }, + "toggleSwitch": { + "color": { + "selected": "", + "unselected": "" + } + }, + "viewParams": {}, + "viewPath": "", + "visible": true, + "width": 70 }, { "align": "center", @@ -1397,6 +1287,616 @@ "viewParams": {}, "viewPath": "", "visible": true, + "width": 150 + }, + { + "align": "center", + "boolean": "checkbox", + "dateFormat": "MM/DD/YYYY", + "editable": false, + "field": "Tag", + "filter": { + "boolean": { + "condition": "" + }, + "date": { + "condition": "", + "value": "" + }, + "enabled": false, + "number": { + "condition": "", + "value": "" + }, + "string": { + "condition": "", + "value": "" + }, + "visible": "on-hover" + }, + "footer": { + "align": "center", + "justify": "left", + "style": { + "classes": "" + }, + "title": "" + }, + "header": { + "align": "center", + "justify": "left", + "style": { + "classes": "" + }, + "title": "" + }, + "justify": "auto", + "nullFormat": { + "includeNullStrings": false, + "nullFormatValue": "", + "strict": false + }, + "number": "value", + "numberFormat": "0,0.##", + "progressBar": { + "bar": { + "color": "", + "style": { + "classes": "" + } + }, + "max": 100, + "min": 0, + "track": { + "color": "", + "style": { + "classes": "" + } + }, + "value": { + "enabled": true, + "format": "0,0.##", + "justify": "center", + "style": { + "classes": "" + } + } + }, + "render": "auto", + "resizable": true, + "sort": "none", + "sortable": true, + "strictWidth": false, + "style": { + "classes": "" + }, + "toggleSwitch": { + "color": { + "selected": "", + "unselected": "" + } + }, + "viewParams": {}, + "viewPath": "", + "visible": true, + "width": 80 + } + ], + "emptyMessage": { + "noData": { + "text": "No Active Alarms" + }, + "noFilterResults": { + "text": "No Active Alarms" + } + }, + "filter": { + "enabled": true, + "results": { + "enabled": true + } + }, + "selection": { + "mode": "multiple interval" + } + }, + "type": "ia.display.table" + } + ], + "meta": { + "name": "FlexContainer_0" + }, + "position": { + "basis": "480px", + "grow": 1 + }, + "props": { + "direction": "column" + }, + "type": "ia.container.flex" + } + ], + "meta": { + "name": "Active_tab" + }, + "props": { + "direction": "column", + "justify": "space-evenly" + }, + "type": "ia.container.flex" + }, + { + "children": [ + { + "children": [ + { + "events": { + "component": { + "onActionPerformed": { + "config": { + "script": "\tfrom datetime import datetime\n\t\n\ttry:\n\t data \u003d self.parent.parent.getChild(\"FlexContainer_0\").getChild(\"AlarmsTable\").props.data\n\t\n\t column_order \u003d [\n\t \"FirstTimestamp\",\n\t \"LastTimestamp\", \n\t \"Count\",\n\t \"Duration\",\n\t \"Priority\",\n\t \"Location\",\n\t \"Description\",\n\t \"Tag\"\n\t ]\n\t\n\t csv_content \u003d \",\".join(column_order) + \"\\n\"\n\t \t\n\t def unwrap(v):\n\t\t\tif hasattr(v, \u0027value\u0027):\n\t\t\t\treturn str(v.value)\n\t \t\n\t\t\treturn v\n\t \t\n\t if data and len(data) \u003e 0:\n\t for item in data:\n\t row_data \u003d []\n\t \n\t for col in column_order:\n\t # Look for the column in the current item\n\t if col in item:\n\t cell \u003d item[col]\n\t # Extract the value from the nested structure\n\t if isinstance(cell, dict) and \"value\" in cell:\n\t raw_value \u003d cell[\"value\"]\n\t else:\n\t raw_value \u003d cell\n\t else:\n\t raw_value \u003d \"\"\n\t \n\t # Process and clean the value\n\t processed_value \u003d unwrap(raw_value).replace(\",\", \";\")\n\t row_data.append(processed_value)\n\t \n\t csv_content +\u003d \",\".join(row_data) + \"\\n\"\n\t else:\n\t csv_content +\u003d \"No alarms in current view\\n\"\n\t\n\texcept Exception as e:\n\t system.perspective.print(\"Export Error: \" + str(e))\n\t csv_content \u003d \"Export failed\\n\"\n\t\n\tcsv_bytes \u003d csv_content.encode(\"utf-8\")\n\tsystem.perspective.download(\"active_alarms.csv\", csv_bytes)" + }, + "scope": "G", + "type": "script" + } + } + }, + "meta": { + "name": "Button_1" + }, + "position": { + "basis": "120px" + }, + "props": { + "image": { + "icon": { + "path": "material/import_export" + } + }, + "primary": false, + "style": { + "margin": 15 + }, + "text": "Export" + }, + "scripts": { + "customMethods": [], + "extensionFunctions": null, + "messageHandlers": [ + { + "messageType": "button-severity-indicator", + "pageScope": true, + "script": "\tbackground \u003d \"false\"\n\tseverity \u003d payload[\"severity\"]\n\tbutton_severity \u003d self.custom.Severity\n\tif severity \u003d\u003d button_severity:\n\t\tbackground \u003d \"true\"\n\telse:\n\t\tbackground \u003d \"false\"\n\t\n\tself.custom.background_on \u003d background", + "sessionScope": false, + "viewScope": false + } + ] + }, + "type": "ia.input.button" + } + ], + "meta": { + "name": "FlexContainer" + }, + "position": { + "basis": "70px" + }, + "props": { + "alignContent": "flex-start", + "style": { + "overflow": "visible" + } + }, + "type": "ia.container.flex" + }, + { + "children": [ + { + "meta": { + "name": "AlarmsTable" + }, + "position": { + "basis": "1080px", + "grow": 1 + }, + "propConfig": { + "props.data": { + "binding": { + "config": { + "polling": { + "enabled": true, + "rate": "3" + }, + "queryPath": "GetAlarmsWithCount" + }, + "transforms": [ + { + "code": "\n\tfrom system.dataset import toPyDataSet\n\n\tds \u003d toPyDataSet(value)\n\tdata \u003d []\n\n\tcolumn_names \u003d list(ds.columnNames)\n\n\tfor row in ds:\n\t\tpriority \u003d row[\"Priority\"]\n\n\t\t# Use style class names from Perspective\n\t\tif priority \u003d\u003d \"High\":\n\t\t\tclassName \u003d \"Alarms-Styles/High\"\n\t\telif priority \u003d\u003d \"Medium\":\n\t\t\tclassName \u003d \"Alarms-Styles/Medium\"\n\t\telif priority \u003d\u003d \"Low\":\n\t\t\tclassName \u003d \"Alarms-Styles/Low\"\n\t\telif priority \u003d\u003d \"Diagnostic\":\n\t\t\tclassName \u003d \"Alarms-Styles/Diagnostic\"\n\t\telse:\n\t\t\tclassName \u003d \"Alarms-Styles/NoAlarm\"\n\n\t\t# Apply the style class to all cells in the row\n\t\trow_dict \u003d {\n\t\t\tcol: {\n\t\t\t\t\"value\": row[col],\n\t\t\t\t\"style\": { \"classes\": className }\n\t\t\t} for col in column_names\n\t\t}\n\t\tdata.append(row_dict)\n\n\treturn data\n", + "type": "script" + } + ], + "type": "query" + } + }, + "props.editingCell": { + "onChange": { + "enabled": null, + "script": "\tall_alarms \u003d system.alarm.queryStatus(includeShelved\u003dTrue)\n\tshelved_alarms \u003d [alarm for alarm in all_alarms if alarm.isShelved()]\n\t\n\t# Build dataset for table\n\theaders \u003d [\u0027ID\u0027, \u0027StartTimestamp\u0027, \u0027EndTimestamp\u0027, \u0027Duration\u0027, \u0027Description\u0027, \u0027Priority\u0027, \u0027Tag\u0027, \u0027MCM\u0027]\n\tdata \u003d []\n\t\n\tfor alarm in shelved_alarms:\n\t # Calculate duration (time since shelved)\n\t if alarm.activeTime:\n\t duration_ms \u003d system.date.now().getTime() - alarm.activeTime.getTime()\n\t duration_seconds \u003d duration_ms / 1000\n\t hours \u003d int(duration_seconds / 3600)\n\t minutes \u003d int((duration_seconds % 3600) / 60)\n\t seconds \u003d int(duration_seconds % 60)\n\t duration \u003d \"%02d:%02d:%02d\" % (hours, minutes, seconds)\n\t else:\n\t duration \u003d \"00:00:00\"\n\t \n\t # Extract tag name from source\n\t tag_name \u003d alarm.source.split(\u0027/\u0027)[-1] if \u0027/\u0027 in alarm.source else alarm.source\n\t \n\t row \u003d [\n\t str(alarm.id) if hasattr(alarm, \u0027id\u0027) else \u0027\u0027,\n\t alarm.activeTime if alarm.activeTime else system.date.now(),\n\t None, # End timestamp (shelved alarms don\u0027t have end time yet)\n\t duration,\n\t alarm.displayPath if alarm.displayPath else alarm.source,\n\t alarm.priority.name if alarm.priority else \u0027Unknown\u0027,\n\t tag_name,\n\t \u0027System\u0027 # Adjust based on your source format\n\t ]\n\t data.append(row)\n\t\n\t# Create dataset and update the custom property\n\tdataset \u003d system.dataset.toDataSet(headers, data)\n\tself.custom.shelvedAlarmsData \u003d dataset" + } + }, + "props.selection": { + "persistent": true + } + }, + "props": { + "columns": [ + { + "align": "center", + "boolean": "checkbox", + "dateFormat": "MM/DD/YYYY HH:mm:ss", + "editable": false, + "field": "FirstTimestamp", + "filter": { + "boolean": { + "condition": "" + }, + "date": { + "condition": "", + "value": "" + }, + "enabled": false, + "number": { + "condition": "", + "value": "" + }, + "string": { + "condition": "", + "value": "" + }, + "visible": "on-hover" + }, + "footer": { + "align": "center", + "justify": "left", + "style": { + "classes": "" + }, + "title": "" + }, + "header": { + "align": "center", + "justify": "left", + "style": { + "backgroundColor": "#FFFEFE", + "classes": "" + }, + "title": "First Timestamp" + }, + "justify": "left", + "nullFormat": { + "includeNullStrings": false, + "nullFormatValue": "", + "strict": false + }, + "number": "value", + "numberFormat": "0,0.##", + "progressBar": { + "bar": { + "color": "", + "style": { + "classes": "" + } + }, + "max": 100, + "min": 0, + "track": { + "color": "", + "style": { + "classes": "" + } + }, + "value": { + "enabled": true, + "format": "0,0.##", + "justify": "center", + "style": { + "classes": "" + } + } + }, + "render": "auto", + "resizable": true, + "sort": "none", + "sortable": true, + "strictWidth": false, + "style": { + "classes": "" + }, + "toggleSwitch": { + "color": { + "selected": "", + "unselected": "" + } + }, + "viewParams": {}, + "viewPath": "", + "visible": true, + "width": "" + }, + { + "align": "center", + "boolean": "value", + "dateFormat": "MM-DD-YYYY HH:mm:ss", + "editable": false, + "field": "LastTimestamp", + "filter": { + "boolean": { + "condition": "" + }, + "date": { + "condition": "", + "value": "" + }, + "enabled": false, + "number": { + "condition": "", + "value": "" + }, + "string": { + "condition": "", + "value": "" + }, + "visible": "on-hover" + }, + "footer": { + "align": "center", + "justify": "left", + "style": { + "classes": "" + }, + "title": "" + }, + "header": { + "align": "center", + "justify": "center", + "style": { + "classes": "" + }, + "title": "Last Timestamp" + }, + "justify": "center", + "nullFormat": { + "includeNullStrings": false, + "nullFormatValue": "", + "strict": false + }, + "number": "value", + "numberFormat": "none", + "progressBar": { + "bar": { + "color": "", + "style": { + "classes": "" + } + }, + "max": 100, + "min": 0, + "track": { + "color": "", + "style": { + "classes": "" + } + }, + "value": { + "enabled": true, + "format": "0,0.##", + "justify": "center", + "style": { + "classes": "" + } + } + }, + "render": "auto", + "resizable": true, + "sort": "none", + "sortable": true, + "strictWidth": false, + "style": { + "classes": "" + }, + "toggleSwitch": { + "color": { + "selected": "", + "unselected": "" + } + }, + "viewParams": {}, + "viewPath": "", + "visible": true, + "width": "" + }, + { + "align": "center", + "boolean": "checkbox", + "dateFormat": "MM-DD-YYYY HH:mm:ss", + "editable": false, + "field": "Count", + "filter": { + "boolean": { + "condition": "" + }, + "date": { + "condition": "", + "value": "" + }, + "enabled": false, + "number": { + "condition": "", + "value": "" + }, + "string": { + "condition": "", + "value": "" + }, + "visible": "on-hover" + }, + "footer": { + "align": "center", + "justify": "left", + "style": { + "classes": "" + }, + "title": "" + }, + "header": { + "align": "center", + "justify": "center", + "style": { + "classes": "" + }, + "title": "" + }, + "justify": "center", + "nullFormat": { + "includeNullStrings": false, + "nullFormatValue": "", + "strict": false + }, + "number": "value", + "numberFormat": "0,0.##", + "progressBar": { + "bar": { + "color": "", + "style": { + "classes": "" + } + }, + "max": 100, + "min": 0, + "track": { + "color": "", + "style": { + "classes": "" + } + }, + "value": { + "enabled": true, + "format": "0,0.##", + "justify": "center", + "style": { + "classes": "" + } + } + }, + "render": "auto", + "resizable": true, + "sort": "none", + "sortable": true, + "strictWidth": false, + "style": { + "classes": "" + }, + "toggleSwitch": { + "color": { + "selected": "", + "unselected": "" + } + }, + "viewParams": {}, + "viewPath": "", + "visible": true, + "width": "" + }, + { + "align": "center", + "boolean": "checkbox", + "dateFormat": "none", + "editable": false, + "field": "Duration", + "filter": { + "boolean": { + "condition": "" + }, + "date": { + "condition": "", + "value": "" + }, + "enabled": false, + "number": { + "condition": "", + "value": "" + }, + "string": { + "condition": "", + "value": "" + }, + "visible": "on-hover" + }, + "footer": { + "align": "center", + "justify": "left", + "style": { + "classes": "" + }, + "title": "" + }, + "header": { + "align": "center", + "justify": "center", + "style": { + "classes": "" + }, + "title": "" + }, + "justify": "center", + "nullFormat": { + "includeNullStrings": false, + "nullFormatValue": "", + "strict": false + }, + "number": "value", + "numberFormat": "none", + "progressBar": { + "bar": { + "color": "", + "style": { + "classes": "" + } + }, + "max": 100, + "min": 0, + "track": { + "color": "", + "style": { + "classes": "" + } + }, + "value": { + "enabled": true, + "format": "0,0.##", + "justify": "center", + "style": { + "classes": "" + } + } + }, + "render": "auto", + "resizable": true, + "sort": "none", + "sortable": true, + "strictWidth": false, + "style": { + "classes": "" + }, + "toggleSwitch": { + "color": { + "selected": "", + "unselected": "" + } + }, + "viewParams": {}, + "viewPath": "", + "visible": true, "width": "" }, { @@ -1490,633 +1990,303 @@ "viewPath": "", "visible": true, "width": "" + }, + { + "align": "center", + "boolean": "checkbox", + "dateFormat": "MM/DD/YYYY", + "editable": false, + "field": "Location", + "filter": { + "boolean": { + "condition": "" + }, + "date": { + "condition": "", + "value": "" + }, + "enabled": false, + "number": { + "condition": "", + "value": "" + }, + "string": { + "condition": "", + "value": "" + }, + "visible": "on-hover" + }, + "footer": { + "align": "center", + "justify": "left", + "style": { + "classes": "" + }, + "title": "" + }, + "header": { + "align": "center", + "justify": "center", + "style": { + "classes": "" + }, + "title": "" + }, + "justify": "center", + "nullFormat": { + "includeNullStrings": false, + "nullFormatValue": "", + "strict": false + }, + "number": "value", + "numberFormat": "0,0.##", + "progressBar": { + "bar": { + "color": "", + "style": { + "classes": "" + } + }, + "max": 100, + "min": 0, + "track": { + "color": "", + "style": { + "classes": "" + } + }, + "value": { + "enabled": true, + "format": "0,0.##", + "justify": "center", + "style": { + "classes": "" + } + } + }, + "render": "auto", + "resizable": true, + "sort": "none", + "sortable": true, + "strictWidth": false, + "style": { + "classes": "" + }, + "toggleSwitch": { + "color": { + "selected": "", + "unselected": "" + } + }, + "viewParams": {}, + "viewPath": "", + "visible": true, + "width": "" + }, + { + "align": "center", + "boolean": "checkbox", + "dateFormat": "MM/DD/YYYY", + "editable": false, + "field": "Description", + "filter": { + "boolean": { + "condition": "" + }, + "date": { + "condition": "", + "value": "" + }, + "enabled": false, + "number": { + "condition": "", + "value": "" + }, + "string": { + "condition": "", + "value": "" + }, + "visible": "on-hover" + }, + "footer": { + "align": "center", + "justify": "left", + "style": { + "classes": "" + }, + "title": "" + }, + "header": { + "align": "center", + "justify": "center", + "style": { + "classes": "" + }, + "title": "" + }, + "justify": "center", + "nullFormat": { + "includeNullStrings": false, + "nullFormatValue": "", + "strict": false + }, + "number": "value", + "numberFormat": "0,0.##", + "progressBar": { + "bar": { + "color": "", + "style": { + "classes": "" + } + }, + "max": 100, + "min": 0, + "track": { + "color": "", + "style": { + "classes": "" + } + }, + "value": { + "enabled": true, + "format": "0,0.##", + "justify": "center", + "style": { + "classes": "" + } + } + }, + "render": "auto", + "resizable": true, + "sort": "none", + "sortable": true, + "strictWidth": false, + "style": { + "classes": "" + }, + "toggleSwitch": { + "color": { + "selected": "", + "unselected": "" + } + }, + "viewParams": {}, + "viewPath": "", + "visible": true, + "width": 150 + }, + { + "align": "center", + "boolean": "checkbox", + "dateFormat": "MM/DD/YYYY", + "editable": false, + "field": "Tag", + "filter": { + "boolean": { + "condition": "" + }, + "date": { + "condition": "", + "value": "" + }, + "enabled": false, + "number": { + "condition": "", + "value": "" + }, + "string": { + "condition": "", + "value": "" + }, + "visible": "on-hover" + }, + "footer": { + "align": "center", + "justify": "left", + "style": { + "classes": "" + }, + "title": "" + }, + "header": { + "align": "center", + "justify": "center", + "style": { + "classes": "" + }, + "title": "" + }, + "justify": "center", + "nullFormat": { + "includeNullStrings": false, + "nullFormatValue": "", + "strict": false + }, + "number": "value", + "numberFormat": "0,0.##", + "progressBar": { + "bar": { + "color": "", + "style": { + "classes": "" + } + }, + "max": 100, + "min": 0, + "track": { + "color": "", + "style": { + "classes": "" + } + }, + "value": { + "enabled": true, + "format": "0,0.##", + "justify": "center", + "style": { + "classes": "" + } + } + }, + "render": "auto", + "resizable": true, + "sort": "none", + "sortable": true, + "strictWidth": false, + "style": { + "classes": "" + }, + "toggleSwitch": { + "color": { + "selected": "", + "unselected": "" + } + }, + "viewParams": {}, + "viewPath": "", + "visible": true, + "width": "" } ], "emptyMessage": { "noData": { - "text": "No Active Alarms" + "text": "No Alarms" + }, + "noFilterResults": { + "text": "No Alarms" } }, "filter": { - "enabled": true - }, - "selection": { - "mode": "multiple interval" - } - }, - "type": "ia.display.table" - } - ], - "meta": { - "name": "FlexContainer_0" - }, - "position": { - "basis": "480px", - "grow": 1 - }, - "props": { - "direction": "column" - }, - "type": "ia.container.flex" - } - ], - "meta": { - "name": "Active_tab" - }, - "props": { - "direction": "column", - "justify": "space-evenly" - }, - "type": "ia.container.flex" - }, - { - "children": [ - { - "children": [ - { - "children": [ - { - "events": { - "component": { - "onActionPerformed": { - "config": { - "script": "\n\tselected_alarms \u003d self.parent.parent.parent.getChild(\"FlexContainer_0\").getChild(\"AlarmsTable\").props.selection.data\n\tif len(selected_alarms) \u003d\u003d 0:\n\t\treturn\n\t\n\t# Unshelve selected alarms\n\tfor alarm in selected_alarms:\n\t\tsystem.alarm.unshelve(alarm[\u0027path\u0027])\n\t\t\n\tpaths_to_remove \u003d {alarm[\u0027path\u0027] for alarm in selected_alarms}\n\t\n\tshelved_alarms \u003d self.parent.parent.parent.parent.parent.getChild(\"TabContainer\").custom.shelvedAlarms\n\t\t\n\tif shelved_alarms is not None:\n\t\tremaining_data \u003d [a for a in shelved_alarms if a[\u0027path\u0027] not in paths_to_remove]\n\t\t\n\tself.parent.parent.parent.parent.parent.getChild(\"TabContainer\").custom.shelvedAlarms \u003d remaining_data" - }, - "scope": "G", - "type": "script" - } - } - }, - "meta": { - "name": "Button" - }, - "position": { - "basis": "153px" - }, - "props": { - "image": { - "icon": { - "color": "#000000", - "path": "material/archive" - } - }, - "style": { - "classes": "Dropdown/DropDownBox" - }, - "text": "Unshelve", - "value": "" - }, - "scripts": { - "customMethods": [], - "extensionFunctions": null, - "messageHandlers": [ - { - "messageType": "alarms-to-shelve", - "pageScope": true, - "script": "\t# implement your handler here\n\tself.props.enabled \u003d True\n\tself.custom.alarms_to_shelve \u003d payload", - "sessionScope": false, - "viewScope": true - } - ] - }, - "type": "ia.input.button" - } - ], - "meta": { - "name": "FlexContainer_0" - }, - "position": { - "basis": "450px", - "shrink": 0 - }, - "props": { - "style": { - "padding": 5 - } - }, - "type": "ia.container.flex" - } - ], - "meta": { - "name": "FlexContainer" - }, - "position": { - "basis": "40px", - "shrink": 0 - }, - "props": { - "alignContent": "flex-start", - "style": { - "overflow": "visible" - } - }, - "type": "ia.container.flex" - }, - { - "children": [ - { - "meta": { - "name": "AlarmsTable" - }, - "position": { - "basis": "1080px", - "grow": 1 - }, - "propConfig": { - "props.data": { - "binding": { - "config": { - "path": "...../TabContainer.custom.shelvedAlarms" - }, - "transforms": [ - { - "code": " data \u003d []\n for row in value: \n keys \u003d row.keys() \n if row[\"priority\"] \u003d\u003d \"High\": \n style \u003d {\"backgroundColor\": \"#fd6059\"} \n elif row[\"priority\"] \u003d\u003d \"Low\": \n style \u003d {\"backgroundColor\": \"#fafa6c\"} \n elif row[\"priority\"] \u003d\u003d \"Diagnostic\": \n style \u003d {\"backgroundColor\": \"#5da0f9\"} \n elif row[\"priority\"] \u003d\u003d \"Medium\": \n style \u003d {\"backgroundColor\": \"#fca25f\"} \n elif row[\"priority\"] \u003d\u003d \"Critical\": \n style \u003d {\"backgroundColor\": \"#c86462\"} \n else:\n style \u003d {\"backgroundColor\": \"\"}\n \n formatted_rows \u003d [{\"value\": v, \"style\": style} for v in row.values()]\n \n row_dict \u003d dict(zip(keys, formatted_rows))\n data.append(row_dict)\n return data ", - "type": "script" - } - ], - "type": "property" - } - }, - "props.editingCell": { - "onChange": { - "enabled": null, - "script": "\tall_alarms \u003d system.alarm.queryStatus(includeShelved\u003dTrue)\n\tshelved_alarms \u003d [alarm for alarm in all_alarms if alarm.isShelved()]\n\t\n\t# Build dataset for table\n\theaders \u003d [\u0027ID\u0027, \u0027StartTimestamp\u0027, \u0027EndTimestamp\u0027, \u0027Duration\u0027, \u0027Description\u0027, \u0027Priority\u0027, \u0027Tag\u0027, \u0027MCM\u0027]\n\tdata \u003d []\n\t\n\tfor alarm in shelved_alarms:\n\t # Calculate duration (time since shelved)\n\t if alarm.activeTime:\n\t duration_ms \u003d system.date.now().getTime() - alarm.activeTime.getTime()\n\t duration_seconds \u003d duration_ms / 1000\n\t hours \u003d int(duration_seconds / 3600)\n\t minutes \u003d int((duration_seconds % 3600) / 60)\n\t seconds \u003d int(duration_seconds % 60)\n\t duration \u003d \"%02d:%02d:%02d\" % (hours, minutes, seconds)\n\t else:\n\t duration \u003d \"00:00:00\"\n\t \n\t # Extract tag name from source\n\t tag_name \u003d alarm.source.split(\u0027/\u0027)[-1] if \u0027/\u0027 in alarm.source else alarm.source\n\t \n\t row \u003d [\n\t str(alarm.id) if hasattr(alarm, \u0027id\u0027) else \u0027\u0027,\n\t alarm.activeTime if alarm.activeTime else system.date.now(),\n\t None, # End timestamp (shelved alarms don\u0027t have end time yet)\n\t duration,\n\t alarm.displayPath if alarm.displayPath else alarm.source,\n\t alarm.priority.name if alarm.priority else \u0027Unknown\u0027,\n\t tag_name,\n\t \u0027System\u0027 # Adjust based on your source format\n\t ]\n\t data.append(row)\n\t\n\t# Create dataset and update the custom property\n\tdataset \u003d system.dataset.toDataSet(headers, data)\n\tself.custom.shelvedAlarmsData \u003d dataset" - } - }, - "props.selection": { - "persistent": true - } - }, - "props": { - "columns": [ - { - "align": "center", - "boolean": "checkbox", - "dateFormat": "none", - "editable": false, - "field": "name", - "filter": { - "boolean": { - "condition": "" - }, - "date": { - "condition": "", - "value": "" - }, - "enabled": false, - "number": { - "condition": "", - "value": "" - }, - "string": { - "condition": "", - "value": "" - }, - "visible": "on-hover" - }, - "footer": { - "align": "center", - "justify": "left", - "style": { - "classes": "" - }, - "title": "" - }, - "header": { - "align": "center", - "justify": "left", - "style": { - "backgroundColor": "#FFFEFE", - "classes": "" - }, - "title": "" - }, - "justify": "auto", - "nullFormat": { - "includeNullStrings": false, - "nullFormatValue": "", - "strict": false - }, - "number": "value", - "numberFormat": "0,0.##", - "progressBar": { - "bar": { - "color": "", - "style": { - "classes": "" - } - }, - "max": 100, - "min": 0, - "track": { - "color": "", - "style": { - "classes": "" - } - }, - "value": { - "enabled": true, - "format": "0,0.##", - "justify": "center", - "style": { - "classes": "" - } - } - }, - "render": "auto", - "resizable": true, - "sort": "none", - "sortable": true, - "strictWidth": false, - "style": { - "classes": "" - }, - "toggleSwitch": { - "color": { - "selected": "", - "unselected": "" - } - }, - "viewParams": {}, - "viewPath": "", - "visible": true, - "width": "" - }, - { - "align": "center", - "boolean": "value", - "dateFormat": "MM-DD-YYYY HH:mm:ss", - "editable": false, - "field": "path", - "filter": { - "boolean": { - "condition": "" - }, - "date": { - "condition": "", - "value": "" - }, - "enabled": false, - "number": { - "condition": "", - "value": "" - }, - "string": { - "condition": "", - "value": "" - }, - "visible": "on-hover" - }, - "footer": { - "align": "center", - "justify": "left", - "style": { - "classes": "" - }, - "title": "" - }, - "header": { - "align": "center", - "justify": "left", - "style": { - "classes": "" - }, - "title": "Start Timestamp" - }, - "justify": "center", - "nullFormat": { - "includeNullStrings": false, - "nullFormatValue": "", - "strict": false - }, - "number": "value", - "numberFormat": "none", - "progressBar": { - "bar": { - "color": "", - "style": { - "classes": "" - } - }, - "max": 100, - "min": 0, - "track": { - "color": "", - "style": { - "classes": "" - } - }, - "value": { - "enabled": true, - "format": "0,0.##", - "justify": "center", - "style": { - "classes": "" - } - } - }, - "render": "auto", - "resizable": true, - "sort": "none", - "sortable": true, - "strictWidth": false, - "style": { - "classes": "" - }, - "toggleSwitch": { - "color": { - "selected": "", - "unselected": "" - } - }, - "viewParams": {}, - "viewPath": "", - "visible": true, - "width": "" - }, - { - "align": "center", - "boolean": "checkbox", - "dateFormat": "MM-DD-YYYY HH:mm:ss", - "editable": false, - "field": "activeTime", - "filter": { - "boolean": { - "condition": "" - }, - "date": { - "condition": "", - "value": "" - }, - "enabled": false, - "number": { - "condition": "", - "value": "" - }, - "string": { - "condition": "", - "value": "" - }, - "visible": "on-hover" - }, - "footer": { - "align": "center", - "justify": "left", - "style": { - "classes": "" - }, - "title": "" - }, - "header": { - "align": "center", - "justify": "center", - "style": { - "classes": "" - }, - "title": "Active Time" - }, - "justify": "center", - "nullFormat": { - "includeNullStrings": false, - "nullFormatValue": "", - "strict": false - }, - "number": "value", - "numberFormat": "0,0.##", - "progressBar": { - "bar": { - "color": "", - "style": { - "classes": "" - } - }, - "max": 100, - "min": 0, - "track": { - "color": "", - "style": { - "classes": "" - } - }, - "value": { - "enabled": true, - "format": "0,0.##", - "justify": "center", - "style": { - "classes": "" - } - } - }, - "render": "auto", - "resizable": true, - "sort": "none", - "sortable": true, - "strictWidth": false, - "style": { - "classes": "" - }, - "toggleSwitch": { - "color": { - "selected": "", - "unselected": "" - } - }, - "viewParams": {}, - "viewPath": "", - "visible": true, - "width": "" - }, - { - "align": "center", - "boolean": "checkbox", - "dateFormat": "none", - "editable": false, - "field": "expirationTime", - "filter": { - "boolean": { - "condition": "" - }, - "date": { - "condition": "", - "value": "" - }, - "enabled": false, - "number": { - "condition": "", - "value": "" - }, - "string": { - "condition": "", - "value": "" - }, - "visible": "on-hover" - }, - "footer": { - "align": "center", - "justify": "left", - "style": { - "classes": "" - }, - "title": "" - }, - "header": { - "align": "center", - "justify": "center", - "style": { - "classes": "" - }, - "title": "Expiration Time" - }, - "justify": "center", - "nullFormat": { - "includeNullStrings": false, - "nullFormatValue": "", - "strict": false - }, - "number": "value", - "numberFormat": "none", - "progressBar": { - "bar": { - "color": "", - "style": { - "classes": "" - } - }, - "max": 100, - "min": 0, - "track": { - "color": "", - "style": { - "classes": "" - } - }, - "value": { - "enabled": true, - "format": "0,0.##", - "justify": "center", - "style": { - "classes": "" - } - } - }, - "render": "auto", - "resizable": true, - "sort": "none", - "sortable": true, - "strictWidth": false, - "style": { - "classes": "" - }, - "toggleSwitch": { - "color": { - "selected": "", - "unselected": "" - } - }, - "viewParams": {}, - "viewPath": "", - "visible": true, - "width": "" - }, - { - "align": "center", - "boolean": "checkbox", - "dateFormat": "none", - "editable": false, - "field": "priority", - "filter": { - "boolean": { - "condition": "" - }, - "date": { - "condition": "", - "value": "" - }, - "enabled": false, - "number": { - "condition": "", - "value": "" - }, - "string": { - "condition": "", - "value": "" - }, - "visible": "on-hover" - }, - "footer": { - "align": "center", - "justify": "left", - "style": { - "classes": "" - }, - "title": "" - }, - "header": { - "align": "center", - "justify": "center", - "style": { - "classes": "" - }, - "title": "" - }, - "justify": "center", - "nullFormat": { - "includeNullStrings": false, - "nullFormatValue": "", - "strict": true - }, - "number": "value", - "numberFormat": "0,0.##", - "progressBar": { - "bar": { - "color": "", - "style": { - "classes": "" - } - }, - "max": 100, - "min": 0, - "track": { - "color": "", - "style": { - "classes": "" - } - }, - "value": { - "enabled": true, - "format": "0,0.##", - "justify": "center", - "style": { - "classes": "" - } - } - }, - "render": "auto", - "resizable": true, - "sort": "none", - "sortable": true, - "strictWidth": false, - "style": { - "classes": "" - }, - "toggleSwitch": { - "color": { - "selected": "", - "unselected": "" - } - }, - "viewParams": {}, - "viewPath": "", - "visible": true, - "width": "" - } - ], - "emptyMessage": { - "noData": { - "text": "No Shelved Alarms" - } + "enabled": true, + "results": { + "enabled": true + } + }, + "pager": { + "activeOption": 5 }, "selection": { + "enableRowSelection": false, "mode": "multiple interval" } }, @@ -2134,7 +2304,7 @@ } ], "meta": { - "name": "Shelved tab" + "name": "Hit_List" }, "position": { "tabIndex": 1 @@ -2251,22 +2421,22 @@ }, { "custom": { - "customTime": true, + "customTime": false, "endDate": { "$": [ "ts", 192, - 1749742805621 + 1750436956149 ], - "$ts": 1749742805621 + "$ts": 1750436956149 }, "startDate": { "$": [ "ts", 192, - 1749742805621 + 1750436956149 ], - "$ts": 1749672000000 + "$ts": 1750435156149 } }, "meta": { @@ -2439,7 +2609,7 @@ } }, "props": { - "formattedValue": "Jun 2, 2025 7:41 PM", + "formattedValue": "Jun 20, 2025 7:59 PM", "style": { "margin": 15 } @@ -2524,7 +2694,7 @@ } }, "props": { - "formattedValue": "Jun 12, 2025 7:40 PM", + "formattedValue": "Jun 20, 2025 8:29 PM", "maxDate": { "$": [ "ts", @@ -2539,10 +2709,10 @@ "value": { "$": [ "ts", - 192, - 1749742805621 + 201, + 1750436956149 ], - "$ts": 1749742805621 + "$ts": 1750436956149 } }, "scripts": { @@ -2718,7 +2888,6 @@ "children": [ { "custom": { - "initial_data": [], "max_duration": { "$": [ "ts", @@ -2727,22 +2896,22 @@ ], "$ts": 1747562336635 }, - "priority_filters": "diagnostic", + "priority_filters": "", "time_from_filter": { "$": [ "ts", 192, - 1749742890983 + 1750674251724 ], - "$ts": 1748878890000 + "$ts": 1750435156149 }, "time_to_filter": { "$": [ "ts", 192, - 1749742805621 + 1750674251724 ], - "$ts": 1749742805621 + "$ts": 1750436956149 } }, "meta": { @@ -2795,6 +2964,12 @@ }, "queryPath": "GetAlarms" }, + "transforms": [ + { + "code": "\n\tfrom system.dataset import toPyDataSet\n\n\tds \u003d toPyDataSet(value)\n\tdata \u003d []\n\n\tcolumn_names \u003d list(ds.columnNames)\n\n\tfor row in ds:\n\t\tpriority \u003d row[\"Priority\"]\n\n\t\t# Use style class names from Perspective\n\t\tif priority \u003d\u003d \"High\":\n\t\t\tclassName \u003d \"Alarms-Styles/High\"\n\t\telif priority \u003d\u003d \"Medium\":\n\t\t\tclassName \u003d \"Alarms-Styles/Medium\"\n\t\telif priority \u003d\u003d \"Low\":\n\t\t\tclassName \u003d \"Alarms-Styles/Low\"\n\t\telif priority \u003d\u003d \"Diagnostic\":\n\t\t\tclassName \u003d \"Alarms-Styles/Diagnostic\"\n\t\telse:\n\t\t\tclassName \u003d \"Alarms-Styles/NoAlarm\"\n\n\t\t# Apply the style class to all cells in the row\n\t\trow_dict \u003d {\n\t\t\tcol: {\n\t\t\t\t\"value\": row[col],\n\t\t\t\t\"style\": { \"classes\": className }\n\t\t\t} for col in column_names\n\t\t}\n\t\tdata.append(row_dict)\n\n\treturn data", + "type": "script" + } + ], "type": "query" } } @@ -3358,7 +3533,7 @@ "boolean": "checkbox", "dateFormat": "MM/DD/YYYY", "editable": false, - "field": "MCM", + "field": "Location", "filter": { "boolean": { "condition": "" @@ -3538,3124 +3713,26 @@ "width": "" } ], + "emptyMessage": { + "noData": { + "text": "No Alarms" + }, + "noFilterResults": { + "text": "No Alarms" + } + }, "enabled": true, "filter": { "enabled": true, "results": { - "data": [ - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749719990000, - "ID": 1284, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749719868000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749719866000, - "ID": 1281, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749719744000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749719742000, - "ID": 1278, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749719620000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:03", - "EndTimestamp": 1749719618000, - "ID": 1275, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749719495000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749719493000, - "ID": 1272, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749719371000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749719369000, - "ID": 1269, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749719247000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749719245000, - "ID": 1266, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749719123000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "16:44:54", - "EndTimestamp": 1749719121000, - "ID": 1263, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749658827000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749658825000, - "ID": 1260, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749658703000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:03", - "EndTimestamp": 1749658701000, - "ID": 1257, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749658578000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749658576000, - "ID": 1254, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749658454000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749658452000, - "ID": 1251, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749658330000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749658328000, - "ID": 1248, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749658206000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:03", - "EndTimestamp": 1749658204000, - "ID": 1245, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749658081000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749658079000, - "ID": 1242, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749657957000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749657955000, - "ID": 1239, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749657833000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749657831000, - "ID": 1236, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749657709000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749657707000, - "ID": 1233, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749657585000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749657583000, - "ID": 1230, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749657461000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:03", - "EndTimestamp": 1749657459000, - "ID": 1227, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749657336000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749657334000, - "ID": 1224, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749657212000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749657210000, - "ID": 1221, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749657088000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:03", - "EndTimestamp": 1749657086000, - "ID": 1218, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749656963000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749656961000, - "ID": 1215, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749656839000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749656837000, - "ID": 1212, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749656715000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749656713000, - "ID": 1209, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749656591000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:33", - "EndTimestamp": 1749656589000, - "ID": 1205, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749656436000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749656434000, - "ID": 1202, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749656312000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:03", - "EndTimestamp": 1749656310000, - "ID": 1199, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749656187000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749656185000, - "ID": 1196, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749656063000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749656061000, - "ID": 1193, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749655939000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749655937000, - "ID": 1190, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749655815000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749655813000, - "ID": 1187, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749655691000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749655689000, - "ID": 1184, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749655567000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:03", - "EndTimestamp": 1749655565000, - "ID": 1181, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749655442000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749655440000, - "ID": 1178, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749655318000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749655316000, - "ID": 1175, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749655194000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749655192000, - "ID": 1172, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749655070000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:03", - "EndTimestamp": 1749655068000, - "ID": 1169, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749654945000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749654943000, - "ID": 1166, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749654821000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749654819000, - "ID": 1163, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749654697000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:03:41", - "EndTimestamp": 1749654695000, - "ID": 1159, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749654474000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749654472000, - "ID": 1156, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749654350000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749654348000, - "ID": 1153, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749654226000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749654224000, - "ID": 1150, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749654102000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:03", - "EndTimestamp": 1749654100000, - "ID": 1147, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749653977000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749653975000, - "ID": 1144, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749653853000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749653851000, - "ID": 1141, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749653729000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749653727000, - "ID": 1138, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749653605000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749653603000, - "ID": 1135, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749653481000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749653479000, - "ID": 1132, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749653357000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:03", - "EndTimestamp": 1749653355000, - "ID": 1129, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749653232000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749653230000, - "ID": 1126, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749653108000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749653106000, - "ID": 1123, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749652984000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749652982000, - "ID": 1120, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749652860000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749652858000, - "ID": 1117, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749652736000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749652734000, - "ID": 1114, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749652612000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749652610000, - "ID": 1111, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749652488000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:03", - "EndTimestamp": 1749652486000, - "ID": 1108, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749652363000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749652361000, - "ID": 1105, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749652239000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749652237000, - "ID": 1102, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749652115000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749652113000, - "ID": 1099, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749651991000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749651989000, - "ID": 1096, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749651867000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749651865000, - "ID": 1093, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749651743000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749651741000, - "ID": 1090, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749651619000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:03", - "EndTimestamp": 1749651617000, - "ID": 1087, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749651494000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749651492000, - "ID": 1084, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749651370000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749651368000, - "ID": 1081, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749651246000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749651244000, - "ID": 1078, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749651122000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749651120000, - "ID": 1075, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749650998000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749650996000, - "ID": 1072, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749650874000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:03", - "EndTimestamp": 1749650872000, - "ID": 1069, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749650749000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749650747000, - "ID": 1066, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749650625000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:03", - "EndTimestamp": 1749650623000, - "ID": 1063, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749650500000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:01", - "EndTimestamp": 1749650498000, - "ID": 1060, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749650377000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:03", - "EndTimestamp": 1749650375000, - "ID": 1056, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749650252000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:03", - "EndTimestamp": 1749650250000, - "ID": 1054, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749650127000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:01", - "EndTimestamp": 1749650125000, - "ID": 1051, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749650004000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:03", - "EndTimestamp": 1749650002000, - "ID": 1048, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749649879000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749649877000, - "ID": 1045, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749649755000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749649753000, - "ID": 1042, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749649631000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749649629000, - "ID": 1039, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749649507000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749649505000, - "ID": 1036, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749649383000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749649381000, - "ID": 1033, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749649259000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:03", - "EndTimestamp": 1749649257000, - "ID": 1030, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749649134000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:03", - "EndTimestamp": 1749649132000, - "ID": 1027, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749649009000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749649007000, - "ID": 1024, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749648885000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749648883000, - "ID": 1021, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749648761000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:03", - "EndTimestamp": 1749648759000, - "ID": 1016, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749648636000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:15", - "EndTimestamp": 1749648634000, - "ID": 1014, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749648499000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:03", - "EndTimestamp": 1749648497000, - "ID": 1011, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749648374000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749648372000, - "ID": 1008, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749648250000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749648248000, - "ID": 1005, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749648126000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749648124000, - "ID": 1002, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749648002000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749648000000, - "ID": 999, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749647878000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749647876000, - "ID": 996, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749647754000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:03", - "EndTimestamp": 1749647752000, - "ID": 993, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749647629000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749647627000, - "ID": 990, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749647505000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749647503000, - "ID": 987, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749647381000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749647379000, - "ID": 984, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749647257000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749647255000, - "ID": 981, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749647133000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:03", - "EndTimestamp": 1749647131000, - "ID": 978, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749647008000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749647006000, - "ID": 975, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749646884000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749646882000, - "ID": 972, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749646760000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749646758000, - "ID": 967, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749646636000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:19", - "EndTimestamp": 1749646634000, - "ID": 965, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749646495000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749646493000, - "ID": 962, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749646371000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:03", - "EndTimestamp": 1749646369000, - "ID": 959, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749646246000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749646244000, - "ID": 956, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749646122000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749646120000, - "ID": 953, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749645998000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749645996000, - "ID": 950, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749645874000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749645872000, - "ID": 947, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749645750000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:03", - "EndTimestamp": 1749645748000, - "ID": 944, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749645625000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749645623000, - "ID": 941, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749645501000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:03:50", - "EndTimestamp": 1749645499000, - "ID": 937, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749645269000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:03", - "EndTimestamp": 1749645267000, - "ID": 934, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749645144000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749645142000, - "ID": 931, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749645020000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749645018000, - "ID": 928, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749644896000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749644894000, - "ID": 925, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749644772000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749644770000, - "ID": 922, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749644648000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749644646000, - "ID": 919, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749644524000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749644522000, - "ID": 916, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749644400000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749644398000, - "ID": 913, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749644276000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749644274000, - "ID": 910, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749644152000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:03", - "EndTimestamp": 1749644150000, - "ID": 907, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749644027000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749644025000, - "ID": 904, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749643903000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749643901000, - "ID": 901, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749643779000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749643777000, - "ID": 898, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749643655000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749643653000, - "ID": 895, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749643531000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749643529000, - "ID": 892, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749643407000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749643405000, - "ID": 889, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749643283000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749643281000, - "ID": 886, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749643159000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749643157000, - "ID": 883, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749643035000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:03", - "EndTimestamp": 1749643033000, - "ID": 880, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749642910000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749642908000, - "ID": 877, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749642786000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749642784000, - "ID": 874, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749642662000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749642660000, - "ID": 871, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749642538000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749642536000, - "ID": 868, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749642414000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749642412000, - "ID": 865, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749642290000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749642288000, - "ID": 862, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749642166000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749642164000, - "ID": 859, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749642042000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749642040000, - "ID": 856, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749641918000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:03", - "EndTimestamp": 1749641916000, - "ID": 853, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749641793000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749641791000, - "ID": 850, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749641669000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749641667000, - "ID": 847, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749641545000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749641543000, - "ID": 844, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749641421000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749641419000, - "ID": 841, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749641297000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749641295000, - "ID": 838, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749641173000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749641171000, - "ID": 835, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749641049000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749641047000, - "ID": 832, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749640925000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749640923000, - "ID": 829, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749640801000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749640799000, - "ID": 826, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749640677000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:03", - "EndTimestamp": 1749640675000, - "ID": 823, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749640552000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749640550000, - "ID": 820, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749640428000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749640426000, - "ID": 817, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749640304000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749640302000, - "ID": 814, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749640180000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749640178000, - "ID": 811, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749640056000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749640054000, - "ID": 808, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749639932000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749639930000, - "ID": 805, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749639808000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749639806000, - "ID": 802, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749639684000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749639682000, - "ID": 799, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749639560000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:03", - "EndTimestamp": 1749639558000, - "ID": 796, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749639435000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749639433000, - "ID": 793, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749639311000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749639309000, - "ID": 790, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749639187000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749639185000, - "ID": 787, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749639063000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749639061000, - "ID": 784, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749638939000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749638937000, - "ID": 781, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749638815000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749638813000, - "ID": 778, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749638691000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749638689000, - "ID": 775, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749638567000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:03", - "EndTimestamp": 1749638565000, - "ID": 772, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749638442000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749638440000, - "ID": 769, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749638318000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749638316000, - "ID": 766, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749638194000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749638192000, - "ID": 763, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749638070000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749638068000, - "ID": 760, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749637946000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:03", - "EndTimestamp": 1749637944000, - "ID": 757, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749637821000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:01:09", - "EndTimestamp": 1749637819000, - "ID": 754, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749637750000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749637748000, - "ID": 751, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749637626000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749637624000, - "ID": 748, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749637502000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:03", - "EndTimestamp": 1749637500000, - "ID": 745, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749637377000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749637375000, - "ID": 742, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749637253000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749637251000, - "ID": 739, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749637129000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749637127000, - "ID": 735, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749637005000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749635734000, - "ID": 728, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749635612000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:01:18", - "EndTimestamp": 1749635610000, - "ID": 725, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749635532000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:04", - "EndTimestamp": 1749635530000, - "ID": 722, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749635406000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:00:19", - "EndTimestamp": 1749635404000, - "ID": 719, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749635385000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:01:43", - "EndTimestamp": 1749635383000, - "ID": 716, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749635280000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:03", - "EndTimestamp": 1749635278000, - "ID": 713, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749635155000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:03", - "EndTimestamp": 1749635153000, - "ID": 710, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749635030000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:00:41", - "EndTimestamp": 1749635028000, - "ID": 707, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749634987000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749634985000, - "ID": 704, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749634863000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749634861000, - "ID": 701, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749634739000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:01:25", - "EndTimestamp": 1749634737000, - "ID": 698, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749634652000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:00:02", - "EndTimestamp": 1749634451000, - "ID": 692, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749634449000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:00:18", - "EndTimestamp": 1749634447000, - "ID": 689, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749634429000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749634427000, - "ID": 686, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749634305000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749634303000, - "ID": 683, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749634181000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749634179000, - "ID": 680, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749634057000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "19:01:19", - "EndTimestamp": 1749634055000, - "ID": 677, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749565576000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:00:19", - "EndTimestamp": 1749565574000, - "ID": 674, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749565555000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:00:09", - "EndTimestamp": 1749565341000, - "ID": 668, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749565332000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:03", - "EndTimestamp": 1749565330000, - "ID": 665, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749565207000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:00:08", - "EndTimestamp": 1749565205000, - "ID": 662, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749565197000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:00:40", - "EndTimestamp": 1749565195000, - "ID": 659, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749565155000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749564936000, - "ID": 652, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749564814000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749564812000, - "ID": 649, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749564690000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749563695000, - "ID": 640, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749563573000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749560964000, - "ID": 633, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749560842000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:03:08", - "EndTimestamp": 1749560840000, - "ID": 629, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749560652000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749560650000, - "ID": 626, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749560528000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749560526000, - "ID": 623, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749560404000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749560402000, - "ID": 620, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749560280000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749560278000, - "ID": 617, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749560156000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:03:05", - "EndTimestamp": 1749560154000, - "ID": 613, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749559969000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749559967000, - "ID": 610, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749559845000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749559843000, - "ID": 607, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749559721000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:03", - "EndTimestamp": 1749559719000, - "ID": 603, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749559596000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:03:56", - "EndTimestamp": 1749559594000, - "ID": 597, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749559358000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:35", - "EndTimestamp": 1749559356000, - "ID": 595, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749559201000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749559199000, - "ID": 592, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749559077000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:03", - "EndTimestamp": 1749559075000, - "ID": 589, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749558952000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749558950000, - "ID": 586, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749558828000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749558826000, - "ID": 583, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749558704000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749558702000, - "ID": 580, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749558580000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749558578000, - "ID": 577, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749558456000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:03", - "EndTimestamp": 1749558454000, - "ID": 574, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749558331000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749558329000, - "ID": 571, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749558207000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749558205000, - "ID": 568, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749558083000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749558081000, - "ID": 565, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749557959000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749557957000, - "ID": 562, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749557835000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749557833000, - "ID": 559, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749557711000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749557709000, - "ID": 556, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749557587000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:03", - "EndTimestamp": 1749557585000, - "ID": 553, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749557462000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749557460000, - "ID": 550, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749557338000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749557336000, - "ID": 547, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749557214000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749557212000, - "ID": 544, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749557090000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749557088000, - "ID": 541, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749556966000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749556964000, - "ID": 538, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749556842000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:03", - "EndTimestamp": 1749556840000, - "ID": 535, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749556717000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749556715000, - "ID": 532, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749556593000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749556591000, - "ID": 529, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749556469000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749556467000, - "ID": 526, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749556345000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749556343000, - "ID": 523, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749556221000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749556219000, - "ID": 519, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749556097000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:03", - "EndTimestamp": 1749556095000, - "ID": 517, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749555972000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749555970000, - "ID": 514, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749555848000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749555846000, - "ID": 511, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749555724000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749555722000, - "ID": 508, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749555600000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749555598000, - "ID": 505, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749555476000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749555474000, - "ID": 502, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749555352000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:03", - "EndTimestamp": 1749555350000, - "ID": 499, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749555227000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749555225000, - "ID": 496, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749555103000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749555101000, - "ID": 493, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749554979000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749554977000, - "ID": 490, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749554855000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749554853000, - "ID": 487, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749554731000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:03", - "EndTimestamp": 1749554729000, - "ID": 484, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749554606000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749554604000, - "ID": 481, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749554482000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749554480000, - "ID": 478, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749554358000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749554356000, - "ID": 475, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749554234000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749554232000, - "ID": 472, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749554110000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749554108000, - "ID": 469, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749553986000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:03", - "EndTimestamp": 1749553984000, - "ID": 466, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749553861000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749553859000, - "ID": 463, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749553737000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749553735000, - "ID": 460, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749553613000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749553611000, - "ID": 457, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749553489000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749553487000, - "ID": 454, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749553365000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749553363000, - "ID": 451, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749553241000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:03", - "EndTimestamp": 1749553239000, - "ID": 448, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749553116000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749553114000, - "ID": 445, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749552992000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749552990000, - "ID": 442, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749552868000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749552866000, - "ID": 439, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749552744000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749552742000, - "ID": 436, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749552620000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749552618000, - "ID": 433, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749552496000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:03", - "EndTimestamp": 1749552494000, - "ID": 430, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749552371000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749552369000, - "ID": 427, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749552247000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749552245000, - "ID": 424, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749552123000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749552121000, - "ID": 421, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749551999000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749551997000, - "ID": 418, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749551875000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:03", - "EndTimestamp": 1749551873000, - "ID": 415, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749551750000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749551748000, - "ID": 412, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749551626000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749551624000, - "ID": 409, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749551502000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749551500000, - "ID": 406, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749551378000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749551376000, - "ID": 403, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749551254000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:04", - "EndTimestamp": 1749551252000, - "ID": 400, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749551128000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:01:44", - "EndTimestamp": 1749551126000, - "ID": 397, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749551022000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:03", - "EndTimestamp": 1749551020000, - "ID": 394, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749550897000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:04", - "EndTimestamp": 1749550895000, - "ID": 391, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749550771000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:01:29", - "EndTimestamp": 1749550769000, - "ID": 388, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749550680000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:01:53", - "EndTimestamp": 1749550678000, - "ID": 385, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749550565000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:01:14", - "EndTimestamp": 1749550563000, - "ID": 382, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749550489000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:00:56", - "EndTimestamp": 1749550487000, - "ID": 379, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749550431000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749550429000, - "ID": 376, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749550307000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:00:26", - "EndTimestamp": 1749550305000, - "ID": 370, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749550279000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:03", - "EndTimestamp": 1749550277000, - "ID": 367, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749550154000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:00:29", - "EndTimestamp": 1749550152000, - "ID": 364, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749550123000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:01:19", - "EndTimestamp": 1749550121000, - "ID": 361, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749550042000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:04", - "EndTimestamp": 1749550040000, - "ID": 358, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749549916000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:01:10", - "EndTimestamp": 1749549914000, - "ID": 355, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749549844000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:00:23", - "EndTimestamp": 1749549842000, - "ID": 352, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749549819000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:00:28", - "EndTimestamp": 1749549817000, - "ID": 349, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749549789000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:NEEEWWWW - NEEEWWWW", - "Duration": "00:08:40", - "EndTimestamp": 1749550286000, - "ID": 346, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749549766000, - "Tag": "alm:NEEEWWWW" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:00:35", - "EndTimestamp": 1749549787000, - "ID": 345, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749549752000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:01:17", - "EndTimestamp": 1749549627000, - "ID": 335, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749549550000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749549548000, - "ID": 332, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749549426000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:03", - "EndTimestamp": 1749549424000, - "ID": 329, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749549301000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749549299000, - "ID": 326, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749549177000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749549175000, - "ID": 323, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749549053000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749549051000, - "ID": 320, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749548929000, - "Tag": "alm:papapapa" - }, - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749548927000, - "ID": 317, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749548805000, - "Tag": "alm:papapapa" - } - ], "enabled": true } }, "pager": { - "activePage": 2, "bottom": false }, "selection": { - "data": [ - { - "Description": "alm:papapapa - papapapa", - "Duration": "00:02:02", - "EndTimestamp": 1749657707000, - "ID": 1233, - "MCM": "System", - "Priority": "Diagnostic", - "StartTimestamp": 1749657585000, - "Tag": "alm:papapapa" - } - ], - "selectedColumn": "Duration", - "selectedRow": 29 + "enableRowSelection": false }, "style": { "margin": 20 @@ -6775,22 +3852,22 @@ "custom": { "download_in_progress": true, "enable_timeout": false, - "priority_filters": "diagnostic", + "priority_filters": "", "time_from_filter": { "$": [ "ts", 192, - 1749742890983 + 1750674251724 ], - "$ts": 1748878890000 + "$ts": 1750435156149 }, "time_to_filter": { "$": [ "ts", 192, - 1749742805621 + 1750674251724 ], - "$ts": 1749742805621 + "$ts": 1750436956149 }, "type_filters": null }, @@ -6798,7 +3875,7 @@ "component": { "onActionPerformed": { "config": { - "script": " try:\n # Get filtered data from table (array of dicts)\n filtered_results \u003d self.parent.parent.getChild(\"Table\").getChild(\"Table\").props.filter.results\n filtered_data \u003d filtered_results.data\n \n # Ensure data is valid\n if not filtered_data:\n return\n \n # Get columns from first record\n columns \u003d filtered_data[0].keys()\n \n # Create a list of rows\n rows \u003d []\n for i in range(len(filtered_data)):\n row_dict \u003d filtered_data[i]\n row \u003d [row_dict.get(col) for col in columns]\n rows.append(row)\n \n # Convert to dataset and export\n dataset \u003d system.dataset.toDataSet(columns, rows)\n html_data \u003d system.dataset.dataSetToHTML(1, dataset, \"Filtered Results\")\n system.perspective.download(\"filtered_alarms_history.html\", html_data)\n \n print \"Export completed successfully! Exported\", len(rows), \"records.\"\n \n except Exception as e:\n print \"Export failed:\", str(e)\n\n\t" + "script": "\n from datetime import datetime\n def format_date(value):\n\t\tif isinstance(value, (int, long)) and value \u003e 10000000:\n\t\t\ttimestamp \u003d system.date.fromMillis(value)\n\t\t\treturn system.date.format(timestamp, \"yyyy-MM-dd HH:mm:ss\")\n\t\t\t\n\t\t# If value is not a valid timestamp, return as-is\n\t\treturn str(value)\n \n try:\n\n # Get filtered data\n table \u003d self.parent.parent.getChild(\"Table\").getChild(\"Table\")\n filtered_data \u003d table.props.filter.results.data\n\n if not filtered_data or len(filtered_data) \u003d\u003d 0:\n system.perspective.print(\"No filtered data to export.\")\n return\n\n # Get correct column order from the table\u0027s column config\n column_order \u003d [col[\"field\"] for col in table.props.columns if \"field\" in col]\n\n csv_content \u003d \",\".join(column_order) + \"\\n\"\n\n # Build rows\n for row_dict in filtered_data:\n row \u003d []\n for col in column_order:\n raw_val \u003d row_dict.get(col, \"\")\n value \u003d format_date(raw_val)\n value \u003d value.replace(\",\", \";\") # CSV safety\n row.append(value)\n csv_content +\u003d \",\".join(row) + \"\\n\"\n\n # Export CSV\n csv_bytes \u003d csv_content.encode(\"utf-8\")\n system.perspective.download(\"filtered_alarms_history.csv\", csv_bytes)\n\n system.perspective.print(\"CSV export completed successfully. Exported %d records.\" % len(filtered_data))\n\n except Exception as e:\n system.perspective.print(\"Export failed: \" + str(e))" }, "scope": "G", "type": "script" @@ -7080,7 +4157,7 @@ }, "tabs": [ "Active Alarms", - "Shelved Alarms", + "Alarm Hit List", "Historical" ] }, diff --git a/SCADA_PERSPECTIVE_PARENT_PROJECT/ignition/named-query/GetActiveAlarms/query.sql b/SCADA_PERSPECTIVE_PARENT_PROJECT/ignition/named-query/GetActiveAlarms/query.sql new file mode 100644 index 0000000..d3c2165 --- /dev/null +++ b/SCADA_PERSPECTIVE_PARENT_PROJECT/ignition/named-query/GetActiveAlarms/query.sql @@ -0,0 +1,60 @@ +WITH Active AS ( + SELECT + ae.id, + ae.eventtime, + ae.eventid, + ae.source, + ae.priority, + ae.displaypath, + TIMESTAMPDIFF(SECOND, ae.eventtime, NOW()) AS duration_seconds + FROM alarm_events ae + WHERE ae.eventtype = 0 + AND NOT EXISTS ( + SELECT 1 FROM alarm_events ae_clear + WHERE ae_clear.eventid = ae.eventid + AND ae_clear.eventtype = 1 + ) + AND ae.displaypath NOT LIKE '%System Startup%' + AND ae.source NOT LIKE '%System Startup%' + -- Priority filter using FIND_IN_SET for comma-separated values + AND ( + :priorityList IS NULL + OR :priorityList = '' + OR FIND_IN_SET(ae.priority, :priorityList) > 0 + ) + GROUP BY ae.id +), +SingleMyTag AS ( + SELECT aed.id, aed.strValue + FROM alarm_event_data aed + WHERE aed.propname = 'myTag' + GROUP BY aed.id +) +SELECT + Active.id AS ID, + Active.eventtime AS StartTimestamp, + NULL AS EndTimestamp, -- no end time since it's still active + CONCAT( + LPAD(FLOOR(Active.duration_seconds / 3600), 2, '0'), ':', + LPAD(FLOOR((Active.duration_seconds % 3600) / 60), 2, '0'), ':', + LPAD(Active.duration_seconds % 60, 2, '0') + ) AS Duration, + CONCAT(Active.displaypath, ' - ', SUBSTRING_INDEX(Active.source, ':/alm:', -1)) AS Description, + CASE Active.priority + WHEN 0 THEN 'Diagnostic' + WHEN 1 THEN 'Low' + WHEN 2 THEN 'Medium' + WHEN 3 THEN 'High' + WHEN 4 THEN 'Critical' + ELSE 'Unknown' + END AS Priority, + CONCAT( + Active.displaypath, + '.HMI.', + SUBSTRING_INDEX(aed.strValue, '/', -1) + ) AS Tag, + SUBSTRING_INDEX(SUBSTRING_INDEX(aed.strValue, '/', 2), '/', -1) AS Location +FROM Active +LEFT JOIN SingleMyTag aed + ON aed.id = Active.id +ORDER BY Active.eventtime DESC; \ No newline at end of file diff --git a/SCADA_PERSPECTIVE_PARENT_PROJECT/ignition/named-query/GetActiveAlarms/resource.json b/SCADA_PERSPECTIVE_PARENT_PROJECT/ignition/named-query/GetActiveAlarms/resource.json new file mode 100644 index 0000000..9fc8d6e --- /dev/null +++ b/SCADA_PERSPECTIVE_PARENT_PROJECT/ignition/named-query/GetActiveAlarms/resource.json @@ -0,0 +1,40 @@ +{ + "scope": "DG", + "version": 2, + "restricted": false, + "overridable": true, + "files": [ + "query.sql" + ], + "attributes": { + "useMaxReturnSize": false, + "autoBatchEnabled": false, + "fallbackValue": "", + "maxReturnSize": 100, + "cacheUnit": "SEC", + "type": "Query", + "enabled": true, + "cacheAmount": 1, + "cacheEnabled": false, + "database": "MariaDB", + "fallbackEnabled": false, + "lastModificationSignature": "d4eef6a8194fc16fb2061c0ffe057909fb37ddedbe4fd6e4f2416cc6050f6209", + "permissions": [ + { + "zone": "default", + "role": "" + } + ], + "lastModification": { + "actor": "admin", + "timestamp": "2025-06-23T10:38:45Z" + }, + "parameters": [ + { + "type": "Parameter", + "identifier": "priorityList", + "sqlType": 7 + } + ] + } +} \ No newline at end of file diff --git a/SCADA_PERSPECTIVE_PARENT_PROJECT/ignition/named-query/GetAlarms/query.sql b/SCADA_PERSPECTIVE_PARENT_PROJECT/ignition/named-query/GetAlarms/query.sql index 6154629..3f3a3e2 100644 --- a/SCADA_PERSPECTIVE_PARENT_PROJECT/ignition/named-query/GetAlarms/query.sql +++ b/SCADA_PERSPECTIVE_PARENT_PROJECT/ignition/named-query/GetAlarms/query.sql @@ -1,17 +1,46 @@ +WITH Active AS ( + SELECT + ae.id, + ae.eventtime, + ae.eventid, + ae.source, + ae.priority, + ae.displaypath, + TIMESTAMPDIFF(SECOND, ae.eventtime, COALESCE(ae_clear.eventtime, NOW())) AS duration_seconds + FROM alarm_events ae + LEFT JOIN alarm_events ae_clear + ON ae.eventid = ae_clear.eventid AND ae_clear.eventtype = 1 + WHERE ae.eventtype = 0 + AND ae.displaypath NOT LIKE '%System Startup%' + AND ae.source NOT LIKE '%System Startup%' + GROUP BY ae.id -- Ensure one row per alarm +), +SingleMyTag AS ( + SELECT aed.id, aed.strValue + FROM alarm_event_data aed + WHERE aed.propname = 'myTag' + GROUP BY aed.id -- Collapse duplicates by id +), +SingleClear AS ( + SELECT eventid, MIN(eventtime) AS eventtime + FROM alarm_events + WHERE eventtype = 1 + GROUP BY eventid +) + SELECT Active.id AS ID, - Active.eventtime AS `StartTimestamp`, - Clear.eventtime AS `EndTimestamp`, + Active.eventtime AS StartTimestamp, + Clear.eventtime AS EndTimestamp, + CONCAT( - LPAD(FLOOR(duration_seconds / 3600), 2, '0'), ':', - LPAD(FLOOR((duration_seconds % 3600) / 60), 2, '0'), ':', - LPAD(duration_seconds % 60, 2, '0') + LPAD(FLOOR(Active.duration_seconds / 3600), 2, '0'), ':', + LPAD(FLOOR((Active.duration_seconds % 3600) / 60), 2, '0'), ':', + LPAD(Active.duration_seconds % 60, 2, '0') ) AS Duration, - CONCAT( - SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(Active.source, '/HMI/ALARMST', 1), ':/tag:', -1), '/', -1), - ' - ', - SUBSTRING_INDEX(Active.source, ':/alm:', -1) - ) AS Description, + + CONCAT(Active.displaypath, ' - ', SUBSTRING_INDEX(Active.source, ':/alm:', -1)) AS Description, + CASE Active.priority WHEN 0 THEN 'Diagnostic' WHEN 1 THEN 'Low' @@ -20,21 +49,21 @@ SELECT WHEN 4 THEN 'Critical' ELSE 'Unknown' END AS Priority, - SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(Active.source, '/HMI/ALARMST', 1), ':/tag:', -1), '/', -1) AS Tag, - SUBSTRING_INDEX(SUBSTRING_INDEX(Active.source, '/tag:', -1), '/', 1) AS MCM -FROM ( - SELECT - ae.id, - ae.eventtime, - ae.eventid, - ae.source, - ae.priority, - TIMESTAMPDIFF(SECOND, ae.eventtime, COALESCE(ae_clear.eventtime, NOW())) AS duration_seconds - FROM alarm_events ae - LEFT JOIN alarm_events ae_clear - ON ae.eventid = ae_clear.eventid AND ae_clear.eventtype = 1 - WHERE ae.eventtype = 0 -) AS Active -LEFT JOIN alarm_events Clear - ON Active.eventid = Clear.eventid AND Clear.eventtype = 1 + + CONCAT( + Active.displaypath, + '.HMI.', + SUBSTRING_INDEX(aed.strValue, '/', -1) + ) AS Tag, + + SUBSTRING_INDEX(SUBSTRING_INDEX(aed.strValue, '/', 2), '/', -1) AS Location + +FROM Active + +LEFT JOIN SingleClear Clear + ON Active.eventid = Clear.eventid + +LEFT JOIN SingleMyTag aed + ON aed.id = Active.id + ORDER BY Active.eventtime DESC; diff --git a/SCADA_PERSPECTIVE_PARENT_PROJECT/ignition/named-query/GetAlarmsWithCount/query.sql b/SCADA_PERSPECTIVE_PARENT_PROJECT/ignition/named-query/GetAlarmsWithCount/query.sql new file mode 100644 index 0000000..fc32678 --- /dev/null +++ b/SCADA_PERSPECTIVE_PARENT_PROJECT/ignition/named-query/GetAlarmsWithCount/query.sql @@ -0,0 +1,60 @@ +SELECT + CONCAT(Active.displaypath, ' - ', SUBSTRING_INDEX(Active.source, ':/alm:', -1)) AS Description, + + SUBSTRING_INDEX(SUBSTRING_INDEX(aed.strValue, '/', 2), '/', -1) AS Location, + + -- Formatted OPC-style tag + CONCAT( + Active.displaypath, + '.HMI.', + SUBSTRING_INDEX(aed.strValue, '/', -1) + ) AS Tag, + + CASE Active.priority + WHEN 0 THEN 'Diagnostic' + WHEN 1 THEN 'Low' + WHEN 2 THEN 'Medium' + WHEN 3 THEN 'High' + WHEN 4 THEN 'Critical' + ELSE 'Unknown' + END AS Priority, + + -- First and last seen times for this alarm + MIN(Active.eventtime) AS FirstTimestamp, + MAX(Active.eventtime) AS LastTimestamp, + + -- Total duration summed from each active-clear pair + CONCAT( + LPAD(FLOOR(SUM(Active.duration_seconds) / 3600), 2, '0'), ':', + LPAD(FLOOR((SUM(Active.duration_seconds) % 3600) / 60), 2, '0'), ':', + LPAD(SUM(Active.duration_seconds) % 60, 2, '0') + ) AS Duration, + + -- Total number of activations + COUNT(*) AS Count + +FROM ( + SELECT + ae.id, + ae.source, + ae.eventid, + ae.eventtime, + ae.priority, + ae.displaypath, + TIMESTAMPDIFF(SECOND, ae.eventtime, COALESCE(ae_clear.eventtime, NOW())) AS duration_seconds + FROM alarm_events ae + LEFT JOIN alarm_events ae_clear + ON ae.eventid = ae_clear.eventid AND ae_clear.eventtype = 1 + WHERE ae.eventtype = 0 + AND ae.displaypath NOT LIKE '%System Startup%' + AND ae.source NOT LIKE '%System Startup%' +) AS Active + +-- OPC tag path for building .hmi.Tag output +LEFT JOIN alarm_event_data aed + ON aed.id = Active.id AND aed.propname = 'myTag' + +-- 🔹 Group by the full unique alarm key (tag + alarm name) +GROUP BY Active.source, Active.displaypath, aed.strValue + +ORDER BY FirstTimestamp DESC;