12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- using Edge.Core.Database.Models;
- 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; }
-
-
-
-
-
-
-
-
- }
- }
|