Фиксы

This commit is contained in:
Степанов Дмитрий 2023-11-15 09:43:13 +05:00
parent 23e8615e8a
commit 491d9d4abe
2 changed files with 8 additions and 7 deletions

View File

@ -163,12 +163,12 @@ public class DetectedOperationExportService
{
DateTime = d.DateTime,
IdUser = d.IdUser,
WellDepth = d.WellDepth ?? float.NaN,
Pressure = d.Pressure ?? float.NaN,
HookWeight = d.HookWeight ?? float.NaN,
BlockPosition = d.BlockPosition ?? float.NaN,
BitDepth = d.BitDepth ?? float.NaN,
RotorSpeed = d.RotorSpeed ?? float.NaN,
WellDepth = d.WellDepth,
Pressure = d.Pressure,
HookWeight = d.HookWeight,
BlockPosition = d.BlockPosition,
BitDepth = d.BitDepth,
RotorSpeed = d.RotorSpeed,
})
.OrderBy(d => d.DateTime);

View File

@ -123,6 +123,7 @@ namespace AsbCloudWebApi.Controllers.SAUB
/// </summary>
/// <param name="idWell">id скважины</param>
/// <param name="idDomain">Идентификатор домена</param>
/// <param name="token"></param>
[HttpGet("export")]
[Permission]
[ProducesResponseType(typeof(PhysicalFileResult), (int)System.Net.HttpStatusCode.OK, "application/octet-stream")]