C# Class WindowsIoTCorePi2FezHat.ConnectTheDotsHelper

Afficher le fichier Open project: amykatenicho/IoTWorkshop Class Usage Examples

Méthodes publiques

Свойство Type Description
localSettings AppSettings
sensors List

Méthodes publiques

Méthode Description
ApplySettingsToSensors ( ) : void

Apply settings to sensors collection

ConnectTheDotsHelper ( string iotDeviceConnectionString = "", string organization = "", string location = "", List sensorList = null ) : System
InitHubConnection ( ) : bool

Initialize Hub connection

ReceiveMessage ( ) : Task
SaveSettings ( ) : bool

Apply new settings to sensors collection

SendSensorData ( ConnectTheDotsSensor sensor ) : void
sendMessage ( string message ) : void

Send message to an IoT Hub using IoT Hub SDK

Private Methods

Méthode Description
SendAllSensorData ( ) : void
ValidateSettings ( ) : bool

Validate the settings

Method Details

ApplySettingsToSensors() public méthode

Apply settings to sensors collection
public ApplySettingsToSensors ( ) : void
Résultat void

ConnectTheDotsHelper() public méthode

public ConnectTheDotsHelper ( string iotDeviceConnectionString = "", string organization = "", string location = "", List sensorList = null ) : System
iotDeviceConnectionString string
organization string
location string
sensorList List
Résultat System

InitHubConnection() public méthode

Initialize Hub connection
public InitHubConnection ( ) : bool
Résultat bool

ReceiveMessage() public méthode

public ReceiveMessage ( ) : Task
Résultat Task

SaveSettings() public méthode

Apply new settings to sensors collection
public SaveSettings ( ) : bool
Résultat bool

SendSensorData() public méthode

public SendSensorData ( ConnectTheDotsSensor sensor ) : void
sensor ConnectTheDotsSensor
Résultat void

sendMessage() public méthode

Send message to an IoT Hub using IoT Hub SDK
public sendMessage ( string message ) : void
message string
Résultat void

Property Details

localSettings public_oe property

public AppSettings localSettings
Résultat AppSettings

sensors public_oe property

public List sensors
Résultat List