-
Notifications
You must be signed in to change notification settings - Fork 5
/
config.hpp
45 lines (41 loc) · 949 Bytes
/
config.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#ifndef ISOCPP_DEMO_ISHAPES_CONFIG_HPP
#define ISOCPP_DEMO_ISHAPES_CONFIG_HPP
/**
* @addtogroup demos_iShapes
*/
/** @{*/
/** @file */
/** @}*/
#define ISHAPES_IOP_DEMO 1
#define ISHAPES_WIDE_FORMAT 1
#define REFRESH_PERIOD 40 //ms
// Durability Settings
#define PERSISTENT_TOPIC 1
#define DS_HISTORY 100
#define DS_MAX_SAMPLES 8192
#define DS_MAX_INSTANCES 4196
#define DS_MAX_SAMPLES_X_INSTANCE 8192
#if (ISHAPES_WIDE_FORMAT == 1)
# define IS_WIDTH 501
# define IS_HEIGHT 361
# define BRAND_LOGO_X 125
# define BRAND_LOGO_Y 10
# define ISOCPP_LOGO_X 200
#ifdef Ospl
#define ISOCPP_LOGO_Y 305
#elif Cyclone
# define ISOCPP_LOGO_Y 285
#endif
#else
# define IS_WIDTH 321
# define IS_HEIGHT 361
# define BRAND_LOGO_X 35
# define BRAND_LOGO_Y 15
# define ISOCPP_LOGO_X 12
# ifdef Ospl
# define ISOCPP_LOGO_Y 305
# elif Cyclone
# define ISOCPP_LOGO_Y 285
# endif
#endif
#endif /* ISOCPP_DEMO_ISHAPES_CONFIG_HPP */