qin
2024-06-07 4d9a96db08678c2ee274e7ffd70580c71a1140c5
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
29
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 NozzleViewModel:NodeViewModel
    {
 
        [Category("基本信息")]
        [Description("房间")]
        [DisplayName("房间")]
        public string Room { get; set; }
 
        [Category("计算参数")]
        [Description("流量系数")]
        [DisplayName("流量系数K")]
        public float FlowCoefficient { get; set; }
        public override string ToString()
        {
            if (string.IsNullOrEmpty(PatternID)) PatternID = "";
            return $"{ID}\t{Elev}\t{Demand}\t{PatternID}\t;\t";
        }
    }
}