-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
desktop: WebDataSource now tries not to bother the web server when as…
…ked for samples. It now scans for gaps in downloaded data files and if there are none they'll be considered 'complete' and will never be downloaded from the server again (at least until the cache database is cleared). When checking query timespan the cache database will be consulted first and if the timespan fits within the cache database it won't bother asking the web server for its timespan. It will also only load sysconfig once per session. All of this means that a chart for last month can be plotted without a single web request being made. This all speeds up charts, export, view data and reports quite a bit in some cases.
- Loading branch information
Showing
15 changed files
with
289 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#ifndef HARDWARETYPE_H | ||
#define HARDWARETYPE_H | ||
|
||
enum hardware_type_t { | ||
HW_GENERIC = 0, | ||
HW_FINE_OFFSET = 1, | ||
HW_DAVIS = 2 | ||
}; | ||
|
||
|
||
#endif // HARDWARETYPE_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.