amBaseUrl string
amSchemes []string
alertInterval int
- activeAlarms []AlarmInformation
- alarmHistory []AlarmInformation
+ activeAlarms []AlarmNotification
+ alarmHistory []AlarmNotification
uniqueAlarmId int
mutex sync.Mutex
rmrReady bool
alarmClient *alarm.RICAlarm
exceededActiveAlarmOn bool
exceededAlarmHistoryOn bool
+ alarmInfoPvFile string
}
-type AlarmInformation struct {
+type AlarmNotification struct {
alarm.AlarmMessage
alarm.AlarmDefinition
}
type RicPerfAlarmObjects struct {
AlarmObjects []*alarm.Alarm `json:"alarmobjects"`
}
+
+type AlarmPersistentInfo struct {
+ UniqueAlarmId int `json:"uiniquealarmid"`
+ ActiveAlarms []AlarmNotification `json:"activealarms"`
+ AlarmHistory []AlarmNotification `json:"alarmhistory"`
+}