From 5e8ec1aebff2c67adc102d66c28117860a41b322 Mon Sep 17 00:00:00 2001 From: ig Date: Tue, 20 Jun 2023 09:30:21 +0200 Subject: [PATCH] add EmuMeter TODO --- csharp/App/EmuMeterDriver/Signal.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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