Revision 40 logic/trunk/src/init/scenariolist.h
scenariolist.h | ||
---|---|---|
1 | 1 |
#ifndef SCENARIOLIST_H_INCLUDED |
2 | 2 |
#define SCENARIOLIST_H_INCLUDED |
3 | 3 |
|
4 |
#include "devicelist.h" |
|
5 |
|
|
4 | 6 |
typedef struct scenario_s |
5 | 7 |
{ |
6 | 8 |
char *scen_id; |
7 | 9 |
char *scen_name; |
8 | 10 |
char *inDevice_id; |
11 |
device *dev; |
|
9 | 12 |
char *outDevice_id; |
10 | 13 |
char *func; |
11 | 14 |
int idleChkItv; |
12 | 15 |
int actvChkItv; |
13 |
char *params_val; // TBD kaj je to? |
|
16 |
float alpha; |
|
17 |
char *params_val; // TODO kaj je to? |
|
14 | 18 |
int minval; |
15 | 19 |
int maxval; |
16 | 20 |
int optval; |
17 | 21 |
int tolval; |
18 | 22 |
char *action; |
19 | 23 |
char *param; |
24 |
struct condition_list *cond_l; |
|
25 |
// control variables and pointers |
|
20 | 26 |
int status; // 0 - OK, 1 - fault reason 1, 2 - fault reason 2 ... etc. |
21 |
struct condition_list *cond_l; |
|
22 | 27 |
int running; |
23 | 28 |
struct scenario_s *nxt; |
24 | 29 |
}scenario; |
Also available in: Unified diff