-
-
Notifications
You must be signed in to change notification settings - Fork 36
Data Model
Raphael Mack edited this page Oct 27, 2017
·
18 revisions
The data model consists of the following items
- DirayActivities (not the Android UI-Activities, that's why we prefix the name with Diary)
- name
- id (_ID)
- aliases (in case the name is not obvious and the same activity should be found by different names)
- hierarchical structure (link to parent)
- required conditions
- activation conditions (with probability)
- (?actions like set ringtone volume?)
- Conditions (to autodetect activities)
- name
- id (_ID)
- type (location, acceleration, WLAN, BT, time, calendar entries, NFC)
- parameter (e.g. SSID for WLAN)
- Logbook
- id (_ID)
- Activity entry (start + stop time)
- location (if configured)
- Manual log (text/image linked to an activity and datetime)
- Templates
- id (_ID)
- Activities with Conditions, but they are not active
- on adding of a new activity the templates shall be searched for a fitting template and the template conditions to be suggested but values to be filled.