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(); } } }