|
|
|
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;
|
|
} |