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
显示文件 Open project: Azure/azure-iot-remote-monitoring Class Usage Examples

Public Methods

Method Description
ChangeDeviceStateCommandProcessor ( CoolerDevice device ) : System
HandleCommandAsync ( DeserializableCommand deserializableCommand ) : Task

Method Details

ChangeDeviceStateCommandProcessor() public method

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

HandleCommandAsync() public method

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