|
|
@@ -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)
|