using System; namespace MECF.Framework.Common.FAServices.SecsDataAttribute { /// /// 用于DVID为List的情况,需对需要展示给Host端的属性加上此特性 /// [AttributeUsage(AttributeTargets.Property, AllowMultiple = true)] public class SecsDataElementAttribute : Attribute { /// /// 如果使用无参构造方法则默认为属性名 /// public string Name { get; } public SecsDataElementAttribute(string name) { Name = name; } public SecsDataElementAttribute() { } } }