fix:分切行架任务点位修正

This commit is contained in:
zhouz
2024-05-31 16:14:27 +08:00
parent 588cbc7767
commit cf451f52c9

View File

@@ -427,13 +427,13 @@ public class SlitterServiceImpl implements SlitterService {
switch (binaryExpress) {
case "00":
// 下单上单
taskParam.put("point_code1", currentUpPlan != null
taskParam.put("point_code1", nextUpPlan != null
? newCutPoint.getTruss_point_code1() : newCutPoint.getTruss_point_code2());
taskParam.put("point_code2", nextUpPlan != null
? device.getUp_point_code() : device.getDown_point_code());
taskParam.put("point_code2", currentUpPlan != null
? newCutPoint.getTruss_point_code2() : newCutPoint.getTruss_point_code1());
taskParam.put("point_code3", nextUpPlan != null
taskParam.put("point_code3", currentUpPlan != null
? device.getUp_point_code() : device.getDown_point_code());
taskParam.put("point_code4", nextUpPlan != null
taskParam.put("point_code4", currentUpPlan != null
? newCutPoint.getTruss_point_code1() : newCutPoint.getTruss_point_code2());
taskParam.put("truss_type", "1");
taskParam.put("empty_site", "0");