| | |
| | | /// <summary> |
| | | /// |
| | | /// </summary> |
| | | public void SetBindingData(Yw.Model.HydroModelInfo hydroInfo, Yw.Model.HydroCurveInfo curveInfo, string curveType) |
| | | public void SetBindingData(Yw.Model.HydroModelInfo hydroInfo, Yw.Model.HydroCurveInfo curveInfo, string curve, string curveType) |
| | | { |
| | | if (hydroInfo == null) |
| | | { |
| | |
| | | this.txtCode.EditValue = _curveInfo.Code; |
| | | this.txtName.EditValue = _curveInfo.Name; |
| | | this.txtDescription.EditValue = _curveInfo.Description; |
| | | switch (curveType) |
| | | switch (curve) |
| | | { |
| | | case HydroCurve.TankVol: |
| | | { |