// Process Alarm section.
- ProcessAlarms();
+ //ProcessAlarms();
int SeekCount = 0;
int AlarmObjectCount = 0;
bool AlarmTriggerFound = false;
bool AlarmDurationFound = false;
bool AlarmDescriptionFound = false;
+ bool AlarmSummaryFound = false;
DataReceived = ProcessTextVectors(&EventAlarmName[SeekCount],
&EventAlarmData[SeekCount], false, "ACTION");
CalendarAlarmData.push_back(NewAlarmData);
+ } else if (NewAlarmData.AlarmType == CALENDARALARM_EMAIL &&
+ AlarmActionFound == true &&
+ AlarmTriggerFound == true &&
+ AlarmDescriptionFound == true &&
+ AlarmSummaryFound == true){
+
+ CalendarAlarmData.push_back(NewAlarmData);
+
}
SeekCount++;