feat(jobAutoControl): логика управления авто-контролем

This commit is contained in:
Mikhail Trubnikov
2024-09-12 15:05:47 +10:00
parent 0b1c52422f
commit 1af76405e2
19 changed files with 451 additions and 38 deletions

View File

@@ -0,0 +1,28 @@
using PARR.BLL.Contracts.Interfaces;
namespace PARR.JobAutoControl.Settings
{
internal class MqSettings
{
public Generator Generator { get; set; }
public Activator Activator { get; set; }
}
internal class Generator : 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;
}
internal class Activator : 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;
}
}

View File

@@ -0,0 +1,7 @@
namespace PARR.JobAutoControl.Settings
{
internal class WorkerSettings
{
public TimeSpan RepeatEvery { get; set; }
}
}