Commit 15c3d0ce 张东亮

关闭节卡库

1 个父辈 e7b8685b
...@@ -50,7 +50,7 @@ namespace OnlineStore.DeviceLibrary ...@@ -50,7 +50,7 @@ namespace OnlineStore.DeviceLibrary
string[] recv = bean.RobotData.RecvMsg.Split(';'); string[] recv = bean.RobotData.RecvMsg.Split(';');
if (GetCurCmd().Equals(cmd) && recv != null && recv.Length == 2 if (GetCurCmd().Equals(cmd) && recv != null && recv.Length == 2
&& recv[0].Equals(cmd) && recv[1].Equals(JakaCmd.MoveDone) && recv[0].Equals(cmd) && recv[1].Equals(JakaCmd.MoveDone)
&& (bean.RobotData.RobotStatus.inpos == 1)) )//&& (bean.RobotData.RobotStatus.inpos == 1)
{ {
LogUtil.info($"RobotMoveEnd:【{cmd}】"); LogUtil.info($"RobotMoveEnd:【{cmd}】");
return true; return true;
......
...@@ -18,6 +18,7 @@ namespace JAKA ...@@ -18,6 +18,7 @@ namespace JAKA
// InfoLog($"CreateHandler OK"); // InfoLog($"CreateHandler OK");
// SetErrorHandler(); // SetErrorHandler();
// SetErrorCodeFilePath(Application.StartupPath+ @"\jaka_files\JAKA_ERROR_CODE.csv"); // SetErrorCodeFilePath(Application.StartupPath+ @"\jaka_files\JAKA_ERROR_CODE.csv");
//SetStatusDataUpdateTimeInterval(100);
// return true; // return true;
//} //}
//else //else
......
...@@ -28,7 +28,6 @@ namespace JAKA ...@@ -28,7 +28,6 @@ namespace JAKA
try try
{ {
initok = CreateHandler(robotIp); initok = CreateHandler(robotIp);
SetStatusDataUpdateTimeInterval(100);
} }
catch (Exception ex) catch (Exception ex)
{ {
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!