Initial commit
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user