小车
This commit is contained in:
@@ -51,6 +51,7 @@ public class PlcSsjRead implements Runnable {
|
|||||||
public void run() {
|
public void run() {
|
||||||
while (isRun) {
|
while (isRun) {
|
||||||
try {
|
try {
|
||||||
|
//todo 要读重量
|
||||||
/*if (IsConnect()) {
|
/*if (IsConnect()) {
|
||||||
int step = 20;
|
int step = 20;
|
||||||
int baseOffset = 0;
|
int baseOffset = 0;
|
||||||
|
|||||||
@@ -125,7 +125,7 @@ public class SsjThread implements Runnable {
|
|||||||
|
|
||||||
void inDispatch1(DeviceSsj deviceSsj) {
|
void inDispatch1(DeviceSsj deviceSsj) {
|
||||||
if (deviceSsj.getDw() == 1 && StrUtil.isNotBlank(deviceSsj.getTrayCode())) {
|
if (deviceSsj.getDw() == 1 && StrUtil.isNotBlank(deviceSsj.getTrayCode())) {
|
||||||
//todo 查是否为入库模式,不是退回
|
//todo 查是否为入库模式,不是退回,是否超重
|
||||||
HashMap<String, Object> map = new HashMap<>();
|
HashMap<String, Object> map = new HashMap<>();
|
||||||
map.put("trayCode", deviceSsj.getTrayCode());
|
map.put("trayCode", deviceSsj.getTrayCode());
|
||||||
//拉取
|
//拉取
|
||||||
|
|||||||
Reference in New Issue
Block a user