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

atecswsDefines.h

Go to the documentation of this file.
00001 #ifndef atecswsDEFINES_H
00002 #define atecswsDEFINES_H
00003 /******************************************************************************
00004 * E.S.O. - VLT project
00005 *
00006 * "@(#) $Id: atecswsDefines.h,v 1.10 2003/06/25 12:34:55 vltsccm Exp $"
00007 *
00008 * who       when      what
00009 * --------  --------  -------------------------------------------------------
00010 * rkarban 2001-05-30 created
00011 */
00012 
00013 /******************************************************************************
00014  * General definitions, to be used by code and database classes.
00015  *-----------------------------------------------------------------------------
00016  */
00017 
00018 #ifndef __cplusplus
00019 #error This is a C++ include file and cannot be used from plain C
00020 #endif
00021 
00022 /* 
00023  * Module name
00024  */
00025 #define atecswsMOD "atecsws"
00026 
00027 /* 
00028  * Defines for the target telescope. Up to now only VLT and NTT.
00029  * The default target is VLT.
00030  */
00031 #include "tcsDefines.h"
00032 
00033 /*
00034  * Module and process states values and names
00035  */
00036 #include "evhStates.h"
00037 
00038 #define atecswsMAX_ERROR_COUNT 5
00039 
00040 
00041 /*
00042  * monitor watching stati
00043  */
00044 #define atecswsMONITOR_OFF        0
00045 #define atecswsMONITOR_NORMAL     1
00046 #define atecswsMONITOR_WARNING    2 
00047 #define atecswsMONITOR_ALARM      3
00048 #define atecswsMONITOR_ACTION     4
00049 #define atecswsMONITOR_ERROR      5
00050 
00051 /*
00052  * Dome status
00053  */
00054 
00055 #define atecswsDOME_OPENED     2
00056 /*
00057  * Database point and attribute names
00058  */
00059 #define atecswsDB_ENTRY_POINT          "atecsws"
00060 #define atecswsDB_STATE                "state"
00061 #define atecswsDB_SUBSTATE             "substate"
00062 #define atecswsDB_CONTROL_POINT        "control"
00063 
00064 
00065 #define atecswsDB_OD_STATUS            ".shellsStatusAddr"
00066 
00067 #define atecswsDB_TRANSFER_POINT       ":transfer"
00068 #define atecswsDB_TRANSFER_TARG        ".target"
00069 #define atecswsDB_TRANSFER_CMDS        ".commands"
00070 
00071 #define atecswsDB_MONITOR_HUMIDITY_POINT  ":humidity"
00072 #define atecswsDB_MONITOR_DEWPOINT_POINT  ":dewPoint"
00073 #define atecswsDB_MONITOR_LOCALWIND_POINT  ":localWind"
00074 
00075 #define atecswsDB_MONITOR_STATUS          ".status"
00076 #define atecswsDB_MONITOR_ADDR            ".dbAddr"
00077 #define atecswsDB_MONITOR_WARN            ".warningLimit"
00078 #define atecswsDB_MONITOR_ACTION          ".actionLimit"
00079 #define atecswsDB_MONITOR_DELAY           ".actionDelay"
00080 #define atecswsDB_MONITOR_ARMED           ".armed"
00081 
00082 
00083 /*
00084  * Enclosure Coordination Commands
00085  */
00086 
00087 /*
00088  * Commands to Enclosure LCU
00089  */
00090 #define atecswsCMD_OPEN_SHELLS  "OPEN"
00091 #define atecswsCMD_CLOSE_SHELLS "CLOSE"
00092 #define atecswsCMD_GETWIND      "GETWIND"
00093 #define atecswsCMD_STOP_LCU       "STOPLCU"
00094 
00095 
00096 #endif // !atecswsDEFINES_H

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