Commit 18052482 authored by duanruiming's avatar duanruiming

[add] 易华录添加相位倒计时字段

parent ca530bc3
......@@ -294,6 +294,7 @@ public class SignalStatusServiceImpl implements SignalStatusService {
lightsStatusVO.setPhasePlanId(currentPhaseId);
lightsStatusVO.setPhaseId(currentPhaseId);
lightsStatusVO.setCycleCountDown(curCycleCountDown);
lightsStatusVO.setCyclePhaseCountDown(curCycleCountDown);
SignalDataCache.runningStateInfoCache.put(crossId, lightsStatusVO);
log.error("当前路口灯态:{}", lightsStatusVO);
}
......@@ -302,18 +303,6 @@ public class SignalStatusServiceImpl implements SignalStatusService {
}
}
private static String setManufacturerCode(String from, String source) {
String manufacturerCode = BaseEnum.VendorTypeEnum.HS.getNick();
if (StringUtils.isNotBlank(from) || StringUtils.isNotBlank(source)) {
if (StringUtils.equalsIgnoreCase("yhl", from) || StringUtils.equalsIgnoreCase("1041", source)) {
manufacturerCode = BaseEnum.VendorTypeEnum.EHUALU.getNick();
} else if (StringUtils.equalsIgnoreCase("hx", from) || StringUtils.equalsIgnoreCase("1051", source)) {
manufacturerCode = BaseEnum.VendorTypeEnum.HS.getNick();
}
}
return manufacturerCode;
}
private static void pushOtherCompany(Object hisenseLightStatusPojos, ObjectMapper jackson,
String shensiUrl, String baiduUrl, String yiGouUrl, String type) {
try {
......
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