public static class CapabilityStationaryPosition.SetDeviceLocation extends Command<CapabilityStationaryPosition.CommandId>
Capability.sendResourceCommand(buzz.getcoco.iot.Command<T>, buzz.getcoco.iot.Capability.CommandStatusListener<T>) while sending set device location commands.Command.State| Modifier and Type | Field and Description |
|---|---|
double |
environmentalFactor |
java.lang.String |
locationId |
java.lang.String |
lotId |
double |
xcoordinate |
double |
ycoordinate |
| Constructor and Description |
|---|
SetDeviceLocation(java.lang.String locationId,
java.lang.String lotId,
double x,
double y,
double environmentalFactor)
Constructor for SetDeviceLocation command.
|
getCommandId, getTimeout, setCommandId, setTimeout, toJsonObject, toString@SerializedName(value="locationIdStr") public final java.lang.String locationId
@SerializedName(value="lotIdStr") public final java.lang.String lotId
@SerializedName(value="xCoordinate") public final double xcoordinate
@SerializedName(value="yCoordinate") public final double ycoordinate
@SerializedName(value="environmentalFactor") public final double environmentalFactor
public SetDeviceLocation(java.lang.String locationId,
java.lang.String lotId,
double x,
double y,
double environmentalFactor)
locationId - string id of location to be setlotId - lot identification string.x - abscissa of the location to be sety - ordinate of the location to be setenvironmentalFactor - environmental factors