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 => 3; public string FileName => "ProcessMapPlanSwitchingToTheModeTemplate.xlsx"; public IDictionary Cells => new Dictionary { { 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)) }, }; }