fix:分切添加满轴位
This commit is contained in:
@@ -954,8 +954,8 @@ public class OvenGantryManipulatorDeviceDriver extends AbstractOpcDeviceDriver i
|
||||
if (StrUtil.isNotEmpty(taskDto.getOven_time())) {
|
||||
//下发烘箱时间
|
||||
int time = Integer.parseInt(taskDto.getOven_time());
|
||||
int hours = (time % (60 * 60 * 24)) / (60 * 60);
|
||||
int minutes = (time % (60 * 60)) / 60;
|
||||
int hours = (time / (60 * 60)); // 整数小时
|
||||
int minutes = (time % (60 * 60)) / 60; // 剩余分钟
|
||||
map.put("to_time_house", String.valueOf(hours));
|
||||
map.put("to_time_min", String.valueOf(minutes));
|
||||
hongXiangConveyorDeviceDriver.writing(map);
|
||||
|
||||
@@ -78,7 +78,7 @@ public class SlitterUpAGVTask extends AbstractTask {
|
||||
// 四点任务
|
||||
task.setPoint_code1(deviceCode);
|
||||
task.setPoint_code2(cutPoint.getFull_point_code());
|
||||
task.setPoint_code3(cutPoint.getFull_point_code());
|
||||
task.setPoint_code3(cutPoint.getEmpty_point_code());
|
||||
task.setPoint_code4(sjgPoint.getPoint_code());
|
||||
}
|
||||
// 创建任务
|
||||
|
||||
Reference in New Issue
Block a user