Commit 33c5e048 authored by duanruiming's avatar duanruiming

[update] 下发方案

parent 94aab27d
...@@ -42,6 +42,12 @@ public class DTControlCommandServiceImpl implements ControlCommandService { ...@@ -42,6 +42,12 @@ public class DTControlCommandServiceImpl implements ControlCommandService {
return BaseEnum.VendorTypeEnum.DT.getNick(); return BaseEnum.VendorTypeEnum.DT.getNick();
} }
/**
* 东土相位灯组固定,万集下发相位就是下发东土阶段关联相位关系,
* @param schemeSendVO
* @return
* @throws Exception
*/
@Override @Override
public JsonViewObject schemeSend(SchemeSendVO schemeSendVO) throws Exception { public JsonViewObject schemeSend(SchemeSendVO schemeSendVO) throws Exception {
try { try {
...@@ -144,6 +150,11 @@ public class DTControlCommandServiceImpl implements ControlCommandService { ...@@ -144,6 +150,11 @@ public class DTControlCommandServiceImpl implements ControlCommandService {
return StringUtils.leftPad(sb.toString(), 32, "0"); return StringUtils.leftPad(sb.toString(), 32, "0");
} }
/**
* 下发阶段,相位灯组固定,阶段内关联相位,相位1就是北左转
* @param crossInfoPO
* @param schemeVOList
*/
private void setPhaseStageInfo(CrossInfoPO crossInfoPO, List<SchemeSendVO.Pattern> schemeVOList) { private void setPhaseStageInfo(CrossInfoPO crossInfoPO, List<SchemeSendVO.Pattern> schemeVOList) {
StringBuffer sb = new StringBuffer(); StringBuffer sb = new StringBuffer();
int phaseStageSize = 0; int phaseStageSize = 0;
......
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