ibms-dome/FrontendWebApi/Models/AlarmRecord.cs

72 lines
2.1 KiB
C#
Raw Permalink Normal View History

2023-01-10 16:05:29 +08:00
using NPOI.Util;
using System;
2022-10-14 16:08:54 +08:00
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace FrontendWebApi.Models
{
public class AlarmRecordPanelRawData
{
public string building_tag { get; set; }
2022-10-14 16:08:54 +08:00
public string building_name { get; set; }
public string system_key { get; set; }
public string system_value { get; set; }
2022-10-14 16:08:54 +08:00
}
public class AlarmRecordPanel
{
public string building_tag { get; set; }
2022-10-14 16:08:54 +08:00
public string building_name { get; set; }
public List<MainSystemPanel> mainSystemPanels { get; set; }
}
public class MainSystemPanel
{
public string system_key { get; set; }
public string system_value { get; set; }
2022-10-14 16:08:54 +08:00
}
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_tag { get; set; }
public List<string> Main_system_tag { get; set; }
2022-10-14 16:08:54 +08:00
public byte IsSolve { get;set;}
public byte IsAck { get;set;}
}
2023-01-10 16:05:29 +08:00
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; }
2023-01-12 18:04:20 +08:00
public string uuid { get; set; }
2023-01-10 16:05:29 +08:00
}
2022-10-14 16:08:54 +08:00
}