private class RobotSimulator.Sd extends Object
Modifier and Type | Field and Description |
---|---|
(package private) boolean |
asShort
Used for individual codes only (7-42); true if this is a short value, false if a byte value
|
(package private) boolean |
reset
Used for individual codes only (7-42); true if this is "register" is to be reset to zero whenever it's read by a Sensors command
|
(package private) int |
start
Used for group codes only (0-6); stores the index code of the start of the group (should be 0 if this is not a group).
|
(package private) int |
stop
Used for group codes only (0-6); stores the index code of the end of the group (should be 0 if this is not a group).
|
(package private) short |
value
Used for individual codes only (7-42); The current calculated value of the sensor
|
Constructor and Description |
---|
Sd(int start,
int stop,
boolean asShort,
boolean resetOnRead,
int value) |
int start
int stop
boolean asShort
boolean reset
short value
Sd(int start, int stop, boolean asShort, boolean resetOnRead, int value)
start
- Used for group codes only (0-6); stores the index code of the start of the group (should be 0 if this is not a group).stop
- Used for group codes only (0-6); stores the index code of the end of the group (should be 0 if this is not a group).asShort
- Used for individual codes only (7-42); true if this is a short value, false if a byte valueresetOnRead
- Used for individual codes only (7-42); true if this is "register" is to be reset to zero whenever it's read by a Sensors commandvalue
- Used for individual codes only (7-42); The current calculated value of the sensor