public AudioViewCountDownViewModel(bool isMajor, TimeSpan interval, int limitDb, Type mainItem, Type secondItem, bool showArch = true)
        {
            Interval        = interval;
            this.isMajor    = isMajor;
            this.limitDb    = limitDb;
            this.mainItem   = ClockItemsFactory.AllClockItems.First(x => x.GetType() == mainItem);
            this.secondItem = ClockItemsFactory.AllClockItems.First(x => x.GetType() == secondItem);
            this.showArch   = showArch;

            mainItemViewModel      = new MeasurementItemViewModel();
            secondaryItemViewModel = new MeasurementItemViewModel();

            ClockSelections = new ObservableCollection <ClockSelectionViewModel>();
            foreach (var clockItem in ClockItemsFactory.AllClockItems)
            {
                ClockSelections.Add(new ClockSelectionViewModel(this, clockItem));
            }
        }
 public ClockSelectionViewModel(AudioViewCountDownViewModel parent, ClockItem clockItem)
 {
     this.parent = parent;
     this.clockItem = clockItem;
 }
 public void ChangeSecondayDisplayItem(ClockItem clodItem)
 {
     secondItem = clodItem;
 }
 public ClockSelectionViewModel(AudioViewCountDownViewModel parent, ClockItem clockItem)
 {
     this.parent    = parent;
     this.clockItem = clockItem;
 }
 public void ChangeMainDisplayItem(ClockItem clodItem)
 {
     mainItem = clodItem;
 }