add:增加固化室,输送线,涂板线驱动

This commit is contained in:
2023-12-26 16:54:16 +08:00
parent 94ba562819
commit d3a6222845
16 changed files with 1601 additions and 186 deletions

View File

@@ -178,15 +178,17 @@ public class AcsToWmsServiceImpl implements AcsToWmsService {
String requestNo = param.getString("requestNo");
log.info("notifyAcs - 请求参数 {}", param);
Integer type=param.getInteger("type");
String device_code = param.getString("device_code");
String state = param.getString("state");
switch(type) {
case 1:
//自动门反馈设备状态,将对应十个固化室工位的状态修改为传入状态
String device_code = param.getString("device_code");
String ghs_device_code="GHS"+device_code.substring(device_code.length()-2);
String state = param.getString("state");
pointMapper.updatePointStatus(ghs_device_code,state);
break;
case 2:
//实时反馈点位状态,空架输送线全部点位
pointMapper.updatePointStatus(device_code,state);
break;
default:
break;