SubsystemOperationTimeService.CalcStat() limit kUsage.

This commit is contained in:
ngfrolov 2022-09-29 17:56:59 +05:00
parent 591e1a6ef2
commit 219f409aa6

View File

@ -145,8 +145,8 @@ namespace AsbCloudInfrastructure.Services.Subsystems
SumDepthInterval = periodGroupDepth,
OperationCount = g.Count()
};
if(subsystemStat.KUsage > 100)
subsystemStat.KUsage = 100;
if(subsystemStat.KUsage > 1)
subsystemStat.KUsage = 1;
return subsystemStat;
});