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

11 lines
364 B
C#
Raw Normal View History

2023-06-13 11:03:36 +00:00
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; }
}