Commit 1d5b26ce authored by zhouleilei's avatar zhouleilei

海信-适配系统 步进控制-步进控制/恢复 功能

parent 04b3bf1c
...@@ -70,9 +70,9 @@ public class ControlCommandServiceImpl implements ControlCommandService { ...@@ -70,9 +70,9 @@ public class ControlCommandServiceImpl implements ControlCommandService {
messageContent.addElement(HttpConstants.COMMAND).setText(command + ""); messageContent.addElement(HttpConstants.COMMAND).setText(command + "");
//目前海信步进幅度只支持0 //目前海信步进幅度只支持0
messageContent.addElement(HttpConstants.CTRLSTEP).setText("0"); messageContent.addElement(HttpConstants.CTRLSTEP).setText("0");
if (command == 0) { if (stepNum == 0) {
//取消步进,防止瞎传stepNum //顺序步进,循环一次
stepNum = 0; stepNum = 1;
} }
JsonViewObject jsonViewObject = JsonViewObject.newInstance(); JsonViewObject jsonViewObject = JsonViewObject.newInstance();
//给海信发送http请求 //给海信发送http请求
...@@ -141,6 +141,7 @@ public class ControlCommandServiceImpl implements ControlCommandService { ...@@ -141,6 +141,7 @@ public class ControlCommandServiceImpl implements ControlCommandService {
@Override @Override
public JsonViewObject phaseTimingSend(PhaseTimingSendVO phaseTimingSendVO) throws Exception { public JsonViewObject phaseTimingSend(PhaseTimingSendVO phaseTimingSendVO) throws Exception {
//TODO 海信相位配时下发
return null; return null;
} }
......
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