68 lines
2.8 KiB
C#
68 lines
2.8 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Data;
|
|
using System.Drawing;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Windows.Forms;
|
|
|
|
namespace NGToolsPC
|
|
{
|
|
public partial class frmZjcs : Form
|
|
{
|
|
public frmZjcs()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
public NG_Tools.NG_Cal.FlowParStruct flPar = new NG_Tools.NG_Cal.FlowParStruct();
|
|
public NG_Tools.NG_Cal.GasPropsSTRUCT gasPar = new NG_Tools.NG_Cal.GasPropsSTRUCT();
|
|
private void frmZjcs_Load(object sender, EventArgs e)
|
|
{
|
|
textBox1.Text = gasPar.dKappa.ToString("0.#####");
|
|
TextBox11.Text = flPar.dVFlowf.ToString("0.#####");
|
|
TextBox12.Text = flPar.dVFlowb.ToString("0.#####");
|
|
TextBox13.Text= flPar.dMFlowb.ToString("0.#####");
|
|
TextBox14.Text = flPar.dEFlowb .ToString("0.#####");
|
|
|
|
TextBox15.Text = flPar.dOrificeD.ToString("0.#####");
|
|
TextBox16.Text = flPar.dPipeD.ToString("0.#####");
|
|
TextBox17.Text = flPar.dBeta.ToString("0.#####");
|
|
//TextBox18.Text =
|
|
TextBox19.Text = gasPar.dRD_Real.ToString("0.#####");
|
|
TextBox20.Text = flPar.dFG.ToString("0.#####");
|
|
TextBox21.Text = gasPar.dRhob.ToString("0.#####");
|
|
TextBox22.Text = gasPar.dRhof.ToString("0.#####");
|
|
TextBox23.Text = gasPar.dZb.ToString("0.#####");
|
|
TextBox24.Text = gasPar.dZf.ToString("0.#####");
|
|
TextBox25.Text = gasPar.dFpv.ToString("0.#####");
|
|
TextBox26.Text = flPar.dE.ToString("0.#####");
|
|
TextBox27.Text = flPar.dFT.ToString("0.#####");
|
|
TextBox28.Text = flPar.dDExpCoefficient.ToString("0.#####");
|
|
TextBox29.Text = flPar.dDViscosity.ToString("0.#####");
|
|
TextBox30.Text = flPar.dKappa.ToString("0.#####");
|
|
TextBox31.Text = flPar.dCd.ToString("0.#####");
|
|
TextBox32.Text = flPar.dRnPipe.ToString("0.##");
|
|
TextBox33.Text = flPar.dVelocityFlow.ToString("0.###");
|
|
TextBox34.Text = flPar.dPressLost.ToString("0.#####");
|
|
|
|
TextBox36.Text = gasPar.dHhvv.ToString("0.####");
|
|
TextBox37.Text = gasPar.dLhvv.ToString("0.####");
|
|
textBox43.Text = gasPar.dHhvMol.ToString("0.####");
|
|
textBox44.Text = gasPar.dLhvMol.ToString("0.####");
|
|
textBox45.Text = gasPar.dHhvm.ToString("0.####");
|
|
textBox46.Text = gasPar.dLhvm.ToString("0.####");
|
|
textBox47.Text = gasPar.dWobbeIndex.ToString("0.####");
|
|
textBox48.Text = gasPar.dZb11062.ToString("0.#####");
|
|
textBox49.Text = gasPar.dMrx.ToString("0.#####");
|
|
|
|
}
|
|
|
|
private void button1_Click(object sender, EventArgs e)
|
|
{
|
|
this.Close();
|
|
}
|
|
}
|
|
}
|