|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.mbari.siam.moos.utils.node.InstrumentPowerObject
public class InstrumentPowerObject
Description: This class is a proxy to a Power Switch objct for the tree in the Power Control Panel
C August 2003 MBARI Monterey Bay Aquarium Research Institute Proprietary Information. All rights reserved.
| Constructor Summary | |
|---|---|
InstrumentPowerObject(java.lang.String powerStatus,
PowerSwitch pw,
Instrument ins)
Constructor |
|
| Method Summary | |
|---|---|
java.lang.String |
getDeviceID()
method sets the power status public void setPowerStatus(String s) { _powerStatus = s; } /** returns the device ID of the instrument associated with the power switch object |
Instrument |
getInstrument()
returns the intrument associated with the power switch object |
java.lang.String |
getName()
returns the name of the power switch object |
java.lang.String |
getPowerStatus()
returns the power status of the object |
java.lang.String |
toString()
returns the name and power status of this object in its toString() method |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public InstrumentPowerObject(java.lang.String powerStatus,
PowerSwitch pw,
Instrument ins)
| Method Detail |
|---|
public java.lang.String getName()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getPowerStatus()
public java.lang.String getDeviceID()
public Instrument getInstrument()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||