Commit cf6517fe LN

自动启动循环测试模式增加配置

1 个父辈 b4fc74eb
...@@ -168,6 +168,7 @@ namespace TSA_V.Common ...@@ -168,6 +168,7 @@ namespace TSA_V.Common
public static string DisableSideCylinder = "DisableSideCylinder"; public static string DisableSideCylinder = "DisableSideCylinder";
public static string DisableBottomCylinder = "DisableBottomCylinder"; public static string DisableBottomCylinder = "DisableBottomCylinder";
public static string IsCycleDebug = "IsCycleDebug";
} }
} }
...@@ -299,11 +299,12 @@ namespace TSA_V ...@@ -299,11 +299,12 @@ namespace TSA_V
private void btnStartWorking_Click(object sender, EventArgs e) private void btnStartWorking_Click(object sender, EventArgs e)
{ {
LogUtil.info(Name + "点击:" + btnStartWorking.Text + ",自动启动循环测试模式"); bool isCy = ConfigAppSettings.GetBoolValue(Setting_Init.IsCycleDebug);
LogUtil.info(Name + "点击:" + btnStartWorking.Text + ",自动启动循环测试模式="+isCy);
btnStartWorking.Enabled = false; btnStartWorking.Enabled = false;
//开始工作 //开始工作
TSAVBean.StartWork(BoardManager.CurrBoard); TSAVBean.StartWork(BoardManager.CurrBoard);
WorkInfo.IsCycleDebug = true; WorkInfo.IsCycleDebug = isCy;
btnStartWorking.Enabled = true; btnStartWorking.Enabled = true;
} }
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!