DD.WellWorkover.Cloud/AsbCloudInfrastructure/Services/ExcelServices/Templates/ProcessMapPlanTemplates/ProcessMapPlanShockTestTemplate.cs
2024-07-08 13:09:13 +05:00

29 lines
1.3 KiB
C#

using AsbCloudApp.Data.ProcessMaps.Functions;
using System.Collections.Generic;
namespace AsbCloudInfrastructure.Services.ExcelServices.Templates.ProcessMapPlanTemplates;
public class ProcessMapPlanShockTestTemplate : ITemplateParameters
{
public string SheetName => "Запись shock test";
public int HeaderRowsCount => 2;
public string FileName => "ProcessMapPlanShockTest.xlsx";
public IDictionary<string, Cell> Cells => new Dictionary<string, Cell>
{
{ nameof(ProcessMapPlanShockTestDto.Section), new Cell(1, typeof(string)) },
{ nameof(ProcessMapPlanShockTestDto.DepthStart), new Cell(2, typeof(double)) },
{ nameof(ProcessMapPlanShockTestDto.DepthEnd), new Cell(3, typeof(double)) },
{ nameof(ProcessMapPlanShockTestDto.StickSlip), new Cell(4, typeof(double)) },
{ nameof(ProcessMapPlanShockTestDto.Whirl), new Cell(5, typeof(double)) },
{ nameof(ProcessMapPlanShockTestDto.AxialVibrations), new Cell(6, typeof(double)) },
{ nameof(ProcessMapPlanShockTestDto.CombinedVibrations), new Cell(7, typeof(double)) },
{ nameof(ProcessMapPlanShockTestDto.WeightOnBitMin), new Cell(8, typeof(double)) },
{ nameof(ProcessMapPlanShockTestDto.RpmMin), new Cell(9, typeof(double)) },
{ nameof(ProcessMapPlanShockTestDto.Note), new Cell(10, typeof(string)) },
};
}