Rework registry elements

This commit is contained in:
2025-09-08 19:48:57 +09:00
parent 80901cc1f9
commit 30235c3d7e
16 changed files with 158 additions and 178 deletions

View File

@ -1,6 +1,4 @@
using Hcs.Service.Async.HouseManagement;
namespace Hcs.Client.Api.Registry
namespace Hcs.Client.Api.Registry
{
/// <summary>
/// НСИ "Состояние дома" (реестровый номер 24).
@ -11,37 +9,29 @@ namespace Hcs.Client.Api.Registry
/// <summary>
/// Аварийный
/// </summary>
public static nsiRef Element1 => new()
{
Code = "1",
GUID = "cbe05853-a91b-43cc-a2cb-06cdfa97d492"
};
public static RegistryElement Element1 => new(
"1",
"cbe05853-a91b-43cc-a2cb-06cdfa97d492");
/// <summary>
/// Исправный
/// </summary>
public static nsiRef Element2 => new()
{
Code = "2",
GUID = "2d3ae73e-6c72-4740-9122-9c632d1893a7"
};
public static RegistryElement Element2 => new(
"2",
"2d3ae73e-6c72-4740-9122-9c632d1893a7");
/// <summary>
/// Ветхий
/// </summary>
public static nsiRef Element3 => new()
{
Code = "3",
GUID = "bf083ae4-e4ec-4ace-b190-4d009e5cd1a1"
};
public static RegistryElement Element3 => new(
"3",
"bf083ae4-e4ec-4ace-b190-4d009e5cd1a1");
/// <summary>
/// Не выбран
/// </summary>
public static nsiRef Element4 => new()
{
Code = "4",
GUID = "4ee07c0b-82d6-41f4-a8c5-2cff784bbd9c"
};
public static RegistryElement Element4 => new(
"4",
"4ee07c0b-82d6-41f4-a8c5-2cff784bbd9c");
}
}