Initial commit

This commit is contained in:
2026-07-03 16:37:12 +07:00
commit 63b8c1ea8b
1931 changed files with 640587 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
namespace RobotNet10.MqttConnection;
public class MQTTConfig
{
public string Host { get; set; } = string.Empty;
public int Port { get; set; } = 1883;
public string ClientId { get; set; } = string.Empty;
public string Username { get; set; } = string.Empty;
public string Password { get; set; } = string.Empty;
public bool EnablePassword { get; set; } = false;
public bool EnableTls { get; set; } = false;
public bool EnableCA { get; set; } = false;
public string CaCertificatesPath { get; set; } = string.Empty;
public string ClientCertificatePath { get; set; } = string.Empty;
public string ClientKeyPath { get; set; } = string.Empty;
public int PublishRepeat { get; set; } = 2;
}