|
|
|
@ -212,9 +212,39 @@ namespace Rs.MotionPlat.SysConfig
|
|
|
|
|
|
|
|
|
|
private void cboxFixture_CheckedChanged(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
int num = 0;
|
|
|
|
|
CheckBox cbox = (CheckBox)sender;
|
|
|
|
|
SysConfigParam.Update(cbox.Name.Replace("cbox", ""), cbox.Checked.ToString());
|
|
|
|
|
TestFixtureManager.Instance.GetTestFixture(int.Parse(cbox.Text.Replace("TC", "").ToString())).Enable = cbox.Checked;
|
|
|
|
|
if(cboxEnableTC1.Checked)
|
|
|
|
|
{
|
|
|
|
|
num++;
|
|
|
|
|
}
|
|
|
|
|
if (cboxEnableTC2.Checked)
|
|
|
|
|
{
|
|
|
|
|
num++;
|
|
|
|
|
}
|
|
|
|
|
if (cboxEnableTC3.Checked)
|
|
|
|
|
{
|
|
|
|
|
num++;
|
|
|
|
|
}
|
|
|
|
|
if (cboxEnableTC4.Checked)
|
|
|
|
|
{
|
|
|
|
|
num++;
|
|
|
|
|
}
|
|
|
|
|
if (cboxEnableTC5.Checked)
|
|
|
|
|
{
|
|
|
|
|
num++;
|
|
|
|
|
}
|
|
|
|
|
if (cboxEnableTC6.Checked)
|
|
|
|
|
{
|
|
|
|
|
num++;
|
|
|
|
|
}
|
|
|
|
|
if(num==1)
|
|
|
|
|
{
|
|
|
|
|
SysConfigParam.Update("TestMethod", "A");
|
|
|
|
|
SysConfigParam.Init();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|