mirror of https://github.com/ErsatzTV/ErsatzTV.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
639 B
24 lines
639 B
using ErsatzTV.Core.Domain; |
|
using ErsatzTV.Core.Domain.Scheduling; |
|
|
|
namespace ErsatzTV.Core.Scheduling.Engine; |
|
|
|
public interface ISchedulingEngineState |
|
{ |
|
// state |
|
int PlayoutId { get; } |
|
PlayoutBuildMode Mode { get; } |
|
int Seed { get; } |
|
DateTimeOffset CurrentTime { get; } |
|
DateTimeOffset Start { get; } |
|
DateTimeOffset Finish { get; } |
|
|
|
// result |
|
Option<DateTimeOffset> RemoveBefore { get; } |
|
bool ClearItems { get; } |
|
List<PlayoutItem> AddedItems { get; } |
|
System.Collections.Generic.HashSet<int> HistoryToRemove { get; } |
|
List<PlayoutHistory> AddedHistory { get; } |
|
|
|
bool IsDone { get; } |
|
}
|
|
|