src/Bro.Device.Gocator/GocatorDriver.cs
@@ -269,6 +269,8 @@ GoDataSet dataSet = null; if (IIConfig.IsAsyncMode) { if (opConfig.IsSnapshotAction) { if (!IIConfig.IsHardwareTrigger) { _snapFlag = true; @@ -279,6 +281,11 @@ } dataSet = _currentData; } } else { imgSet = null; } } else @@ -342,12 +349,12 @@ Thread.Sleep(100); } } while (true); sensor.Flush(); LogAsync(DateTime.Now, $"传感器关闭成功", ""); } } sensor.Flush(); if (dataSet != null) { HandleGoData(dataSet, imgSet);