This commit is contained in:
2026-07-19 12:13:14 +02:00
commit 6337e63a77
46 changed files with 4411 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
namespace FinlyticCore.Models;
/// <summary>
/// Represents the network and security settings used to connect to the central MQTT broker.
/// </summary>
public class MqttConfiguration
{
/// <summary>
/// Gets or sets the host address or IP of the MQTT broker.
/// </summary>
public string Host { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the port number for the connection. Defaults to 1883.
/// </summary>
public int Port { get; set; } = 1883;
/// <summary>
/// Gets or sets the unique client identifier used when registering with the broker.
/// </summary>
public string ClientId { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the username for authentication (optional).
/// </summary>
public string? Username { get; set; }
/// <summary>
/// Gets or sets the password for authentication (optional).
/// </summary>
public string? Password { get; set; }
}