| | |
| | | var flag_head_avg = flag_list.Average(x => x.HeadDeviation); |
| | | var hz_list_dict = flag_list.GroupBy(x => Math.Round(x.Hz)).ToDictionary(x => x.Key, x => x.ToList()); |
| | | var hz_head_avg_dict = new Dictionary<int, double?>(); |
| | | for (int hz = 0; hz <= 50; hz += 1) |
| | | for (int hz = 25; hz <= 50; hz += 1) |
| | | { |
| | | if (!hz_list_dict.ContainsKey(hz)) |
| | | continue; |
| | |
| | | foreach (var item in pumps) |
| | | { |
| | | var dict = new Dictionary<decimal, double?>(); |
| | | for (decimal hz = 0; hz <= 50; hz = hz + _hz_space) |
| | | for (decimal hz = 25; hz <= 50; hz = hz + _hz_space) |
| | | { |
| | | dict.Add(hz, null); |
| | | } |