Merge pull request 'Баг/Начальный экран/Отображение текущего забоя' (#304) from fix/#36823597-current-wellDepth-on-start-screen into dev

Reviewed-on: https://test.digitaldrilling.ru:8443/DDrilling/AsbCloudServer/pulls/304
This commit is contained in:
Никита Фролов 2024-08-07 11:54:52 +05:00
commit 8dfe0246af

View File

@ -157,7 +157,7 @@ internal class SubsystemService : ISubsystemService
SumDepthInterval = sumDepthInterval,
OperationCount = operationCount,
};
if(oscillationStat.SumOperationDepthInterval != 0d)
oscillationStat.KUsage = oscillationStat.SumDepthInterval / oscillationStat.SumOperationDepthInterval;
return oscillationStat;