Package jmri.jmrix.roco.z21.simulator
Class Z21SimulatorLocoData
- java.lang.Object
-
- jmri.jmrix.roco.z21.simulator.Z21SimulatorLocoData
-
class Z21SimulatorLocoData extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) byte
address_lsb
(package private) byte
address_msb
(package private) byte
speed_byte
-
Constructor Summary
Constructors Constructor Description Z21SimulatorLocoData(byte addr_msb, byte addr_lsb, byte speed)
Construct an object of this type with all the data we are recording.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) byte
getAddressLsb()
(package private) byte
getAddressMsb()
(package private) byte
getSpeed()
-
-
-
Field Detail
-
address_msb
byte address_msb
-
address_lsb
byte address_lsb
-
speed_byte
byte speed_byte
-
-
Constructor Detail
-
Z21SimulatorLocoData
public Z21SimulatorLocoData(byte addr_msb, byte addr_lsb, byte speed)
Construct an object of this type with all the data we are recording.- Parameters:
addr_msb
- MSB of addressaddr_lsb
- LSB of addressspeed
- speed value
-
-
Method Detail
-
getAddressLsb
byte getAddressLsb()
-
getAddressMsb
byte getAddressMsb()
-
getSpeed
byte getSpeed()
-
-