cloudflight
2024-06-08 970022ca59c5c22cf572c458c01e0328be85a253
Hydraulic/Hydro.MapView/Model/MeterViewModel.cs
@@ -1,8 +1,11 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing.Design;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static System.ComponentModel.TypeConverter;
namespace Hydro.MapView
{
@@ -15,10 +18,16 @@
            return $"{ID}\t{Elev}\t{Demand}\t{PatternID}\t;\t";
        }
        /// <summary>
        /// 当量模板ID
        /// </summary>
        public long DlTemplateID { get; set; }
        /*
                public string GetTemplateID()
                {
                    return Convert.ToString(DlTemplateEditor.ImageComboBoxEdit.EditValue);
                }*/
        [Category("基本信息")]
        [DisplayName("当量模板")]
        [Editor(typeof(DlTemplateEditor), typeof(UITypeEditor))]
        [Browsable(true)]
        public string DlTemplateID { get; set; }
    }
}