11 lines
364 B
C#
11 lines
364 B
C#
using InnovEnergy.Lib.Protocols.Modbus.Protocol.Frames.Accessors;
|
|
using static System.AttributeTargets;
|
|
|
|
namespace InnovEnergy.Lib.Protocols.Modbus.Reflection.Attributes;
|
|
|
|
[AttributeUsage(Class | Struct | Property | Field)]
|
|
public class EndianAttribute : Attribute
|
|
{
|
|
public EndianAttribute(Endian endian) => Endian = endian;
|
|
public Endian Endian { get; }
|
|
} |