diff --git a/csharp/Lib/Devices/AMPT/AmptStatus.cs b/csharp/Lib/Devices/AMPT/AmptStatus.cs index 6f1b2af0d..2b3df5422 100644 --- a/csharp/Lib/Devices/AMPT/AmptStatus.cs +++ b/csharp/Lib/Devices/AMPT/AmptStatus.cs @@ -1,18 +1,19 @@ -using InnovEnergy.Lib.StatusApi.DeviceTypes; using InnovEnergy.Lib.Units.Composite; namespace InnovEnergy.Lib.Devices.AMPT; -public class AmptStatus : IMppt +public class AmptStatus { - public AmptStatus(DcBus dc, IReadOnlyList strings) + public AmptStatus(DcBus? dc, IReadOnlyList strings) { Dc = dc; Strings = strings; } - public DcBus Dc { get; } + public DcBus? Dc { get; } public IReadOnlyList Strings { get; } + + public static AmptStatus Null { get; } = new AmptStatus(null, Array.Empty()); }