2024-06-21 09:53:45 +05:00
|
|
|
using System.Collections.Generic;
|
2024-06-30 21:02:55 +05:00
|
|
|
using AsbCloudApp.Data.ProcessMaps.Operations;
|
2024-06-21 09:53:45 +05:00
|
|
|
|
|
|
|
namespace AsbCloudInfrastructure.Services.ExcelServices.Templates.ProcessMapPlanTemplates;
|
|
|
|
|
|
|
|
public class ProcessMapPlanSlideTemplate : ITemplateParameters
|
|
|
|
{
|
2024-07-04 11:02:45 +05:00
|
|
|
public string SheetName => "Бурение слайд";
|
2024-06-21 09:53:45 +05:00
|
|
|
|
2024-07-04 11:02:45 +05:00
|
|
|
public int HeaderRowsCount => 2;
|
2024-06-21 09:53:45 +05:00
|
|
|
|
2024-07-08 13:09:13 +05:00
|
|
|
public string FileName => "ProcessMapPlanSlide.xlsx";
|
2024-06-21 09:53:45 +05:00
|
|
|
|
2024-07-04 11:02:45 +05:00
|
|
|
public IDictionary<string, Cell> Cells => new Dictionary<string, Cell>
|
|
|
|
{
|
|
|
|
{ nameof(ProcessMapPlanSlideDto.Section), new Cell(1, typeof(string)) },
|
|
|
|
{ nameof(ProcessMapPlanSlideDto.DepthStart), new Cell(2, typeof(double)) },
|
|
|
|
{ nameof(ProcessMapPlanSlideDto.DepthEnd), new Cell(3, typeof(double)) },
|
2024-06-30 11:11:09 +05:00
|
|
|
{ nameof(ProcessMapPlanSlideDto.RopMax), new Cell(4, typeof(double)) },
|
|
|
|
{ nameof(ProcessMapPlanSlideDto.PressureMax), new Cell(5, typeof(double)) },
|
2024-06-21 09:53:45 +05:00
|
|
|
{ nameof(ProcessMapPlanSlideDto.DifferentialPressure), new Cell(6, typeof(double)) },
|
2024-06-30 11:11:09 +05:00
|
|
|
{ nameof(ProcessMapPlanSlideDto.DifferentialPressureMax), new Cell(7, typeof(double)) },
|
2024-06-21 09:53:45 +05:00
|
|
|
{ nameof(ProcessMapPlanSlideDto.WeightOnBit), new Cell(8, typeof(double)) },
|
2024-06-30 11:11:09 +05:00
|
|
|
{ nameof(ProcessMapPlanSlideDto.WeightOnBitMax), new Cell(9, typeof(double)) },
|
2024-06-21 09:53:45 +05:00
|
|
|
{ nameof(ProcessMapPlanSlideDto.FlowRate), new Cell(10, typeof(double)) },
|
2024-06-30 11:11:09 +05:00
|
|
|
{ nameof(ProcessMapPlanSlideDto.FlowRateMax), new Cell(11, typeof(double)) },
|
2024-06-21 09:53:45 +05:00
|
|
|
{ nameof(ProcessMapPlanSlideDto.Spring), new Cell(12, typeof(double)) },
|
2024-06-30 11:11:09 +05:00
|
|
|
{ nameof(ProcessMapPlanSlideDto.Buckling), new Cell(13, typeof(double)) },
|
2024-06-21 09:53:45 +05:00
|
|
|
{ nameof(ProcessMapPlanSlideDto.Note), new Cell(14, typeof(double)) }
|
|
|
|
};
|
|
|
|
}
|