Statistics
| Revision:

root / logic / trunk / src / init / scenariolist.h @ 30

History | View | Annotate | Download (664 Bytes)

1
#ifndef SCENARIOLIST_H_INCLUDED
2
#define SCENARIOLIST_H_INCLUDED
3

    
4
typedef struct scenario_s
5
{
6
    char    *scen_id;
7
    char    *scen_name;
8
    char    *inDevice_id;
9
    char    *outDevice_id;
10
    char    *func;
11
    int     idleChkItv;
12
    int     actvChkItv;
13
    char    *params_val;    // TBD kaj je to?
14
    int     minval;
15
    int     maxval;
16
    int     optval;
17
    int     tolval;
18
    char    *action;
19
    char    *param;
20
    struct  condition_list *cond_l;
21
    // struct cond
22
    struct  scenario_s *nxt;
23
}scenario;
24

    
25
int setNewScenarioList(); // ony called on startup
26
// update scenario list
27
// get scenario (id)
28
// ...
29
#endif // SCENARIOLIST_H_INCLUDED