2026-02-27 14:05:25 +10:00
|
|
|
|
using PARR.BLL.Contracts.Interfaces;
|
|
|
|
|
|
|
|
|
|
|
|
namespace PARR.NextRun.Settings
|
2024-02-05 16:05:02 +10:00
|
|
|
|
{
|
|
|
|
|
|
internal class WorkerSettings
|
|
|
|
|
|
{
|
|
|
|
|
|
public TimeSpan RepeatEvery { get; set; }
|
2026-02-27 14:05:25 +10:00
|
|
|
|
|
|
|
|
|
|
public MqSettings? MqSettings { get; set; }
|
2024-02-05 16:05:02 +10:00
|
|
|
|
}
|
2026-02-27 14:05:25 +10:00
|
|
|
|
|
|
|
|
|
|
internal class MqSettings : IMqSettings
|
|
|
|
|
|
{
|
|
|
|
|
|
public string HostName { get; set; } = string.Empty;
|
|
|
|
|
|
public string QueueName { get; set; } = string.Empty;
|
|
|
|
|
|
public string User { get; set; } = string.Empty;
|
|
|
|
|
|
public string Password { get; set; } = string.Empty;
|
|
|
|
|
|
public ushort? PrefetchCount { get; set; } = 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2024-02-05 16:05:02 +10:00
|
|
|
|
}
|