Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

tcsmonDefines.h

Go to the documentation of this file.
00001 #ifndef tcsmonDEFINES_H
00002 #define tcsmonDEFINES_H
00003 /******************************************************************************
00004 * E.S.O. - VLT project
00005 *
00006 * "@(#) $Id: tcsmonDefines.h,v 2.38 2003/07/12 21:26:14 vltsccm Exp $"
00007 *
00008 * who       when      what
00009 * --------  --------  -------------------------------------------------------
00010 * sidmgr 2002-10-05 removed hardcoded DB paths
00011 * tcsmgr 2002-09-05 lossam renamed rflrms
00012 * asmmgr  2002-07-19 added lossam, tau0 and tetha0 defines
00013 * mkiekebu  12/08/99  cableWrap definitions added
00014 * awalland  26/03/99  Added alt/az torque and poserr rms
00015 * awalland  02/12/98  Correct mapping of M1 temperatures
00016 * awalland  25/09/98  add db definitions for alt and az position
00017 * awalland  29/06/98  add temp log definitions
00018 * rkarban   14/05/97  created
00019 */
00020 
00021 /******************************************************************************
00022  * General definitions, to be used by code and database classes.
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  * Module name
00032  */
00033 #define tcsmonMOD "tcsmon"
00034 
00035 /* 
00036  * Defines for the target telescope. Up to now only VLT and NTT.
00037  * The default target is VLT.
00038  */
00039 #include <tcsDefines.h>
00040 
00041 /*
00042  * Module and process states values and names
00043  */
00044 #include <evhStates.h>
00045 #include <evhSTD_COMMANDS_NAMES.h>
00046 
00047 
00048 /*
00049  * Database point and attribute names
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  * tcsmon Commands
00062  */
00063 
00064 
00065 
00066 /*
00067  * definitions for DB
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  * definitions for alarm names
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

Generated on Wed Dec 3 14:52:21 2003 for ATCS API by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001