This commit is contained in:
张怡蓉
2025-12-04 09:48:59 +08:00
parent bd77c1e2b4
commit 99d62be9be
2 changed files with 2 additions and 1 deletions

View File

@@ -51,6 +51,7 @@ public class PlcSsjRead implements Runnable {
public void run() {
while (isRun) {
try {
//todo 要读重量
/*if (IsConnect()) {
int step = 20;
int baseOffset = 0;

View File

@@ -125,7 +125,7 @@ public class SsjThread implements Runnable {
void inDispatch1(DeviceSsj deviceSsj) {
if (deviceSsj.getDw() == 1 && StrUtil.isNotBlank(deviceSsj.getTrayCode())) {
//todo 查是否为入库模式,不是退回
//todo 查是否为入库模式,不是退回,是否超重
HashMap<String, Object> map = new HashMap<>();
map.put("trayCode", deviceSsj.getTrayCode());
//拉取