| | |
| | | { |
| | | feedBackMsg?.Invoke("产品匹配失败!!!", Color.Red); |
| | | } |
| | | |
| | | feedBackMsg?.Invoke("正在进行管网修复...", Color.Black); |
| | | if (hydroInfo.RepairLinksDirection(out msg)) |
| | | { |
| | | feedBackMsg?.Invoke(msg, Color.Green); |
| | | } |
| | | else |
| | | { |
| | | feedBackMsg?.Invoke(msg, Color.Red); |
| | | } |
| | | |
| | | feedBackMsg?.Invoke("正在进行管网参数修复...", Color.Black); |
| | | hydroInfo.RepairParas(out msg); |
| | | if (string.IsNullOrEmpty(msg)) |
| | | { |
| | | feedBackMsg?.Invoke("管网参数修复完成。。。", Color.Green); |
| | | } |
| | | else |
| | | { |
| | | feedBackMsg?.Invoke(msg, Color.Red); |
| | | } |
| | | |
| | | feedBackMsg?.Invoke("正在保存水力结构信息...", Color.Black); |
| | | var hydroId = await BLLFactory<Yw.BLL.HydroModelInfo>.Instance.Save(hydroInfo); |
| | | if (hydroId < 1) |
| | |
| | | |
| | | #endregion |
| | | } |
| | | |
| | | |
| | | } |
| | | } |