public static class CapabilityStationaryPosition.SetDeviceLocation extends Command<CapabilityStationaryPosition.CommandId>
Capability.sendResourceCommand(buzz.getcoco.iot.Command<T>, buzz.getcoco.iot.Capability.CommandStatusListener<T>) to set device location for Resource.Command.State| Modifier and Type | Field and Description |
|---|---|
double |
environmentalFactor
The environmental factor which has to be accounted in calculations.
|
java.lang.String |
locationId
Set the device locationId of this resource.
|
java.lang.String |
lotId
Set the parking lot ID of this resource.
|
double |
xcoordinate
The x-coordinate which has to be set.
|
double |
ycoordinate
The y-coordinate which has to be set.
|
| 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