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, setToQisInService, setInServiceequals, getID, getIndex, getKey, getList, getName, hashCode, setID, setName, toStringgetIndexpublic Switch(SwitchList list, int ndx)
public Switch.State getState() throws PAModelException
PAModelExceptionpublic void setState(Switch.State state) throws PAModelException
PAModelExceptionpublic boolean isOperableUnderLoad()
throws PAModelException
PAModelExceptionpublic void setOperableUnderLoad(boolean op)
throws PAModelException
PAModelExceptionpublic boolean isEnabled()
throws PAModelException
PAModelExceptionpublic void setEnabled(boolean enable)
throws PAModelException
PAModelExceptionpublic float getTransitTime()
throws PAModelException
PAModelExceptionpublic void setTransitTime(float t)
throws PAModelException
PAModelException