| 326 | } |
| 327 | |
| 328 | const NotificationCCTypes::NotificationEvents* NotificationCCTypes::GetAlarmNotificationEvents |
| 329 | ( |
| 330 | uint32 type, |
| 331 | uint32 event |
| 332 | ) |
| 333 | { |
| 334 | if (const NotificationCCTypes::NotificationTypes *nt = GetAlarmNotificationTypes(type)) { |
| 335 | if (nt->Events.find(event) != nt->Events.end()) { |
| 336 | return nt->Events.at(event); |
| 337 | } |
| 338 | Log::Write( LogLevel_Warning, "NotificationCCTypes::GetAlarmNotificationEvents - Unknown Alarm Event %d for Alarm Type %s (%d)", event, GetAlarmType(type).c_str(), type); |
| 339 | } |
| 340 | return NULL; |
| 341 | } |
| 342 | |
| 343 | const std::map<uint32, NotificationCCTypes::NotificationEventParams* > NotificationCCTypes::GetAlarmNotificationEventParams |
| 344 | ( |
no test coverage detected