/// <summary> /// 实体 /// </summary> public DAttr(Attr attr, WorkWay ww, string tag, bool IsCutIfIsZero) { this.Attr = attr; this.WorkWay = ww; this.IsCutIfIsZero = IsCutIfIsZero; this.Tag = tag; }
/// <summary> /// 增加 /// </summary> /// <param name="attrKey">属性</param> public void AddDAttr(string attrKey, WorkWay ww, bool IsCutIfIsZero) { DAttr attr = new DAttr(this.HisEn.EnMap.GetAttrByKey(attrKey), ww, null, IsCutIfIsZero); this.DAttrs.Add(attr); }