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

namespace AsbCloudInfrastructure.Services.ExcelServices.Templates.ProcessMapPlanTemplates;

public class ProcessMapPlanLoadCapacityTemplate : ITemplateParameters
{
    public string SheetName => "Выработка нагрузки";

    public int HeaderRowsCount => 2;

    public string FileName => "ProcessMapPlanLoadCapacity.xlsx";

    public IDictionary<string, Cell> Cells => new Dictionary<string, Cell>
    {
        { nameof(ProcessMapPlanLoadCapacityDto.Section), new Cell(1, typeof(string)) },
        { nameof(ProcessMapPlanLoadCapacityDto.DepthStart), new Cell(2, typeof(double)) },
        { nameof(ProcessMapPlanLoadCapacityDto.DepthEnd), new Cell(3, typeof(double)) },
        { nameof(ProcessMapPlanLoadCapacityDto.TimeLoadCapacityMin), new Cell(4, typeof(double)) },
        { nameof(ProcessMapPlanLoadCapacityDto.DifferentialPressureMin), new Cell(5, typeof(double)) },
        { nameof(ProcessMapPlanLoadCapacityDto.WeightOnBitMin), new Cell(6, typeof(double)) },
        { nameof(ProcessMapPlanLoadCapacityDto.Note), new Cell(7, typeof(string)) },
    };
}