public class Switch extends TwoTermDev
Modifier and Type | Class and Description |
---|---|
static class |
Switch.State |
Constructor and Description |
---|
Switch(SwitchList list,
int ndx) |
Modifier and Type | Method and Description |
---|---|
Switch.State |
getState() |
float |
getTransitTime() |
boolean |
isEnabled() |
boolean |
isOperableUnderLoad() |
void |
setEnabled(boolean enable) |
void |
setOperableUnderLoad(boolean op) |
void |
setState(Switch.State state) |
void |
setTransitTime(float t) |
getFromBus, getFromP, getFromQ, getToBus, getToP, getToQ, setFromP, setFromQ, setToP, setToQ
isInService, setInService
equals, getID, getIndex, getKey, getList, getName, hashCode, setID, setName, toString
getIndex
public Switch(SwitchList list, int ndx)
public Switch.State getState() throws PAModelException
PAModelException
public void setState(Switch.State state) throws PAModelException
PAModelException
public boolean isOperableUnderLoad() throws PAModelException
PAModelException
public void setOperableUnderLoad(boolean op) throws PAModelException
PAModelException
public boolean isEnabled() throws PAModelException
PAModelException
public void setEnabled(boolean enable) throws PAModelException
PAModelException
public float getTransitTime() throws PAModelException
PAModelException
public void setTransitTime(float t) throws PAModelException
PAModelException