From 8fcc3bd198606e0400eca5383572fb97ecdada85 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期二, 10 一月 2023 15:51:37 +0800
Subject: [PATCH] 备份

---
 SmartHome/HDL/Operation/Packet.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/SmartHome/HDL/Operation/Packet.cs b/SmartHome/HDL/Operation/Packet.cs
index 298a6e0..5724c00 100644
--- a/SmartHome/HDL/Operation/Packet.cs
+++ b/SmartHome/HDL/Operation/Packet.cs
@@ -47,7 +47,7 @@
 		/// </summary>
 		public int HaveSendCount;
 
-		public delegate void DelegateReceive (byte subnetID, byte deviceID, Command command, byte [] usefullBytes,  int deviceType);
+		public delegate void DelegateReceive (byte subnetID, byte deviceID, Command command, byte [] usefullBytes,  int deviceType, System.Net.IPEndPoint remoteIp);
 		public static event DelegateReceive ReceiveEvent;
 		/// <summary>
 		/// 鎺ユ敹鍒扮殑鎵�鏈夋暟鎹�
@@ -92,7 +92,7 @@
 
 			if (ReceiveEvent != null) {
                 try {
-                    ReceiveEvent (subnetID, deviceID, command, usefulBytes, deviceType);
+                    ReceiveEvent (subnetID, deviceID, command, usefulBytes, deviceType,(System.Net.IPEndPoint)RemoteEndPoint);
                 } catch (Exception ex) {
                     Console.WriteLine (ex.Message);
                 }

--
Gitblit v1.8.0