Revision 41 logic/trunk/src/startup/main.c
main.c | ||
---|---|---|
156 | 156 |
(scen_main_buff < scen->optval - scen->tolval)) |
157 | 157 |
{ |
158 | 158 |
if(evaluateAdditionalConditions(scen->cond_l, hDevice)) |
159 |
{ |
|
159 | 160 |
printf("Scenario %s updated!\n", scen->scen_id); |
161 |
syslog(LOG_MAIL, "%s:%.2f", scen->inDevice_id, scen_main_buff); |
|
160 | 162 |
/*TODO calcualte parameters with given function*/ |
161 | 163 |
/*TODO execute action with parameter(s)*/ |
164 |
} |
|
162 | 165 |
else |
163 | 166 |
printf("Scenario %s not updated!\n", scen->scen_id); |
164 | 167 |
} |
Also available in: Unified diff