fasdfasdfasdf

This commit is contained in:
Stoyan Zlatev
2025-04-25 08:38:37 +02:00
parent 84d3413728
commit b125cf99c8
+14 -10
View File
@@ -2,7 +2,7 @@
{
using Common.Hardware.SIRT;
using Common.Hardware.SIRT.Tasks;
using Common.Hardware.WaterMeter.eRegister.Telegrams;
using System;
using System.Threading;
@@ -10,18 +10,22 @@
{
public static void Main()
{
var broadcaster = new SIRTBroadcaster("COM6");
broadcaster.Open();
var semi = new SEMI("08F3126B77C9000000320000740C000F0300000000000009140188BA30070E10A87F76D3FA000000000000000000000000000000000000000000000000000000000403003C0003012F9CBD671D000000000000000000000100011E95FD".GetBytes(), 868, new Common.Hardware.SIRT.Parameters.P11());
Console.WriteLine(broadcaster.Id);
Console.WriteLine();
while (Console.ReadKey().Key != ConsoleKey.Enter)
{
Console.WriteLine(broadcaster.AdddressesInPamPool());
Thread.Sleep(1000);
}
//var broadcaster = new SIRTBroadcaster("COM6");
//broadcaster.Open();
//Console.WriteLine(broadcaster.Id);
//Console.WriteLine();
//while (Console.ReadKey().Key != ConsoleKey.Enter)
//{
// Console.WriteLine(broadcaster.AdddressesInPamPool());
// Thread.Sleep(1000);
//}
}
public class ReadPamPoolTask : ReadPamTask