2023-04-19 18:06:28 +03:00
|
|
|
|
using AutomobilePlantContracts.BindingModels;
|
|
|
|
|
using AutomobilePlantContracts.ViewModel;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace AutomobilePlantContracts.BusinessLogicsContracts
|
|
|
|
|
{
|
|
|
|
|
public interface IReportLogic
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Получение списка компонент с указанием, в каких машинах используются
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
List<ReportCarComponentViewModel> GetCarComponent();
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Получение списка заказов за определенный период
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="model"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
List<ReportOrdersViewModel> GetOrders(ReportBindingModel model);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Сохранение компонент в файл-Word
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="model"></param>
|
|
|
|
|
void SaveComponentsToWordFile(ReportBindingModel model);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Сохранение компонент с указаеним машин в файл-Excel
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="model"></param>
|
|
|
|
|
void SaveCarComponentToExcelFile(ReportBindingModel model);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Сохранение заказов в файл-Pdf
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="model"></param>
|
|
|
|
|
void SaveOrdersToPdfFile(ReportBindingModel model);
|
2023-05-11 17:39:37 +03:00
|
|
|
|
List<ReportShopCarViewModel> GetShopCars();
|
|
|
|
|
List<ReportAllOrdersViewModel> GetOrdersAll();
|
|
|
|
|
void SaveShopsToWordFile(ReportBindingModel model);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void SaveShopCarsToExcelFile(ReportBindingModel model);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void SaveAllOrdersToPdfFile(ReportBindingModel model);
|
|
|
|
|
|
2023-04-19 18:06:28 +03:00
|
|
|
|
}
|
|
|
|
|
}
|