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/IBaseViewModel.cs | 24 ++++++++++++------------ 1 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Hydraulic/Hydro.MapView/Base/IBaseViewModel.cs b/Hydraulic/Hydro.MapView/Base/IBaseViewModel.cs index f4f8e36..4752c72 100644 --- a/Hydraulic/Hydro.MapView/Base/IBaseViewModel.cs +++ b/Hydraulic/Hydro.MapView/Base/IBaseViewModel.cs @@ -14,13 +14,13 @@ { public interface IBaseViewModel { - [Category("1銆佸熀鏈俊鎭�")] + [Category("鍩烘湰淇℃伅")] [Description("瀵硅薄鐨処D鍞竴鏍囪瘑")] - [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)] @@ -116,7 +116,7 @@ [Serializable] public class TagList:List<string> { - [Category("4銆佸叾浠栧弬鏁�")] + [Category("鍏朵粬鍙傛暟")] [Browsable(false)] public override string ToString() { -- Gitblit v1.9.3