forked from ddrilling/AsbCloudServer
Fix SubsystemOperationTimeService.CalcStat(). Kusage
This commit is contained in:
parent
790f4eef0d
commit
e15b58228b
@ -182,7 +182,7 @@ namespace AsbCloudInfrastructure.Services.Subsystems
|
|||||||
IdSubsystem = IdSubsystemAKB,
|
IdSubsystem = IdSubsystemAKB,
|
||||||
SubsystemName = "АПД",
|
SubsystemName = "АПД",
|
||||||
UsedTimeHours = apdParts.Sum(part => part.UsedTimeHours),
|
UsedTimeHours = apdParts.Sum(part => part.UsedTimeHours),
|
||||||
KUsage = apdParts.Sum(part => part.KUsage),
|
KUsage = apdParts.Sum(part => part.SumDepthInterval) / GetDepthIntervalSubsystem(IdSubsystemAKB, depthInterval),
|
||||||
SumDepthInterval = apdParts.Sum(part => part.SumDepthInterval),
|
SumDepthInterval = apdParts.Sum(part => part.SumDepthInterval),
|
||||||
OperationCount = apdParts.Sum(part => part.OperationCount),
|
OperationCount = apdParts.Sum(part => part.OperationCount),
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user