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(); }