自动化立体仓库 - WCS系统
#
luxiaotao1123
2020-08-14 d09206a5ed559999f3d191df5732fe0ac0c1383c
src/main/java/com/zy/core/thread/DevpThread.java
@@ -133,7 +133,7 @@
    @Override
    public void close() {
        siemensS7Net.ConnectClose();
    }
    public static void main(String[] args) {
@@ -143,10 +143,11 @@
        devpThread.read();
        // 写
        StaProtocol staProtocol = devpThread.getStation().get(1);
        staProtocol.setWorkNo((short) 9999);
        staProtocol.setStaNo((short) 100);
        staProtocol.setAutoing(false);
        staProtocol.setEmptyMk(false);
        staProtocol.setWorkNo((short) 888);
        staProtocol.setStaNo((short) 1001);
        staProtocol.setAutoing(true);
        staProtocol.setEmptyMk(true);
        staProtocol.setInEnable(true);
        devpThread.write(staProtocol);
        System.out.println("----------------------------------------");
        // 读