C# Class HA4IoT.PersonalAgent.PersonalAgentService

Inheritance: HA4IoT.Contracts.Services.ServiceBase, IPersonalAgentService
Exibir arquivo Open project: chkr1011/CK.HomeAutomation

Public Methods

Method Description
PersonalAgentService ( SynonymService synonymService, IComponentService componentService, IAreaService areaService, IWeatherService weatherService, IOutdoorTemperatureService outdoorTemperatureService, IOutdoorHumidityService outdoorHumidityService ) : System
ProcessMessage ( IInboundMessage message ) : string

Private Methods

Method Description
Ask ( IApiContext apiContext ) : void
GenerateDebugOutput ( MessageContext messageContext ) : string
GetSensorStatus ( ISensor sensor ) : string
GetWeatherStatus ( ) : string
GetWindowStatus ( ) : string
ProcessMessage ( MessageContext messageContext ) : string
UpdateActuatorState ( IActuator actuator, MessageContext messageContext ) : string

Method Details

PersonalAgentService() public method

public PersonalAgentService ( SynonymService synonymService, IComponentService componentService, IAreaService areaService, IWeatherService weatherService, IOutdoorTemperatureService outdoorTemperatureService, IOutdoorHumidityService outdoorHumidityService ) : System
synonymService SynonymService
componentService IComponentService
areaService IAreaService
weatherService IWeatherService
outdoorTemperatureService IOutdoorTemperatureService
outdoorHumidityService IOutdoorHumidityService
return System

ProcessMessage() public method

public ProcessMessage ( IInboundMessage message ) : string
message IInboundMessage
return string