TwiceAsNice
2019-02-18
|
Public Member Functions | |
def | __init__ (self, deviceName, portIndex) |
def | setOn (self) |
def | setOff (self) |
def | getState (self) |
def | getDescription (self) |
def | __init__ (self, deviceName, portIndex) |
def | setOn (self) |
def | setOff (self) |
def | getState (self) |
def | getDescription (self) |
Public Attributes | |
deviceName_ | |
portIndex_ | |
setOnCommand_ | |
setOffCommand_ | |
statusPropertyName_ | |
Static Public Attributes | |
string | OUTPUT_PORT_SET_ON_COMMAND_NAME = "OUTPUT.COMMAND.SET_ON" |
string | OUTPUT_PORT_SET_OFF_COMMAND_NAME = "OUTPUT.COMMAND.SET_OFF" |
![]() | |
string | PROPERTY_DESCRIPTION = "DESCRIPTION" |
This class represents an output port.
def io_switch.OutputPort.__init__ | ( | self, | |
deviceName, | |||
portIndex | |||
) |
Constructs an OutputPort. @param deviceName the node name of this output port. @param portIndex the port index.
def io_switch.OutputPort.__init__ | ( | self, | |
deviceName, | |||
portIndex | |||
) |
Constructs an OutputPort. @param deviceName the node name of this output port. @param portIndex the port index.
def io_switch.OutputPort.getDescription | ( | self | ) |
def io_switch.OutputPort.getDescription | ( | self | ) |
def io_switch.OutputPort.getState | ( | self | ) |
Gets the port state. @return the port state (element of PORT_STATES)
def io_switch.OutputPort.getState | ( | self | ) |
Gets the port state. @return the port state (element of PORT_STATES)
def io_switch.OutputPort.setOff | ( | self | ) |
Sets this port to OFF.
def io_switch.OutputPort.setOff | ( | self | ) |
Sets this port to OFF.
def io_switch.OutputPort.setOn | ( | self | ) |
Sets this port to ON.
def io_switch.OutputPort.setOn | ( | self | ) |
Sets this port to ON.
io_switch.OutputPort.deviceName_ |
|
static |
|
static |
io_switch.OutputPort.portIndex_ |
io_switch.OutputPort.setOffCommand_ |
io_switch.OutputPort.setOnCommand_ |
io_switch.OutputPort.statusPropertyName_ |