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

24 lines
1.0 KiB
C#

using AsbCloudApp.Data.ProcessMaps.Functions;
using System.Collections.Generic;
namespace AsbCloudInfrastructure.Services.ExcelServices.Templates.ProcessMapPlanTemplates;
public class ProcessMapPlanStaticMeasurementOutputTemplate : ITemplateParameters
{
public string SheetName => "Выход статического замера";
public int HeaderRowsCount => 2;
public string FileName => "ProcessMapPlanStaticMeasurementOutput.xlsx";
public IDictionary<string, Cell> Cells => new Dictionary<string, Cell>
{
{ nameof(ProcessMapPlanStaticMeasurementOutputDto.Section), new Cell(1, typeof(string)) },
{ nameof(ProcessMapPlanStaticMeasurementOutputDto.DepthStart), new Cell(2, typeof(double)) },
{ nameof(ProcessMapPlanStaticMeasurementOutputDto.DepthEnd), new Cell(3, typeof(double)) },
{ nameof(ProcessMapPlanStaticMeasurementOutputDto.SignalWaitingTime), new Cell(4, typeof(double)) },
{ nameof(ProcessMapPlanStaticMeasurementOutputDto.Note), new Cell(5, typeof(string)) },
};
}