fix: ignore CameraBase routing port list

The `RoutingPortCollection` type appears to not be currently
serializable. If a class that contains this collection is going to be
serialized, the collection should have the `JsonIgnore` attribute added.
If the list is needed, use a conversion object and convert it to a
regular list.
This commit is contained in:
Andrew Welker
2025-04-02 11:56:13 -05:00
parent f735f7377d
commit 1fe8993db3
6 changed files with 300 additions and 199 deletions

View File

@@ -37,6 +37,7 @@ namespace PepperDash.Essentials.Devices.Common.Cameras
#region IRoutingOutputs Members
[JsonIgnore]
public RoutingPortCollection<RoutingOutputPort> OutputPorts { get; protected set; }
#endregion