diff --git a/DLL/OpenHardwareMonitorLib.dll b/DLL/OpenHardwareMonitorLib.dll new file mode 100644 index 0000000..0adc888 Binary files /dev/null and b/DLL/OpenHardwareMonitorLib.dll differ diff --git a/DyeingComputer.csproj b/DyeingComputer.csproj index 9cf81eb..be997fd 100644 --- a/DyeingComputer.csproj +++ b/DyeingComputer.csproj @@ -81,6 +81,9 @@ true + + DLL\OpenHardwareMonitorLib.dll + @@ -394,6 +397,7 @@ + diff --git a/KEY/TouchKeyboard.xaml.cs b/KEY/TouchKeyboard.xaml.cs index 2239905..0b6ff7c 100644 --- a/KEY/TouchKeyboard.xaml.cs +++ b/KEY/TouchKeyboard.xaml.cs @@ -23,8 +23,6 @@ namespace DyeingComputer.KEY private bool isShiftActive = false; public string KeyValue; public event EventHandler KeyPressed; - private KeyboardMode currentMode = KeyboardMode.Default; - private TextBox targetTextBox; public TouchKeyboard() { diff --git a/UserClass/SQLDATA.cs b/UserClass/SQLDATA.cs index e976b1d..c8ff6b5 100644 --- a/UserClass/SQLDATA.cs +++ b/UserClass/SQLDATA.cs @@ -74,7 +74,6 @@ namespace DyeingComputer.UserClass { // SQLiteHelpers = new SQLiteHelper(DBAddress); //数据库连接路径 // SQLiteHelpers.Open(); //打开数据库 - int r = 0; string sql_script = "select * from WorkorderSteps where ProgramID = '" + workName + "'"; // if (TechnologicalProcessView.sql != null) TechnologicalProcessView.sql.Clear(); //清空缓存 MainWindowViewModel.dt_TP = MainWindow.SQLiteHelpers.ExecuteDataSet(sql_script, null).Tables[0]; //读取表写入缓存 diff --git a/View/EngineerSetView.xaml b/View/EngineerSetView.xaml index 8098e56..66087c7 100644 --- a/View/EngineerSetView.xaml +++ b/View/EngineerSetView.xaml @@ -6,7 +6,7 @@ xmlns:local="clr-namespace:DyeingComputer.View" xmlns:lang="clr-namespace:DyeingComputer.Properties" mc:Ignorable="d" - d:DesignHeight="500" d:DesignWidth="800"> + d:DesignHeight="500" d:DesignWidth="1200"> @@ -17,6 +17,42 @@ + + + + + + + + + + + + +