From 46f64905a3c309a50c0f245b3350cdeb8dd699c6 Mon Sep 17 00:00:00 2001 From: lixiaojun <1287241240@qq.com> Date: 星期三, 22 一月 2025 17:29:02 +0800 Subject: [PATCH] 计算优化 --- WinFrmUI/Yw.WinFrmUI.Hydro.Q3d.Core/MapView/Common/MapDimensions.cs | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/WinFrmUI/Yw.WinFrmUI.Hydro.Q3d.Core/MapView/Common/MapDimensions.cs b/WinFrmUI/Yw.WinFrmUI.Hydro.Q3d.Core/MapView/Common/MapDimensions.cs index 50f2c24..9fbf09e 100644 --- a/WinFrmUI/Yw.WinFrmUI.Hydro.Q3d.Core/MapView/Common/MapDimensions.cs +++ b/WinFrmUI/Yw.WinFrmUI.Hydro.Q3d.Core/MapView/Common/MapDimensions.cs @@ -11,7 +11,7 @@ [Serializable] public class MapDimensions { - + [Category("瑙嗚")] [DisplayName("涓績")] @@ -33,18 +33,18 @@ [Category("瑙嗚")] [DisplayName("淇瑙掑害")] [Browsable(true)] - public double rotationF + public double rotationF { - get + get { if (Lock2DView) _rotationF = 90; return _rotationF; } - set - { + set + { _rotationF = value; if (Lock2DView) _rotationF = 90; - } + } } [Category("瑙嗚")] @@ -57,7 +57,7 @@ [Browsable(true)] public bool isShowPic { get; set; } = true; - + public bool isAutoBackgroundImage = false; @@ -76,7 +76,7 @@ [Category("瑙嗚")] [DisplayName("閿佸畾骞抽潰瑙嗚")] [Browsable(true)] - public bool Lock2DView { get; set; }=false; + public bool Lock2DView { get; set; } = false; /// <summary> /// 缂栬緫妯″紡true,娴忚妯″紡false锛涢粯璁ゅ�硷細true锛涙祻瑙堟ā寮忎笅,涓嶈兘缂栬緫妯″瀷 -- Gitblit v1.9.3