forked from ddrilling/AsbCloudServer
28 lines
1.3 KiB
C#
28 lines
1.3 KiB
C#
using AsbCloudApp.Data.ProcessMaps.Functions;
|
|
using AsbCloudApp.Data.ProcessMaps.Operations;
|
|
using System.Collections.Generic;
|
|
|
|
namespace AsbCloudInfrastructure.Services.ExcelServices.Templates.ProcessMapPlanTemplates;
|
|
|
|
public class ProcessMapPlanOscillationAnglesTemplate : ITemplateParameters
|
|
{
|
|
public string SheetName => "Определение углов осцилляции";
|
|
|
|
public int HeaderRowsCount => 3;
|
|
|
|
public string FileName => "ProcessMapPlanOscillationAngles.xlsx";
|
|
|
|
public IDictionary<string, Cell> Cells => new Dictionary<string, Cell>
|
|
{
|
|
{ nameof(ProcessMapPlanOscillationAnglesDto.Section), new Cell(1, typeof(string)) },
|
|
{ nameof(ProcessMapPlanOscillationAnglesDto.DepthStart), new Cell(2, typeof(double)) },
|
|
{ nameof(ProcessMapPlanOscillationAnglesDto.DepthEnd), new Cell(3, typeof(double)) },
|
|
|
|
{ nameof(ProcessMapPlanOscillationAnglesDto.TopDriveTorque), new Cell(4, typeof(double)) },
|
|
{ nameof(ProcessMapPlanOscillationAnglesDto.TopDriveTorqueMax), new Cell(5, typeof(double)) },
|
|
{ nameof(ProcessMapPlanOscillationAnglesDto.Rpm), new Cell(6, typeof(double)) },
|
|
{ nameof(ProcessMapPlanOscillationAnglesDto.RpmMax), new Cell(7, typeof(double)) },
|
|
|
|
{ nameof(ProcessMapPlanOscillationAnglesDto.Note), new Cell(8, typeof(string)) },
|
|
};
|
|
} |