opt: 与ACS通信与数据返回处理
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user