DD.WellWorkover.Cloud/AsbCloudInfrastructure/Services/ExcelServices/Templates/ProcessMapPlanTemplates/ProcessMapPlanDrillTestTemplate.cs

28 lines
1.2 KiB
C#

using AsbCloudApp.Data.ProcessMaps.Functions;
using System.Collections.Generic;
namespace AsbCloudInfrastructure.Services.ExcelServices.Templates.ProcessMapPlanTemplates;
public class ProcessMapPlanDrillTestTemplate : ITemplateParameters
{
public string SheetName => "DrillTest";
public int HeaderRowsCount => 2;
public string FileName => "ProcessMapPlanDrillTest.xlsx";
public IDictionary<string, Cell> Cells => new Dictionary<string, Cell>
{
{ nameof(ProcessMapPlanDrillTestDto.Section), new Cell(1, typeof(string)) },
{ nameof(ProcessMapPlanDrillTestDto.DepthStart), new Cell(2, typeof(double)) },
{ nameof(ProcessMapPlanDrillTestDto.DepthEnd), new Cell(3, typeof(double)) },
{ nameof(ProcessMapPlanDrillTestDto.WeightOnBitMin), new Cell(4, typeof(double)) },
{ nameof(ProcessMapPlanDrillTestDto.WeightOnBitStepsCount), new Cell(5, typeof(double)) },
{ nameof(ProcessMapPlanDrillTestDto.RpmMin), new Cell(6, typeof(double)) },
{ nameof(ProcessMapPlanDrillTestDto.RpmStepsCount), new Cell(7, typeof(double)) },
{ nameof(ProcessMapPlanDrillTestDto.LengthStep), new Cell(8, typeof(double)) },
{ nameof(ProcessMapPlanDrillTestDto.Note), new Cell(9, typeof(string)) },
};
}