#
luxiaotao1123
2020-09-01 44d19a04e3faa34cdcaefe5a68606a80af696a7f
src/main/java/com/zy/core/cache/MessageQueue.java
@@ -112,4 +112,26 @@
        }
    }
    public static void clear(SlaveType type, Integer id){
        switch (type) {
            case Crn:
                CRN_EXCHANGE.get(id).clear();
                break;
            case Devp:
                DEVP_EXCHANGE.get(id).clear();
                break;
            case Barcode:
                BARCODE_EXCHANGE.get(id).clear();
                break;
            case Led:
                LED_EXCHANGE.get(id).clear();
                break;
            case Scale:
                SCALE_EXCHANGE.get(id).clear();
                break;
            default:
                break;
        }
    }
}