| | |
| | | namespace Hydro.MapView |
| | | { |
| | | [Serializable] |
| | | public class MeterViewModel:NodeViewModel |
| | | public class MeterViewModel : NodeViewModel |
| | | { |
| | | public override string ToString() |
| | | { |
| | |
| | | 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; } |
| | | } |
| | | } |
| | | } |