Interface IHouse
Описывает интерфейс жилого дома.
Inherited Members
Namespace: Lers.Communal
Assembly: Lers.Server.System.dll
Syntax
public interface IHouse : INode, IDivisionMember
Properties
IsCommunalPollEnabled
Признак включения поквартирного опроса.
Declaration
bool IsCommunalPollEnabled { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
MaxRoomCount
Возвращает максимально допустимое по лицензии количество помещений в этом жилом доме.
Declaration
int MaxRoomCount { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
NormColdWater
Норматив потребления холодной воды (м3 на человека).
Declaration
float NormColdWater { get; }
Property Value
| Type | Description |
|---|---|
| System.Single |
NormElectricity
Норматив потребления электроэнергии (КВт*ч на человека).
Declaration
float NormElectricity { get; }
Property Value
| Type | Description |
|---|---|
| System.Single |
NormGas
Норматив потребления газа (м3 на человека).
Declaration
float NormGas { get; }
Property Value
| Type | Description |
|---|---|
| System.Single |
NormHeat
Норматив потребления тепла (ГКал на квадратный метр).
Declaration
float NormHeat { get; }
Property Value
| Type | Description |
|---|---|
| System.Single |
NormHotWater
Норматив потребления горячей воды (м3 на человека).
Declaration
float NormHotWater { get; }
Property Value
| Type | Description |
|---|---|
| System.Single |
Methods
GetCommunalMeasurePoints()
Возвращает квартирные точки учёта.
Declaration
IEnumerable<IMeasurePoint> GetCommunalMeasurePoints()
Returns
| Type | Description |
|---|---|
| IEnumerable<IMeasurePoint> |
GetEntrances()
Возвращает номера подъездов жилого дома.
Declaration
Task<ICollection<string>> GetEntrances()
Returns
| Type | Description |
|---|---|
| Task<ICollection<System.String>> |
GetFloors()
Возвращает этажи жилого дома.
Declaration
Task<ICollection<int>> GetFloors()
Returns
| Type | Description |
|---|---|
| Task<ICollection<System.Int32>> |
GetLivingNorm(SystemType)
Возвращает нормативное потребление ресурса для указанной системы дома для жилого помещения.
Declaration
float GetLivingNorm(SystemType systemType)
Parameters
| Type | Name | Description |
|---|---|---|
| SystemType | systemType | Тип системы учета. |
Returns
| Type | Description |
|---|---|
| System.Single |
GetRooms(String, Nullable<Int32>)
Возвращает все помещения этого дома.
Declaration
IRoom[] GetRooms(string entrance = null, int? floor = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | entrance | |
| System.Nullable<System.Int32> | floor |
Returns
| Type | Description |
|---|---|
| IRoom[] |
GetRoomsWithAccessCheck(IAccount)
Возвращает доступные указанной учетной записи помещения этого дома.
Declaration
IEnumerable<IRoom> GetRoomsWithAccessCheck(IAccount account)
Parameters
| Type | Name | Description |
|---|---|---|
| IAccount | account | Учетная запись. |
Returns
| Type | Description |
|---|---|
| IEnumerable<IRoom> | Room[], представляющий помещения, доступные учётной записи. |