org.lsst.ccs.subsystems.fcs.common
Interface PieceOfHardware

All Known Implementing Classes:
CanOpenADC, CanOpenClampActuatorModule, CanOpenDAC, CanOpenDevice, CanOpenDIO

public interface PieceOfHardware

This is an interface for a piece of hardware on a can open network. //TODO : should be renamed CanOpenDevice

Author:
virieux

Method Summary
 String getName()
           
 String getNodeID()
           
 String getSerialNB()
           
 String initializeHardware()
          This methods write some configuration data on the hardware CPU.
 boolean isInitalized()
           
 boolean isNodeIdBootedAndOK()
           
 

Method Detail

getName

String getName()

getSerialNB

String getSerialNB()

getNodeID

String getNodeID()

isNodeIdBootedAndOK

boolean isNodeIdBootedAndOK()
Returns:
true If this piece of hardware is booted and the nodeID on the hardware is the same than the one in the Configuration DB.

isInitalized

boolean isInitalized()
Returns:
true if the hardware has been initialized with success, false otherwise.

initializeHardware

String initializeHardware()
                          throws Exception
This methods write some configuration data on the hardware CPU.

Returns:
a message for the end user if evering is OK otherwise throws an exception.
Throws:
Exception


Copyright © 2013 LSST. All Rights Reserved.