Add new service and resource types

This commit is contained in:
2025-08-22 09:29:19 +09:00
parent 875e3470d8
commit f1823414f1
3 changed files with 52 additions and 8 deletions

View File

@ -79,6 +79,7 @@ namespace Hcs.ClientApi.HouseManagementApi
Name = "Электроснабжение"
};
// TODO: Подставить корректный код и ГУИД
public static HouseManagement.ContractSubjectTypeMunicipalResource ElectricSupplyMunicipalResource
=> new HouseManagement.ContractSubjectTypeMunicipalResource()
{
@ -86,5 +87,40 @@ namespace Hcs.ClientApi.HouseManagementApi
GUID = "7379be86-6c95-4e41-b000-3bc703d35969",
Name = "Электрическая энергия"
};
public static HouseManagement.ContractSubjectTypeServiceType HeatingSupplyServiceType
=> new HouseManagement.ContractSubjectTypeServiceType()
{
Code = "6",
GUID = "74925764-ddf3-4b4b-b18d-85994187c13a",
Name = "Отопление"
};
public static HouseManagement.ContractSubjectTypeMunicipalResource HeatingSupplyMunicipalResource
=> new HouseManagement.ContractSubjectTypeMunicipalResource()
{
// Значения взяты из справочника 239
Code = "4",
GUID = "eec6e4b8-76c8-4fce-99b7-c95718edad19",
Name = null
};
public static HouseManagement.ContractSubjectTypeServiceType HotWaterSupplyServiceType
=> new HouseManagement.ContractSubjectTypeServiceType()
{
Code = "2",
GUID = "ee8c6a41-aaf8-41c8-a1f6-5832cc622f88",
Name = null
};
// TODO: Подставить корректный код и ГУИД
public static HouseManagement.ContractSubjectTypeMunicipalResource HotWaterSupplyMunicipalResource
=> new HouseManagement.ContractSubjectTypeMunicipalResource()
{
Code = "2.2",
GUID = "1471de55-c2e7-4101-9f2a-9bef6fffb896",
Name = "Горячая вода 2"
};
}
}