public class LimitSystem
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
LimitSystem.SystemType
Type of limit system
|
| Modifier and Type | Field and Description |
|---|---|
private BooleanSource |
m_backLimit |
private BooleanSource |
m_frontLimit |
private LimitSystem.SystemType |
m_systemType |
| Constructor and Description |
|---|
LimitSystem(BooleanSource frontLimit,
BooleanSource backLimit) |
LimitSystem(BooleanSource limit,
LimitSystem.SystemType type) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canForward()
Can up.
|
boolean |
canReverse()
Can down.
|
private LimitSystem.SystemType m_systemType
private BooleanSource m_frontLimit
private BooleanSource m_backLimit
public LimitSystem(BooleanSource limit, LimitSystem.SystemType type)
public LimitSystem(BooleanSource frontLimit, BooleanSource backLimit)