| | |
| | | if (_ratedParas == null) |
| | | _ratedParas = TProduct.Model.RatedParas4Pump.ToModel(this._currentPump.RatedParas); |
| | | |
| | | if (this._featTestItem.ItemParas != null && this._featTestItem.ItemParas.IsEntendZeroH) |
| | | if (this._featTestItem.ItemParas != null && this._featTestItem.ItemParas.ExtendPointH != null) |
| | | { |
| | | max_flow_real_ls = Math.Round(Eventech.Common.UnitQHelper.fromM3H( |
| | | Eventech.Model.UnitQ.LMIN, |
| | | this._featTestItem.ItemParas.FlowInZeroH), 2); |
| | | this._featTestItem.ItemParas.ExtendPointH.Value), 2); |
| | | } |
| | | |
| | | if (_ratedParas.MaxQ != null && _ratedParas.MaxQ > 0) |
| | |
| | | //åºå£è¡¨ä½é« |
| | | var mp_outlet_press = this._allMonitorPoints.Find(x => x.Property == TProduct.Model.MonitorTypeProperty.åºå£ && |
| | | x.MonitorType == Model.eMonitorType.åå); |
| | | if (mp_outlet_press != null && mp_outlet_press.Elevation != null) |
| | | { |
| | | SetCellValue(sheet, 4, "N", mp_outlet_press.Elevation.Value); |
| | | } |
| | | //åºå£å£å¾ |
| | | if (mp_outlet_press != null && mp_outlet_press.PipeDia != null && |
| | | mp_outlet_press.PipeDia.Value > 0) |
| | | { |
| | | SetCellValue(sheet, 5, "N", mp_outlet_press.PipeDia.Value); |
| | | } |
| | | else |
| | | { |
| | | var pipeParas = new Model.PipeParas4Pump(this._workBench.PipeParas); |
| | | if (pipeParas != null && pipeParas.OutletDia != null) |
| | | { |
| | | SetCellValue(sheet, 5, "N", pipeParas.OutletDia.Value); |
| | | } |
| | | } |
| | | //if (mp_outlet_press != null && mp_outlet_press.Elevation != null) |
| | | //{ |
| | | // SetCellValue(sheet, 4, "N", mp_outlet_press.Elevation.Value); |
| | | //} |
| | | ////åºå£å£å¾ |
| | | //if (mp_outlet_press != null && mp_outlet_press.PipeDia != null && |
| | | // mp_outlet_press.PipeDia.Value > 0) |
| | | //{ |
| | | // SetCellValue(sheet, 5, "N", mp_outlet_press.PipeDia.Value); |
| | | //} |
| | | //else |
| | | //{ |
| | | // var pipeParas = new Model.PipeParas4Pump(this._workBench.PipeParas); |
| | | // if (pipeParas != null && pipeParas.OutletDia != null) |
| | | // { |
| | | // SetCellValue(sheet, 5, "N", pipeParas.OutletDia.Value); |
| | | // } |
| | | //} |
| | | //è¿å£å£å¾ |
| | | var mp_inlet_press = this._allMonitorPoints.Find(x => |
| | | x.Property == TProduct.Model.MonitorTypeProperty.è¿å£ && |
| | | x.MonitorType == Model.eMonitorType.åå); |
| | | if (mp_inlet_press != null && mp_inlet_press.PipeDia != null && |
| | | mp_inlet_press.PipeDia.Value > 0) |
| | | { |
| | | SetCellValue(sheet, 5, "I", mp_inlet_press.PipeDia.Value); |
| | | } |
| | | else |
| | | { |
| | | var pipeParas = new Model.PipeParas4Pump(this._workBench.PipeParas); |
| | | if (pipeParas != null && pipeParas.InletDia != null) |
| | | { |
| | | SetCellValue(sheet, 5, "I", pipeParas.InletDia.Value); |
| | | } |
| | | } |
| | | //if (mp_inlet_press != null && mp_inlet_press.PipeDia != null && |
| | | // mp_inlet_press.PipeDia.Value > 0) |
| | | //{ |
| | | // SetCellValue(sheet, 5, "I", mp_inlet_press.PipeDia.Value); |
| | | //} |
| | | //else |
| | | //{ |
| | | // var pipeParas = new Model.PipeParas4Pump(this._workBench.PipeParas); |
| | | // if (pipeParas != null && pipeParas.InletDia != null) |
| | | // { |
| | | // SetCellValue(sheet, 5, "I", pipeParas.InletDia.Value); |
| | | // } |
| | | //} |
| | | //è¯æ ·æ¥æº |
| | | if (this._testProject.ProjectParas.TestNature == Model.eTestProjectNature.ä¾è¡æµè¯) |
| | | { |