Datasource Functions
Changelog
| Version | Author | Update date | Comment |
|---|---|---|---|
| 1.0.1 | Hao.Ning | 2023/08/10 | First Version |
| 1.0.2 | Hao.Ning /ITsung.Shen | 2024/07/31 | Add ReportGroupInfoDisable InspectionAreaStatsDisable InspectionStationStatsDisable InspectionHistory |
Alarmlog_record
Function name translation
en: ['alarmlog_record'],
zh_cn: ['报警记录'],
zh_tw: ['報警記錄'],
ja: ['レコード']
Description:
Return Realtime / Historical Alarm of specific group and its sub-groups within the selected time range. Notice that this function needs to collaborate with Ene Alarm Panel.
Input:
- GroupPath
- DataType:RT/HIS
- FunctionType:alarmlog_record

Return:
Table format:
- Alarm ID:Alarm ID
- Level:Alarm Level (1-8)
- Category:Alarm Category
- Occurred Time:Alarm start time
- Completed Time:Alarm completed time
- Total Time:Alarm total duration (in second)
- Source:Alarm source Group/Object name
- Tag Name:Alarm parameter name
- Alarm Message
- Additional Message URL:URL specified on Object setting
- Current State:Current alarm state (Closed,Open,Ack'ed,In Process,Locked,Processed)
- Commenter
- Operator
- Action:Change the alarm state on this field
- Current Value:The parameter value that trigger the alarm
- Alarm Occurrence:Parameter's alarm occurrence of this month.


Additional options:
When query for RT alarms, select the 'MarkTimeRange' checkbox

to enable the feature of limiting the alarm time range by using the "Dashboard.TimeRange".

AlarmOccurrence
Function name translation:
en: ['alarmOccurrence'],
zh_cn: ['报警次数'],
zh_tw: ['報警次數'],
ja: ['アラーム回数']
Description:
Return the real-time alarm occurrences (regardless of time) or the number of historical alarms (alarms occurred within the Dashboard.TimeRange range) for the selected group or object.
Input:

- GroupPath
- Object
- DataType:RT/HIS
- FunctionType:alarmOccurrence
- TimeRange:(Optional) required for HIS alarm