org.mbari.siam.distributed.devices
Interface Power

All Superinterfaces:
Device, Instrument, java.rmi.Remote
All Known Implementing Classes:
PowerCan

public interface Power
extends Instrument

Interface to extend services of mooring power service

Author:
Mike Risi, Kent Headley

Field Summary
static java.lang.String[] BACKUP_STATES
           
static int BIN_BACKUP
           
static int BIN_BACKUP_ALLDI
           
static int BIN_BACKUP_ALLEN
           
static int BIN_BACKUP_DI
           
static int BIN_BACKUP_EN
           
static int BIN_BACKUP_QUERY
           
static int BIN_SWITCH
           
static int BIN_SWITCH_ALLOFF
           
static int BIN_SWITCH_ALLON
           
static int BIN_SWITCH_OFF
           
static int BIN_SWITCH_ON
           
static int BIN_SWITCH_QUERY
           
static java.lang.String CMD_BIN_400VSW_ALLOFF
           
static java.lang.String CMD_BIN_400VSW_ALLON
           
static java.lang.String CMD_BIN_400VSW_OFF
           
static java.lang.String CMD_BIN_400VSW_ON
           
static java.lang.String CMD_BIN_400VSW_STATUS
           
static java.lang.String CMD_BIN_BACKUP_ALLDI
           
static java.lang.String CMD_BIN_BACKUP_ALLEN
           
static java.lang.String CMD_BIN_BACKUP_DI
           
static java.lang.String CMD_BIN_BACKUP_EN
           
static java.lang.String CMD_BIN_BACKUP_STATUS
           
static byte[] CMD_HIGH_VOLTAGE_OFF
           
static byte[] CMD_HIGH_VOLTAGE_ON
           
static byte[] CMD_HIGH_VOLTAGE_STATUS
           
static int POWER_SWITCH
           
static int POWER_SWITCH_OFF
           
static int POWER_SWITCH_ON
           
static int POWER_SWITCH_QUERY
           
static java.lang.String[] SWITCH_STATES
           
 
Fields inherited from interface org.mbari.siam.distributed.Device
ERROR, INITIAL, INSTRUMENT_STATE, MDATA_ALL, OK, SAFE, SAMPLING, SERVICE_ATTRIBUTES, SERVICE_CACHE, SERVICE_PROPERTIES, SERVICE_XML, SHUTDOWN, SLEEPING, SUSPEND, UNKNOWN
 
Method Summary
 byte[] binBackups(int enableBatteries, int enableCapacitors)
          Disable/Enable backup batteries and/or holdup capacitors returns switch status of backups
 void disableHiVoltage()
          Disable high voltage power to sub sea nodes.
 void enableHiVoltage()
          Enable high voltage power to sub sea nodes.
 boolean isHighVoltageEnabled()
          Check state of high voltage switch on sub sea nodes
 byte[] queryBIN400V()
          Query BIN 400V switch status
 byte[] switchBIN400V(int[] switchStates)
          Switch specified BIN 400V power channel(s) returns switch status of all BIN 400v power channels
 
Methods inherited from interface org.mbari.siam.distributed.Instrument
acquireSample, addDefaultPacketFilters, annotate, cacheProperties, clearDefaultPacketFilters, clearPropertiesCache, disableSummary, enableSummary, getDefaultPacketFilters, getLastSample, getPackets, getPackets, getParser, getPortDiagnostics, getPortDiagnosticsSummary, getProperties, getProperty, getSampleSchedule, getSchedules, resetPortDiagnostics, setClock, setClock, setProperty, summaryEnabled
 
Methods inherited from interface org.mbari.siam.distributed.Device
getChildren, getCommPortName, getFrameworkVersion, getId, getLocation, getMetadata, getName, getParent, getSamplingCount, getSamplingErrorCount, getSamplingRetryCount, getStatus, host, powerOff, powerOn, prepareToRun, resume, shutdown, suspend, test
 

Field Detail

POWER_SWITCH

static final int POWER_SWITCH
See Also:
Constant Field Values

POWER_SWITCH_ON

static final int POWER_SWITCH_ON
See Also:
Constant Field Values

POWER_SWITCH_OFF

static final int POWER_SWITCH_OFF
See Also:
Constant Field Values

POWER_SWITCH_QUERY

static final int POWER_SWITCH_QUERY
See Also:
Constant Field Values

BIN_SWITCH

static final int BIN_SWITCH
See Also:
Constant Field Values

BIN_SWITCH_QUERY

static final int BIN_SWITCH_QUERY
See Also:
Constant Field Values

BIN_SWITCH_ON

static final int BIN_SWITCH_ON
See Also:
Constant Field Values

BIN_SWITCH_OFF

