using HStation.Vmo; using Yw; namespace HStation.WinFrmUI { public partial class AssetsCompressorCurveQLViewDlg : DevExpress.XtraEditors.XtraForm { public AssetsCompressorCurveQLViewDlg() { InitializeComponent(); this.IconOptions.Icon = Yw.WinFrmUI.GlobalParas.AppIcon; } /// /// 绑定数据 /// public async void SetBindingData(long relationId) { var relation = await BLLFactory.Instance.GetByID(relationId); SetBindingData(relation); } /// /// 绑定数据 /// public async void SetBindingData(PhartDiagramRelationVmo relation) { var vmo = await BLLFactory.Instance.GetByID(relation.DiagramID); SetBindingData(vmo); } /// /// 绑定数据 /// public void SetBindingData(Yw.Vmo.PhartDiagramExGraphListVmo vmo) { this.universalChartViewCtrl1.SetBindingData(vmo); } } }