From 0cccb699468d30840e4fe947f3b814e992582866 Mon Sep 17 00:00:00 2001 From: "HOME-LAPTOP\\kshkulev" Date: Sat, 13 Sep 2025 11:20:52 +0900 Subject: [PATCH] Change payment document service registry type --- Hcs.Client/Client/Api/Registry/Registry51.cs | 15 +++++++++++++++ Hcs.Client/Hcs.Client.csproj | 1 + Hcs.TestApp/TestApp/Scenario/BillsScenario.cs | 2 +- 3 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 Hcs.Client/Client/Api/Registry/Registry51.cs diff --git a/Hcs.Client/Client/Api/Registry/Registry51.cs b/Hcs.Client/Client/Api/Registry/Registry51.cs new file mode 100644 index 0000000..29d6ca1 --- /dev/null +++ b/Hcs.Client/Client/Api/Registry/Registry51.cs @@ -0,0 +1,15 @@ +namespace Hcs.Client.Api.Registry +{ + /// + /// НСИ "Вид коммунальной услуги" (реестровый номер 51) + /// + public static class Registry51 + { + /// + /// Отопление + /// + public static RegistryElement Element6 => new( + "6", + "74925764-ddf3-4b4b-b18d-85994187c13a"); + } +} diff --git a/Hcs.Client/Hcs.Client.csproj b/Hcs.Client/Hcs.Client.csproj index a55cb9f..bb6e3e5 100644 --- a/Hcs.Client/Hcs.Client.csproj +++ b/Hcs.Client/Hcs.Client.csproj @@ -87,6 +87,7 @@ + diff --git a/Hcs.TestApp/TestApp/Scenario/BillsScenario.cs b/Hcs.TestApp/TestApp/Scenario/BillsScenario.cs index 52dea33..3827483 100644 --- a/Hcs.TestApp/TestApp/Scenario/BillsScenario.cs +++ b/Hcs.TestApp/TestApp/Scenario/BillsScenario.cs @@ -45,7 +45,7 @@ namespace Hcs.TestApp.Scenario municipalServiceCommunalConsumptionPayable = 0M, amountOfPaymentMunicipalServiceIndividualConsumption = 1862.93M, amountOfPaymentMunicipalServiceCommunalConsumption = 0M, - serviceType = Registry3.Element6, + serviceType = Registry51.Element6, rate = 1851.82M, totalPayable = 1862.93M, accountingPeriodTotal = 1862.93M