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

53 lines
3.9 KiB
C#
Raw Normal View History

using AsbCloudApp.Data.ProcessMaps.Operations;
2024-06-24 16:05:45 +05:00
using System.Collections.Generic;
namespace AsbCloudInfrastructure.Services.ExcelServices.Templates.ProcessMapPlanTemplates;
public class ProcessMapPlanReamingSlideTemplate : ITemplateParameters
2024-06-24 16:05:45 +05:00
{
2024-07-15 14:54:29 +05:00
public string SheetName => "Проработка для слайда";
2024-06-24 16:05:45 +05:00
public int HeaderRowsCount => 2;
2024-07-08 13:09:13 +05:00
public string FileName => "ProcessMapPlanReamingSlide.xlsx";
2024-06-24 16:05:45 +05:00
public IDictionary<string, Cell> Cells => new Dictionary<string, Cell>
{
{ nameof(ProcessMapPlanReamingSlideDto.Section), new Cell(1, typeof(string)) },
{ nameof(ProcessMapPlanReamingSlideDto.DepthStart), new Cell(2, typeof(double)) },
{ nameof(ProcessMapPlanReamingSlideDto.DepthEnd), new Cell(3, typeof(double)) },
{ nameof(ProcessMapPlanReamingSlideDto.PressureMax), new Cell(4, typeof(double)) },
{ nameof(ProcessMapPlanReamingSlideDto.DifferentialPressure), new Cell(5, typeof(double)) },
{ nameof(ProcessMapPlanReamingSlideDto.Tight), new Cell(6, typeof(double)) },
{ nameof(ProcessMapPlanReamingSlideDto.SlackingOff), new Cell(7, typeof(double)) },
{ nameof(ProcessMapPlanReamingSlideDto.TorqueMax), new Cell(8, typeof(double)) },
{ nameof(ProcessMapPlanReamingSlideDto.Reaming1RepetitionsCount), new Cell(9, typeof(int)) },
{ nameof(ProcessMapPlanReamingSlideDto.Reaming1RopUp), new Cell(10, typeof(double)) },
{ nameof(ProcessMapPlanReamingSlideDto.Reaming1RopDown), new Cell(11, typeof(double)) },
{ nameof(ProcessMapPlanReamingSlideDto.Reaming1RpmUp), new Cell(12, typeof(double)) },
{ nameof(ProcessMapPlanReamingSlideDto.Reaming1RpmDown), new Cell(13, typeof(double)) },
{ nameof(ProcessMapPlanReamingSlideDto.Reaming1FlowRateUp), new Cell(14, typeof(double)) },
{ nameof(ProcessMapPlanReamingSlideDto.Reaming1FlowRateDown), new Cell(15, typeof(double)) },
{ nameof(ProcessMapPlanReamingSlideDto.Reaming1Interval), new Cell(16, typeof(double)) },
{ nameof(ProcessMapPlanReamingSlideDto.Reaming1StopPointOffBottom), new Cell(17, typeof(double)) },
{ nameof(ProcessMapPlanReamingSlideDto.Reaming2RepetitionsCount), new Cell(18, typeof(double)) },
{ nameof(ProcessMapPlanReamingSlideDto.Reaming2RopUp), new Cell(19, typeof(double)) },
{ nameof(ProcessMapPlanReamingSlideDto.Reaming2RopDown), new Cell(20, typeof(double)) },
{ nameof(ProcessMapPlanReamingSlideDto.Reaming2RpmUp), new Cell(21, typeof(double)) },
{ nameof(ProcessMapPlanReamingSlideDto.Reaming2RpmDown), new Cell(22, typeof(double)) },
{ nameof(ProcessMapPlanReamingSlideDto.Reaming2FlowRateUp), new Cell(23, typeof(double)) },
{ nameof(ProcessMapPlanReamingSlideDto.Reaming2FlowRateDown), new Cell(24, typeof(double)) },
{ nameof(ProcessMapPlanReamingSlideDto.Reaming2Interval), new Cell(25, typeof(double)) },
{ nameof(ProcessMapPlanReamingSlideDto.Reaming2StopPointOffBottom), new Cell(26, typeof(double)) },
{ nameof(ProcessMapPlanReamingSlideDto.Reaming3RepetitionsCount), new Cell(27, typeof(double)) },
{ nameof(ProcessMapPlanReamingSlideDto.Reaming3RopUp), new Cell(28, typeof(double)) },
2024-07-15 14:54:29 +05:00
{ nameof(ProcessMapPlanReamingSlideDto.Reaming3RopDown), new Cell(29, typeof(double)) },
{ nameof(ProcessMapPlanReamingSlideDto.Reaming3RpmUp), new Cell(30, typeof(double)) },
{ nameof(ProcessMapPlanReamingSlideDto.Reaming3RpmDown), new Cell(31, typeof(double)) },
{ nameof(ProcessMapPlanReamingSlideDto.Reaming3FlowRateUp), new Cell(32, typeof(double)) },
{ nameof(ProcessMapPlanReamingSlideDto.Reaming3FlowRateDown), new Cell(33, typeof(double)) },
{ nameof(ProcessMapPlanReamingSlideDto.Reaming3Interval), new Cell(34, typeof(double)) },
{ nameof(ProcessMapPlanReamingSlideDto.Reaming3StopPointOffBottom), new Cell(35, typeof(double)) },
{ nameof(ProcessMapPlanReamingSlideDto.Note), new Cell(36, typeof(string)) },
2024-06-24 16:05:45 +05:00
};
}