15 lines
442 B
C#
15 lines
442 B
C#
|
|
namespace YD_TrainingCompetition_Api.Options;
|
|||
|
|
|
|||
|
|
public sealed class MqttOptions
|
|||
|
|
{
|
|||
|
|
public const string SectionName = "Mqtt";
|
|||
|
|
|
|||
|
|
public string Host { get; set; } = "127.0.0.1";
|
|||
|
|
public int Port { get; set; } = 1883;
|
|||
|
|
public string? Username { get; set; }
|
|||
|
|
public string? Password { get; set; }
|
|||
|
|
public string ClientId { get; set; } = "yd-scoring-worker";
|
|||
|
|
public string TopicFilter { get; set; } = "td05/+/telemetry";
|
|||
|
|
}
|
|||
|
|
|