| | |
| | | case 1://长兴泵站 |
| | | { |
| | | var result= shys_cxd(input, result_sg,out error_info); |
| | | LogHelper.Debug(JsonHelper.Object2Json(result)); |
| | | //LogHelper.Debug(JsonHelper.Object2Json(result)); |
| | | return result; |
| | | } |
| | | default:return default; |
| | |
| | | complex_request_paras.SchemeSortType = Calculation.DispatchAna.Model.eAnaSchemeSortType.功率; |
| | | complex_request_paras.SchemeNumber = 1; |
| | | |
| | | //构造计算器 |
| | | var calulator = IStation.Calculation.DispatchAnalyCalculatorFactory.CreateKeepStatusCalculator(4, IStation.ObjectType.Station, 2,null); |
| | | calulator.IntialRequest(complex_request_paras, |
| | | null, |
| | | machine_run_status); |
| | | //出方案 |
| | | var scheme = new IStation.Calculation.DispatchAna.Calculator4ShysCxbz().CalcKeepStatusByWhole( |
| | | complex_request_paras, |
| | | machine_run_status, |
| | | out error_info); |
| | | var scheme = calulator.Calc(out error_info); |
| | | if (scheme == null) |
| | | return default; |
| | | var result = new IStation.Application.DispatchAnaSchemeOutput(); |