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

namespace AsbCloudInfrastructure.Services.ExcelServices.Templates.ProcessMapPlanTemplates;

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

	public int HeaderRowsCount => 2;

	public string FileName => "ProcessMapPlanSlideTemplate.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.RopLimitMax), new Cell(4, typeof(double)) },
        { nameof(ProcessMapPlanSlideDto.PressureLimitMax), new Cell(5, typeof(double)) },
        { nameof(ProcessMapPlanSlideDto.DifferentialPressure), new Cell(6, typeof(double)) },
        { nameof(ProcessMapPlanSlideDto.DifferentialPressureLimitMax), new Cell(7, typeof(double)) },
        { nameof(ProcessMapPlanSlideDto.WeightOnBit), new Cell(8, typeof(double)) },
        { nameof(ProcessMapPlanSlideDto.WeightOnBitLimitMax), new Cell(9, typeof(double)) },
        { nameof(ProcessMapPlanSlideDto.FlowRate), new Cell(10, typeof(double)) },
        { nameof(ProcessMapPlanSlideDto.FlowRateLimitMax), new Cell(11, typeof(double)) },
        { nameof(ProcessMapPlanSlideDto.Spring), new Cell(12, typeof(double)) },
        { nameof(ProcessMapPlanSlideDto.ToolBuckling), new Cell(13, typeof(double)) },
        { nameof(ProcessMapPlanSlideDto.Note), new Cell(14, typeof(double)) }
    };
}