| 296 | } |
| 297 | |
| 298 | string NotificationCCTypes::GetEventForAlarmType |
| 299 | ( |
| 300 | uint32 type, |
| 301 | uint32 event |
| 302 | ) |
| 303 | { |
| 304 | if ( const NotificationCCTypes::NotificationEvents *ne = NotificationCCTypes::GetAlarmNotificationEvents(type, event)) { |
| 305 | return ne->name; |
| 306 | } |
| 307 | Log::Write( LogLevel_Warning, "NotificationCCTypes::GetEventForAlarmType - Unknown AlarmType/Event %d/d", type, event); |
| 308 | return "Unknown"; |
| 309 | } |
| 310 | |
| 311 | |
| 312 |