forked from ddrilling/AsbCloudServer
25 lines
1.2 KiB
C#
25 lines
1.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 ProcessMapPlanAntiCrashRotationTemplate : ITemplateParameters
|
|
{
|
|
public string SheetName => "Противоаварийное вращение";
|
|
|
|
public int HeaderRowsCount => 3;
|
|
|
|
public string FileName => "ProcessMapPlanAntiCrashRotationTemplate.xlsx";
|
|
|
|
public IDictionary<string, Cell> Cells => new Dictionary<string, Cell>
|
|
{
|
|
{ nameof(ProcessMapPlanAntiCrashRotationDto.Section), new Cell(1, typeof(string)) },
|
|
{ nameof(ProcessMapPlanAntiCrashRotationDto.DepthStart), new Cell(2, typeof(double)) },
|
|
{ nameof(ProcessMapPlanAntiCrashRotationDto.DepthEnd), new Cell(3, typeof(double)) },
|
|
{ nameof(ProcessMapPlanAntiCrashRotationDto.TopDriveRpmMin), new Cell(4, typeof(double)) },
|
|
{ nameof(ProcessMapPlanAntiCrashRotationDto.TopDriveStartMinFlowRate), new Cell(5, typeof(double)) },
|
|
{ nameof(ProcessMapPlanAntiCrashRotationDto.TopDriveTorqueMax), new Cell(6, typeof(double)) },
|
|
{ nameof(ProcessMapPlanAntiCrashRotationDto.Note), new Cell(7, typeof(string)) },
|
|
};
|
|
} |