Files
ersatztv/ErsatzTV.Core/Scheduling/Engine/ISchedulingEngineState.cs
T
Jason DoveandGitHub 03b4419f67 rework scripted schedules (#2367)
* start to reorganize scripted playout building

* add openapi

* add all content fns

* add playout instructions

* add control instructions

* add request models

* prevent build loop

* rename

* update changelog

* tweak changelog
2025-09-03 20:53:14 +00:00

25 lines
639 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 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; }
}