Commit 5e0a766f authored by zhouleilei's avatar zhouleilei

解决相位关联灯组问题

parent a5415521
......@@ -97,7 +97,7 @@ public class ControlCommandServiceImpl implements ControlCommandService {
String extendResult = extendPost.selectSingleNode(HttpConstants.SYSTEMSCRIPTION_RESULT).getText();
if (HttpConstants.RESULT_1.equals(extendResult) || HttpConstants.RESULT_2.equals(extendResult)) {
return jsonViewObject.success("相位锁定/解锁 - 控制成功");
}else {
} else {
return jsonViewObject.fail("相位锁定/解锁 - 控制失败");
}
}
......@@ -211,7 +211,7 @@ public class ControlCommandServiceImpl implements ControlCommandService {
return jsonViewObject.fail("相位步进 - 控制失败");
}
}
return jsonViewObject.fail("相位步进 - 控制失败");
return jsonViewObject.success("相位步进 - 控制成功");
}
@Override
......
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