duheng
2025-03-31 be65218617cab71a90a9a05cf488fbb6e206b5c5
WinFrmUI/PBS.WinFrmUI.DataAnalysis/Form/SetPressForm.cs
@@ -12,16 +12,19 @@
{
    public partial class SetPressForm : Form
    {
        public double Press { get; set; } = 50;
        public double Press { get; set; } = 0.6;
        public double Efficiency { get; set; } = 75;
        public SetPressForm()
        {
            InitializeComponent();
            textEdit1.Text = Press.ToString();
            textEdit2.Text = Efficiency.ToString();
        }
        private void simpleButton1_Click(object sender, EventArgs e)
        {
            Press = double.Parse(textEdit1.Text);
            Efficiency = double.Parse(textEdit2.Text);
            DialogResult = DialogResult.OK;
            this.Close();
        }