Innovenergy_trunk/csharp/Lib/Protocols/Modbus/Reflection/Attributes/AddressOffset.cs

11 lines
274 B
C#

using static System.AttributeTargets;
namespace InnovEnergy.Lib.Protocols.Modbus.Reflection.Attributes;
[AttributeUsage(Class | Struct)]
public class AddressOffset : Attribute
{
public Int32 Offset { get; }
public AddressOffset(Int32 offset) => Offset = offset;
}