Commit 7a9f2418 几米阳光

机器人修改

1 个父辈 447e2211
......@@ -194,6 +194,7 @@ namespace URSoldering.Common
public void sendLine(string strSendData)
{
LogUtil.info(LOGGER, LogName + "发送数据:" + strSendData);
LogUtil.URLInfo(LogName + "发送数据:" + strSendData);
strSendData = strSendData + "\r\n";
byte[] sendBuffer = new byte[DefaultDataLength];
sendBuffer = Encoding.UTF8.GetBytes(strSendData);
......
......@@ -69,6 +69,7 @@ namespace URSoldering.DeviceLibrary
if (LastMoveCMD.Equals("").Equals(false))
{
listenClient.sendLine(LastMoveCMD);
LastMoveCMD = "";
}
StopListen();
try
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!