编辑通信组有问题

This commit is contained in:
2026-09-16 10:46:02 +08:00
parent cf2a7c8ff1
commit f43cd123ec
2 changed files with 15 additions and 2 deletions
+1
View File
@@ -84,6 +84,7 @@ namespace JinYuan.Helper
{
EventMsg msg = (EventMsg)Marshal.PtrToStructure(lParam, typeof(EventMsg));
codes.Add(msg);
Debug.WriteLine($"scanerEvent: {codes.Result}, msg.message: {msg.message}, msg.paramH: {msg.paramH}");
if (ScanerEvent != null && msg.message == 13 && msg.paramH > 0 && !string.IsNullOrEmpty(codes.Result))
{
ScanerEvent(codes);