PIbd-21_MasenkinMS_Aircraft.../AircraftPlant/AircraftPlantContracts/BusinessLogicsContracts/IReportLogic.cs
2024-03-25 00:53:24 +04:00

48 lines
1.7 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using AircraftPlantContracts.BindingModels;
using AircraftPlantContracts.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AircraftPlantContracts.BusinessLogicsContracts
{
/// <summary>
/// Интерфейс для описания работы с отчетами
/// </summary>
public interface IReportLogic
{
/// <summary>
/// Получение списка изделий с указанием используемых компонентов
/// </summary>
/// <returns></returns>
List<ReportPlaneComponentViewModel> GetPlaneComponents();
/// <summary>
/// Получение списка заказов за определенный период
/// </summary>
/// <param name="model"></param>
/// <returns></returns>
List<ReportOrdersViewModel> GetOrders(ReportBindingModel model);
/// <summary>
/// Сохранение изделий в файл-Word
/// </summary>
/// <param name="model"></param>
void SavePlanesToWordFile(ReportBindingModel model);
/// <summary>
/// Сохранение изделий с указаеним компонентов в файл-Excel
/// </summary>
/// <param name="model"></param>
void SavePlaneComponentsToExcelFile(ReportBindingModel model);
/// <summary>
/// Сохранение заказов в файл-Pdf
/// </summary>
/// <param name="model"></param>
void SaveOrdersToPdfFile(ReportBindingModel model);
}
}