20 lines
363 B
C#
20 lines
363 B
C#
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();
|
|
}
|
|
|
|
|
|
}
|
|
} |