public AutoTester(Form1 F1, SysConfigure SC1) { MessageForm = F1; ConfigurePara = SC1; TCObj = new TestControler(F1, SC1); }
string ErrorCode = "0";// "0" : No Error public TestControler(Form1 f1, SysConfigure sc1) { MessageForm = f1; ConfigurePara = sc1; DUTObj = new DUT(); InstrumentObj = new Instrument(); }
public Calibrater(Form1 F1, SysConfigure CP1) { MessageForm = F1; ConfigurePara = CP1; TCObj = new TestControler(F1, CP1); }
public Form1() { ConfigureObj = new SysConfigure(); CalibrateObj = new Calibrater(this, ConfigureObj); TestObj = new AutoTester(this, ConfigureObj); InitializeComponent(); }
public SettingForm(SysConfigure SC1) { InitializeComponent(); ConfigData = SC1; ConfigData.GetConfigure(); ILB1_Text.Text = Convert.ToString(ConfigData.InsertLossB1); ILB8_Text.Text = Convert.ToString(ConfigData.InsertLossB8); Max_Text.Text = Convert.ToString(ConfigData.MaxLimit); Min_Text.Text = Convert.ToString(ConfigData.MinLimit); }