From 8c6c3363b882393aad2e44d83f9719a98c41c4eb Mon Sep 17 00:00:00 2001 From: huangxianguo Date: Thu, 5 Sep 2024 19:55:02 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E4=BA=86=E8=BF=9C=E7=A8=8B?= =?UTF-8?q?=E9=94=81=E6=9C=BA=E5=92=8C=E8=A7=A3=E9=94=81=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- MasstransferExporter/Program.cs | 2 +- MasstransferExporter/RemoteControl/RemoteLockService.cs | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/MasstransferExporter/Program.cs b/MasstransferExporter/Program.cs index caa5d92..1338f13 100644 --- a/MasstransferExporter/Program.cs +++ b/MasstransferExporter/Program.cs @@ -38,7 +38,7 @@ class Program // 启动与主程序的通信 - // ProcessHelper.Init(); + ProcessHelper.Init(); Console.WriteLine("按任意键退出"); diff --git a/MasstransferExporter/RemoteControl/RemoteLockService.cs b/MasstransferExporter/RemoteControl/RemoteLockService.cs index 0c9e710..d9deb39 100644 --- a/MasstransferExporter/RemoteControl/RemoteLockService.cs +++ b/MasstransferExporter/RemoteControl/RemoteLockService.cs @@ -38,6 +38,7 @@ public class RemoteLockService : Instant if (action == 0) { + Console.WriteLine("收到锁机指令"); // 更新注册表锁机状态 var lockType = cmd.LockType; if (lockType == 0) @@ -54,6 +55,7 @@ public class RemoteLockService : Instant } else { + Console.WriteLine("收到解锁指令"); // 解锁 var lockType = cmd.LockType; if (lockType == 0)