duheng
2024-12-11 2e8e85f65748ee5a5adf0dcda864aa4167cbf2ef
WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/11-pump/03-analy/SimulationPumpAnalyChartCtrl.cs
@@ -82,6 +82,8 @@
        public void SetBindingData(PumpRunViewViewModel vm)
        {
            this.pumpRunViewChart1.SetBindingData(vm);
            this.barCheckE.Checked = this.pumpRunViewChart1.QEVisible;
            this.barCheckP.Checked = this.pumpRunViewChart1.QPVisble;
            if (vm != null && vm.Items != null)
            {
                var item = vm.Items.FirstOrDefault();
@@ -327,13 +329,13 @@
        //效率线
        private void barCheckE_CheckedChanged(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            //this.pumpRunViewChart1.SetEQVisible
            this.pumpRunViewChart1.QEVisible = this.barCheckE.Checked;
        }
        //功率线
        private void barCheckP_CheckedChanged(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            this.pumpRunViewChart1.QPVisble = this.barCheckP.Checked;
        }
        //设置坐标轴