public void SetMaximum(int maximum, TimerTypeEnum type)
        {
            switch (type)
            {
            case TimerTypeEnum.Minutes:
                Maximum = maximum * 60000;
                break;

            case TimerTypeEnum.Seconds:
                Maximum = maximum * 1000;
                break;

            case TimerTypeEnum.Tenths:
                Maximum = maximum * 100;
                break;

            case TimerTypeEnum.Hunderdths:
                Maximum = maximum * 10;
                break;

            case TimerTypeEnum.Thousands:
                Maximum = maximum;
                break;

            default:
                throw new ArgumentOutOfRangeException(nameof(type), type, null);
            }
        }
 public TimerModel(string name, int maximum, TimerTypeEnum type = TimerTypeEnum.Tenths)
 {
     Name = name;
     SetMaximum(maximum, type);
 }