ningshuxia
2022-10-31 0171d347fec140d31db39ab5d76d51eebac472c2
Calculation/IStation.Calculation.Dispatch/general/KeepStatus.cs
@@ -73,9 +73,9 @@
            }
            double water_level = 0;//水位
            if (_request_paras.WaterLevelPara != null && _request_paras.WaterLevelPara.Count > 0)
            if (_request_paras.InletPipePara != null && _request_paras.InletPipePara.Count > 0)
            {
                water_level = _request_paras.WaterLevelPara.First().Value;
                water_level = _request_paras.InletPipePara.First().Value;
            }
    
            if (_request_paras.ValvePara == null || _request_paras.ValvePara.Count < 1)
@@ -97,8 +97,8 @@
                new IStation.Calculation.DispatchAna.Common.DispatchAnaGeneralHelper压力();
            calc_pipe_helper.InitialParas(
                target_flow,
                water_level,
                target_press,
                water_level,true,
                target_press,false,
                _request_paras.OutletPipePara[0].TargetFlowRangeMin,
                _request_paras.OutletPipePara[0].TargetFlowRangeMax,
                allMachineList, null);