Commit 823d2236 张东亮

自动跑位功能添加,未测试

1 个父辈 561a9965
文件属性发生变化
......@@ -102,7 +102,7 @@ namespace OnlineStore.ACSingleStore
private bool IsInit = false;
private BoxBean store = null;
public static readonly ILog LOGGER = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
public static readonly ILog LOGGER = LogManager.GetLogger("InOutStore");
MoveToStartPosStep moveToStartPosStep;
IniPositionStep iniPositionStep;
......@@ -146,12 +146,21 @@ namespace OnlineStore.ACSingleStore
/// <param name="e"></param>
private void btnStoreStart_Click(object sender, EventArgs e)
{
if (store.storeRunStatus >= StoreRunStatus.Wait)
{
LogUtil.info(store.Name + "点击:启用调试");
store.StartRun();
if (store.storeRunStatus >= StoreRunStatus.HomeMoving)
{
StoreOpenStatus(true);
}
}
else
{
LogUtil.info(store.Name + "点击:复位");
this.store.Reset();
}
}
private bool preOpen = false;
public void StoreOpenStatus(bool isOpen)
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!