This commit is contained in:
2023-02-05 13:59:38 +08:00
parent 8676869018
commit 861685e2cd
7 changed files with 24 additions and 19 deletions

View File

@@ -183,7 +183,7 @@ public class NDCAgvServiceImpl implements NDCAgvService {
} else {
String instcode = inst.getInstruction_code();
int type = Integer.parseInt(inst.getInstruction_type());
int type = Integer.parseInt(inst.getAgv_inst_type());
int priority = Integer.parseInt(inst.getPriority()) + 128;
DeviceAppService appService = SpringContextHolder.getBean(DeviceAppServiceImpl.class);
DeviceService deviceService = SpringContextHolder.getBean(DeviceServiceImpl.class);

View File

@@ -312,10 +312,11 @@ public class AgvNdcOneDeviceDriver extends AbstractDeviceDriver implements Devic
// standardOrdinarySiteDeviceDriver.setAgvphase(phase);
// standardOrdinarySiteDeviceDriver.setIndex(index);
// standardOrdinarySiteDeviceDriver.setInst(inst);
//if (standardInspectSiteDeviceDriver.getMove() > 0) {
data = NDCAgvService.sendAgvOneModeInst(phase, index, 0);
//}
standardInspectSiteDeviceDriver.writing(5);
if (standardInspectSiteDeviceDriver.getMove() > 0) {
data = NDCAgvService.sendAgvOneModeInst(phase, index, 0);
}
}
}

View File

@@ -181,7 +181,7 @@ public class AutoCreateInst {
instdto.setAgv_inst_type("3");
}
} else {
instdto.setAgv_inst_type("4");
instdto.setAgv_inst_type("1");
}
try {

View File

@@ -6,7 +6,7 @@ spring:
druid:
db-type: com.alibaba.druid.pool.DruidDataSource
driverClassName: net.sf.log4jdbc.sql.jdbcapi.DriverSpy
url: jdbc:log4jdbc:mysql://${DB_HOST:127.0.0.1}:${DB_PORT:3306}/${DB_NAME:lzhl}?serverTimezone=Asia/Shanghai&characterEncoding=utf8&useSSL=false&useOldAliasMetadataBehavior=true
url: jdbc:log4jdbc:mysql://${DB_HOST:127.0.0.1}:${DB_PORT:3306}/${DB_NAME:ACS}?serverTimezone=Asia/Shanghai&characterEncoding=utf8&useSSL=false&useOldAliasMetadataBehavior=true
username: ${DB_USER:root}
password: ${DB_PWD:123456}
# 初始连接数

View File

@@ -2,7 +2,7 @@ spring:
freemarker:
check-template-location: false
profiles:
active: dev
active: prod
jackson:
time-zone: GMT+8
data: