public class CanOpenErrorsTable extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static Properties |
commErrorCodes |
protected static InputStream |
commErrorFile |
protected static Properties |
deviceErrorCodes
******************************
|
protected static InputStream |
deviceErrorFile |
protected static Properties |
errorRegisterCodes |
| Constructor and Description |
|---|
CanOpenErrorsTable() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getCommErrorNameByCode(String aCode)
Return the name of a communication error code given as a parameter in reading in the
communication error table.
|
static String |
getDeviceErrorNameByCode(String aCode)
Return the name of an error code given as a parameter in reading in the
error codes table.
|
static String |
getErrorRegisterNameByCode(String aCode)
Return the name of an error register given as a parameter in reading in the
error register table.
|
static void |
loadCommunicationErrorTable() |
static void |
loadDeviceErrorTable() |
static void |
loadErrorRegisterTable() |
static void |
main(String[] args)
Just for tests
|
protected static final Properties deviceErrorCodes
protected static final InputStream deviceErrorFile
protected static final Properties errorRegisterCodes
protected static final Properties commErrorCodes
protected static final InputStream commErrorFile
public static void loadDeviceErrorTable()
throws DeploymentException
DeploymentExceptionpublic static String getDeviceErrorNameByCode(String aCode)
aCode - error in hexapublic static String getErrorRegisterNameByCode(String aCode)
aCode - error register in hexapublic static String getCommErrorNameByCode(String aCode)
aCode - error register in hexapublic static void loadErrorRegisterTable()
throws DeploymentException
DeploymentExceptionpublic static void loadCommunicationErrorTable()
throws DeploymentException
DeploymentExceptionpublic static void main(String[] args) throws DeploymentException
args - DeploymentExceptionCopyright © 2016 LSST. All rights reserved.