新增软件启动后立即连接探测器,连接后主动连续采集。
This commit is contained in:
@@ -570,6 +570,12 @@ namespace XP.Hardware.Detector.Services
|
||||
{
|
||||
if (disposing)
|
||||
{
|
||||
// 停止采集(如果正在采集)| Stop acquisition if acquiring
|
||||
StopAcquisitionAsync().GetAwaiter().GetResult();
|
||||
|
||||
// 断开探测器连接 | Disconnect detector
|
||||
DisconnectAsync().GetAwaiter().GetResult();
|
||||
|
||||
// 释放托管资源 | Release managed resources
|
||||
lock (_lock)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user