| | |
| | | /// <summary> |
| | | /// 获取结果列表 |
| | | /// </summary> |
| | | public static List<HydroMarkResultViewModel> GetResultList(Yw.Model.HydroModelInfo hydroInfo, List<HydroMarkSetViewModel> allSetList) |
| | | public static List<HydroMarkResultViewModel> GetResultList |
| | | ( |
| | | Yw.Model.HydroModelInfo hydroInfo, |
| | | List<HydroMarkSetViewModel> allSetList, |
| | | Dictionary<string, HydroCalcuVisualResult> allCalcuResultDict |
| | | ) |
| | | { |
| | | if (hydroInfo == null) |
| | | { |
| | |
| | | var list = new List<HydroMarkResultViewModel>(); |
| | | allVisualList.ForEach(x => |
| | | { |
| | | var result = GetResult(x, allSetList); |
| | | var result = GetResult(x, allSetList, allCalcuResultDict); |
| | | if (result != null) |
| | | { |
| | | list.Add(result); |
| | |
| | | /// <summary> |
| | | /// 获取结果 |
| | | /// </summary> |
| | | public static HydroMarkResultViewModel GetResult(Yw.Model.HydroVisualInfo visual, List<HydroMarkSetViewModel> allSetList) |
| | | public static HydroMarkResultViewModel GetResult |
| | | ( |
| | | Yw.Model.HydroVisualInfo visual, |
| | | List<HydroMarkSetViewModel> allSetList, |
| | | Dictionary<string, HydroCalcuVisualResult> allCalcuResultDict |
| | | ) |
| | | { |
| | | if (visual == null) |
| | | { |