forked from ddrilling/AsbCloudServer
Правка бага, в результате которого данные о скважине не присылалась на фронт
This commit is contained in:
parent
b1dc4977ad
commit
c71b9daca9
@ -157,8 +157,8 @@ internal class SubsystemService : ISubsystemService
|
|||||||
SumDepthInterval = sumDepthInterval,
|
SumDepthInterval = sumDepthInterval,
|
||||||
OperationCount = operationCount,
|
OperationCount = operationCount,
|
||||||
};
|
};
|
||||||
|
if(oscillationStat.SumOperationDepthInterval != 0d)
|
||||||
oscillationStat.KUsage = oscillationStat.SumDepthInterval / oscillationStat.SumOperationDepthInterval;
|
oscillationStat.KUsage = oscillationStat.SumDepthInterval / oscillationStat.SumOperationDepthInterval;
|
||||||
|
|
||||||
return oscillationStat;
|
return oscillationStat;
|
||||||
}
|
}
|
||||||
@ -264,6 +264,9 @@ internal class SubsystemService : ISubsystemService
|
|||||||
|
|
||||||
foreach (var well in wells)
|
foreach (var well in wells)
|
||||||
{
|
{
|
||||||
|
if (well.Id == 676) {
|
||||||
|
;
|
||||||
|
}
|
||||||
var hoursOffset = well.Timezone.Hours;
|
var hoursOffset = well.Timezone.Hours;
|
||||||
|
|
||||||
var geDateStartUtc = geDate?.ToUtcDateTimeOffset(hoursOffset);
|
var geDateStartUtc = geDate?.ToUtcDateTimeOffset(hoursOffset);
|
||||||
|
Loading…
Reference in New Issue
Block a user