rev 更新宽度

This commit is contained in:
USER-20220102CG\noblelift
2024-04-17 15:28:32 +08:00
parent 7ddef1a680
commit ff27c33786
3 changed files with 5 additions and 5 deletions

View File

@@ -64,7 +64,7 @@ public class ItemProtocol {
/**
*木箱宽度
*/
public static String item_to_weight = "to_weight";
public static String item_to_weight = "to_width";
/**
*木箱高度
*/

View File

@@ -12,7 +12,7 @@ public class InteractionJsonDTO {
/**
*木箱宽度
*/
private String weight;
private String width;
/**
*木箱高度
*/

View File

@@ -454,9 +454,9 @@ public class ReturnGoodManipulatorDeviceDriver extends AbstractOpcDeviceDriver i
map4.put("value", task);
list.add(map4);
if (ObjectUtil.isNotEmpty(interactionJsonDTO)) {
if (ObjectUtil.isNotEmpty(interactionJsonDTO.getWeight())) {
map5.put("code", "to_weight");
map5.put("value", interactionJsonDTO.getWeight());
if (ObjectUtil.isNotEmpty(interactionJsonDTO.getWidth())) {
map5.put("code", "to_width");
map5.put("value", interactionJsonDTO.getWidth());
list.add(map5);
}
if (ObjectUtil.isNotEmpty(interactionJsonDTO.getLength())) {