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

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

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

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

@ -264,9 +264,9 @@ namespace SocketExample
startTemp += 16 + TempLength; startTemp += 16 + TempLength;
string year = DateTime.Now.ToString("yyyy-MM-dd"); string year = DateTime.Now.ToString("yyyy-MM-dd");
EnsureFolderExists($"日志文件夹/{year}/{Text}"); 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____________________________"); 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(""); //LogService.Instance.Debug("");
} }

Loading…
Cancel
Save