qin
2024-06-04 9490957edfc694a0378ee52af47e921b8ac44e7a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace Hydro.MapView
{
    [Serializable]
    public class ReservoirViewModel:NodeViewModel
    {
        [Category("2、计算参数")]
        [Description("需水量")]
        [DisplayName("需水量(m³/h)")]
        [Browsable(false)]
        public new float Demand { get; set; }
        [Category("2、计算参数")]
        [Description("总水头")]
        [DisplayName("绝对水压(m)")]
        public  float Head { get; set; }
        //public string Pattern { get; set; }
        public override string ToString()
        {
            return $"{ID}\t{Head}\t{PatternID}\t;\t";
        }
    }
}