From 9ce8c084837093466adc0efcb48e8de4f618bc04 Mon Sep 17 00:00:00 2001 From: qin <a@163.com> Date: 星期二, 04 六月 2024 09:50:19 +0800 Subject: [PATCH] 统一属性命名 --- Hydraulic/Hydro.MapView/Base/AreaViewModel.cs | 26 +++++++++++++------------- 1 files changed, 13 insertions(+), 13 deletions(-) diff --git a/Hydraulic/Hydro.MapView/Base/AreaViewModel.cs b/Hydraulic/Hydro.MapView/Base/AreaViewModel.cs index 723fea0..e0e49a0 100644 --- a/Hydraulic/Hydro.MapView/Base/AreaViewModel.cs +++ b/Hydraulic/Hydro.MapView/Base/AreaViewModel.cs @@ -17,22 +17,22 @@ { public List<PointF> Points { get; set; } - [Category("1銆佸熀鏈俊鎭�")] + [Category("鍩烘湰淇℃伅")] [Description("瀵硅薄鐨処D鍞竴鏍囪瘑")] - [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))] -- Gitblit v1.9.3