org.lsst.ccs.subsystems.fcs.drivers
Class CanOpenErrorsTable

java.lang.Object
  extended by org.lsst.ccs.subsystems.fcs.drivers.CanOpenErrorsTable

public class CanOpenErrorsTable
extends Object

This class deviceErrorFile a utility class to load the property files we need to monitor a Can Open device : - device error codes - error register codes - communication errors

Author:
virieux

Field Summary
protected static org.apache.log4j.Logger log
           
 
Constructor Summary
CanOpenErrorsTable()
           
 
Method Summary
static String getDeviceErrorNameByCode(String aCode)
          Return the name of an error code given as a parameter in reading in the error codes table.
static void loadCommunicationErrorTable()
           
static void loadDeviceErrorTable()
           
static void loadErrorRegisterTable()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static final org.apache.log4j.Logger log
Constructor Detail

CanOpenErrorsTable

public CanOpenErrorsTable()
Method Detail

loadDeviceErrorTable

public static void loadDeviceErrorTable()
                                 throws DeploymentError
Throws:
DeploymentError

getDeviceErrorNameByCode

public static String getDeviceErrorNameByCode(String aCode)
Return the name of an error code given as a parameter in reading in the error codes table.

Parameters:
code - error in hexa
Returns:
the name

loadErrorRegisterTable

public static void loadErrorRegisterTable()
                                   throws DeploymentError
Throws:
DeploymentError

loadCommunicationErrorTable

public static void loadCommunicationErrorTable()
                                        throws DeploymentError
Throws:
DeploymentError


Copyright © 2013 LSST. All Rights Reserved.