C# Класс HA4IoT.Services.Areas.AreaService

Наследование: HA4IoT.Contracts.Services.ServiceBase, IAreaService
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AddArea ( IArea area ) : void
AreaService ( IComponentService componentService, IAutomationService automationService, ISystemEventsService systemEventsService, ISystemInformationService systemInformationService, IApiService apiService, ISettingsService settingsService ) : System
CreateArea ( AreaId id ) : IArea
GetArea ( AreaId id ) : IArea
GetAreas ( ) : IList

Приватные методы

Метод Описание
ExportAreaConfiguration ( IArea area ) : Newtonsoft.Json.Linq.JObject
HandleApiConfigurationRequest ( object sender, ApiRequestReceivedEventArgs e ) : void

Описание методов

AddArea() публичный Метод

public AddArea ( IArea area ) : void
area IArea
Результат void

AreaService() публичный Метод

public AreaService ( IComponentService componentService, IAutomationService automationService, ISystemEventsService systemEventsService, ISystemInformationService systemInformationService, IApiService apiService, ISettingsService settingsService ) : System
componentService IComponentService
automationService IAutomationService
systemEventsService ISystemEventsService
systemInformationService ISystemInformationService
apiService IApiService
settingsService ISettingsService
Результат System

CreateArea() публичный Метод

public CreateArea ( AreaId id ) : IArea
id AreaId
Результат IArea

GetArea() публичный Метод

public GetArea ( AreaId id ) : IArea
id AreaId
Результат IArea

GetAreas() публичный Метод

public GetAreas ( ) : IList
Результат IList