diff --git a/SocketExample/RFIDmonitor.csproj b/SocketExample/RFIDmonitor.csproj index 8aeedf0..75d822c 100644 --- a/SocketExample/RFIDmonitor.csproj +++ b/SocketExample/RFIDmonitor.csproj @@ -141,6 +141,10 @@ MSBuild:Compile Designer + + MSBuild:Compile + Designer + Designer MSBuild:Compile @@ -153,6 +157,9 @@ App.xaml Code + + TCPWindowV2-BackUp.xaml + ClientWindow.xaml diff --git a/SocketExample/TCPWindowV2.xaml b/SocketExample/TCPWindowV2.xaml index 19fc781..f5426a7 100644 --- a/SocketExample/TCPWindowV2.xaml +++ b/SocketExample/TCPWindowV2.xaml @@ -171,6 +171,7 @@ + diff --git a/SocketExample/TCPWindowV2.xaml.cs b/SocketExample/TCPWindowV2.xaml.cs index ae8dae6..699f35b 100644 --- a/SocketExample/TCPWindowV2.xaml.cs +++ b/SocketExample/TCPWindowV2.xaml.cs @@ -264,9 +264,9 @@ namespace SocketExample startTemp += 16 + TempLength; string year = DateTime.Now.ToString("yyyy-MM-dd"); EnsureFolderExists($"日志文件夹/{year}/{Text}"); - path = $"日志文件夹/{year}/{Text}/" + path; + path = $"日志文件夹/{year}/{Text}/" + path + Text + ".txt"; writeToTxt(path, $"EPC:{taglist[j].EPCstring}\nHEX:{EPCinfo}\nRSSI:{taglist[j].RSSI.ToString()} Count:{taglist[j].Count.ToString()} Time:{Timeinfo}\n____________________________"); - path = Text + ".txt"; + path = ""; //LogService.Instance.Debug(""); }