WebApi/Controllers/ZyPrjController.cs
@@ -441,8 +441,11 @@ dto_prj.BlockTimes = new List<ZyDto.SubmitPrjBlockTime>(); double maxHeight = 0; double startHeight = 0; if (defaultPrj.BlockTimes != null) { startHeight = defaultPrj.BlockTimes.First().ReservoirStartHeight; foreach (var bt in defaultPrj.BlockTimes) { if (bt.OpenPumpIndexs == null) @@ -468,6 +471,7 @@ } } dto_prj.MaxWaterLevelH = maxHeight; dto_prj.StartWaterLevelH = startHeight; dto_prj.Switchs = new List<SubmitPrjSwitchInfo>(); if (defaultPrj.PumpSwitchs != null) {