feat(aititMainLoader): Сделана основная логика загрущки данных из АИХ ИТ в очередь сообщений
This commit is contained in:
9
PARR.AIHITMainLoader/Settings/LoaderSettings.cs
Normal file
9
PARR.AIHITMainLoader/Settings/LoaderSettings.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
namespace PARR.AIHITMainLoader.Settings
|
||||
{
|
||||
internal class LoaderSettings
|
||||
{
|
||||
public List<string> ResponseAreas { get; set; } = new List<string>();
|
||||
|
||||
public int PackageSize { get; set; } = 100;
|
||||
}
|
||||
}
|
||||
15
PARR.AIHITMainLoader/Settings/MqSettings.cs
Normal file
15
PARR.AIHITMainLoader/Settings/MqSettings.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using PARR.BLL.Contracts.Interfaces;
|
||||
|
||||
namespace PARR.AIHITMainLoader.Settings
|
||||
{
|
||||
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;
|
||||
}
|
||||
}
|
||||
7
PARR.AIHITMainLoader/Settings/WorkerSettings.cs
Normal file
7
PARR.AIHITMainLoader/Settings/WorkerSettings.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace PARR.AIHITMainLoader.Settings
|
||||
{
|
||||
internal class WorkerSettings
|
||||
{
|
||||
public TimeSpan RepeatEvery { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user