1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
| namespace HydroUI
| {
|
| [Serializable]
| public class PipeViewModel : LinkViewModel
| {
| public override string ToString()
| {
| if (Roughness == 0) Roughness = 110;
| string statusString = Status == StatusType.CLOSED ? "CLOSED" : "";
| return $"{ID}\t{Node1}\t{Node2}\t{Length}\t{Diameter}\t{Roughness}\t{MinorLoss}\t{statusString}\t;\t";
| }
| }
|
| }
|
|