protected class FtcLynxModuleAddressUpdateActivity.AddressConfiguration
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<SerialNumber,java.lang.Integer> |
current |
protected java.util.Map<SerialNumber,java.lang.Integer> |
starting |
Constructor and Description |
---|
AddressConfiguration() |
AddressConfiguration(java.util.List<USBAccessibleLynxModule> modules) |
Modifier and Type | Method and Description |
---|---|
boolean |
containsCurrentAddress(int address) |
SerialNumber |
findByCurrentAddress(int address) |
int |
getCurrentAddress(SerialNumber serialNumber) |
int |
getStartingAddress(SerialNumber serialNumber) |
void |
putCurrentAddress(SerialNumber serialNumber,
int address) |
protected java.util.Map<SerialNumber,java.lang.Integer> starting
protected java.util.Map<SerialNumber,java.lang.Integer> current
public AddressConfiguration()
public AddressConfiguration(java.util.List<USBAccessibleLynxModule> modules)
public int getStartingAddress(SerialNumber serialNumber)
public boolean containsCurrentAddress(int address)
public void putCurrentAddress(SerialNumber serialNumber, int address)
public int getCurrentAddress(SerialNumber serialNumber)
public SerialNumber findByCurrentAddress(int address)