From e2f45c6bce38ee2ffca13510fdf67b00100814cd Mon Sep 17 00:00:00 2001 From: cloudflight <cloudflight@126.com> Date: 星期二, 04 六月 2024 00:18:28 +0800 Subject: [PATCH] [合并] --- Hydraulic/Hydro.MapView/Base/NodeViewModel.cs | 23 ++++++++++++----------- 1 files changed, 12 insertions(+), 11 deletions(-) diff --git a/Hydraulic/Hydro.MapView/Base/NodeViewModel.cs b/Hydraulic/Hydro.MapView/Base/NodeViewModel.cs index 1c09290..31907f7 100644 --- a/Hydraulic/Hydro.MapView/Base/NodeViewModel.cs +++ b/Hydraulic/Hydro.MapView/Base/NodeViewModel.cs @@ -91,24 +91,25 @@ } } - [Category("鍩烘湰淇℃伅")] + [Category("1銆佸熀鏈俊鎭�")] [Description("鏍囬珮(m)")] [DisplayName("鏍囬珮(m)")] [Browsable(true)] public new float Elev { get { return base.Elev; } set { base.Elev = value; } } - [Category("鍩烘湰淇℃伅")] + [Category("1銆佸熀鏈俊鎭�")] [Description("绫诲瀷")] [DisplayName("绫诲瀷")] public MapObjectType Type { get { return this.GetTypeString(); } } - [Category("璁$畻鍙傛暟")] + [Category("2銆佽绠楀弬鏁�")] [Description("鏈�澶у彛寰�(mm)")] [DisplayName("鏈�澶у彛寰�(mm)")] [Browsable(false)] public virtual float MaxDiameter { get; set; } = 0; - [Category("璁$畻鍙傛暟")] + + [Category("2銆佽绠楀弬鏁�")] [Description("闇�姘撮噺(m鲁/h)")] [DisplayName("闇�姘撮噺(m鲁/h)")] [Browsable(true)] @@ -117,7 +118,7 @@ /// <summary> /// 妯″紡鐨勭紪鍙� /// </summary> - [Category("璁$畻鍙傛暟")] + [Category("2銆佽绠楀弬鏁�")] [Description("鐢ㄦ按閲忔ā寮忕殑缂栧彿")] [DisplayName("妯″紡缂栧彿")] [Browsable(true)] @@ -125,7 +126,7 @@ - [Category("鍏朵粬鍙傛暟")] + [Category("4銆佸叾浠栧弬鏁�")] [DisplayName("閾捐〃娓呭崟")] [Browsable(true)] [JsonIgnore] @@ -161,7 +162,7 @@ - [Category("鍏朵粬鍙傛暟")] + [Category("4銆佸叾浠栧弬鏁�")] [Description("閫変腑")] [DisplayName("浣嶇疆淇℃伅")] [Browsable(false)] @@ -174,7 +175,7 @@ set { if (value != null) X = value.X; Y = value.Y; } } - [Category("鍏朵粬鍙傛暟")] + [Category("4銆佸叾浠栧弬鏁�")] [Description("鏍囩")] [DisplayName("鏍囩")] [Editor(typeof(MyEditor), typeof(UITypeEditor))] @@ -188,13 +189,13 @@ - [Category("鍏朵粬鍙傛暟")] + [Category("4銆佸叾浠栧弬鏁�")] [Description("瀵硅薄鐨勭瓑绾�")] [DisplayName("绾у埆")] public int Level { get; set; } = 0; - [Category("鍏朵粬鍙傛暟")] + [Category("4銆佸叾浠栧弬鏁�")] [Description("瀵硅薄鐨勭瓑绾�")] [DisplayName("鏄惁鏄剧ず")] public bool Visible { get; set; } = true; @@ -203,7 +204,7 @@ - [Category("鍏朵粬鍙傛暟")] + [Category("4銆佸叾浠栧弬鏁�")] [Description("ID绫诲瀷")] [DisplayName("ID绫诲瀷")] [Browsable(false)] -- Gitblit v1.9.3