作者 xudada

拉黑名单车辆打印日志

... ... @@ -118,6 +118,7 @@ public class LiftBar {
/**
* @Param info 卡口采集数据
* @Result 计算卡口采集数据并发送报文
* todo:有问题待解决,拉货进地磅重量<备案重量,出口送货出区过磅重量<进过磅重量
*/
public boolean liftBar(GatherInfo info) throws InterruptedException {
PropertyConfigurator.configure("config/log4j.properties");
... ... @@ -147,6 +148,7 @@ public class LiftBar {
return result;
}
if("Y".equals(ve.getVeState())){
logger.info(BLACKLIST+vaName);
sendBw(info,false,BLACKLIST + vaName,new LandBusinessTypeList(),listinfos);
return result;
}
... ... @@ -461,7 +463,7 @@ public class LiftBar {
flag = true;
} else {
CommandClient.Client(info, reason);
logger.info("=============>>>>>>>>重量异常报文发送成功<<<<<<<<<==============");
logger.info("=============>>>>>>>>"+reason+"<<<<<<<<<==============");
}
commandlog(info,check,reason,land,list_infos);
return flag;
... ...