|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.alibaba.fastjson.JSON; | 
|---|
|  |  |  | import com.core.common.Cools; | 
|---|
|  |  |  | import com.core.common.SpringUtils; | 
|---|
|  |  |  | import com.zy.asrs.entity.CommandInfo; | 
|---|
|  |  |  | import com.zy.asrs.service.CommandInfoService; | 
|---|
|  |  |  | import com.zy.common.entity.Parameter; | 
|---|
|  |  |  | import com.zy.common.model.MatDto; | 
|---|
|  |  |  | import com.zy.core.Slave; | 
|---|
|  |  |  | 
|---|
|  |  |  | import onbon.bx05.utils.DisplayStyleFactory; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import java.awt.*; | 
|---|
|  |  |  | import java.util.Date; | 
|---|
|  |  |  | import java.util.HashSet; | 
|---|
|  |  |  | import java.util.List; | 
|---|
|  |  |  | import java.util.Set; | 
|---|
|  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | page.newLine("\n"); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | CommandInfoService commandInfoService = SpringUtils.getBean(CommandInfoService.class); | 
|---|
|  |  |  | CommandInfo commandInfo = new CommandInfo(); | 
|---|
|  |  |  | commandInfo.setWrkNo(command.getWorkNo()); | 
|---|
|  |  |  | commandInfo.setCommandStatus(1); | 
|---|
|  |  |  | commandInfo.setStartTime(new Date()); | 
|---|
|  |  |  | commandInfo.setDevice("led"); | 
|---|
|  |  |  | commandInfo.setCommand(JSON.toJSONString(command)); | 
|---|
|  |  |  | commandInfoService.insert(commandInfo); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | // 设置字体 | 
|---|