主应用新增PLC和探测器硬件资源正确释放。

This commit is contained in:
QI Mingxuan
2026-05-08 17:59:10 +08:00
parent 229c5c5a89
commit fa8ad29862
2 changed files with 38 additions and 1 deletions
@@ -1,3 +1,4 @@
using System;
using System.Threading;
using System.Threading.Tasks;
using XP.Hardware.Detector.Abstractions;
@@ -10,7 +11,7 @@ namespace XP.Hardware.Detector.Services
/// 探测器服务接口 | Detector service interface
/// 提供无厂商耦合的通用服务方法
/// </summary>
public interface IDetectorService
public interface IDetectorService : IDisposable
{
/// <summary>
/// 当前探测器状态 | Current detector status