| | |
| | | this.ModelType = rhs.ModelType; |
| | | this.DbId = rhs.DbId; |
| | | this.DbLocked = rhs.DbLocked; |
| | | this.BeginGroup = rhs.BeginGroup; |
| | | this.Flags = Yw.Untity.FlagsHelper.ToString(rhs.Flags); |
| | | this.Description = rhs.Description; |
| | | this.Paras = new DictionaryPropertyAdapter(rhs.Paras); |
| | |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 分组 |
| | | /// </summary> |
| | | [Category("基础信息")] |
| | | [DisplayName("分组")] |
| | | [PropertyOrder(6)] |
| | | [Browsable(true)] |
| | | public virtual string BeginGroup { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 标签 |
| | | /// </summary> |
| | | [Category("基础信息")] |
| | | [DisplayName("标签")] |
| | | [PropertyOrder(6)] |
| | | [PropertyOrder(7)] |
| | | [HydroFlagsPro] |
| | | [Browsable(true)] |
| | | public virtual string Flags { get; set; } |
| | |
| | | [Category("基础信息")] |
| | | [DisplayName("参数")] |
| | | [HydroParasPro] |
| | | [PropertyOrder(7)] |
| | | [PropertyOrder(8)] |
| | | [Browsable(true)] |
| | | public virtual DictionaryPropertyAdapter Paras { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 说明 |
| | | /// </summary> |
| | | [Category("基础信息")] |
| | | [DisplayName("说明")] |
| | | [PropertyOrder(8)] |
| | | [PropertyOrder(9)] |
| | | [MultiText] |
| | | [Browsable(true)] |
| | | public virtual string Description { get; set; } |
| | |
| | | /// </summary> |
| | | [Category("基础信息")] |
| | | [DisplayName("锁定")] |
| | | [PropertyOrder(8)] |
| | | [PropertyOrder(10)] |
| | | [Browsable(true)] |
| | | public virtual bool DbLocked { get; set; } |
| | | |
| | |
| | | this.Catalog = HydroParterCatalogHelper.GetName(this.Vmo.Catalog); |
| | | this.ModelType = this.Vmo.ModelType; |
| | | this.DbId = this.Vmo.DbId; |
| | | this.BeginGroup = this.Vmo.BeginGroup; |
| | | this.Flags = Yw.Untity.FlagsHelper.ToString(this.Vmo.Flags); |
| | | this.Paras = new DictionaryPropertyAdapter(this.Vmo.Paras); |
| | | this.Description = this.Vmo.Description; |
| | |
| | | this.Vmo.ModelType = this.ModelType; |
| | | this.Vmo.DbId = this.DbId; |
| | | this.Vmo.DbLocked = this.DbLocked; |
| | | this.Vmo.BeginGroup = this.BeginGroup; |
| | | this.Vmo.Flags = Yw.Untity.FlagsHelper.ToList(this.Flags); |
| | | this.Vmo.Paras = (Dictionary<string, string>)this.Paras?.Dictionary; |
| | | this.Vmo.Description = this.Description; |