| | |
| | | this.IconOptions.Icon = Yw.WinFrmUI.GlobalParas.AppIcon; |
| | | } |
| | | |
| | | public async void SetBingingData(long MainID) |
| | | { |
| | | var curveList = await new BLL.AssetsCompressorCoefficient().GetByMainID(MainID); |
| | | if (curveList != null && curveList.Count > 0) |
| | | { |
| | | InitChart(curveList.First().MinorLossCurve); |
| | | } |
| | | } |
| | | |
| | | /* //初始化图表数据 |
| | | public void InitChart(Vmo.XhsCompressorMainPhartMappingExtensions dto) |
| | | { |
| | |
| | | { |
| | | this.xtrPerform2dchart1.SetBindingData(curveStr, null); |
| | | |
| | | this.xtrPerform2dchart1.SetAxisTitle("阀门开度", "损失系数"); |
| | | this.xtrPerform2dchart1.SetAxisTitle("流量m³/h", "容积m³"); |
| | | } |
| | | } |
| | | } |