添加调试信息和数据库查询

如题
This commit is contained in:
tianshuanbao
2025-12-17 09:59:02 +08:00
parent 5c949a6ce2
commit 4b15524845
4 changed files with 37 additions and 2 deletions

View File

@@ -13,6 +13,7 @@
<ItemGroup>
<ProjectReference Include="..\Commonlib\Commonlib.csproj" />
<ProjectReference Include="..\LogCap\LogCap.csproj" />
</ItemGroup>
</Project>

View File

@@ -3,6 +3,7 @@ using System.Transactions;
using Common;
using Commonlib;
using LiteDB;
using LogCap.Common;
namespace ConsoleApp2
{
@@ -31,9 +32,16 @@ namespace ConsoleApp2
List<byte> IP3 = data.Skip(13).Take(1).ToList();
List<byte> IP4 = data.Skip(14).Take(1).ToList();
}
static void testa()
{
byte[] nnn = Tools.HEXString2ByteArray("AA 55 11 00 54 33 53 41 02 1E FE AD 04 01 9A 23 76".Replace(" ",""));
DealWithData.ReallyDealWith(true,nnn.ToList<byte>(),"",300,"02");
}
static void Main(string[] args)
{
testa();
Console.ReadLine();
ReadData();
var B = "33\\343\\22";
var AAA = Path.Combine("", $"{B}");