| | |
| | | _dt.Columns.Add("CalcuValue", typeof(string)); |
| | | _dt.Columns.Add("UnitName", typeof(string)); |
| | | |
| | | var monitorList = _allMonitorList?.Where(x => x.SourceType == Yw.Hydro.eSourceType.Analyse).ToList(); |
| | | monitorList = monitorList?.OrderBy(x => x.SortCode).ToList(); |
| | | if (monitorList != null && monitorList.Count > 0) |
| | | var allMonitorList = _allMonitorList?.OrderBy(x => x.SortCode).ToList(); |
| | | if (allMonitorList != null && allMonitorList.Count > 0) |
| | | { |
| | | var allVisualDict = _hydroInfo?.GetVisualDict(); |
| | | if (allVisualDict != null && allVisualDict.Count > 0) |
| | | { |
| | | var allCalcuVisualDict = _allCalcuResultDict?.FirstOrDefault().Value?.GetVisualDict(); |
| | | foreach (var monitor in monitorList) |
| | | foreach (var monitor in allMonitorList) |
| | | { |
| | | var visual = allVisualDict.GetValue(monitor.Parter); |
| | | if (visual == null) |
| | |
| | | } |
| | | _dt.Columns.Add("UnitName", typeof(string)); |
| | | |
| | | var monitorList = _allMonitorList?.Where(x => x.SourceType == Yw.Hydro.eSourceType.Analyse).ToList(); |
| | | monitorList = monitorList?.OrderBy(x => x.SortCode).ToList(); |
| | | if (monitorList != null && monitorList.Count > 0) |
| | | var allMonitorList = _allMonitorList?.OrderBy(x => x.SortCode).ToList(); |
| | | if (allMonitorList != null && allMonitorList.Count > 0) |
| | | { |
| | | var allVisualDict = _hydroInfo?.GetVisualDict(); |
| | | if (allVisualDict != null && allVisualDict.Count > 0) |
| | | { |
| | | foreach (var monitor in monitorList) |
| | | foreach (var monitor in allMonitorList) |
| | | { |
| | | var visual = allVisualDict.GetValue(monitor.Parter); |
| | | if (visual == null) |