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

namespace AsbCloudInfrastructure.Services.ExcelServices.Templates.ProcessMapPlanTemplates;

public class ProcessMapPlanReamTemplate : ITemplateParameters
{
	public string SheetName => "План";

	public int HeaderRowsCount => 1;

	public string FileName => "ProcessMapPlanReamTemplate.xlsx";

	public IDictionary<string, Cell> Cells => new Dictionary<string, Cell>
	{
		{ nameof(ProcessMapPlanReamDto.Section), new Cell(1, typeof(string)) },
		{ nameof(ProcessMapPlanReamDto.DepthStart), new Cell(2, typeof(double)) },
		{ nameof(ProcessMapPlanReamDto.DepthEnd), new Cell(3, typeof(double)) },
		{ nameof(ProcessMapPlanReamDto.Repeats), new Cell(4, typeof(double)) },
		{ nameof(ProcessMapPlanReamDto.SpinUpward), new Cell(5, typeof(double)) },
		{ nameof(ProcessMapPlanReamDto.SpinDownward), new Cell(6, typeof(double)) },
		{ nameof(ProcessMapPlanReamDto.SpeedUpward), new Cell(7, typeof(double)) },
		{ nameof(ProcessMapPlanReamDto.SpeedDownward), new Cell(8, typeof(double)) },
		{ nameof(ProcessMapPlanReamDto.SetpointDrag), new Cell(9, typeof(double)) },
		{ nameof(ProcessMapPlanReamDto.SetpointTight), new Cell(10, typeof(double)) },
		{ nameof(ProcessMapPlanReamDto.Pressure), new Cell(11, typeof(double)) },
		{ nameof(ProcessMapPlanReamDto.Torque), new Cell(12, typeof(double)) },
	};
}