| | |
| | | using System.Threading.Tasks; |
| | | using static System.ComponentModel.TypeConverter; |
| | | |
| | | namespace Hydro.MapView |
| | | namespace Yw.WinFrmUI.Q3d |
| | | { |
| | | [Serializable] |
| | | public class MeterViewModel : NodeViewModel |
| | |
| | | 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; } |
| | | } |
| | | } |