using NPOI.Util; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace FrontendWebApi.Models { public class AlarmRecordPanelRawData { public string building_guid { get; set; } public string building_name { get; set; } public string main_system_guid { get; set; } public string main_system_name { get; set; } } public class AlarmRecordPanel { public string building_guid { get; set; } public string building_name { get; set; } public List mainSystemPanels { get; set; } } public class MainSystemPanel { public string main_system_guid { get; set; } public string main_system_name { get; set; } } public class AlarmRecord { public string device_number { get; set; } public string device_point { get; set; } public string alarm_path { get; set; } public string msgText { get; set; } public string alarm_timestamp { get; set; } public int priority { get; set; } public string normal_timestamp { get; set; } public byte ackState { get; set; } public string ackText { get; set; } public string alarm_className { get; set; } public string userAccount { get; set; } } public class AlarmRecordFullInfo : AlarmRecord { public string device_name { get; set; } } public class AlarmRecordFilter { public string StartTimestamp { get; set; } public string EndTimestamp { get; set; } public string Building_guid { get; set; } public List Main_system_guids { get; set; } public byte IsSolve { get;set;} public byte IsAck { get;set;} } public class VAlarmRecord { public DateTime timestamp { get; set; } public int id { get; set; } public int priority { get; set; } public string alarmClass_txt { get; set; } public string device_name { get; set; } public string errMsg { get; set; } public string uuid { get; set; } } }