cloudflight
2024-06-08 970022ca59c5c22cf572c458c01e0328be85a253
Hydraulic/Hydro.MapView/Base/AreaViewModel.cs
@@ -17,22 +17,22 @@
    {
        public List<PointF> Points { get; set; }
        [Category("1、基本信息")]
        [Category("基本信息")]
        [Description("对象的ID唯一标识")]
        [DisplayName(" 编号 ")]
        [DisplayName("编号")]
        public string ID { get; set; }
        public string Name { get; set; }
        [Category("4、其他参数")]
        [Category("其他参数")]
        [Description("选中")]
        [DisplayName("选中")]
        [Browsable(false)]
        public bool Selected { get; set; }
        [Category("4、其他参数")]
        [Category("其他参数")]
        [Description("鼠标悬于上方")]
        [DisplayName("鼠标悬于上方")]
        [Browsable(false)]
@@ -40,7 +40,7 @@
        [Category("4、其他参数")]
        [Category("其他参数")]
        [Description("选中")]
        [DisplayName("位置信息")]
        [Browsable(false)]
@@ -53,7 +53,7 @@
        [JsonIgnore]
        public String regionName { get; set; } = null;
        [Category("1、基本信息")]
        [Category("基本信息")]
        [Description("X坐标")]
        [DisplayName("X坐标")]
        [Browsable(true)]
@@ -68,7 +68,7 @@
                Position = new PointF(value, Position.Y);
            }
        }
        [Category("1、基本信息")]
        [Category("基本信息")]
        [Description("Y坐标")]
        [DisplayName("Y坐标")]
        [Browsable(true)]
@@ -84,38 +84,38 @@
            }
        }
        [Category("1、基本信息")]
        [Category("基本信息")]
        [Description("标高")]
        [DisplayName("标高")]
        [Browsable(true)]
        public float Elev { get; set; }
        [Category("4、其他参数")]
        [Category("其他参数")]
        [Description("对象的等级")]
        [DisplayName("级别")]
        public int Level { get; set; } = 0;
        [Category("4、其他参数")]
        [Category("其他参数")]
        [Description("对象的等级")]
        [DisplayName("是否显示")]
        public bool Visible { get; set; } = true;
        [Category("1、基本信息")]
        [Category("基本信息")]
        [Description("类型")]
        [DisplayName("类型")]
        public MapObjectType Type { get { return this.GetTypeString(); } }
        [Category("4、其他参数")]
        [Category("其他参数")]
        [Description("ID类型")]
        [DisplayName("ID类型")]
        [Browsable(false)]
        public string IDType => Type.ToString() + "\t" + ID;
        [Category("4、其他参数")]
        [Category("其他参数")]
        [Description("标签")]
        [DisplayName("标签")]
        [Editor(typeof(MyEditor), typeof(UITypeEditor))]