| | |
| | | public static CoefficientDisplayNameHelper GetStringName(List<Vmo.PipeLineRoughnessCoefficientVmo> vmos) |
| | | { |
| | | var model = new CoefficientDisplayNameHelper(); |
| | | var hazenVmo = vmos.Find(x => x.eAlgorithmType == Service.Assets.eAlgorithmType.Hazen); |
| | | var hazenVmo = vmos.Find(x => x.eAlgorithmType == HStation.Assets.eAlgorithmType.Hazen); |
| | | if (hazenVmo != null) |
| | | { |
| | | if (hazenVmo.EndValue != string.Empty) |
| | |
| | | model.hazen = hazenVmo.StartValue; |
| | | } |
| | | } |
| | | var darcyVmo = vmos.Find(x => x.eAlgorithmType == Service.Assets.eAlgorithmType.Darcy); |
| | | var darcyVmo = vmos.Find(x => x.eAlgorithmType == HStation.Assets.eAlgorithmType.Darcy); |
| | | if (darcyVmo != null) |
| | | { |
| | | if (darcyVmo.EndValue != string.Empty) |
| | |
| | | model.darcy = darcyVmo.StartValue; |
| | | } |
| | | } |
| | | var manningVmo = vmos.Find(x => x.eAlgorithmType == Service.Assets.eAlgorithmType.Manning); |
| | | var manningVmo = vmos.Find(x => x.eAlgorithmType == HStation.Assets.eAlgorithmType.Manning); |
| | | if (manningVmo != null) |
| | | { |
| | | if (manningVmo.EndValue != string.Empty) |