From 9ebec584188125d46d3444f4c57dbe7ab82a40d1 Mon Sep 17 00:00:00 2001 From: bparks13 Date: Thu, 7 Nov 2024 15:49:58 -0500 Subject: [PATCH] Add JsonProperty attributes to contact shape parameters --- Directory.Build.props | 2 +- OpenEphys.ProbeInterface.NET/ContactShapeParam.cs | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Directory.Build.props b/Directory.Build.props index e9e1ada..7b941f0 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -12,7 +12,7 @@ LICENSE true icon.png - 0.1.1 + 0.2.0 10.0 strict diff --git a/OpenEphys.ProbeInterface.NET/ContactShapeParam.cs b/OpenEphys.ProbeInterface.NET/ContactShapeParam.cs index 943046b..e07cbc7 100644 --- a/OpenEphys.ProbeInterface.NET/ContactShapeParam.cs +++ b/OpenEphys.ProbeInterface.NET/ContactShapeParam.cs @@ -16,6 +16,7 @@ public class ContactShapeParam /// /// This is only used to draw contacts. Field can be null. /// + [JsonProperty("radius")] public float? Radius { get; protected set; } /// @@ -25,6 +26,7 @@ public class ContactShapeParam /// This is used to draw or contacts. /// Field can be null. /// + [JsonProperty("width")] public float? Width { get; protected set; } /// @@ -33,6 +35,7 @@ public class ContactShapeParam /// /// This is only used to draw contacts. Field can be null. /// + [JsonProperty("height")] public float? Height { get; protected set; } ///