using System; namespace AMWD.Protocols.Modbus.Tcp.Events { /// /// Represents the register written event arguments. /// public class RegisterWrittenEventArgs : EventArgs { /// /// Gets or sets the unit id. /// public byte UnitId { get; internal set; } /// /// Gets or sets the address of the register. /// public ushort Address { get; internal set; } /// /// Gets or sets the value of the register. /// public ushort Value { get; internal set; } /// /// Gets or sets the high byte of the register. /// public byte HighByte { get; internal set; } /// /// Gets or sets the low byte of the register. /// public byte LowByte { get; internal set; } } }