| | |
| | | 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; |
| | |
| | | } |
| | | |
| | | @ApiOperation(value = "数字孪生看板-设备故障", notes = "数字孪生看板-设备故障") |
| | | @GetMapping("/equAlarmList") |
| | | public Result<?> equAlarmList(@ApiParam(value = "productionId", required = true) String productionId) { |
| | | dtBoardService |
| | | @GetMapping("/equRepairList") |
| | | public Result<?> equRepairList(@ApiParam(value = "productionId", required = true) String productionId) { |
| | | List<EquRepair> result = dtBoardService.equRepairList(productionId); |
| | | return Result.OK(result); |
| | | } |
| | | |
| | | @ApiOperation(value = "数字孪生看板-设备安灯信息", notes = "数字孪生看板-设备安灯信息") |
| | | @GetMapping("/equAndonList") |
| | | public Result<?> equAndonList(@ApiParam(value = "productionId", required = true) String productionId) { |
| | | List<EquAndon> result = dtBoardService.equAndonList(productionId); |
| | | 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); |
| | | } |
| | | |
| | | |