1234567891011121314151617181920212223242526272829303132333435363738394041 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using Newtonsoft.Json;
- using Newtonsoft.Json.Converters;
- namespace Applications.UniversalApi_WebConsole_App.Models
- {
- [JsonConverter(typeof(StringEnumConverter))]
- public enum Severity
- {
- Alarm,
- Warning,
- Information
- }
- public class AlarmInformation
- {
-
- public string Key { get; set; }
-
- public string Description { get; set; }
-
- public DateTime OccurTime { get; set; }
-
- public Severity Severity { get; set; }
-
- public string Action { get; set; }
- public bool Acked { get; set; }
-
-
-
- public string Module { get; set; }
- }
- }
|