* start to add content to scheduling engine * add first content instruction * add search content * allow scripted schedule creation * don't use scheduling engine in sequential playout builder, yet
22 lines
579 B
C#
22 lines
579 B
C#
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 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; }
|
|
}
|