format raw data and provide a class as a container for data
get the raw data from the communications, edit and reformat it into integers. then put this data into a class as a container for all the data gotten from the watch
Blueprint information
- Status:
- Complete
- Approver:
- T-Lo
- Priority:
- High
- Drafter:
- Christian Hintze
- Direction:
- Approved
- Assignee:
- Christian Hintze
- Definition:
- Approved
- Series goal:
- Accepted for devel
- Implementation:
- Implemented
- Milestone target:
- basic
- Started by
- Christian Hintze
- Completed by
- Christian Hintze
Whiteboard
format_data.py
class API so far:
year
month
day
alarm[2]
window
tobed[2]
awakemoments[
fill(data)
theres also a function, that corrects the year. e.g. if some1 does not use the watch for nearly a year, but wants to download data from it that next year, the data returned would assume that they are from that year, though they are from the year before. say he uses his watch now in 2011, but downloads the data on january, 1st 2012.. the data would be from the future (with todays date but the year 2012). correctYear corrects for this.
although i have to admit, currently all these dates are not required. kind of a hidden feature :D
Work Items
Dependency tree
* Blueprints in grey have been implemented.