ModelFactoryGenerateOnDeviceCommandModel(DeviceDto, DeviceCommandType, DictionaryString, Object) Method
Generates the input model for action
Namespace: MobileTrack.Common.ExtensionsAssembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+ce90b2cf6b782b8d7b7fd47b3c546987c652c00f
public static OnDeviceCommandModel GenerateOnDeviceCommandModel(
DeviceDto device,
DeviceCommandType command,
Dictionary<string, Object>? parameters = null
)
- device DeviceDto
- Device to generate the command for
- command DeviceCommandType
- Command to invoke on the device
- parameters DictionaryString, Object (Optional)
- Parameters to send to the device (optional)
OnDeviceCommandModelGenerated model