| | |
| | | import org.jeecg.common.api.vo.Result; |
| | | import org.jeecg.modules.board.service.IDtBoardService; |
| | | import org.jeecg.modules.board.vo.*; |
| | | import org.jeecg.modules.mdc.vo.AndonOrderWebSocketVo; |
| | | import org.jeecg.modules.system.entity.MdcProduction; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | |
| | | return Result.OK(result); |
| | | } |
| | | |
| | | @ApiOperation(value = "数字孪生看板-获取设备未处理的安灯信息", notes = "数字孪生看板-获取设备未处理的安灯信息") |
| | | @GetMapping("/untreatedAndonList") |
| | | public Result<?> untreatedAndonList() { |
| | | List<AndonOrderWebSocketVo> result = dtBoardService.untreatedAndonList(); |
| | | return Result.OK(result); |
| | | } |
| | | |
| | | @ApiOperation(value = "数字孪生看板-获取设备状态信息", notes = "数字孪生看板-获取设备状态信息") |
| | | @GetMapping("/getAllEquipmentStatus") |
| | | public Result<?> getAllEquipmentStatus() { |
| | | List<EquStatus> result = dtBoardService.getAllEquipmentStatus(); |
| | | return Result.OK(result); |
| | | } |
| | | |
| | | |
| | | } |