mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 12:06:58 +00:00
Merge branch 'bugfix/ecs-895' into feature/ecs-877
# Conflicts: # PepperDashEssentials/Properties/AssemblyInfo.cs # PepperDashEssentials/Room/Config/EssentialsRoomConfig.cs # Release Package/PepperDashEssentials.cpz # Release Package/PepperDashEssentials.dll
This commit is contained in:
commit
b793c04ad3
2 changed files with 7 additions and 3 deletions
|
|
@ -272,8 +272,8 @@ namespace PepperDash.Essentials.Room.Config
|
|||
[JsonProperty("deviceKey")]
|
||||
public string DeviceKey { get; set; }
|
||||
|
||||
[JsonProperty("timoutMinutes")]
|
||||
public int TimoutMinutes { get; set; }
|
||||
[JsonProperty("timeoutMinutes")]
|
||||
public int TimeoutMinutes { get; set; }
|
||||
}
|
||||
|
||||
public class EssentialsRoomTechConfig
|
||||
|
|
|
|||
|
|
@ -158,6 +158,8 @@ namespace PepperDash.Essentials
|
|||
ShutdownPromptTimer.SecondsToCount = ShutdownVacancySeconds;
|
||||
ShutdownType = type;
|
||||
ShutdownPromptTimer.Start();
|
||||
|
||||
Debug.Console(0, this, "ShutdwonPromptTimer Started. Type: {0}. Seconds: {1}", ShutdownType, ShutdownPromptTimer.SecondsToCount);
|
||||
}
|
||||
|
||||
public void StartRoomVacancyTimer(eVacancyMode mode)
|
||||
|
|
@ -169,7 +171,7 @@ namespace PepperDash.Essentials
|
|||
VacancyMode = mode;
|
||||
RoomVacancyShutdownTimer.Start();
|
||||
|
||||
Debug.Console(0, this, "Vacancy Timer Started.");
|
||||
Debug.Console(0, this, "Vacancy Timer Started. Mode: {0}. Seconds: {1}", VacancyMode, RoomVacancyShutdownTimer.SecondsToCount);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
@ -212,6 +214,8 @@ namespace PepperDash.Essentials
|
|||
if(timeoutMinutes > 0)
|
||||
RoomVacancyShutdownSeconds = timeoutMinutes * 60;
|
||||
|
||||
Debug.Console(1, this, "RoomVacancyShutdownSeconds set to {0}", RoomVacancyShutdownSeconds);
|
||||
|
||||
RoomOccupancy = statusProvider;
|
||||
|
||||
OnRoomOccupancyIsSet();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue