Enhance channel management: add support for preferred weight multipliers and preferred hours in channel shows, update related data models and API endpoints, and implement validation for new properties. Refactor scheduling logic to utilize preferred hours for weight adjustments during show planning.
This commit is contained in:
@@ -6,9 +6,12 @@ public enum BumperSelection
|
||||
/// <summary>По кругу в порядке блоков (курсор <see cref="Channel.NextBumperIndex"/>).</summary>
|
||||
Rotation,
|
||||
|
||||
/// <summary>Случайный блок на каждом переходе.</summary>
|
||||
/// <summary>Случайный блок на каждом переходе (равновероятно).</summary>
|
||||
Random,
|
||||
|
||||
/// <summary>Всегда первый (дефолтный) блок.</summary>
|
||||
AlwaysFirst,
|
||||
|
||||
/// <summary>Случайный блок с учётом веса подблока (<see cref="BumperTextVariant.Weight"/>).</summary>
|
||||
WeightedRandom,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user