opt: 与ACS通信与数据返回处理

This commit is contained in:
2023-07-30 15:42:52 +08:00
parent 0486f40aca
commit d5d20f04ef
20 changed files with 299 additions and 75 deletions

View File

@@ -208,4 +208,28 @@ public class PointCreate {
}
pointService.saveBatch(pointList);
}
@Test
void test07() { // 码垛机械手
// 创建YJ01JLW01
List<SchBasePoint> pointList = new ArrayList<>();
for (int i = 1; i <= 8; i++) {
String pointName = "压制不合格位0";
String pointCode = "YZBHGW0";
String papointCode = "YJ0";
pointName = pointName + i;
pointCode = pointCode + i;
papointCode = papointCode + i;
SchBasePoint point = new SchBasePoint();
point.setPoint_code(pointCode);
point.setPoint_name(pointName);
point.setRegion_code("YZ");
point.setRegion_name("压制区域");
point.setPoint_type("3");
point.setParent_point_code(papointCode);
point.setIs_has_workder(false);
point.setIs_auto(false);
pointList.add(point);
}
pointService.saveBatch(pointList);
}
}