whyclxw
2025-06-04 52e7490e08cd4b591d8f81d9330b57ab5070773a
src/main/java/com/whyc/controller/ConditionController.java
@@ -29,6 +29,12 @@
    private BattalarmDataService  almDataService;
    @Autowired
    private DevalarmDataService  devAlmService;
    @Autowired
    private PwrdevAlarmService  pwrAlmService;
    @Autowired
    private DeviceStateService  deviceStateService;
    @Autowired
@@ -141,9 +147,20 @@
    }
    @ApiOperation(value = "获取电池告警类型(下拉)")
    @GetMapping("getSingalIdIdType")
    public Response getSingalIdIdType(){
        return almDataService.getSingalIdType();
    @GetMapping("getAlarmIdType")
    public Response getAlarmIdType(){
        return almDataService.getAlarmIdType();
    }
    @ApiOperation(value = "获取设备告警类型(下拉)")
    @GetMapping("getDevAlmIdType")
    public Response getDevAlmIdType(){
        return devAlmService.getDevAlmIdType();
    }
    @ApiOperation(value = "获取电源告警类型(下拉)")
    @GetMapping("getPwrAlmIdType")
    public Response getPwrAlmIdType(){
        return pwrAlmService.getPwrAlmIdType();
    }
    @ApiOperation(value = "获取设备工作类型(下拉)")