hyingbo
2025-07-03 38eed874fc4cf74789d438b78381bd26448ceb3f
lxzn-module-mdc/src/main/java/org/jeecg/modules/board/controller/DtBoardController.java
@@ -7,6 +7,7 @@
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;
@@ -99,5 +100,19 @@
        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);
    }
}