WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/DeviceBase/DataLengthAttribute.cs
@@ -23,14 +23,23 @@ namespace WIDESEAWCS_QuartzJob.DeviceBase { /// <summary> /// 字符串长度特性 /// </summary> [AttributeUsage(AttributeTargets.Property)] public class DataLengthAttribute : Attribute { /// <summary> /// 构造函数 /// </summary> public DataLengthAttribute(ushort dataLength) { DataLength = dataLength; } /// <summary> /// 字符串长度 /// </summary> public ushort DataLength { get; set; } } }