Commit c94a60c3 authored by zhouleilei's avatar zhouleilei

行人优化更新;优化跳项

parent 275e5985
...@@ -252,14 +252,13 @@ public class ControlCommandServiceImpl implements ControlCommandService { ...@@ -252,14 +252,13 @@ public class ControlCommandServiceImpl implements ControlCommandService {
} }
messageContent.selectSingleNode(HttpConstants.COMMAND).setText("0"); messageContent.selectSingleNode(HttpConstants.COMMAND).setText("0");
System.out.println(document.asXML());
//取消步进 //取消步进
long s1 = System.currentTimeMillis(); long s1 = System.currentTimeMillis();
// boolean isOk = sendMesIsOk(document.asXML()); boolean isOk = sendMesIsOk(document.asXML());
long e1 = System.currentTimeMillis(); long e1 = System.currentTimeMillis();
log.info("取消 相位步进 耗时: {} ms", e1 - s1); log.info("取消 相位步进 耗时: {} ms", e1 - s1);
boolean isOk = true; // boolean isOk = true;
if (isOk) { if (isOk) {
return jsonViewObject.success("相位步进成功,,路口号: " + code); return jsonViewObject.success("相位步进成功,,路口号: " + code);
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment