|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.mbari.siam.core.NullPowerPort
public class NullPowerPort
Implementation of PowerPort interface; used when power control hardware is absent.
| Field Summary | |
|---|---|
static java.lang.String |
TYPE_NAME
|
| Constructor Summary | |
|---|---|
NullPowerPort()
|
|
| Method Summary | |
|---|---|
void |
connectPower()
Connect instrument to power. |
void |
disableCommunications()
Disable communications |
void |
disconnectPower()
Disconnect instrument from power. |
void |
enableCommunications()
Enable communications |
float |
getCurrentLevel()
Get the current level of the PowerPort. |
int |
getCurrentLimit()
Get current limit of port. |
java.lang.String |
getName()
Get name. |
java.lang.String |
getStatusMessage()
Get status message. |
java.lang.String |
getStatusSummaryMessage()
Get status summary message. |
float |
getTemperature()
Get the temperature the PowerPort. |
java.lang.String |
getTerseStatus()
Get a terse status message |
float |
getVoltageLevel()
Get the voltage level of the PowerPort; not supported by NullPowerPort. |
void |
initialize()
Initialize the port. |
void |
isolatePort()
Isolate comms and power from port. |
void |
resetStatus()
Reset status. |
void |
setCommsMode(CommsMode commsMode)
Set communications mode (RS422,RS485,RS232) satisfies InstrumentPort interface |
void |
setCurrentLimit(int currentLimit)
Set current limit on port. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String TYPE_NAME
| Constructor Detail |
|---|
public NullPowerPort()
| Method Detail |
|---|
public java.lang.String getName()
getName in interface PowerPortpublic void initialize()
initialize in interface PowerPort
public void setCurrentLimit(int currentLimit)
throws NotSupportedException
setCurrentLimit in interface PowerPortNotSupportedException
public int getCurrentLimit()
throws NotSupportedException
getCurrentLimit in interface PowerPortNotSupportedException
public float getVoltageLevel()
throws NotSupportedException
getVoltageLevel in interface PowerPortNotSupportedException
public float getCurrentLevel()
throws NotSupportedException
getCurrentLevel in interface PowerPortNotSupportedException
public float getTemperature()
throws NotSupportedException
getTemperature in interface PowerPortNotSupportedExceptionpublic void enableCommunications()
enableCommunications in interface PowerPortpublic void disableCommunications()
disableCommunications in interface PowerPortpublic void connectPower()
connectPower in interface PowerPortpublic void disconnectPower()
disconnectPower in interface PowerPortpublic void isolatePort()
isolatePort in interface PowerPortpublic java.lang.String getStatusMessage()
getStatusMessage in interface PowerPortpublic java.lang.String getStatusSummaryMessage()
getStatusSummaryMessage in interface PowerPortpublic void resetStatus()
resetStatus in interface PowerPortpublic java.lang.String getTerseStatus()
getTerseStatus in interface PowerPortpublic void setCommsMode(CommsMode commsMode)
setCommsMode in interface PowerPort
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||