Parent Directory
|
Revision Log
|
Patch
--- trunk/libThermoControl/Configuration.cs 2013/11/13 03:39:04 26 +++ trunk/libThermoControl/Configuration.cs 2014/02/12 03:22:55 28 @@ -21,21 +21,21 @@ public static int GetTemperatureAdjustment() { int e_temp = Configuration.ExternalTemp; - int d_temp = Configuration.DEFAULT_TEMP; + int d_temp = Configuration.CurrentTemp; int scale = 5; int s = (d_temp - e_temp) / scale; - int offset = 2; + int offset = 4; int t = (d_temp + s) - offset; return t; } - public static readonly string WEATHER_URL = ""; // 60 - public static readonly string THERMISTAT_DEVICE = ""; // 60 + public static readonly string WEATHER_URL = "http://www.accuweather.com/en/us/chattanooga-tn/37421/current-weather/331086"; // 60 + public static readonly string THERMISTAT_DEVICE = "AC_THERMOSTAT"; // 60 public static readonly int MIN_TEMP = 0; // 60 public static readonly int MAX_TEMP = 0; // 90 public static readonly int DEFAULT_TEMP = 0; // 70 - public static readonly string DEFAULT_MODE = ""; // cool - public static readonly string DEFAULT_FAN_SPEED = ""; // auto_fan + public static readonly string DEFAULT_MODE = "cool"; // cool + public static readonly string DEFAULT_FAN_SPEED = "auto_fan"; // auto_fan [Conditional("CONFIG_UNITTEST")] public static void UnitTest()
ViewVC Help | |
Powered by ViewVC 1.1.22 |