org.lsst.ccs.subsystems.fcs.drivers
Class CanOpenErrorsTable
java.lang.Object
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
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static final org.apache.log4j.Logger log
CanOpenErrorsTable
public CanOpenErrorsTable()
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 © 2012 LSST. All Rights Reserved.