Commit c81527b3 authored by 何金镒's avatar 何金镒

场景 4

parent 30ae30a1
......@@ -63,11 +63,10 @@ public class DeviceController {
}
@GetMapping("/triggerScene")
public String triggerScene(@ToolParam(description = "主机号")String ccuName,
@ToolParam(description = "场景ID")String devId,
@ToolParam(description = "场景类型ID,type等于scene")String typeId){
log.info("mcp调用--->根据主机号和场景ID触发场景....ccuName:{},devId:{},type:{}",ccuName,devId,typeId);
return konkeIotServer.optScene(CcuUtils.getCcuName(ccuName), devId);
public String triggerScene(@RequestParam(value = "ccuName")String ccuName,
@RequestParam(value = "sceneId")String sceneId){
log.info("triggerScene--->根据主机号和场景ID触发场景....ccuName:{},sceneId:{}",ccuName,sceneId);
return konkeIotServer.optScene(CcuUtils.getCcuName(ccuName), sceneId);
}
@PostMapping("/saveTemporaryScene")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment