20230201_145_upperpc/InSituLaboratory.Models/SysStatusModel.cs
2024-04-24 17:58:55 +08:00

204 lines
6.6 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 Prism.Mvvm;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace InSituLaboratory.Models
{
public class SysStatusModel : BindableBase
{
/// <summary>
/// 组包时间
/// </summary>
private DateTime? _packagingTime;
public DateTime? PackagingTime
{
get { return _packagingTime; }
set { SetProperty(ref _packagingTime, value); }
}
/// <summary>
/// 采样时间
/// </summary>
private DateTime? _samplingTime;
public DateTime? SamplingTime
{
get { return _samplingTime; }
set { SetProperty(ref _samplingTime, value); }
}
/// <summary>
/// 创建时间
/// </summary>
private DateTime? _createTime;
public DateTime? CreateTime
{
get { return _createTime; }
set { SetProperty(ref _createTime, value); }
}
/// <summary>
/// 48V 电压
/// </summary>
private float? _voltage48;
public float? Voltage48
{
get { return _voltage48; }
set { SetProperty(ref _voltage48, value); }
}
/// <summary>
/// 48V 电流
/// </summary>
private float? _current48;
public float? Current48
{
get { return _current48; }
set { SetProperty(ref _current48, value); }
}
/// <summary>
/// 基站48V漏电流状态 第0位 (0表示该状态正常1表示1级报警2表示2级报警3表示故障)
/// </summary>
private string? _baseStation48VLeakageCS;
public string? BaseStation48VLeakageCS
{
get { return _baseStation48VLeakageCS; }
set { SetProperty(ref _baseStation48VLeakageCS, value); }
}
/// <summary>
/// 电池48V漏电流状态 第2位 (0表示该状态正常1表示1级报警2表示2级报警3表示故障)
/// </summary>
private string? _batterz48VLeakageCS;
public string? Batterz48VLeakageCS
{
get { return _batterz48VLeakageCS; }
set { SetProperty(ref _batterz48VLeakageCS, value); }
}
/// <summary>
/// ICL漏电流状态 第4位 (0表示该状态正常1表示1级报警2表示2级报警3表示故障)
/// </summary>
private string? _iCLLeakageCS;
public string? ICLLeakageCS
{
get { return _iCLLeakageCS; }
set { SetProperty(ref _iCLLeakageCS, value); }
}
/// <summary>
/// 工控机漏电流状态 第6位 (0表示该状态正常1表示1级报警2表示2级报警3表示故障)
/// </summary>
private string? _iComputerLeakageCS;
public string? IComputerLeakageCS
{
get { return _iComputerLeakageCS; }
set { SetProperty(ref _iComputerLeakageCS, value); }
}
/// <summary>
/// 温度1状态 第8位 (0表示该状态正常1表示1级报警2表示2级报警3表示故障)
/// </summary>
private string? _temperatureStaus1;
public string? TemperatureStaus1
{
get { return _temperatureStaus1; }
set { SetProperty(ref _temperatureStaus1, value); }
}
/// <summary>
/// 温度2状态 第10位 (0表示该状态正常1表示1级报警2表示2级报警3表示故障)
/// </summary>
private string? _temperatureStaus2;
public string? TemperatureStaus2
{
get { return _temperatureStaus2; }
set { SetProperty(ref _temperatureStaus2, value); }
}
/// <summary>
/// 湿度1状态 第12位 (0表示该状态正常1表示1级报警2表示2级报警3表示故障)
/// </summary>
private string? _humidityStaus1;
public string? HumidityStaus1
{
get { return _humidityStaus1; }
set { SetProperty(ref _humidityStaus1, value); }
}
/// <summary>
/// 湿度2状态 第14位 (0表示该状态正常1表示1级报警2表示2级报警3表示故障)
/// </summary>
private string? _humidityStaus2;
public string? HumidityStaus2
{
get { return _humidityStaus2; }
set { SetProperty(ref _humidityStaus2, value); }
}
/// <summary>
/// 漏水1状态 第16位 (0表示该状态正常1表示1级报警2表示2级报警3表示故障)
/// </summary>
private string? _leakageStaus1;
public string? LeakageStaus1
{
get { return _leakageStaus1; }
set { SetProperty(ref _leakageStaus1, value); }
}
/// <summary>
/// 漏水2状态 第18位 (0表示该状态正常1表示1级报警2表示2级报警3表示故障)
/// </summary>
private string? _leakageStaus2;
public string? LeakageStaus2
{
get { return _leakageStaus2; }
set { SetProperty(ref _leakageStaus2, value); }
}
/// <summary>
/// 内部压力1状态 第20位 (0表示该状态正常1表示1级报警2表示2级报警3表示故障)
/// </summary>
private string? _iternalPressure1;
public string? InternalPressure1
{
get { return _iternalPressure1; }
set { SetProperty(ref _iternalPressure1, value); }
}
/// <summary>
/// 内部压力2状态 第22位 (0表示该状态正常1表示1级报警2表示2级报警3表示故障)
/// </summary>
private string? _internalPressure2;
public string? InternalPressure2
{
get { return _internalPressure2; }
set { SetProperty(ref _internalPressure2, value); }
}
/// <summary>
/// 时序组号
/// </summary>
private string? _timeSeriesGroupNumber;
public string? TimeSeriesGroupNumber
{
get { return _timeSeriesGroupNumber; }
set { SetProperty(ref _timeSeriesGroupNumber, value); }
}
/// <summary>
/// 时序状态 0表示保持1表示成功2表示错误
/// </summary>
private string? _groupNumberStatus;
public string? GroupNumberStatus
{
get { return _groupNumberStatus; }
set { SetProperty(ref _groupNumberStatus, value); }
}
}
}