cloudflight
2024-05-15 0a6c1d69626e7a9af49c76a73ef5ff8051ebf419
Hydraulic/Hydro.MapView/Base/IBaseViewModel.cs
@@ -14,13 +14,13 @@
{
    public interface IBaseViewModel
    {
        [Category("1、基本信息")]
        [Category("基本信息")]
        [Description("对象的ID唯一标识")]
        [DisplayName(" 编号 ")]
        [DisplayName("编号")]
        string ID { get; set; }
        [Category("4、其他参数")]
        [Category("其他参数")]
        [Description("选中")]
        [DisplayName("选中")]
        [Browsable(false)]
@@ -29,7 +29,7 @@
        bool Hovered { get; set; }
        [Category("4、其他参数")]
        [Category("其他参数")]
        [Description("选中")]
        [DisplayName("位置信息")]
        [Browsable(false)]
@@ -39,7 +39,7 @@
        [JsonIgnore]
        String regionName { get; set; }//= null; 
        [Category("1、基本信息")]
        [Category("基本信息")]
        [Description("X坐标")]
        [DisplayName("X坐标")]
        [Browsable(true)]
@@ -54,7 +54,7 @@
        //        Position = new PointF(value, Position.Y);
        //    }
        //}
        [Category("1、基本信息")]
        [Category("基本信息")]
        [Description("Y坐标")]
        [DisplayName("Y坐标")]
        [Browsable(true)]
@@ -70,19 +70,19 @@
        //    }
        //}
        [Category("1、基本信息")]
        [Category("基本信息")]
        [Description("标高")]
        [DisplayName("标高")]
        [Browsable(true)]
        float Elev { get; set; }
        [Category("4、其他参数")]
        [Category("其他参数")]
        [Description("对象的等级")]
        [DisplayName("级别")]
        //[Editor(typeof(MyPropertyEditor), typeof(UITypeEditor))]
        int Level { get; set; } //= 0;
        [Category("4、其他参数")]
        [Category("其他参数")]
        [Description("对象的等级")]
        [DisplayName("是否显示")]
        bool Visible { get; set; } //= true;
@@ -92,13 +92,13 @@
        //[DisplayName("标签")]
        //public string Tags { get; set; } = null;
        [Category("1、基本信息")]
        [Category("基本信息")]
        [Description("类型")]
        [DisplayName("类型")]
        MapObjectType Type { get; }// { get { return this.GetTypeString(); } }
        //[Browsable(false)]
        [Category("4、其他参数")]
        [Category("其他参数")]
        [Description("ID类型")]
        [DisplayName("ID类型")]
        [Browsable(false)]
@@ -117,7 +117,7 @@
    [Serializable]
    public class TagList:List<string>
    {
        [Category("4、其他参数")]
        [Category("其他参数")]
        [Browsable(false)]
        public override string  ToString()
        {