20230201_145_upperpc/InSituLaboratory.Entities/ExperimentalStationEntities/SysStatus.cs

120 lines
3.9 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace InSituLaboratory.Entities.ExperimentalStationEntities
{
/// <summary>
/// 系统状态
/// </summary>
public class SysStatus
{
/// <summary>
/// ID
/// </summary>
[Key]
public int Id { get; set; }
/// <summary>
/// 组包时间
/// </summary>
public DateTime? PackagingTime { get; set; }
/// <summary>
/// 采样时间
/// </summary>
public DateTime? SamplingTime { get; set; }
/// <summary>
/// 创建时间
/// </summary>
public DateTime? CreateTime { get; set; }
/// <summary>
/// 48V 电压
/// </summary>
public float? Voltage48 { get; set; }
/// <summary>
/// 48V 电流
/// </summary>
public float? Current48 { get; set; }
/// <summary>
/// 基站48V漏电流状态 第0位 (0表示该状态正常1表示1级报警2表示2级报警3表示故障)
/// </summary>
public string? BaseStation48VLeakageCS { get; set; }
/// <summary>
/// 电池48V漏电流状态 第2位 (0表示该状态正常1表示1级报警2表示2级报警3表示故障)
/// </summary>
public string? Batterz48VLeakageCS { get; set; }
/// <summary>
/// ICL漏电流状态 第4位 (0表示该状态正常1表示1级报警2表示2级报警3表示故障)
/// </summary>
public string? ICLLeakageCS { get; set; }
/// <summary>
/// 工控机漏电流状态 第6位 (0表示该状态正常1表示1级报警2表示2级报警3表示故障)
/// </summary>
public string? IComputerLeakageCS { get; set; }
/// <summary>
/// 温度1状态 第8位 (0表示该状态正常1表示1级报警2表示2级报警3表示故障)
/// </summary>
public string? TemperatureStaus1 { get; set; }
/// <summary>
/// 温度2状态 第10位 (0表示该状态正常1表示1级报警2表示2级报警3表示故障)
/// </summary>
public string? TemperatureStaus2 { get; set; }
/// <summary>
/// 湿度1状态 第12位 (0表示该状态正常1表示1级报警2表示2级报警3表示故障)
/// </summary>
public string? HumidityStaus1 { get; set; }
/// <summary>
/// 湿度2状态 第14位 (0表示该状态正常1表示1级报警2表示2级报警3表示故障)
/// </summary>
public string? HumidityStaus2 { get; set; }
/// <summary>
/// 漏水1状态 第16位 (0表示该状态正常1表示1级报警2表示2级报警3表示故障)
/// </summary>
public string? LeakageStaus1 { get; set; }
/// <summary>
/// 漏水2状态 第18位 (0表示该状态正常1表示1级报警2表示2级报警3表示故障)
/// </summary>
public string? LeakageStaus2 { get; set; }
/// <summary>
/// 内部压力1状态 第20位 (0表示该状态正常1表示1级报警2表示2级报警3表示故障)
/// </summary>
public string? InternalPressure1 { get; set; }
/// <summary>
/// 内部压力2状态 第22位 (0表示该状态正常1表示1级报警2表示2级报警3表示故障)
/// </summary>
public string? InternalPressure2 { get; set; }
/// <summary>
/// 时序组号
/// </summary>
public string? TimeSeriesGroupNumber { get; set; }
/// <summary>
/// 时序状态 0表示保持1表示成功2表示错误
/// </summary>
public string? GroupNumberStatus { get; set; }
}
}