forked from ddrilling/AsbCloudServer
26 lines
1.3 KiB
C#
26 lines
1.3 KiB
C#
using AsbCloudApp.Data.ProcessMaps.Functions;
|
|
using AsbCloudApp.Data.ProcessMaps.Operations;
|
|
using AsbCloudDb.Model.ProcessMapPlan.Operations;
|
|
using System.Collections.Generic;
|
|
|
|
namespace AsbCloudInfrastructure.Services.ExcelServices.Templates.ProcessMapPlanTemplates;
|
|
|
|
public class ProcessMapPlanSwitchingToTheModeTemplate : ITemplateParameters
|
|
{
|
|
public string SheetName => "Выход на плановый расход";
|
|
|
|
public int HeaderRowsCount => 2;
|
|
|
|
public string FileName => "ProcessMapPlanSwitchingToTheMode.xlsx";
|
|
|
|
public IDictionary<string, Cell> Cells => new Dictionary<string, Cell>
|
|
{
|
|
{ nameof(ProcessMapPlanSwitchingToTheModeDto.Section), new Cell(1, typeof(string)) },
|
|
{ nameof(ProcessMapPlanSwitchingToTheModeDto.DepthStart), new Cell(2, typeof(double)) },
|
|
{ nameof(ProcessMapPlanSwitchingToTheModeDto.DepthEnd), new Cell(3, typeof(double)) },
|
|
{ nameof(ProcessMapPlanSwitchingToTheModeDto.RampTime), new Cell(4, typeof(double)) },
|
|
{ nameof(ProcessMapPlanSwitchingToTheModeDto.FlowRate), new Cell(5, typeof(double)) },
|
|
{ nameof(ProcessMapPlanSwitchingToTheModeDto.PressureMax), new Cell(6, typeof(double)) },
|
|
{ nameof(ProcessMapPlanAntiCrashRotationDto.Note), new Cell(7, typeof(string)) },
|
|
};
|
|
} |