20 lines
391 B
C#
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);
|
|
}
|
|
}
|
|
}
|