forked from ddrilling/AsbCloudServer
21 lines
996 B
C#
21 lines
996 B
C#
|
using System.Collections.Generic;
|
||
|
using AsbCloudApp.Data.Trajectory;
|
||
|
|
||
|
namespace AsbCloudInfrastructure.Services.ExcelServices.Templates.TrajectoryTemplates;
|
||
|
|
||
|
public class TrajectoryPlanTemplate : ITemplateParameters
|
||
|
{
|
||
|
public string SheetName => "Плановая траектория";
|
||
|
public int HeaderRowsCount => 2;
|
||
|
public string FileName => "TrajectoryPlanTemplate.xlsx";
|
||
|
public IDictionary<string, Cell> Cells => new Dictionary<string, Cell>
|
||
|
{
|
||
|
{ nameof(TrajectoryGeoPlanDto.WellboreDepth), new Cell(1, typeof(double)) },
|
||
|
{ nameof(TrajectoryGeoPlanDto.ZenithAngle), new Cell(2, typeof(double)) },
|
||
|
{ nameof(TrajectoryGeoPlanDto.AzimuthGeo), new Cell(3, typeof(double)) },
|
||
|
{ nameof(TrajectoryGeoPlanDto.AzimuthMagnetic), new Cell(4, typeof(double)) },
|
||
|
{ nameof(TrajectoryGeoPlanDto.VerticalDepth), new Cell(5, typeof(double)) },
|
||
|
{ nameof(TrajectoryGeoPlanDto.Radius), new Cell(6, typeof(double)) },
|
||
|
{ nameof(TrajectoryGeoPlanDto.Comment), new Cell(7, typeof(string)) }
|
||
|
};
|
||
|
}
|