public class GPOs
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
GPOs.Port
This class represents the individual GPO Port
|
| Modifier and Type | Method and Description |
|---|---|
int |
getLength()
Gets the number of GPO ports supported
|
GPO_PORT_STATE |
getPortState(int portIndex)
Gets the current GPO State as enabled or disabled
|
void |
setPortState(int portIndex,
GPO_PORT_STATE portState)
Sets the current GPO State as enabled or disabled
|
public GPO_PORT_STATE getPortState(int portIndex) throws InvalidUsageException, OperationFailureException
portIndex - Index of the GPI port to be enabled/disabledInvalidUsageExceptionOperationFailureExceptionpublic void setPortState(int portIndex,
GPO_PORT_STATE portState)
throws InvalidUsageException,
OperationFailureException
portIndex - Index of the GPI port to be enabled/disabledportState - GPO Port State to be setInvalidUsageExceptionOperationFailureExceptionpublic int getLength()