using System.Collections.Generic;
using AsbCloudApp.Data.ProcessMaps.Operations;

namespace AsbCloudInfrastructure.Services.ExcelServices.Templates.ProcessMapPlanTemplates;

public class ProcessMapPlanSlideTemplate : ITemplateParameters
{
   public string SheetName => "Бурение слайд";

   public int HeaderRowsCount => 2;

   public string FileName => "ProcessMapPlanSlide.xlsx";

   public IDictionary<string, Cell> Cells => new Dictionary<string, Cell>
   {
      { nameof(ProcessMapPlanSlideDto.Section), new Cell(1, typeof(string)) },
      { nameof(ProcessMapPlanSlideDto.DepthStart), new Cell(2, typeof(double)) },
      { nameof(ProcessMapPlanSlideDto.DepthEnd), new Cell(3, typeof(double)) },
        { nameof(ProcessMapPlanSlideDto.RopMax), new Cell(4, typeof(double)) },
        { nameof(ProcessMapPlanSlideDto.PressureMax), new Cell(5, typeof(double)) },
        { nameof(ProcessMapPlanSlideDto.DifferentialPressure), new Cell(6, typeof(double)) },
        { nameof(ProcessMapPlanSlideDto.DifferentialPressureMax), new Cell(7, typeof(double)) },
        { nameof(ProcessMapPlanSlideDto.WeightOnBit), new Cell(8, typeof(double)) },
        { nameof(ProcessMapPlanSlideDto.WeightOnBitMax), new Cell(9, typeof(double)) },
        { nameof(ProcessMapPlanSlideDto.FlowRate), new Cell(10, typeof(double)) },
        { nameof(ProcessMapPlanSlideDto.FlowRateMax), new Cell(11, typeof(double)) },
        { nameof(ProcessMapPlanSlideDto.Spring), new Cell(12, typeof(double)) },
        { nameof(ProcessMapPlanSlideDto.Buckling), new Cell(13, typeof(double)) },
        { nameof(ProcessMapPlanSlideDto.Note), new Cell(14, typeof(string)) }
    };
}