*
lsh
2 天以前 23b4e7942a8524ed1e89d93c55a470f0dc263d5a
src/main/java/com/zy/core/thread/SiemensDevpThread.java
@@ -43,8 +43,6 @@
    private DevpSlave slave;
    private SiemensS7Net siemensS7Net;
    private Map<Integer, StaProtocol> station = new ConcurrentHashMap<>();
    public boolean charge0;     //请求充电
    public boolean charge1;     //请求充电
    private short heartBeatVal = 1;
    private boolean result = false;
    public static final ArrayList<Integer> staNos1 = new ArrayList<Integer>() {{
@@ -56,24 +54,6 @@
        add(121);add(122);add(123);add(124);add(125);add(126);add(127);add(128);add(129);add(130);
        add(131);add(132);add(133);
    }};
    /**
     * 条码数量
     */
    private int barcodeSize = 5;
    /**
     * 入出库模式
     * 0:未知
     * 1:入库启动中
     * 2.入库模式
     * 3.出库启动中 (不能生成入库工作档)
     * 4.出库模式
     */
    public IoModeType ioModeOf2F = IoModeType.NONE;
//    public IoModeType ioMode = IoModeType.NONE;
    public IoModeType ioModeOf4F = IoModeType.NONE;
//    public IoModeType ioMode = IoModeType.NONE;
    public SiemensDevpThread(DevpSlave slave) {
        this.slave = slave;
@@ -158,7 +138,7 @@
                    staProtocol.setSiteId(siteId);
                    station.put(siteId, staProtocol);
                }
                staProtocol.setWorkNo(siemensS7Net.getByteTransform().TransUInt32(result.Content, i*8));     // 工作号
                staProtocol.setWorkNo(siemensS7Net.getByteTransform().TransUInt32(result.Content, i*4));     // 工作号
            }
        }