Shuxia Ning
2025-01-07 5f51a2fe3461e1f88e75b0b6959719d25f657ef3
WinFrmUI/Yw.WinFrmUI.Hydro.Q3d.Core/MapView/Base/AreaViewModel.cs
@@ -1,5 +1,4 @@
using Yw.WinFrmUI.Q3d;
using Newtonsoft.Json;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel;
@@ -8,6 +7,7 @@
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Yw.WinFrmUI.Q3d;
using static Yw.WinFrmUI.Q3d.MapViewEnum;
namespace Yw.WinFrmUI.Q3d
@@ -121,7 +121,7 @@
        //[Editor(typeof(MyEditor), typeof(UITypeEditor))]
        //public TagList Tags { get; set; } = null;
        public MapObjectType GetTypeString()
        {
@@ -130,13 +130,13 @@
            if (this is TankViewModel) return MapObjectType.水池;
            if (this is MeterViewModel) return MapObjectType.水表;
            if (this is NozzleViewModel) return MapObjectType.喷头;
            if (this is PipeViewModel) return MapObjectType.管线;
            if (this is ValveViewModel) return MapObjectType.阀门;
            if (this is PumpViewModel) return MapObjectType.水泵;
            return MapObjectType.节点;
        }