From 461ff12df8e63d5e315c79dd64cc5068cbb13375 Mon Sep 17 00:00:00 2001 From: xxe Date: Wed, 9 Nov 2022 14:46:44 +0800 Subject: [PATCH] 11 --- HKCardOUT/HKCardOUT.csproj | 4 ++-- HKCardOUT/options.pro.json | 2 +- HKControl/Main.cs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/HKCardOUT/HKCardOUT.csproj b/HKCardOUT/HKCardOUT.csproj index b7d8a94..25728b2 100644 --- a/HKCardOUT/HKCardOUT.csproj +++ b/HKCardOUT/HKCardOUT.csproj @@ -14,9 +14,9 @@ 1.0.0.0 AnyCPU;x86 - + TRACE;Core diff --git a/HKCardOUT/options.pro.json b/HKCardOUT/options.pro.json index 2545ee9..c95b227 100644 --- a/HKCardOUT/options.pro.json +++ b/HKCardOUT/options.pro.json @@ -5,7 +5,7 @@ //启动设备调试 "StartDevice": true, //串口 - "COM": "COM8", + "COM": "COM7", //定时任务时间表达式 每隔6小时推送一次 "Cron": "0 0 0/6 * * ?", //店铺ID diff --git a/HKControl/Main.cs b/HKControl/Main.cs index 39d1467..69874e1 100644 --- a/HKControl/Main.cs +++ b/HKControl/Main.cs @@ -213,7 +213,7 @@ namespace HKControl { HKLog.HKLogImport.WriteInfo($"地址:{add} {num} 号出餐口控制"); SiemensDicitonary[num].Write(add, true); - Thread.Sleep(2000); + Thread.Sleep(500); SiemensDicitonary[num].Write(add, false); }