2024-06-17 15:06:15 +04:00

44 lines
1.8 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 System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PrecastConcretePlantContracts.ViewModels;
using PrecastConcretePlantContracts.BindingModels;
namespace PrecastConcretePlantContracts.BusinessLogicsContracts
{
public interface IReportLogic
{
// Получение списка компонент с указанием, в каких изделиях используются
List<ReportReinforcedComponentViewModel> GetReinforcedComponents();
// Получение списка заказов за определенный период
List<ReportOrdersViewModel> GetOrders(ReportBindingModel model);
// Получение изделий магазина
List<ReportShopReinforcedViewModel> GetShopReinforceds();
// Получение заказов по дате
List<ReportOrdersByDateViewModel> GetGroupedByDateOrders();
// Сохранение компонент в файл-Word
void SaveReinforcedsToWordFile(ReportBindingModel model);
// Сохранение магазинов в ворд
void SaveShopsToWordFile(ReportBindingModel model);
// Сохранение компонент с указаеним продуктов в файл-Excel
void SaveReinforcedComponentToExcelFile(ReportBindingModel model);
// Сохранение изделий магазина в эксель
void SaveShopReinforcedToExcelFile(ReportBindingModel model);
// Сохранение заказов в файл-Pdf
void SaveOrdersToPdfFile(ReportBindingModel model);
//Группированные заказы в пдф
void SaveGroupedOrdersToPdfFile(ReportBindingModel model);
}
}