public interface ThingsDataManagerSupport
| 限定符和类型 | 方法和说明 |
|---|---|
reactor.core.publisher.Mono<ThingProperty> |
getAnyLastProperty(ThingType thingType,
String thingId,
long baseTime)
获取距离基准时间最近的任意一个属性信息
|
reactor.core.publisher.Mono<ThingProperty> |
getFirstProperty(ThingType thingType,
String thingId)
获取物实例首次上报的任意属性信息
|
reactor.core.publisher.Mono<ThingProperty> |
getFirstProperty(ThingType thingType,
String thingId,
String property)
获取指定属性首次上报的的信息
|
reactor.core.publisher.Mono<ThingProperty> |
getLastProperty(ThingType thingType,
String thingId,
String property,
long baseTime)
获取指定属性距离基准时间最近的信息
|
boolean |
isSupported(ThingType thingType)
判断是否支持此物类型,只有支持的物类型,后续才会调用
|
reactor.core.publisher.Flux<ThingProperty> |
subscribeProperty(ThingType thingType,
String thingId)
订阅物的实时属性
|
boolean isSupported(ThingType thingType)
thingType - 物类型reactor.core.publisher.Mono<ThingProperty> getAnyLastProperty(ThingType thingType, String thingId, long baseTime)
thingType - 物类型thingId - 物实例IDbaseTime - 基准时间reactor.core.publisher.Mono<ThingProperty> getLastProperty(ThingType thingType, String thingId, String property, long baseTime)
thingType - 物类型thingId - 物实例IDproperty - 属性ID Metadata.getId()baseTime - 基准时间reactor.core.publisher.Mono<ThingProperty> getFirstProperty(ThingType thingType, String thingId, String property)
thingType - 物类型thingId - 物实例IDproperty - 属性ID Metadata.getId()reactor.core.publisher.Mono<ThingProperty> getFirstProperty(ThingType thingType, String thingId)
thingType - 物类型thingId - 物实例IDreactor.core.publisher.Flux<ThingProperty> subscribeProperty(ThingType thingType, String thingId)
thingType - 物类型thingId - 物IDCopyright © 2019–2022. All rights reserved.