static final int BIN_SWITCH_OFF
See Also:
Constant Field Values

BIN_SWITCH_ALLOFF

static final int BIN_SWITCH_ALLOFF
See Also:
Constant Field Values

BIN_SWITCH_ALLON

static final int BIN_SWITCH_ALLON
See Also:
Constant Field Values

SWITCH_STATES

static final java.lang.String[] SWITCH_STATES

CMD_HIGH_VOLTAGE_ON

static final byte[] CMD_HIGH_VOLTAGE_ON

CMD_HIGH_VOLTAGE_OFF

static final byte[] CMD_HIGH_VOLTAGE_OFF

CMD_HIGH_VOLTAGE_STATUS

static final byte[] CMD_HIGH_VOLTAGE_STATUS

CMD_BIN_400VSW_ON

static final java.lang.String CMD_BIN_400VSW_ON
See Also:
Constant Field Values

CMD_BIN_400VSW_OFF

static final java.lang.String CMD_BIN_400VSW_OFF
See Also:
Constant Field Values

CMD_BIN_400VSW_ALLON

static final java.lang.String CMD_BIN_400VSW_ALLON
See Also:
Constant Field Values

CMD_BIN_400VSW_ALLOFF

static final java.lang.String CMD_BIN_400VSW_ALLOFF
See Also:
Constant Field Values

CMD_BIN_400VSW_STATUS

static final java.lang.String CMD_BIN_400VSW_STATUS
See Also:
Constant Field Values

BIN_BACKUP

static final int BIN_BACKUP
See Also:
Constant Field Values

BIN_BACKUP_EN

static final int BIN_BACKUP_EN
See Also:
Constant Field Values

BIN_BACKUP_DI

static final int BIN_BACKUP_DI
See Also:
Constant Field Values

BIN_BACKUP_ALLEN

static final int BIN_BACKUP_ALLEN
See Also:
Constant Field Values

BIN_BACKUP_ALLDI

static final int BIN_BACKUP_ALLDI
See Also:
Constant Field Values

BIN_BACKUP_QUERY

static final int BIN_BACKUP_QUERY
See Also:
Constant Field Values

BACKUP_STATES

static final java.lang.String[] BACKUP_STATES

CMD_BIN_BACKUP_EN

static final java.lang.String CMD_BIN_BACKUP_EN
See Also:
Constant Field Values

CMD_BIN_BACKUP_DI

static final java.lang.String CMD_BIN_BACKUP_DI
See Also:
Constant Field Values

CMD_BIN_BACKUP_ALLEN

static final java.lang.String CMD_BIN_BACKUP_ALLEN
See Also:
Constant Field Values

CMD_BIN_BACKUP_ALLDI

static final java.lang.String CMD_BIN_BACKUP_ALLDI
See Also:
Constant Field Values

CMD_BIN_BACKUP_STATUS

static final java.lang.String CMD_BIN_BACKUP_STATUS
See Also:
Constant Field Values
Method Detail

enableHiVoltage

void enableHiVoltage()
                     throws java.rmi.RemoteException,
                            java.lang.Exception
Enable high voltage power to sub sea nodes.

Throws:
java.rmi.RemoteException
java.lang.Exception

disableHiVoltage

void disableHiVoltage()
                      throws java.rmi.RemoteException,
                             java.lang.Exception
Disable high voltage power to sub sea nodes.

Throws:
java.rmi.RemoteException
java.lang.Exception

isHighVoltageEnabled

boolean isHighVoltageEnabled()
                             throws java.rmi.RemoteException,
                                    java.lang.Exception
Check state of high voltage switch on sub sea nodes

Throws:
java.rmi.RemoteException
java.lang.Exception

queryBIN400V

byte[] queryBIN400V()
                    throws java.rmi.RemoteException,
                           java.lang.Exception
Query BIN 400V switch status

Throws:
java.rmi.RemoteException
java.lang.Exception

switchBIN400V

byte[] switchBIN400V(int[] switchStates)
                     throws java.rmi.RemoteException,
                            java.lang.Exception
Switch specified BIN 400V power channel(s) returns switch status of all BIN 400v power channels

Throws:
java.rmi.RemoteException
java.lang.Exception

binBackups

byte[] binBackups(int enableBatteries,
                  int enableCapacitors)
                  throws java.rmi.RemoteException,
                         java.lang.Exception
Disable/Enable backup batteries and/or holdup capacitors returns switch status of backups

Throws:
java.rmi.RemoteException
java.lang.Exception


Copyright © 2003 MBARI.

The Monterey Bay Aquarium Research Institute (MBARI) provides this documentation and code "as is", with no warranty, express or implied, of its quality or consistency. It is provided without support and without obligation on the part of MBARI to assist in its use, correction, modification, or enhancement.