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

27 lines
1.4 KiB
C#
Raw Normal View History

2024-06-30 23:43:11 +05:00
using AsbCloudApp.Data.ProcessMaps.Functions;
2024-06-26 16:17:19 +05:00
using System.Collections.Generic;
namespace AsbCloudInfrastructure.Services.ExcelServices.Templates.ProcessMapPlanTemplates;
2024-06-29 21:26:43 +05:00
public class ProcessMapPlanOscillationTemplate : ITemplateParameters
2024-06-26 16:17:19 +05:00
{
public string SheetName => "Осцилляция";
2024-06-30 23:43:11 +05:00
public int HeaderRowsCount => 3;
2024-06-26 16:17:19 +05:00
2024-07-08 13:09:13 +05:00
public string FileName => "ProcessMapPlanOscillation.xlsx";
2024-06-26 16:17:19 +05:00
public IDictionary<string, Cell> Cells => new Dictionary<string, Cell>
{
2024-06-30 23:43:11 +05:00
{ nameof(ProcessMapPlanOscillationDto.Section), new Cell(1, typeof(string)) },
{ nameof(ProcessMapPlanOscillationDto.DepthStart), new Cell(2, typeof(double)) },
{ nameof(ProcessMapPlanOscillationDto.DepthEnd), new Cell(3, typeof(double)) },
{ nameof(ProcessMapPlanOscillationDto.OptimalOscillationAngle), new Cell(4, typeof(double)) },
{ nameof(ProcessMapPlanOscillationDto.RpmRight), new Cell(5, typeof(double)) },
{ nameof(ProcessMapPlanOscillationDto.RpmLeft), new Cell(6, typeof(double)) },
{ nameof(ProcessMapPlanOscillationDto.TorqueMaxRight), new Cell(7, typeof(double)) },
{ nameof(ProcessMapPlanOscillationDto.TorqueMaxLeft), new Cell(8, typeof(double)) },
{ nameof(ProcessMapPlanOscillationDto.Mode), new Cell(10, typeof(int)) },
{ nameof(ProcessMapPlanOscillationDto.Note), new Cell(11, typeof(string)) },
2024-06-26 16:17:19 +05:00
};
}