ningshuxia
2025-03-31 36f1be9860b303afac93f93a15f0c62cba57c3c5
WinFrmUI/PBS.WinFrmUI.Hydro/99-map-view/00/viewmodel/NodeViewModel.cs
@@ -35,6 +35,7 @@
        public new string Name { get { return base.Name; } set { base.Name = value; } }
        [Browsable(false)]
        public PointF3D Position3D
        {
            get
@@ -88,6 +89,7 @@
        [Browsable(false)]
        public MapObjectType Type { get { return this.GetTypeString(); } }
        [Category("计算参数")]
@@ -110,15 +112,12 @@
        [Category("计算参数")]
        [Description("用水量模式的编号")]
        [DisplayName("模式编号")]
        [Browsable(true)]
        [Browsable(false)]
        public virtual string PatternID { get; set; }
        [DisplayName("链表清单")]
        [Browsable(true)]
        [Browsable(false)]
        public List<LinkCalcModel> Links
        {
            get
@@ -132,6 +131,7 @@
        }
        [Browsable(false)]
        public List<LinkViewModel> ViewLinks
        {
            get
@@ -146,6 +146,7 @@
        [DisplayName("位置信息")]
        [Browsable(false)]
        public PointF Position
        {
            get { return new PointF(X, Y); }
@@ -155,21 +156,23 @@
        [Description("标签")]
        [DisplayName("标签")]
        [Browsable(false)]
        public TagList Tags { get; set; } = null;
        [Browsable(false)]
        public String RegionName { get; set; } = null;
        [Description("对象的等级")]
        [DisplayName("级别")]
        [Browsable(false)]
        public int Level { get; set; } = 0;
        [Description("对象的等级")]
        [DisplayName("是否显示")]
        [Browsable(false)]
        public bool Visible { get; set; } = true;
@@ -178,8 +181,8 @@
        [Description("ID类型")]
        [DisplayName("ID类型")]
        [DisplayName("ID类型")]
        [Browsable(false)]
        public string IDType => Type.ToString() + "\t" + ID;
        #endregion