/// <summary>
        /// Update the battery type to all the subsystem configuration
        /// predictors.  Then update all the properties here.
        /// </summary>
        /// <param name="battType">Battery Type.</param>
        private void UpdateBatteryType(DeploymentOptions.AdcpBatteryType battType)
        {
            // Update the project and save
            if (_pm.IsProjectSelected)
            {
                _pm.SelectedProject.Configuration.DeploymentOptions.BatteryType = battType;
                _pm.SelectedProject.Save();
            }

            // Create temp variables
            long   dataSize      = 0;
            double numberBattery = 0.0;

            // Get the latest values
            foreach (var ssVM in SubsystemConfigList)
            {
                ssVM.UpdateBatteryType(battType);

                dataSize      += ssVM.GetDataSize();
                numberBattery += ssVM.NumberBatteryPacks;
            }

            // Set the combined values
            NumberBatteryPacks   = numberBattery.ToString("0.00");
            PredictedStorageUsed = dataSize + InternalStorageUsed;
            DataSize             = MathHelper.MemorySizeString(dataSize);
        }
        /// <summary>
        /// Update the battery type.  Then update the all the properties
        /// to display the new values.
        /// </summary>
        /// <param name="battType">New battery type.</param>
        public void UpdateBatteryType(DeploymentOptions.AdcpBatteryType battType)
        {
            //Predictor.BatteryType = battType;
            _pm.SelectedProject.Configuration.DeploymentOptions.BatteryType = battType;

            //// This will update all the properties
            //UpdateProperties();

            // Calculate the latest prediction
            CalcPrediction();
        }