duheng
2025-02-19 ad8f813f5eddd66740b4e09801e4ea02ddf70a4a
WinFrmUI/Yw.WinFrmUI.Hydro.Q3d.Core/MapView/Model/MeterViewModel.cs
@@ -7,7 +7,7 @@
using System.Threading.Tasks;
using static System.ComponentModel.TypeConverter;
namespace Hydro.MapView
namespace Yw.WinFrmUI.Q3d
{
    [Serializable]
    public class MeterViewModel : NodeViewModel
@@ -15,19 +15,9 @@
        public override string ToString()
        {
            if (string.IsNullOrEmpty(PatternID)) PatternID = "";
            return $"{ID}\t{Elev}\t{Demand}\t{PatternID}\t;\t";
            return $"{ID}\t{Z}\t{Demand}\t{PatternID}\t;\t";
        }
        /*
                public string GetTemplateID()
                {
                    return Convert.ToString(DlTemplateEditor.ImageComboBoxEdit.EditValue);
                }*/
        [Category("基本信息")]
        [DisplayName("当量模板")]
        [Editor(typeof(DlTemplateEditor), typeof(UITypeEditor))]
        [Browsable(true)]
        public string DlTemplateID { get; set; }
    }
}