/// <summary>
        /// Получение/формирование параметров отчёта, DataSource (список сущностей для таблицы), пути файла и заголовка
        /// </summary>
        /// <inheritdoc />
        public void AdditionalInitializeComponent()
        {
            _reportFile = Common.GetReportFilePath(ReportFileName);             // Путь к файлу отчёта

            // Запрос параметров отчёта в отдельном окне

            const bool isPeriod                  = false;
            const bool isMounthOrYeath           = false;
            const bool isDate                    = false;
            const bool isDatePeriod              = false;
            const bool isKoefT                   = true;
            const bool isKoefZ                   = true;
            const bool isWorkGuild               = true;
            const bool isArea                    = false;
            const bool isWorkGuildSpecifiedOrAll = false;
            const bool isProduct                 = false;
            const bool isDetail                  = false;

            const bool isProductSpecifiedOrAll = false;
            const bool isAssemblyUnit          = false;
            const bool isMonthYear             = false;

            const bool isTimeFund                         = false;
            const bool isProcentageOfLossTime             = false;
            const bool isProcentageOfPerformanceStandarts = false;
            const bool isAreaSpecifiedOrAll               = false;

            const string message          = "Введите коэффициенты";
            var          parametersWindow = new ReportParametersWindow(isPeriod, isMounthOrYeath, isDate, isDatePeriod, isKoefT,
                                                                       isKoefZ, isWorkGuild, isArea, isWorkGuildSpecifiedOrAll, isProduct, isDetail, isProductSpecifiedOrAll,
                                                                       isAssemblyUnit, isMonthYear, isTimeFund,
                                                                       isProcentageOfLossTime, isProcentageOfPerformanceStandarts, isAreaSpecifiedOrAll, message)
            {
                Owner = Common.GetOwnerWindow()
            };

            parametersWindow.ShowDialog();
            if (!parametersWindow.DialogResult.HasValue || parametersWindow.DialogResult != true)
            {
                return;
            }
            // Получение введённых пользователем параметров

            var loadDateTime = DateTime.Today;

            var nullableKoeft = parametersWindow.KoefTDecimalUpDown.Value;
            var nullableKoefz = parametersWindow.KoefZDecimalUpDown.Value;

            if (nullableKoeft == null || nullableKoefz == null)
            {
                const string           errorMessage = "Не указаны коэффициенты";
                const MessageBoxButton buttons      = MessageBoxButton.OK;
                const MessageBoxImage  messageType  = MessageBoxImage.Error;
                MessageBox.Show(errorMessage, PageLiterals.HeaderValidation, buttons, messageType);
                return;
            }
            var koefT = nullableKoeft;
            var koefZ = nullableKoefz;

            var nullanleworkGuild = parametersWindow.SelectedWorkGuild();

            if (nullanleworkGuild == null)
            {
                const string           errorMessage = "Не указан цех";
                const MessageBoxButton buttons      = MessageBoxButton.OK;
                const MessageBoxImage  messageType  = MessageBoxImage.Error;
                MessageBox.Show(errorMessage, PageLiterals.HeaderValidation, buttons, messageType);
                return;
            }

            var workGuild = nullanleworkGuild;

            // Формирование одиночных строковых параметров отчёта
            _reportParameters = new[] { new ReportParameter("Date", loadDateTime.ToShortDateString()),
                                        new ReportParameter("Koeft", koefT.ToString()),
                                        new ReportParameter("Koefz", koefZ.ToString()),
                                        new ReportParameter("WorkGuild", workGuild.Id.ToString()) };
            try
            {
                var          resultReportList = SummeryOfProductInContextOfWorkGuildAndAreaForWorkGuildService.GetSummeryOfProductInContextOfWorkGuildAndAreaForWorkGuildService(workGuild.Id);
                const string dataSourceName   = "SummeryOfProductInContextOdWorkGuildAndAreaForWorkGuild";
                _reportDataSource  = new ReportDataSource(dataSourceName, resultReportList);
                ReportViewer.Load += ReportViewer_Load;                     // Подписка на метод загрузки и отображения отчёта
            }
            catch (StorageException ex)
            {
                Common.ShowDetailExceptionMessage(ex);
            }
        }