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