C# Class Microsoft.Azure.Devices.Applications.RemoteMonitoring.Simulator.WebJob.Cooler.CommandProcessors.ChangeDeviceStateCommandProcessor

Command processor to handle the change in device state. Currently this just changes the DeviceState string on the device.
Inheritance: Microsoft.Azure.Devices.Applications.RemoteMonitoring.Simulator.WebJob.SimulatorCore.CommandProcessors.CommandProcessor
Afficher le fichier Open project: Azure/azure-iot-remote-monitoring Class Usage Examples

Méthodes publiques

Méthode Description
ChangeDeviceStateCommandProcessor ( CoolerDevice device ) : System
HandleCommandAsync ( DeserializableCommand deserializableCommand ) : Task

Method Details

ChangeDeviceStateCommandProcessor() public méthode

public ChangeDeviceStateCommandProcessor ( CoolerDevice device ) : System
device Microsoft.Azure.Devices.Applications.RemoteMonitoring.Simulator.WebJob.Cooler.Devices.CoolerDevice
Résultat System

HandleCommandAsync() public méthode

public HandleCommandAsync ( DeserializableCommand deserializableCommand ) : Task
deserializableCommand Microsoft.Azure.Devices.Applications.RemoteMonitoring.Simulator.WebJob.SimulatorCore.Transport.DeserializableCommand
Résultat Task