| 程序包 | 说明 |
|---|---|
| org.jetlinks.core.codec.defaults | |
| org.jetlinks.core.message.property | |
| org.jetlinks.core.things |
| 限定符和类型 | 方法和说明 |
|---|---|
ThingProperty |
ThingPropertyCodec.decode(Payload payload) |
| 限定符和类型 | 方法和说明 |
|---|---|
Class<ThingProperty> |
ThingPropertyCodec.forType() |
| 限定符和类型 | 方法和说明 |
|---|---|
Payload |
ThingPropertyCodec.encode(ThingProperty body) |
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
Property |
| 限定符和类型 | 类和说明 |
|---|---|
class |
SimplePropertyValue |
| 限定符和类型 | 方法和说明 |
|---|---|
ReportPropertyMessage |
ReportPropertyMessage.success(List<ThingProperty> properties) |
ReadThingPropertyMessageReply |
ReadThingPropertyMessageReply.success(List<ThingProperty> properties)
设置成功并设置返回完整属性值
|
ReadThingPropertyMessageReply |
DefaultReadPropertyMessageReply.success(List<ThingProperty> properties) |
DefaultWritePropertyMessageReply |
DefaultWritePropertyMessageReply.success(List<ThingProperty> properties) |
WritePropertyMessageReply |
WritePropertyMessageReply.success(List<ThingProperty> properties) |
DefaultReportPropertyMessage |
DefaultReportPropertyMessage.success(List<ThingProperty> properties) |
WriteThingPropertyMessageReply |
WriteThingPropertyMessageReply.success(List<ThingProperty> properties)
设置成功并设置返回完整属性值
|
ThingReportPropertyMessage |
ThingReportPropertyMessage.success(List<ThingProperty> properties)
设置成功并设置返回完整属性值
|
ReadThingPropertyMessageReply |
ReadPropertyMessageReply.success(List<ThingProperty> properties) |
| 限定符和类型 | 方法和说明 |
|---|---|
static ThingProperty |
ThingProperty.of(String property,
Object value,
long timestamp) |
static ThingProperty |
ThingProperty.of(String property,
Object value,
long timestamp,
String state) |
| 限定符和类型 | 方法和说明 |
|---|---|
reactor.core.publisher.Mono<ThingProperty> |
ThingsDataManagerSupport.getAnyLastProperty(ThingType thingType,
String thingId,
long baseTime)
获取距离基准时间最近的任意一个属性信息
|
reactor.core.publisher.Mono<ThingProperty> |
ThingsDataManagerSupport.getFirstProperty(ThingType thingType,
String thingId)
获取物实例首次上报的任意属性信息
|
reactor.core.publisher.Mono<ThingProperty> |
ThingsDataManager.getFirstProperty(ThingType thingType,
String thingId,
String property)
获取第一次上报的属性
|
reactor.core.publisher.Mono<ThingProperty> |
ThingsDataManagerSupport.getFirstProperty(ThingType thingType,
String thingId,
String property)
获取指定属性首次上报的的信息
|
reactor.core.publisher.Mono<ThingProperty> |
DefaultThingsDataManager.getFirstProperty(ThingType thingType,
String thingId,
String property) |
reactor.core.publisher.Mono<ThingProperty> |
ThingsDataManager.getLastProperty(ThingType thingType,
String thingId,
String property,
long baseTime)
获取基准时间前最新的属性
|
reactor.core.publisher.Mono<ThingProperty> |
ThingsDataManagerSupport.getLastProperty(ThingType thingType,
String thingId,
String property,
long baseTime)
获取指定属性距离基准时间最近的信息
|
reactor.core.publisher.Mono<ThingProperty> |
DefaultThingsDataManager.getLastProperty(ThingType thingType,
String thingId,
String property,
long baseTime) |
reactor.core.publisher.Flux<ThingProperty> |
ThingsDataManagerSupport.subscribeProperty(ThingType thingType,
String thingId)
订阅物的实时属性
|
Copyright © 2019–2022. All rights reserved.