Innovenergy_trunk/csharp/Lib/Devices/Adam6360D/Program.cs

20 lines
363 B
C#
Raw Normal View History

2023-06-13 09:26:48 +00:00
using InnovEnergy.Lib.Units;
using InnovEnergy.Lib.Utils;
namespace InnovEnergy.Lib.Devices.Adam6360D;
public static class Program
{
public static Task Main(String[] args)
{
var d = new Adam6360DDevice("localhost", 2, 5006);
while (true)
{
var x = d.Read();
x.ToCsv().WriteLine();
}
}
}