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_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<MainSystemPanel> 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<string> Main_system_guids { get; set; }
|
|
|
|
|
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
|
|
|
|
}
|