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

20 lines
391 B
C#

namespace Common.Hardware.WaterMeter.eRegister.Features
{
using Common.Utils.Extensions;
using System;
public class SetPcbId : Pam
{
public SetPcbId() : base(5, SetPCB)
{
}
public UInt32 ID
{
get => this.bytes.ToUInt32BigEndian(1);
set => value.ToBigEndianBytes().CopyTo(this.bytes, 1);
}
}
}