2024-06-30 22:01:24 +05:00
|
|
|
using AsbCloudApp.Data.ProcessMaps.Functions;
|
|
|
|
using AsbCloudApp.Data.ProcessMaps.Operations;
|
2024-06-26 17:09:30 +05:00
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
namespace AsbCloudInfrastructure.Services.ExcelServices.Templates.ProcessMapPlanTemplates;
|
|
|
|
|
2024-06-29 21:10:12 +05:00
|
|
|
public class ProcessMapPlanAntiCrashRotationTemplate : ITemplateParameters
|
2024-06-26 17:09:30 +05:00
|
|
|
{
|
|
|
|
public string SheetName => "Противоаварийное вращение";
|
|
|
|
|
2024-07-16 16:42:59 +05:00
|
|
|
public int HeaderRowsCount => 2;
|
2024-06-26 17:09:30 +05:00
|
|
|
|
2024-07-16 16:42:59 +05:00
|
|
|
public string FileName => "ProcessMapPlanAnticrashRotation.xlsx";
|
2024-06-26 17:09:30 +05:00
|
|
|
|
|
|
|
public IDictionary<string, Cell> Cells => new Dictionary<string, Cell>
|
|
|
|
{
|
2024-06-30 22:01:24 +05:00
|
|
|
{ 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)) },
|
2024-06-26 17:09:30 +05:00
|
|
|
};
|
|
|
|
}
|