Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #ifndef DABC_records
00015 #define DABC_records
00016
00017 #ifdef __cplusplus
00018
00019 namespace dabc
00020 {
00021
00022 #endif
00023
00024 typedef struct
00025 {
00026 int channels;
00027 float xlow;
00028 float xhigh;
00029 char xlett[32];
00030 char cont[32];
00031 char color[16];
00032 int data;
00033
00034 } HistogramRec;
00035
00036 typedef struct
00037 {
00038 int severity;
00039 char color[16];
00040 char status[16];
00041 } StatusRec;
00042
00043 typedef struct
00044 {
00045 int verbose;
00046 char color[16];
00047 char info[128];
00048 } InfoRec;
00049
00050 typedef struct
00051 {
00052 float value;
00053 int displaymode;
00054 float lower;
00055 float upper;
00056 float alarmlower;
00057 float alarmupper;
00058 char color[16];
00059 char alarmcolor[16];
00060 char units[16];
00061 } RateRec;
00062
00063 enum RateDisplayMode
00064 {
00065 DISPLAY_ARC = 0,
00066 DISPLAY_BAR = 1,
00067 DISPLAY_TREND = 2,
00068 DISPLAY_STAT = 3
00069 };
00070
00071 #ifdef __cplusplus
00072
00073 extern const char* HistogramRecDesc;
00074 extern const char* StatusRecDesc;
00075 extern const char* InfoRecDesc;
00076 extern const char* RateRecDesc;
00077
00078 extern const char* col_Red;
00079 extern const char* col_Green;
00080 extern const char* col_Blue;
00081 extern const char* col_Cyan;
00082 extern const char* col_Yellow;
00083 extern const char* col_Magenta;
00084
00085 }
00086 #endif
00087
00088 #endif