| | |
| | | var pipe1_in_press = allRecords_hour.Find(x => x.MonitorTag == monitorè¿æ°´æ»ç®¡åå.Item1); |
| | | if (pipe1_in_press == null) |
| | | { |
| | | error_info = "徿³¾æ³µç«RecordValue æµç¹æªæ¾å°"; |
| | | error_info = "徿³¾æ³µç«è¿æ°´æ»ç®¡ååæµç¹æªæ¾å°"; |
| | | return null; |
| | | } |
| | | |
| | |
| | | return null; |
| | | } |
| | | |
| | | var water_level_value = pipe1_in_press.RecordValue * 100; |
| | | |
| | | complex_dispatch_request.CorpID = this._corpID; |
| | | complex_dispatch_request.StationID = this._stationID; |
| | | complex_dispatch_request.SchemeNumber = 1; |
| | | complex_dispatch_request.PressValueType = DispatchAna.Model.RequestParasComplex.ePressValueType.åå; |
| | | complex_dispatch_request.InletPipePara = new List<DispatchAna.Model.InletPipePara>() |
| | | { |
| | | new DispatchAna.Model.InletPipePara(){ Name="æ°´æ± ", Value = water_level_value} |
| | | new DispatchAna.Model.InletPipePara(){ Name="è¿å£åå", IsWaterLevel=false, Value = pipe1_in_press.RecordValue} |
| | | }; |
| | | complex_dispatch_request.OutletPipePara = new List<DispatchAna.Model.OutletPipePara>(); |
| | | complex_dispatch_request.OutletPipePara.Add(new DispatchAna.Model.OutletPipePara() |