forked from ddrilling/AsbCloudServer
38 lines
2.2 KiB
C#
38 lines
2.2 KiB
C#
using AsbCloudApp.Data.ProcessMaps.Functions;
|
|
using AsbCloudApp.Data.ProcessMaps.Operations;
|
|
using System.Collections.Generic;
|
|
|
|
namespace AsbCloudInfrastructure.Services.ExcelServices.Templates.ProcessMapPlanTemplates;
|
|
|
|
public class ProcessMapPlanTFOrientationTemplate : ITemplateParameters
|
|
{
|
|
public string SheetName => "Выставление";
|
|
|
|
public int HeaderRowsCount => 2;
|
|
|
|
public string FileName => "ProcessMapPlanTFOrientation.xlsx";
|
|
|
|
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)) },
|
|
|
|
{ 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)) },
|
|
};
|
|
} |