2023-03-22 20:33:00 +04:00
|
|
|
|
using PrecastConcretePlantContracts.BindingModels;
|
|
|
|
|
using PrecastConcretePlantContracts.ViewModels;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace PrecastConcretePlantContracts.BusinessLogicsContracts
|
|
|
|
|
{
|
|
|
|
|
public interface IReportLogic
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Получение списка компонент с указанием, в каких изделиях используются
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
List<ReportReinforcedComponentViewModel> GetReinforcedComponent();
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Получение списка заказов за определенный период
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="model"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
List<ReportOrdersViewModel> GetOrders(ReportBindingModel model);
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Сохранение компонент в файл-Word
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="model"></param>
|
|
|
|
|
void SaveReinforcedsToWordFile(ReportBindingModel model);
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Сохранение компонент с указаеним продуктов в файл-Excel
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="model"></param>
|
|
|
|
|
void SaveReinforcedComponentToExcelFile(ReportBindingModel model);
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Сохранение заказов в файл-Pdf
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="model"></param>
|
|
|
|
|
void SaveOrdersToPdfFile(ReportBindingModel model);
|
2023-05-23 20:15:11 +04:00
|
|
|
|
List<ReportShopReinforcedViewModel> GetShopReinforced();
|
|
|
|
|
List<ReportOrdersByDateViewModel> GetOrdersByDate();
|
|
|
|
|
void SaveShopsToWordFile(ReportBindingModel model);
|
|
|
|
|
void SaveShopReinforcedToExcelFile(ReportBindingModel model);
|
|
|
|
|
public void SaveOrdersByDateToPdfFile(ReportBindingModel model);
|
2023-03-22 20:33:00 +04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|