diff --git a/csharp/App/IEM3kGridMeterDriver/IEM3kGridMeterDriver.csproj b/csharp/App/IEM3kGridMeterDriver/IEM3kGridMeterDriver.csproj deleted file mode 100644 index 0ef62c506..000000000 --- a/csharp/App/IEM3kGridMeterDriver/IEM3kGridMeterDriver.csproj +++ /dev/null @@ -1,16 +0,0 @@ - - - - - InnovEnergy.Lib.Devices.IEM3kGridMeter - Exe - enable - - - - - - - - - diff --git a/csharp/App/SchniederMeterDriver/Signal.cs b/csharp/App/SchniederMeterDriver/Signal.cs index 6cda4d3dd..a8415d94e 100644 --- a/csharp/App/SchniederMeterDriver/Signal.cs +++ b/csharp/App/SchniederMeterDriver/Signal.cs @@ -1,4 +1,5 @@ using InnovEnergy.Lib.Devices.EmuMeter; +using InnovEnergy.Lib.Devices.IEM3kGridMeter; using InnovEnergy.Lib.Protocols.DBus.Protocol.DataTypes; using InnovEnergy.Lib.Victron.VeDBus; @@ -6,9 +7,9 @@ namespace InnovEnergy.App.SchniederDriver; // TODO: Does not compile -public record Signal(Func Source, ObjectPath Path, String Format = "") +public record Signal(Func Source, ObjectPath Path, String Format = "") { - public VeProperty ToVeProperty(EmuMeterStatus status) + public VeProperty ToVeProperty(Iem3KGridMeterRegisters status) { var value = Source(status); return new VeProperty(Path, value, String.Format($"{{0:{Format}}}", value));