Commit 968f557a authored by duanruiming's avatar duanruiming

[update] 行人灯位置优化

parent c2efea8a
...@@ -334,8 +334,9 @@ public class CrossConfigServiceImpl implements CrossConfigService { ...@@ -334,8 +334,9 @@ public class CrossConfigServiceImpl implements CrossConfigService {
} }
// 灯组放行方向 转化为灯组方向 // 灯组放行方向 转化为灯组方向
Integer laneDir = crossLightsPO.getDir(); Integer laneDir = crossLightsPO.getDir();
Integer dir = CrossLisghtsLaneDirEnum.getLightsDirByLaneDir(laneDir); Integer dir = null;
if (type < 20 || type >= 30) { // 非行人灯 if (type < 20 || type >= 30) { // 非行人灯
dir = CrossLisghtsLaneDirEnum.getLightsDirByLaneDir(laneDir);
String address = LightsAddressEnum.getMsgByCode(dir); String address = LightsAddressEnum.getMsgByCode(dir);
ledConfigListElement.setAddress(address); ledConfigListElement.setAddress(address);
} else if (type == 20) { // 一次过街 } else if (type == 20) { // 一次过街
......
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