Commit 38796cc4d4aa0c6e485c861c4cdff0792890c6e8
1 parent
f4e9a586
【功能完善】IOT: ThingModel 服务和事件
Showing
2 changed files
with
2 additions
and
2 deletions
yudao-module-iot/yudao-module-iot-biz/src/main/java/cn/iocoder/yudao/module/iot/controller/admin/thingmodel/model/ThingModelEvent.java
yudao-module-iot/yudao-module-iot-biz/src/main/java/cn/iocoder/yudao/module/iot/service/thingmodel/IotProductThingModelServiceImpl.java
| ... | ... | @@ -286,7 +286,7 @@ public class IotProductThingModelServiceImpl implements IotProductThingModelServ |
| 286 | 286 | |
| 287 | 287 | // 1.2 生成属性上报事件 |
| 288 | 288 | return new ThingModelEvent().setIdentifier("post").setName("属性上报").setDescription("属性上报事件") |
| 289 | - .setEventType(IotProductThingModelServiceEventTypeEnum.INFO.getType()).setMethod("thing.event.property.post") | |
| 289 | + .setType(IotProductThingModelServiceEventTypeEnum.INFO.getType()).setMethod("thing.event.property.post") | |
| 290 | 290 | .setOutputParams(buildInputOutputParam(thingModelList, IotProductThingModelParamDirectionEnum.OUTPUT)); |
| 291 | 291 | } |
| 292 | 292 | ... | ... |