调整了远程锁机和解锁接口

This commit is contained in:
huangxianguo 2024-09-05 19:55:02 +08:00
parent c5b12fa559
commit 8c6c3363b8
2 changed files with 3 additions and 1 deletions

View File

@ -38,7 +38,7 @@ class Program
// 启动与主程序的通信 // 启动与主程序的通信
// ProcessHelper.Init(); ProcessHelper.Init();
Console.WriteLine("按任意键退出"); Console.WriteLine("按任意键退出");

View File

@ -38,6 +38,7 @@ public class RemoteLockService : Instant
if (action == 0) if (action == 0)
{ {
Console.WriteLine("收到锁机指令");
// 更新注册表锁机状态 // 更新注册表锁机状态
var lockType = cmd.LockType; var lockType = cmd.LockType;
if (lockType == 0) if (lockType == 0)
@ -54,6 +55,7 @@ public class RemoteLockService : Instant
} }
else else
{ {
Console.WriteLine("收到解锁指令");
// 解锁 // 解锁
var lockType = cmd.LockType; var lockType = cmd.LockType;
if (lockType == 0) if (lockType == 0)