namespace Yw.WinFrmUI { /// /// /// public class HydroLinkBulkSetViewModel : HydroVisualBulkSetViewModel { /// /// /// public HydroLinkBulkSetViewModel() : base() { } /// /// /// public HydroLinkBulkSetViewModel(Yw.Model.HydroLinkInfo rhs) : base(rhs) { this.StartCode = rhs.StartCode; this.EndCode = rhs.EndCode; this.LinkStatus = HydroLinkStatusHelper.GetStatusName(rhs.LinkStatus); this.Vmo = rhs; } /// /// 上游节点 /// [DisplayName("上游节点")] public string StartCode { get; set; } /// /// 下游节点 /// [DisplayName("下游节点")] public string EndCode { get; set; } /// /// 管段状态 /// [DisplayName("管段状态")] public virtual string LinkStatus { get; set; } /// /// Vmo /// [Browsable(false)] public new Yw.Model.HydroLinkInfo Vmo { get; set; } } }