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