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.
18 lines
505 B
18 lines
505 B
using System; |
|
using LanguageExt; |
|
|
|
namespace ErsatzTV.Core.Scheduling |
|
{ |
|
public record PlayoutBuilderState( |
|
int ScheduleItemIndex, |
|
Option<int> MultipleRemaining, |
|
Option<DateTimeOffset> DurationFinish, |
|
bool InFlood, |
|
bool InDurationFiller, |
|
int NextGuideGroup, |
|
DateTimeOffset CurrentTime) |
|
{ |
|
public int IncrementGuideGroup => (NextGuideGroup + 1) % 10000; |
|
public int DecrementGuideGroup => (NextGuideGroup - 1) % 10000; |
|
} |
|
}
|
|
|