hyingbo
2 天以前 4788f8d86807296a3dce75b5dd428c0a8d5828db
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);
    }
}