18 lines
410 B
C#
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();
|
|
}
|
|
}
|
|
}
|