Fix bugs
This commit is contained in:
@@ -5,4 +5,5 @@ public interface IHumidityRateCalculator
|
||||
void RecordReading(double humidity, DateTimeOffset timestamp);
|
||||
double GetRatePerMinute();
|
||||
void Reset();
|
||||
double? PreviousReading { get; }
|
||||
}
|
||||
|
||||
@@ -9,6 +9,7 @@ public interface IShowerDetectionService
|
||||
ShowerSession? CurrentSession { get; }
|
||||
ShowerSession? LastCompletedSession { get; }
|
||||
int TodaySessionCount { get; }
|
||||
double LastRate { get; }
|
||||
|
||||
ShowerState Evaluate(double bathroomHumidity, double mainHomeHumidity, DateTimeOffset timestamp);
|
||||
void ResetDailyCounters();
|
||||
|
||||
Reference in New Issue
Block a user