diff --git a/Common/CommonConsole/Program.cs b/Common/CommonConsole/Program.cs index 6dfce284..5dd11781 100644 --- a/Common/CommonConsole/Program.cs +++ b/Common/CommonConsole/Program.cs @@ -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