自动化立体仓库 - WCS系统
#
luxiaotao1123
2020-08-15 5769bdadc879fa93523be0e95ffc8d5ee9ba1e01
src/main/java/com/zy/core/thread/DevpThread.java
@@ -56,7 +56,7 @@
                    default:
                        break;
                }
                Thread.sleep(500);
                Thread.sleep(400);
            } catch (Exception e) {
                e.printStackTrace();
            }
@@ -143,9 +143,9 @@
        devpThread.read();
        // 写
        StaProtocol staProtocol = devpThread.getStation().get(1);
        staProtocol.setWorkNo((short) 888);
        staProtocol.setStaNo((short) 1001);
        staProtocol.setAutoing(true);
        staProtocol.setWorkNo((short) 222);
        staProtocol.setStaNo((short) 2);
        staProtocol.setAutoing(false);
        staProtocol.setEmptyMk(true);
        staProtocol.setInEnable(true);
        devpThread.write(staProtocol);