| | |
| | | flow_space = _perHourFlowOutList[inx_hour] / time_count; |
| | | } |
| | | } |
| | | //if (time.Minute == 0) |
| | | //{ |
| | | // if (_reservoirMinLimitHours != null && _reservoirMinLimitHours[inx_hour] != null) |
| | | // { |
| | | // _timeList[i].ReservoirMinLevel = _reservoirMinLimitHours[inx_hour].Value; |
| | | // } |
| | | // if (_reservoirMaxLimitHours != null && _reservoirMaxLimitHours[inx_hour] != null) |
| | | // { |
| | | // _timeList[i].ReservoirMaxLevel = _reservoirMaxLimitHours[inx_hour].Value; |
| | | // } |
| | | //} |
| | | |
| | | flowTotal = flowTotal + flow_space; |
| | | if (i + 1 < _timeList.Count) //鏉滄亽鍔犵殑 |
| | |
| | | } |
| | | i++; |
| | | } |
| | | //if (_reservoirMinLimitHours != null && _reservoirMinLimitHours.Last() != null) |
| | | //{ |
| | | // _timeList.Last().ReservoirMinLevel = _reservoirMinLimitHours.Last().Value; |
| | | //} |
| | | //if (_reservoirMaxLimitHours != null && _reservoirMaxLimitHours.Last() != null) |
| | | //{ |
| | | // _timeList.Last().ReservoirMaxLevel = _reservoirMaxLimitHours.Last().Value; |
| | | //} |
| | | } |
| | | |
| | | /// <summary> |