diff --git a/src/Cameras/CiscoCamera.cs b/src/Cameras/CiscoCamera.cs index dceae50..ed4cc96 100644 --- a/src/Cameras/CiscoCamera.cs +++ b/src/Cameras/CiscoCamera.cs @@ -188,7 +188,7 @@ public CiscoCamera(string key, string name, CiscoCodec codec, uint id, uint sour /// /// /// - public CiscoCamera(string key, string name, CiscoCodecPropertiesConfig props) + public CiscoCamera(string key, string name, CiscoCodecCameraPropertiesConfig props) : base(key, name) { SerialNumber = props.SerialNumber; @@ -384,7 +384,7 @@ public void LinkToApi(BasicTriList trilist, uint joinStart, string joinMapKey, E } } - public class CiscoCodecPropertiesConfig + public class CiscoCodecCameraPropertiesConfig { [JsonProperty("defaultParentCodecKey")] public string DefaultParentCodecKey { get; set; } @@ -395,7 +395,7 @@ public class CiscoCodecPropertiesConfig [JsonProperty("serialNumber")] public string SerialNumber { get; set; } - [JsonProperty("macAddress")] + [JsonProperty("hardwareId")] public string HardwareID { get; set; } [JsonProperty("macAddress")] diff --git a/src/Cameras/CiscoCameraFactory.cs b/src/Cameras/CiscoCameraFactory.cs index 8a14e46..dc05134 100644 --- a/src/Cameras/CiscoCameraFactory.cs +++ b/src/Cameras/CiscoCameraFactory.cs @@ -18,7 +18,7 @@ public override EssentialsDevice BuildDevice(DeviceConfig dc) { Debug.Console(1, "Factory Attempting to create new Cisco Camera Device"); - var props = Newtonsoft.Json.JsonConvert.DeserializeObject(dc.Properties.ToString()); + var props = Newtonsoft.Json.JsonConvert.DeserializeObject(dc.Properties.ToString()); return new CiscoCamera(dc.Key, dc.Name, props); } } diff --git a/src/Interfaces/TrackingModes.cs b/src/Interfaces/TrackingModes.cs index 2ddde1a..7d4172a 100644 --- a/src/Interfaces/TrackingModes.cs +++ b/src/Interfaces/TrackingModes.cs @@ -47,4 +47,5 @@ internal interface IPresenterTrack void PresenterTrackBackground(); void PresenterTrackPersistent(); } + }