/// <summary>
        /// Saves the customer to the repository.  This method is invoked by the SaveCommand.
        /// </summary>
        public void Generate()
        {
            //TableMakerService.Make(_tableMakerModel.Project, _tableMakerModel.Programs, _tableMakerModel.Testers, OCVReady, RCReady, SDReady, ADReady, MiniReady);
            Thread t = new Thread(() =>
            {
                if (MessageBox.Show("It will take a while to get the work done, Continue?", "Generate Tables and Drivers.", MessageBoxButton.OKCancel) == MessageBoxResult.OK)
                {
                    System.Diagnostics.Stopwatch stopwatch = new System.Diagnostics.Stopwatch();
                    stopwatch.Start();
                    TableMakerService.Build(ref _tableMakerModel);
                    var project = _tableMakerModel.Project;
                    var folder  = $@"{GlobalSettings.RootPath}{project.BatteryType.Name}\{project.Name}\{GlobalSettings.ProductFolderName}";
                    string time = Math.Round(stopwatch.Elapsed.TotalSeconds, 0).ToString() + "S";
                    MessageBox.Show($"Completed. It took {time} to get the job done.");
                    Process.Start(folder);
                }
            });

            t.Start();
        }
 public TableMakerViewModel(TableMakerModel tableMakerModel)
 {
     _tableMakerModel = tableMakerModel;
     TableMakerService.GetFilePaths(ref _tableMakerModel);
 }