|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.mbari.siam.distributed.PowerSwitch
public class PowerSwitch
The PowerSwitch class contains information about power switches.
| Field Summary | |
|---|---|
protected long |
_switchedDeviceID
ISI ID of device which is powered by switch. |
protected byte[] |
_switchName
|
| Constructor Summary | |
|---|---|
PowerSwitch(byte[] switchName,
long switchedDeviceID)
Create PowerSwitch object with specified name and switched device ID. |
|
| Method Summary | |
|---|---|
byte[] |
getName()
Return name of switch. |
long |
getSwitchedDeviceID()
Return ISI ID of associated device. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected byte[] _switchName
protected long _switchedDeviceID
| Constructor Detail |
|---|
public PowerSwitch(byte[] switchName,
long switchedDeviceID)
switchName - Name of switch objectswitchedDeviceID - ISI device ID of associated instrument; 0 if instrument
service not running.| Method Detail |
|---|
public byte[] getName()
public long getSwitchedDeviceID()
throws DeviceNotFound
DeviceNotFound
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||