|  |  |  | 
|---|
|  |  |  | import com.zy.core.model.command.LedCommand; | 
|---|
|  |  |  | import lombok.Data; | 
|---|
|  |  |  | import lombok.extern.slf4j.Slf4j; | 
|---|
|  |  |  | import onbon.bx05.Bx5GEnv; | 
|---|
|  |  |  | import onbon.bx05.Bx5GScreenClient; | 
|---|
|  |  |  | import onbon.bx05.area.TextCaptionBxArea; | 
|---|
|  |  |  | import onbon.bx05.area.page.TextBxPage; | 
|---|
|  |  |  | import onbon.bx05.file.ProgramBxFile; | 
|---|
|  |  |  | import onbon.bx05.utils.DisplayStyleFactory; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import java.awt.*; | 
|---|
|  |  |  | import java.util.HashSet; | 
|---|
|  |  |  | import java.util.List; | 
|---|
|  |  |  | import java.util.Set; | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | private Slave slave; | 
|---|
|  |  |  | private Set<Integer> workNos = new HashSet<>(); | 
|---|
|  |  |  | private Bx5GScreenClient screen; | 
|---|
|  |  |  | ProgramBxFile pf; | 
|---|
|  |  |  | TextCaptionBxArea area; | 
|---|
|  |  |  | DisplayStyleFactory.DisplayStyle[] styles = DisplayStyleFactory.getStyles().toArray(new DisplayStyleFactory.DisplayStyle[0]); | 
|---|
|  |  |  | private boolean ledMk = false; | 
|---|
|  |  |  | private boolean resetStatus = false;    // 复位状态 | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | if (!command.isEmptyMk()) { | 
|---|
|  |  |  | for (MatDto matDto : command.getMatDtos()) { | 
|---|
|  |  |  | sb.append("物料编码:").append(matDto.getMatnr()).append("\n"); | 
|---|
|  |  |  | sb.append("名称:").append(matDto.getMaknx()).append("\n"); | 
|---|
|  |  |  | sb.append("数量:").append(matDto.getCount()).append("\n"); | 
|---|
|  |  |  | sb.append("规格:").append(matDto.getSpecs()).append("\n"); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | sb.append("\n"); | 
|---|