固化室入库规则优化&下发任务type取指令状态
This commit is contained in:
@@ -82,14 +82,11 @@ public class NDCAgvServiceImpl implements NDCAgvService {
|
||||
DeviceAppService appService = SpringContextHolder.getBean(DeviceAppServiceImpl.class);
|
||||
DeviceService deviceService = SpringContextHolder.getBean(DeviceServiceImpl.class);
|
||||
int startAddress = deviceService.queryAddressBydeviceCode(inst.getStart_point_code());
|
||||
int nextAddress = 520;
|
||||
if(!inst.getInstruction_type().equals("3")){
|
||||
deviceService.queryAddressBydeviceCode(inst.getNext_point_code());
|
||||
}
|
||||
int nextAddress=deviceService.queryAddressBydeviceCode(inst.getNext_point_code());
|
||||
byte ikeyhigh = (byte) IntToHexHigh(Integer.parseInt(instcode));
|
||||
byte ikeylow = (byte) IntToHexLow(Integer.parseInt(instcode));
|
||||
byte typehigh = (byte) IntToHexHigh(1);
|
||||
byte typelow = (byte) IntToHexLow(1);
|
||||
byte typehigh = (byte) IntToHexHigh(Integer.parseInt(inst.getInstruction_type()));
|
||||
byte typelow = (byte) IntToHexLow(Integer.parseInt(inst.getInstruction_type()));
|
||||
byte qhdhigh = (byte) IntToHexHigh(startAddress);
|
||||
byte qhdlow = (byte) IntToHexLow(startAddress);
|
||||
byte fhdhigh = (byte) IntToHexHigh(nextAddress);
|
||||
|
||||
Reference in New Issue
Block a user