Quellcode durchsuchen

修复重复保存压力曲线问题

KWD vor 5 Monaten
Ursprung
Commit
45459ffdd0
1 geänderte Dateien mit 5 neuen und 5 gelöschten Zeilen
  1. 5 5
      TeamAAS-VM/Core/Management.cs

+ 5 - 5
TeamAAS-VM/Core/Management.cs

@@ -3604,11 +3604,11 @@ namespace TeamAAS_VP.Core
                         await Task.Delay(_pressureSampleIntervalMs);
                     }
                     // if cancelled due to timeout
-                    if (_pressureTimeoutCts[Index].IsCancellationRequested && !_pressureCts[Index].IsCancellationRequested)
-                    {
-                        SendTaskMessage("Pressure collection timed out, saving collected data.", MessageLevel.Alarm);
-                        await StopAndSavePressureCollectionAsync(productName, productCode, Index);
-                    }
+                    //if (_pressureTimeoutCts[Index].IsCancellationRequested && !_pressureCts[Index].IsCancellationRequested)
+                    //{
+                    //    SendTaskMessage("Pressure collection timed out, saving collected data.", MessageLevel.Alarm);
+                    //    await StopAndSavePressureCollectionAsync(productName, productCode, Index);
+                    //}
                 }, token);
             }
             catch (Exception ex)