00001 #ifndef tcsmonDEFINES_H
00002 #define tcsmonDEFINES_H
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026 #ifndef __cplusplus
00027 #error This is a C++ include file and cannot be used from plain C
00028 #endif
00029
00030
00031
00032
00033 #define tcsmonMOD "tcsmon"
00034
00035
00036
00037
00038
00039 #include <tcsDefines.h>
00040
00041
00042
00043
00044 #include <evhStates.h>
00045 #include <evhSTD_COMMANDS_NAMES.h>
00046
00047
00048
00049
00050
00051 #define tcsmonDB_ENTRY_POINT "tcsmon"
00052 #define tcsmonDB_STATE "state"
00053 #define tcsmonDB_SUBSTATE "substate"
00054
00055 #define tcsmonDB_CONTROL_POINT "control"
00056 #define tcsmonDB_CONTROL_STATE "state"
00057 #define tcsmonDB_CONTROL_SIMULATION "simulation"
00058 #define tcsmonDB_CONTROL_VERBOSE "verbose"
00059
00060
00061
00062
00063
00064
00065
00066
00067
00068
00069 #define tcsmonDB_SCHED_LOG_POINT "schedLog"
00070
00071 #define tcsmonDB_HB_LOG_POINT "hbLog"
00072 #define tcsmonDB_HB_LOG_period "period"
00073 #define tcsmonDB_HB_LOG_enable "enable"
00074
00075 #define tcsmonDB_MOON_CALC_POINT "moonCalc"
00076 #define tcsmonDB_MOON_CALC_PERIOD "period"
00077 #define tcsmonDB_MOON_CALC_MOON "moon"
00078
00079 #define tcsmonDB_SITE_CONSTANTS_POINT "siteConstants"
00080 #define tcsmonDB_SITE_CONSTANTS_LONG "longitude"
00081 #define tcsmonDB_SITE_CONSTANTS_LAT "latitude"
00082 #define tcsmonDB_SITE_CONSTANTS_HEIGHT "height"
00083
00084 #define tcsmonDB_ENVIRONMENT_POINT "environment"
00085 #define tcsmonDB_ENVIRONMENT_PERIOD "pollPeriod"
00086 #define tcsmonDB_ENVIRONMENT_WINDSPEED "windspeed"
00087 #define tcsmonDB_ENVIRONMENT_WINDDIR "winddir"
00088 #define tcsmonDB_ENVIRONMENT_TEMPERATURE "temperature"
00089 #define tcsmonDB_ENVIRONMENT_PRESSURE "pressure"
00090 #define tcsmonDB_ENVIRONMENT_HUMIDITY "humidity"
00091 #define tcsmonDB_ENVIRONMENT_LAPSE_RATE "lapseRate"
00092 #define tcsmonDB_ENVIRONMENT_SEEING "seeing"
00093 #define tcsmonDB_ENVIRONMENT_OBS_SEEING "obsSeeing"
00094 #define tcsmonDB_ENVIRONMENT_DEW_POINT "dewPoint"
00095 #define tcsmonDB_ENVIRONMENT_ASM_STATUS "asmStatus"
00096 #define tcsmonDB_ENVIRONMENT_OBS_SEEING_STATUS "obsSeeingStatus"
00097 #define tcsmonDB_ENVIRONMENT_TAU0 "tau0"
00098 #define tcsmonDB_ENVIRONMENT_THETA0 "theta0"
00099 #define tcsmonDB_ENVIRONMENT_RFLRMS "rflrms"
00100
00101
00102
00103
00104
00105 #define tcsmonASM_STATUS_ALARM_NORMAL 0
00106 #define tcsmonASM_STATUS_ALARM_WARNING 1
00107
00108
00109 #define tcsmonERROR_MAX 5
00110 #endif // !tcsmonDEFINES_H