1
2 天以前 7fb2fa2382a4de194c0e906a8b206f854a3de17f
src/main/java/com/zy/core/model/protocol/StaProtocol.java
@@ -24,6 +24,8 @@
    // 目标站
    private Short staNo;
    private String barcode;
    // ----------------------------------------------------------------
    // 自动
    private boolean autoing;
@@ -49,6 +51,9 @@
    // 低
    private boolean low;
    // 叠盘叠满
    private boolean full;
    // 锁定标记
    private boolean pakMk = true;
@@ -60,6 +65,10 @@
    //lfd入库印记  当stamp>=2时才入库
    private Integer stamp = 0;
    private boolean err = false;
    // 外形检测 ------------------------------------------------------------------------
@@ -113,6 +122,7 @@
        BasDevp basDevp = new BasDevp();
        basDevp.setDevNo(siteId);
        basDevp.setWrkNo(workNo.intValue());
        basDevp.setBarcode(barcode);
        basDevp.setAutoing(autoing?"Y":"N");
        basDevp.setLoading(loading?"Y":"N");
        basDevp.setInEnable(inEnable?"Y":"N");
@@ -122,6 +132,7 @@
        basDevp.setLocType3((short) 0);  // 轻重类型{0:未知,1:轻库位,2:重库位}
        basDevp.setLocType1(high != low && low ? (short) 1 : (short) 2);
        basDevp.setInQty(inQty !=null ?(int)inQty : 0);
        basDevp.setBarcode(this.getBarcode());
        return basDevp;
    }