namespace HStation.WinFrmUI
|
{
|
public partial class XhsProjectResultHydroCtrl : DevExpress.XtraEditors.XtraUserControl
|
{
|
public XhsProjectResultHydroCtrl()
|
{
|
InitializeComponent();
|
}
|
|
private ImportXhsProjectViewModel _vm = null;//操作对象
|
|
/// <summary>
|
/// 绑定数据
|
/// </summary>
|
public void SetBindingData(ImportXhsProjectViewModel vm)
|
{
|
if (vm == null)
|
{
|
return;
|
}
|
_vm = vm;
|
if (vm.HydroInfo != null)
|
{
|
this.hydroParterListCtrl1.SetBindingData(vm.HydroInfo);
|
}
|
}
|
|
|
|
}
|
}
|