cloudflight
2024-06-08 970022ca59c5c22cf572c458c01e0328be85a253
Hydraulic/Hydro.MapView/Model/MeterViewModel.cs
@@ -10,7 +10,7 @@
namespace Hydro.MapView
{
    [Serializable]
    public class MeterViewModel:NodeViewModel
    public class MeterViewModel : NodeViewModel
    {
        public override string ToString()
        {
@@ -18,10 +18,16 @@
            return $"{ID}\t{Elev}\t{Demand}\t{PatternID}\t;\t";
        }
        /*
                public string GetTemplateID()
                {
                    return Convert.ToString(DlTemplateEditor.ImageComboBoxEdit.EditValue);
                }*/
        [Category("基本信息")]
        [DisplayName("当量模板")]
        [Editor(typeof(DlTemplateEditor),typeof(UITypeEditor))]
        [Editor(typeof(DlTemplateEditor), typeof(UITypeEditor))]
        [Browsable(true)]
        public string DlTemplateID { get; set; }
    }
}
}