ibms-dome/FrontendWebApi/Models/AlarmRecord.cs

60 lines
1.7 KiB
C#
Raw Normal View History

2022-10-14 16:08:54 +08:00
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<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;}
}
}