using System; namespace PLC.Siemens.Protocol.Common { public class CSTypeAttribute : Attribute { public Type Type { get; set; } public CSTypeAttribute(Type type) { this.Type = type; } } public enum DataType { Bit = 0x01, Byte = 0x02, Char = 0x03, Word = 0x04, Int = 0x05, DWord = 0x06, DInt = 0x07, Real = 0x08, Counter = 0x1C, Timer = 0x1D, } }