自动化立体仓库 - WCS系统
#
lsh
2024-01-12 3d9d870ef185961c598943ea45ea71b66f299511
src/main/java/com/zy/core/thread/SiemensDevpThread.java
@@ -63,16 +63,15 @@
        add(200);add(201);add(202);add(203);
        add(204);add(205);add(206);add(207);
        add(208);add(209);add(210);add(211);
        add(212);
        add(213);add(214);add(215);add(216);
        add(217);add(218);add(219);add(220);
        add(221);add(222);add(2000);
        add(212);add(213);add(214);add(215);
        add(216);add(217);add(218);add(219);
        add(220);add(221);add(222);add(2000);
    }};
    /**
     * 条码数量
     */
    private int barcodeSize = 1;
    private int barcodeSize = 3;
    /**
     * 入出库模式
@@ -237,7 +236,7 @@
        //条码扫描器
        Thread.sleep(200);
        OperateResultExOne<byte[]> result2 = siemensS7Net.Read("DB101.102",(short)(barcodeSize*10));
        OperateResultExOne<byte[]> result2 = siemensS7Net.Read("DB101.288",(short)(barcodeSize*10));
        if (result2.IsSuccess) {
            for (int i = 0; i < barcodeSize; i++) {
                String barcode = siemensS7Net.getByteTransform().TransString(result2.Content,i*10,6, "UTF-8");