| | |
| | | /// <param name="MaxQ"></param> |
| | | /// <param name="pipeMachineList"></param> |
| | | /// <param name="MachineRunFilterList"></param> |
| | | /// <param name="error_info"></param> |
| | | /// <returns></returns> |
| | | public bool InitialParas( |
| | | double targetQ, |
| | |
| | | double outlet_para,bool outlet_is_waterlevel, |
| | | string MinQ, string MaxQ, |
| | | List<IStation.Calculation.DispatchAna.Model.MachineDetail> pipeMachineList, |
| | | List<IStation.Calculation.DispatchAna.Model.MachineRunFilter> MachineRunFilterList) |
| | | List<IStation.Calculation.DispatchAna.Model.MachineRunFilter> MachineRunFilterList, |
| | | out string error_info) |
| | | { |
| | | if (inlet_is_waterlevel) |
| | | { |
| | |
| | | } |
| | | |
| | | this._targetQ = targetQ; |
| | | if (targetQ < 10) |
| | | { |
| | | error_info = "æµéå¼è¿ä½æ æ³åæ"; |
| | | return false; |
| | | } |
| | | if(this._targetOutletPress<= this._targetInletPress + 0.01) |
| | | { |
| | | error_info = "è¿åºå£ååå¼è®¾ç½®ä¸åç"; |
| | | return false; |
| | | } |
| | | |
| | | this._allMachineList = pipeMachineList; |
| | | |
| | | |
| | |
| | | |
| | | InitialFilter(MachineRunFilterList); |
| | | |
| | | |
| | | error_info = null; |
| | | return true; |
| | | } |
| | | |