21 lines
587 B
C#
21 lines
587 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace BlubbFish.Utils.IoT.Interfaces {
|
|||
|
public interface IMqtt {
|
|||
|
/// <summary>
|
|||
|
/// Gibt einen JSON-String der Eigenschaften eines Objekts zurück
|
|||
|
/// </summary>
|
|||
|
/// <returns>JSON-String</returns>
|
|||
|
String ToJson();
|
|||
|
/// <summary>
|
|||
|
/// Gibt das MQTT-Topic als String zurück unter dem die Daten des Objekts Publiziert werden sollen
|
|||
|
/// </summary>
|
|||
|
/// <returns>MQTT-Topic</returns>
|
|||
|
String MqttTopic();
|
|||
|
}
|
|||
|
}
|