dubin
2 天以前 a3991c24aa69d18cad0195c28fa80abe2871bbd2
src/main/java/com/zy/asrs/controller/MonitorController.java
@@ -249,6 +249,9 @@
     */
    @GetMapping("/led")
    public R monitorLed(@RequestParam("ledId") Integer ledId) {
        if (ledId == 1005){
            return null;
        }
        String ledContent = "";
        List<LedCommand> commandList = null;
        for (LedSlave slave : slaveProperties.getLed()) {
@@ -268,6 +271,9 @@
     */
    @GetMapping("/led/error")
    public R monitorLedError(@RequestParam("ledId") Integer ledId) {
        if (ledId == 1005){
            return null;
        }
        String errorMsg = "";
        for (LedSlave slave : slaveProperties.getLed()) {
            if (slave.getStaArr().contains(ledId)) {