#1
dubin
8 天以前 97c788f31a57b4e8c3fc8091dc29aab598adeebb
src/main/java/com/zy/core/thread/LedThread.java
@@ -122,7 +122,7 @@
            if (!command.isEmptyMk()) {
                for (MatDto matDto : command.getMatDtos()) {
                    //去掉小数点
                    String strQty = matDto.getCount().toString();
                    String strQty = matDto.getAnfme().toString();
                    int idx = strQty.lastIndexOf(".");
                    if(idx >= 0){
                        strQty.substring(0,idx);
@@ -205,7 +205,7 @@
    private void write7(List<LedCommand> list) {
        commandList = list;
        this.ledMk = false;
        StringBuilder sb = new StringBuilder();
        for (LedCommand command : list) {
            sb.append(command.getTitle()).append("(").append(command.getWorkNo()).append(")").append("\n");
@@ -214,7 +214,7 @@
            if (!command.isEmptyMk()) {
                for (MatDto matDto : command.getMatDtos()) {
                    sb.append("物料编码:").append(matDto.getMatnr()).append("\n");
                    sb.append("数量:").append(matDto.getCount()).append("\n");
                    sb.append("数量:").append(matDto.getAnfme()).append("\n");
                    sb.append("规格:").append(matDto.getSpecs()).append("\n");
                }
            }
@@ -237,6 +237,7 @@
    private void error(String msg) {
        errorMsg.delete(0, errorMsg.length());
        errorMsg.append(msg);
        this.ledMk = false;
    }
    public void errorReset() {