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