add constructor to CodecScheduleAwareness to chang refresh timer

This commit is contained in:
Andrew Welker
2020-09-29 15:08:33 -06:00
parent b502007fff
commit 753b4e69ee
2 changed files with 9 additions and 1 deletions

View File

@@ -68,6 +68,13 @@ namespace PepperDash.Essentials.Devices.Common.Codec
_scheduleChecker = new CTimer(CheckSchedule, null, 1000, 1000);
}
public CodecScheduleAwareness(long pollTime)
{
Meetings = new List<Meeting>();
_scheduleChecker = new CTimer(CheckSchedule, null, pollTime, pollTime);
}
private void OnMeetingChange(eMeetingEventChangeType changeType, Meeting meeting)
{
var handler = MeetingEventChange;