forked from ddrilling/AsbCloudServer
Правки внутри шаблона импорта, перевод секунд в часы для отчета
This commit is contained in:
parent
3927790aab
commit
88e2afc1b2
@ -26,7 +26,7 @@
|
||||
public float? DepthSpeed { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Время бурения шага
|
||||
/// Время бурения шага, сек
|
||||
/// </summary>
|
||||
public float? TimeDrillStep { get; set; }
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
using AsbCloudApp.Data.DrillTestReport;
|
||||
using AsbCloudApp.Services;
|
||||
using ClosedXML.Excel;
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
@ -70,7 +71,7 @@ namespace AsbCloudInfrastructure.Services.DrillTestReport
|
||||
cell = sheet.Cell(rowNumber, 8);
|
||||
cell._SetValue(endDateTime.DateTime);
|
||||
|
||||
sheet.Cell(rowNumber, 9).Value = drillTestEntity.TimeDrillStep;
|
||||
sheet.Cell(rowNumber, 9).Value = Math.Round((drillTestEntity.TimeDrillStep ?? 0) / (60 * 60), 2);
|
||||
|
||||
sheet.Cell(rowNumber, 10).Value = drillTestEntity.DepthSpeed;
|
||||
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user