2024-07-01 17:02:18 +05:00
|
|
|
using AsbCloudApp.Data.ProcessMaps.Functions;
|
2024-06-26 13:01:06 +05:00
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
namespace AsbCloudInfrastructure.Services.ExcelServices.Templates.ProcessMapPlanTemplates;
|
|
|
|
|
2024-06-29 23:32:34 +05:00
|
|
|
public class ProcessMapPlanDamperTemplate : ITemplateParameters
|
2024-06-26 13:01:06 +05:00
|
|
|
{
|
|
|
|
public string SheetName => "Демпфер";
|
|
|
|
|
|
|
|
public int HeaderRowsCount => 2;
|
|
|
|
|
2024-07-08 13:09:13 +05:00
|
|
|
public string FileName => "ProcessMapPlanDamper.xlsx";
|
2024-06-26 13:01:06 +05:00
|
|
|
|
|
|
|
public IDictionary<string, Cell> Cells => new Dictionary<string, Cell>
|
|
|
|
{
|
2024-07-01 17:02:18 +05:00
|
|
|
{ nameof(ProcessMapPlanDamperDto.Section), new Cell(1, typeof(string)) },
|
|
|
|
{ nameof(ProcessMapPlanDamperDto.DepthStart), new Cell(2, typeof(double)) },
|
|
|
|
{ nameof(ProcessMapPlanDamperDto.DepthEnd), new Cell(3, typeof(double)) },
|
2024-06-26 13:01:06 +05:00
|
|
|
|
2024-07-01 17:02:18 +05:00
|
|
|
{ nameof(ProcessMapPlanDamperDto.StickSlip), new Cell(4, typeof(double)) },
|
|
|
|
|
|
|
|
{ nameof(ProcessMapPlanDamperDto.Note), new Cell(5, typeof(string)) },
|
2024-06-26 13:01:06 +05:00
|
|
|
};
|
|
|
|
}
|