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

38 lines
2.2 KiB
C#
Raw Normal View History

using AsbCloudApp.Data.ProcessMaps.Functions;
using AsbCloudApp.Data.ProcessMaps.Operations;
2024-06-25 15:22:32 +05:00
using System.Collections.Generic;
namespace AsbCloudInfrastructure.Services.ExcelServices.Templates.ProcessMapPlanTemplates;
2024-06-30 11:17:10 +05:00
public class ProcessMapPlanTFOrientationTemplate : ITemplateParameters
2024-06-25 15:22:32 +05:00
{
2024-06-30 11:17:10 +05:00
public string SheetName => "Выставление";
2024-06-25 15:22:32 +05:00
public int HeaderRowsCount => 2;
2024-07-08 13:09:13 +05:00
public string FileName => "ProcessMapPlanTFOrientation.xlsx";
2024-06-25 15:22:32 +05:00
public IDictionary<string, Cell> Cells => new Dictionary<string, Cell>
{
{ nameof(ProcessMapPlanTFOrientationDto.Section), new Cell(1, typeof(string)) },
{ nameof(ProcessMapPlanTFOrientationDto.DepthStart), new Cell(2, typeof(double)) },
{ nameof(ProcessMapPlanTFOrientationDto.DepthEnd), new Cell(3, typeof(double)) },
2024-06-25 15:22:32 +05:00
{ nameof(ProcessMapPlanTFOrientationDto.TFSetpoint), new Cell(4, typeof(double)) },
{ nameof(ProcessMapPlanTFOrientationDto.Spring), new Cell(5, typeof(double)) },
{ nameof(ProcessMapPlanTFOrientationDto.PressureMax), new Cell(6, typeof(double)) },
{ nameof(ProcessMapPlanTFOrientationDto.DifferentialPressure), new Cell(7, typeof(double)) },
{ nameof(ProcessMapPlanTFOrientationDto.Tight), new Cell(8, typeof(double)) },
{ nameof(ProcessMapPlanTFOrientationDto.SlackingOff), new Cell(9, typeof(double)) },
{ nameof(ProcessMapPlanTFOrientationDto.TorqueMax), new Cell(10, typeof(double)) },
{ nameof(ProcessMapPlanTFOrientationDto.RepetitionsCount), new Cell(11, typeof(double)) },
{ nameof(ProcessMapPlanTFOrientationDto.RopUp), new Cell(12, typeof(double)) },
{ nameof(ProcessMapPlanTFOrientationDto.RopDown), new Cell(13, typeof(double)) },
{ nameof(ProcessMapPlanTFOrientationDto.FlowRateUp), new Cell(14, typeof(double)) },
{ nameof(ProcessMapPlanTFOrientationDto.FlowRateDown), new Cell(15, typeof(double)) },
{ nameof(ProcessMapPlanTFOrientationDto.Interval), new Cell(16, typeof(double)) },
{ nameof(ProcessMapPlanTFOrientationDto.StopPointOffBottom), new Cell(17, typeof(double)) },
{ nameof(ProcessMapPlanTFOrientationDto.Note), new Cell(18, typeof(string)) },
2024-06-25 15:22:32 +05:00
};
}