From 219f409aa69d210f82d75cd5bde70590c7187862 Mon Sep 17 00:00:00 2001 From: ngfrolov Date: Thu, 29 Sep 2022 17:56:59 +0500 Subject: [PATCH] SubsystemOperationTimeService.CalcStat() limit kUsage. --- .../Services/Subsystems/SubsystemOperationTimeService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AsbCloudInfrastructure/Services/Subsystems/SubsystemOperationTimeService.cs b/AsbCloudInfrastructure/Services/Subsystems/SubsystemOperationTimeService.cs index 8fbc75df..18566010 100644 --- a/AsbCloudInfrastructure/Services/Subsystems/SubsystemOperationTimeService.cs +++ b/AsbCloudInfrastructure/Services/Subsystems/SubsystemOperationTimeService.cs @@ -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; });