From 15adc2d79d7f9b3c37d3e72fd2e00d4c47a16a72 Mon Sep 17 00:00:00 2001 From: ngfrolov Date: Fri, 22 Dec 2023 11:47:10 +0500 Subject: [PATCH] fix tvdLagDays --- .../Services/WellOperationService/OperationsStatService.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/AsbCloudInfrastructure/Services/WellOperationService/OperationsStatService.cs b/AsbCloudInfrastructure/Services/WellOperationService/OperationsStatService.cs index a93dc50b..c9018051 100644 --- a/AsbCloudInfrastructure/Services/WellOperationService/OperationsStatService.cs +++ b/AsbCloudInfrastructure/Services/WellOperationService/OperationsStatService.cs @@ -10,7 +10,6 @@ using System.Linq; using System.Threading; using System.Threading.Tasks; using AsbCloudApp.Data.SAUB; -using AsbCloudInfrastructure.Services.SAUB; using AsbCloudApp.Repositories; namespace AsbCloudInfrastructure.Services.WellOperationService; @@ -219,7 +218,7 @@ public class OperationsStatService : IOperationsStatService var factEnd = lastCorrespondingFactOperation.DateStart.AddHours(lastCorrespondingFactOperation.DurationHours); var planEnd = lastCorrespondingPlanOperation.DateStart.AddHours(lastCorrespondingPlanOperation.DurationHours); - var lagDays = (planEnd - factEnd).TotalDays; + var lagDays = (factEnd - planEnd).TotalDays; return lagDays; }