调整了远程锁机和解锁接口
This commit is contained in:
parent
c5b12fa559
commit
8c6c3363b8
|
@ -38,7 +38,7 @@ class Program
|
|||
|
||||
|
||||
// 启动与主程序的通信
|
||||
// ProcessHelper.Init();
|
||||
ProcessHelper.Init();
|
||||
|
||||
Console.WriteLine("按任意键退出");
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue