2024-06-30 23:43:11 +05:00
|
|
|
using AsbCloudApp.Data.ProcessMaps.Functions;
|
|
|
|
using AsbCloudApp.Data.ProcessMaps.Operations;
|
2024-06-24 16:45:58 +05:00
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
namespace AsbCloudInfrastructure.Services.ExcelServices.Templates.ProcessMapPlanTemplates;
|
|
|
|
|
2024-06-30 13:13:33 +05:00
|
|
|
public class ProcessMapPlanLoadCapacityTemplate : ITemplateParameters
|
2024-06-24 16:45:58 +05:00
|
|
|
{
|
|
|
|
public string SheetName => "Выработка нагрузки";
|
|
|
|
|
2024-06-30 23:43:11 +05:00
|
|
|
public int HeaderRowsCount => 3;
|
2024-06-24 16:45:58 +05:00
|
|
|
|
2024-07-08 13:09:13 +05:00
|
|
|
public string FileName => "ProcessMapPlanLoadCapacity.xlsx";
|
2024-06-24 16:45:58 +05:00
|
|
|
|
|
|
|
public IDictionary<string, Cell> Cells => new Dictionary<string, Cell>
|
|
|
|
{
|
2024-06-30 23:43:11 +05:00
|
|
|
{ nameof(ProcessMapPlanLoadCapacityDto.Section), new Cell(1, typeof(string)) },
|
|
|
|
{ nameof(ProcessMapPlanLoadCapacityDto.DepthStart), new Cell(2, typeof(double)) },
|
|
|
|
{ nameof(ProcessMapPlanLoadCapacityDto.DepthEnd), new Cell(3, typeof(double)) },
|
|
|
|
{ nameof(ProcessMapPlanLoadCapacityDto.TimeLoadCapacityMin), new Cell(4, typeof(double)) },
|
|
|
|
{ nameof(ProcessMapPlanLoadCapacityDto.DifferentialPressureMin), new Cell(5, typeof(double)) },
|
|
|
|
{ nameof(ProcessMapPlanLoadCapacityDto.WeightOnBitMin), new Cell(6, typeof(double)) },
|
|
|
|
{ nameof(ProcessMapPlanLoadCapacityDto.Note), new Cell(7, typeof(string)) },
|
2024-06-24 16:45:58 +05:00
|
|
|
};
|
|
|
|
}
|