Merge 'dev' into 'eto'

This commit is contained in:
Matthew Oslan
2019-07-06 10:15:22 -04:00
9 changed files with 250 additions and 124 deletions

View File

@@ -36,4 +36,13 @@ export class WeatherProvider {
getEToData( coordinates: GeoCoordinates ): Promise< EToData > {
throw "Selected WeatherProvider does not support getEToData";
};
/**
* Returns a boolean indicating if watering scales calculated using data from this WeatherProvider should be cached
* until the end of the day in timezone the data was for.
* @return a boolean indicating if watering scales calculated using data from this WeatherProvider should be cached.
*/
shouldCacheWateringScale(): boolean {
return false;
}
}