Providing symptom data for alarms
[ric-plt/alarm-go.git] / manager / cmd / types.go
index 7a0fd90..1b5aaed 100755 (executable)
@@ -42,6 +42,8 @@ type AlarmManager struct {
        alarmClient            *alarm.RICAlarm
        exceededActiveAlarmOn  bool
        exceededAlarmHistoryOn bool
+       alarmInfoPvFile        string
+       utils                  *Utils
 }
 
 type AlarmNotification struct {
@@ -66,3 +68,9 @@ type RicAlarmDefinitions struct {
 type RicPerfAlarmObjects struct {
        AlarmObjects []*alarm.Alarm `json:"alarmobjects"`
 }
+
+type AlarmPersistentInfo struct {
+       UniqueAlarmId int                 `json:"uiniquealarmid"`
+       ActiveAlarms  []AlarmNotification `json:"activealarms"`
+       AlarmHistory  []AlarmNotification `json:"alarmhistory"`
+}