Method | Description | |
---|---|---|
AlarmController ( IMqtt mqttService, ILogger logger, string houseCode, string locationCode ) : System | ||
CheckForBurglarMessages ( MQTT.PublishArrivedArgs e ) : void | ||
CheckForDoorMessages ( MQTT.PublishArrivedArgs e ) : void | ||
CheckForMotionMessages ( MQTT.PublishArrivedArgs e ) : void | ||
CheckForWindowMessages ( MQTT.PublishArrivedArgs e ) : void | ||
SetBurglarAlarmOutput ( ) : void | ||
Start ( ) : void |
Method | Description | |
---|---|---|
ConnectToBroker ( ) : bool | ||
ConnectionLost ( object sender, EventArgs e ) : void | ||
OnPingResponseTimer ( object state ) : void | ||
OnTimer ( object state ) : void | ||
ParseBurglarMessageValue ( MQTT.MqttPayload payload ) : bool | ||
ParseSensorMessageValue ( MQTT.MqttPayload payload ) : bool | ||
PublishArrived ( object sender, MQTT.PublishArrivedArgs e ) : bool | ||
Subscribe ( ) : bool |
public AlarmController ( IMqtt mqttService, ILogger logger, string houseCode, string locationCode ) : System | ||
mqttService | IMqtt | |
logger | ILogger | |
houseCode | string | |
locationCode | string | |
return | System |
public CheckForBurglarMessages ( MQTT.PublishArrivedArgs e ) : void | ||
e | MQTT.PublishArrivedArgs | |
return | void |
public CheckForDoorMessages ( MQTT.PublishArrivedArgs e ) : void | ||
e | MQTT.PublishArrivedArgs | |
return | void |
public CheckForMotionMessages ( MQTT.PublishArrivedArgs e ) : void | ||
e | MQTT.PublishArrivedArgs | |
return | void |
public CheckForWindowMessages ( MQTT.PublishArrivedArgs e ) : void | ||
e | MQTT.PublishArrivedArgs | |
return | void |