You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

79 lines
3.4 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

using HybirdFrameworkDriver.ModbusTcpMaster;
namespace Service.FireControl.Msg;
/// <summary>
/// 2.2数据列表 消防0x01
/// </summary>
public class Subzone2
{
/// <summary>
/// 报警 1有火灾报警信号一级预警不上报0默认状态
/// </summary>
public ModbusProperty<bool> GiveAnAlarm { get; set; } = new(0x0000,length :1);
/// <summary>
/// 故障数量 0无故障1有故障
/// </summary>
public ModbusProperty<bool> NumberOfFailures { get; set; } = new(0x0001,length :1);
/// <summary>
/// 消音 1处于消音状态0默认状态
/// </summary>
public ModbusProperty<bool> SoundSuppression { get; set; } = new(0x0002,length :1);
/// <summary>
/// 自检 1处于自检状态0默认状态
/// </summary>
public ModbusProperty<bool> SelfInspection { get; set; } = new(0x0003,length :1);
/// <summary>
/// 主电 1使用主电0默认状态
/// </summary>
public ModbusProperty<bool> MainPower { get; set; } = new(0x0004,length :1);
/// <summary>
/// 备电 1使用备电0默认状态
/// </summary>
public ModbusProperty<bool> PowerSupplyBackup { get; set; } = new(0x0005,length :1);
/// <summary>
/// 备电欠压 1使用备电0默认状态
/// </summary>
public ModbusProperty<bool> BackupPowerUnderpowered { get; set; } = new(0x0006,length :1);
/// <summary>
/// 自动模式 1系统处于自动模式0默认状态
/// </summary>
public ModbusProperty<bool> AutomaticMode { get; set; } = new(0x0007,length :1);
/// <summary>
/// 手动模式 1系统处于手动模式0默认状态
/// </summary>
public ModbusProperty<bool> ManualMode { get; set; } = new(0x0008,length :1);
/// <summary>
/// 手动启动 1有手动启动信号0默认状态
/// </summary>
public ModbusProperty<bool> ManualStart { get; set; } = new(0x0009,length :1);
/// <summary>
/// 手动急停 1有手动急停信号0默认状态
/// </summary>
public ModbusProperty<bool> ManualScram { get; set; } = new(0x000A,length :1);
/// <summary>
/// 启动控制 1系统存在启动控制信号0默认状态
/// </summary>
public ModbusProperty<bool> StartUpControl { get; set; } = new(0x000B,length :1);
/// <summary>
/// 延时 1有分区处于延时状态0无默认状态
/// </summary>
public ModbusProperty<bool> Delay { get; set; } = new(0x000C,length :1);
/// <summary>
/// 启动喷洒 1延时结束后发出启动喷洒 信号0默认状态
/// </summary>
public ModbusProperty<bool> PrimingSpray { get; set; } = new(0x000D,length :1);
/// <summary>
/// 喷洒 1存在喷洒状态 即收到启动 反馈信号,表示灭火器启动成功 0默认状态
/// </summary>
public ModbusProperty<bool> Spray { get; set; } = new(0x000E,length :1);
/// <summary>
/// 声光报警状态 1声光报警状态0默认状态
/// </summary>
public ModbusProperty<bool> AudibleVisualAlarmStatus { get; set; } = new(0x000F,length :1);
/// <summary>
/// 放气勿入状态 1放气勿入状态0默认状态
/// </summary>
public ModbusProperty<bool> DeflatedDoNotEnter { get; set; } = new(0x0010,length :1);
}