|
|
@ -113,4 +113,11 @@ public class TestController { |
|
|
|
testService.setTemperature(code, temperature, heatingType); |
|
|
|
return Result.success(); |
|
|
|
} |
|
|
|
|
|
|
|
@Operation(summary = "设置加热模块状态") |
|
|
|
@PostMapping("/set-heat-module-state") |
|
|
|
public Result<?> setHeatModuleState(HeatModuleCode code, Integer trayStatus) throws Exception { |
|
|
|
testService.setHeatModuleState(code, trayStatus); |
|
|
|
return Result.success(); |
|
|
|
} |
|
|
|
} |