Configuration of Events and Sensors are working with dynamic forms
Former-commit-id: ff81dee3365eee865099badc73ca70bc7cb222c6
This commit is contained in:
parent
02e15810ec
commit
42064e5209
7 changed files with 173 additions and 134 deletions
|
|
@ -86,7 +86,7 @@ public class EventConfigHttpPage extends HalHttpPage {
|
|||
// Output
|
||||
Templator tmpl = new Templator(FileUtil.find(TEMPLATE));
|
||||
tmpl.set("user", localUser);
|
||||
tmpl.set("localEvent", Event.getLocalEvents(db));
|
||||
tmpl.set("localEvents", Event.getLocalEvents(db));
|
||||
tmpl.set("localEventConf", eventConfigurations);
|
||||
tmpl.set("detectedEvents", ControllerManager.getInstance().getDetectedEvents());
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ import java.util.logging.Logger;
|
|||
/**
|
||||
* Created by Ziver on 2015-12-15.
|
||||
*/
|
||||
@DBBean.DBTable("event")
|
||||
@DBBean.DBTable(value="event", superBean=true)
|
||||
public class Event extends AbstractDevice<HalEventData>{
|
||||
private static final Logger logger = LogUtil.getLogger();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue