feat(aihitLoader): Добавлено поле "Тип инфраструктурного сервиса" направления ПТК

This commit is contained in:
Mikhail Kuznetsov
2026-05-15 19:05:36 +10:00
parent a015e90fdc
commit df4927d9c1
2 changed files with 5 additions and 3 deletions

View File

@@ -4,7 +4,6 @@ using Microsoft.Extensions.DependencyInjection;
using PARR.AIHITMainLoader.Context; using PARR.AIHITMainLoader.Context;
using PARR.AIHITMainLoader.Services; using PARR.AIHITMainLoader.Services;
using PARR.AIHITMainLoader.Settings; using PARR.AIHITMainLoader.Settings;
using PARR.Core;
using PARR.Infrastructure; using PARR.Infrastructure;
namespace PARR.AIHITMainLoader namespace PARR.AIHITMainLoader
@@ -13,7 +12,7 @@ namespace PARR.AIHITMainLoader
{ {
public static void InstallAihitMainLoaderServices(this IServiceCollection services, IConfiguration configuration) public static void InstallAihitMainLoaderServices(this IServiceCollection services, IConfiguration configuration)
{ {
services.AddCoreServices(configuration); //services.AddCoreServices(configuration);
services.AddInfrastructureServices(configuration); services.AddInfrastructureServices(configuration);
var settings = new WorkerSettings(); var settings = new WorkerSettings();

View File

@@ -103,6 +103,8 @@ namespace PARR.AIHITMainLoader.Models
[Column("ПАРР тег")] [Column("ПАРР тег")]
public string? Tag { get; set; } public string? Tag { get; set; }
[Column("Тип инфраструктурного сервиса")]
public string? InfrastructureServiceType { get; set; }
public AihitMainDataMq ToMainData() public AihitMainDataMq ToMainData()
{ {
@@ -140,7 +142,8 @@ namespace PARR.AIHITMainLoader.Models
{"ЗО_РГ", WorkGroupResponseArea }, {"ЗО_РГ", WorkGroupResponseArea },
{"Холодный резерв", ColdReserve.ToString() }, {"Холодный резерв", ColdReserve.ToString() },
{ОПОЛНИТЕЛЬНАЯ_ИНФОРМАЦИЯ", AdditionalInformation }, {ОПОЛНИТЕЛЬНАЯ_ИНФОРМАЦИЯ", AdditionalInformation },
{"ПАРР тег", Tag } {"ПАРР тег", Tag },
{"Тип инфраструктурного сервиса", InfrastructureServiceType },
} }
}; };
} }