コード例 #1
0
 public AllDataPeriodStatus(
     AHandler deviceHandler, String statusTopic, MqttAsyncClient mqttClient) {
   super(deviceHandler, statusTopic, "allData", mqttClient);
   super.addDescription(IMU.PERIOD, Long.class, "JSON", "0", "..", "" + Long.MAX_VALUE);
 }
コード例 #2
0
 public MovingAverageStatus(
     AHandler deviceHandler, String statusTopic, MqttAsyncClient mqttClient) {
   super(deviceHandler, statusTopic, "movingAverage", mqttClient);
   super.addDescription(DistanceUS.AVERAGE, Short.class, "JSON", "0", "..", "100");
 }
コード例 #3
0
 public ManagedStackHandlersStatus(
     AHandler deviceHandler, String statusTopic, MqttAsyncClient mqttClient) {
   super(deviceHandler, statusTopic, "managedStackHandlers", mqttClient);
   super.addDescription(MQTT2TF.MANAGED_STACK_ADDRESSES, ManagedStackAddresses.class, "JSON");
 }
コード例 #4
0
 public ManagedDeviceHandlersStatus(
     AHandler deviceHandler, String statusTopic, MqttAsyncClient mqttClient) {
   super(deviceHandler, statusTopic, "managedStackHandlers", mqttClient);
   super.addDescription(MQTTTinkerforgeStackHandler.MANAGED_DEVICE_HANDLERS, List.class, "JSON");
 }