修正错误
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
using CleanMachine.Model;
|
||||
using CleanMachine.Model.BAS;
|
||||
using CleanMachine.Model.CM;
|
||||
using CleanMachineHMI.Domain.Enums;
|
||||
using CleanMachineHMI.Domain.Models.ViewModels;
|
||||
using CleanMachineHMI.forms;
|
||||
|
||||
@@ -24,13 +24,13 @@ namespace CleanMachineHMI
|
||||
[DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)]
|
||||
private static extern int RegisterWindowMessage(string lpString);
|
||||
|
||||
private static bool hasKeyboard=false;
|
||||
private static bool hasKeyboard = false;
|
||||
|
||||
private static readonly string USB = "USB";
|
||||
|
||||
static KeyboardAutoPopUp()
|
||||
static KeyboardAutoPopUp()
|
||||
{
|
||||
// hasKeyboard = GetKeyboardPresent();
|
||||
hasKeyboard = GetKeyboardPresent();
|
||||
|
||||
|
||||
|
||||
@@ -65,7 +65,7 @@ namespace CleanMachineHMI
|
||||
if (hasKeyboard) return 0;
|
||||
try
|
||||
{
|
||||
|
||||
|
||||
dynamic file = "C:\\Program Files\\Common Files\\microsoft shared\\ink\\TabTip.exe";
|
||||
if (!System.IO.File.Exists(file))
|
||||
return -1;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
#if DEBUG
|
||||
|
||||
//#define USE_LOCAL_TCP_DEBUG
|
||||
#define USE_LOCAL_TCP_DEBUG
|
||||
#endif
|
||||
//启用心跳检查
|
||||
|
||||
@@ -10,6 +10,8 @@
|
||||
#define UseHeartbeat
|
||||
#endif
|
||||
using CleanMachine.Model;
|
||||
using CleanMachine.Model.BAS;
|
||||
using CleanMachine.Model.CM;
|
||||
using LeadDataBaseUtility;
|
||||
|
||||
using NModbus;
|
||||
|
||||
Reference in New Issue
Block a user