diff --git a/csharp/App/EmuMeterDriver/Signal.cs b/csharp/App/EmuMeterDriver/Signal.cs index ef375bb91..d291d174c 100644 --- a/csharp/App/EmuMeterDriver/Signal.cs +++ b/csharp/App/EmuMeterDriver/Signal.cs @@ -4,6 +4,8 @@ using InnovEnergy.Lib.Victron.VeDBus; namespace InnovEnergy.App.EmuMeterDriver; + +// TODO: Does not compile public record Signal(Func Source, ObjectPath Path, String Format = "") { public VeProperty ToVeProperty(EmuMeterStatus status) @@ -11,5 +13,4 @@ public record Signal(Func Source, ObjectPath Path, Strin var value = Source(status); return new VeProperty(Path, value, String.Format($"{{0:{Format}}}", value)); } - } \ No newline at end of file