From d122528148f14b6274b7530b624970a377c0941e Mon Sep 17 00:00:00 2001 From: zqm Date: Tue, 4 Nov 2025 14:47:32 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4DeviceManager.cs=E4=B8=AD?= =?UTF-8?q?=E9=87=8D=E5=A4=8D=E5=AE=9A=E4=B9=89=E7=9A=84TemperatureReceive?= =?UTF-8?q?dEventArgs=E5=86=85=E9=83=A8=E7=B1=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Toprie/Toprie/DeviceManager.cs | 40 +------------------ 1 file changed, 1 insertion(+), 39 deletions(-) diff --git a/Windows/CS/Framework4.0/Toprie/Toprie/DeviceManager.cs b/Windows/CS/Framework4.0/Toprie/Toprie/DeviceManager.cs index 7616adc..14f3c46 100644 --- a/Windows/CS/Framework4.0/Toprie/Toprie/DeviceManager.cs +++ b/Windows/CS/Framework4.0/Toprie/Toprie/DeviceManager.cs @@ -5849,45 +5849,7 @@ namespace JoyD.Windows.CS.Toprie #endregion IDisposable 实现 - #region 温度相关辅助类 - - /// - /// 温度数据事件参数类 - /// - public class TemperatureReceivedEventArgs : EventArgs - { - /// - /// 温度数据对象 - /// - public TemperatureData TemperatureData { get; private set; } - - /// - /// 原始温度数据字节数组 - /// - public byte[] RawData { get; private set; } - - /// - /// 温度补偿值 - /// - public float CompensationValue { get; private set; } - - /// - /// 构造函数 - /// - /// 温度数据对象 - /// 原始温度数据 - /// 温度补偿值 - public TemperatureReceivedEventArgs(TemperatureData temperatureData, byte[] rawData, float compensationValue) - { - TemperatureData = temperatureData; - RawData = rawData; - CompensationValue = compensationValue; - } - } - - // 移除内部的TemperatureData类定义,使用全局的TemperatureData类 - - #endregion 温度相关辅助类 + // 温度相关辅助类已移除,不再需要温度数据实时通知机制 /// /// 清理TCP连接资源的辅助方法