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

24 lines
899 B
C#

using AsbCloudApp.Data.ProcessMaps.Functions;
using System.Collections.Generic;
namespace AsbCloudInfrastructure.Services.ExcelServices.Templates.ProcessMapPlanTemplates;
public class ProcessMapPlanDamperTemplate : ITemplateParameters
{
public string SheetName => "Демпфер";
public int HeaderRowsCount => 2;
public string FileName => "ProcessMapPlanDamperTemplate.xlsx";
public IDictionary<string, Cell> Cells => new Dictionary<string, Cell>
{
{ nameof(ProcessMapPlanDamperDto.Section), new Cell(1, typeof(string)) },
{ nameof(ProcessMapPlanDamperDto.DepthStart), new Cell(2, typeof(double)) },
{ nameof(ProcessMapPlanDamperDto.DepthEnd), new Cell(3, typeof(double)) },
{ nameof(ProcessMapPlanDamperDto.StickSlip), new Cell(4, typeof(double)) },
{ nameof(ProcessMapPlanDamperDto.Note), new Cell(5, typeof(string)) },
};
}