123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687 |
- using System;
- using System.Collections.Generic;
- using System.Text;
- namespace Edge.Core.UniversalApi
- {
-
-
-
- public class EventDescriptor
- {
- public string Name { get; set; }
- public object Data { get; set; }
- public IEnumerable<HubClient> ToClients { get; set; }
- }
- public class HubClient
- {
- }
- public enum GenericAlarmSeverity
- {
- Fatal,
- Error,
- Warning,
- Information
- }
-
-
-
- public class GenericAlarm
- {
- public const string UniversalApiEventName = "OnGenericAlarm";
-
-
-
-
-
- public string Title { get; set; }
-
-
-
-
- public string Detail { get; set; }
-
-
-
-
-
- public string Category { get; set; }
-
-
-
-
-
- public string SubCategory { get; set; }
-
-
-
-
-
-
-
- public string Action { get; set; }
- public GenericAlarmSeverity Severity { get; set; }
-
-
-
-
-
-
-
-
- }
- }
|