mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-04 23:35:02 +00:00
30 lines
781 B
C#
30 lines
781 B
C#
using PepperDash.Essentials.Room.Config;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace PepperDash.Essentials.Core
|
|
{
|
|
/// <summary>
|
|
/// Defines the contract for IRoomEventSchedule
|
|
/// </summary>
|
|
public interface IRoomEventSchedule
|
|
{
|
|
void AddOrUpdateScheduledEvent(ScheduledEventConfig eventConfig);
|
|
|
|
List<ScheduledEventConfig> GetScheduledEvents();
|
|
|
|
event EventHandler<ScheduledEventEventArgs> ScheduledEventsChanged;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Represents a ScheduledEventEventArgs
|
|
/// </summary>
|
|
public class ScheduledEventEventArgs : EventArgs
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the ScheduledEvents
|
|
/// </summary>
|
|
public List<ScheduledEventConfig> ScheduledEvents;
|
|
}
|
|
}
|