make count an expression in classic schedules (#2794)
* make count an expression in classic schedules * add tests
This commit is contained in:
@@ -16,7 +16,7 @@ public class ProgramScheduleItemEditViewModel : INotifyPropertyChanged
|
||||
private CollectionType _collectionType;
|
||||
private int? _discardToFillAttempts;
|
||||
private FixedStartTimeBehavior? _fixedStartTimeBehavior;
|
||||
private int? _multipleCount;
|
||||
private string _multipleCount;
|
||||
private PlaybackOrder _playbackOrder;
|
||||
private TimeSpan? _playoutDuration;
|
||||
private int _playoutDurationHours;
|
||||
@@ -171,7 +171,7 @@ public class ProgramScheduleItemEditViewModel : INotifyPropertyChanged
|
||||
|
||||
public MultipleMode MultipleMode { get; set; }
|
||||
|
||||
public int? MultipleCount
|
||||
public string MultipleCount
|
||||
{
|
||||
get => PlayoutMode == PlayoutMode.Multiple ? _multipleCount : null;
|
||||
set => _multipleCount = value;
|
||||
|
||||
Reference in New Issue
Block a user