1.去掉功率部分(已备份)

2.修复日志和标签显示
master
zhangxy 3 weeks ago
parent 0e32900c19
commit 93d0a18c79

@ -141,6 +141,10 @@
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</ApplicationDefinition>
<Page Include="BackUP\TCPWindowV2-BackUp.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="ClientWindow.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
@ -153,6 +157,9 @@
<DependentUpon>App.xaml</DependentUpon>
<SubType>Code</SubType>
</Compile>
<Compile Include="BackUP\TCPWindowV2-BackUp.xaml.cs">
<DependentUpon>TCPWindowV2-BackUp.xaml</DependentUpon>
</Compile>
<Compile Include="ClientWindow.xaml.cs">
<DependentUpon>ClientWindow.xaml</DependentUpon>
</Compile>

@ -171,6 +171,7 @@
</ItemsControl>
</ScrollViewer>
</Border>
<!-- 功率部分,已备份,注释后不再生成该部分
<Border BorderBrush="Black" BorderThickness="0.5">
<Grid Margin="0 0 0 0">
<Grid.RowDefinitions>
@ -295,6 +296,7 @@
</Grid>
</Border>
-->
<Border BorderBrush="Black" BorderThickness="0.5">
<Grid Margin="0 0 0 2">
<Grid.RowDefinitions>

@ -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("");
}

Loading…
Cancel
Save