Files
laatzen/Common/Hardware/WaterMeter/eRegister/Common.Hardware.WaterMeter.eRegister.Features/SetAlarms.cs
T
2024-10-14 15:02:21 +02:00

18 lines
410 B
C#

namespace Common.Hardware.WaterMeter.eRegister.Features
{
using Common.Utils.Extensions;
public class SetAlarms : AlarmsMask
{
public SetAlarms() : base(3, GetDebug)
=> this.bytes[2] = DebugCmd.SetAlarms;
public override System.Byte[] ToByteArray()
{
this.bytes[1] = this.bits.ToByte();
return base.ToByteArray();
}
}
}