From d074be323ceb112671696e9cdefa4f480f7ad23d Mon Sep 17 00:00:00 2001 From: Neil Dorin Date: Thu, 10 Sep 2020 15:34:28 -0600 Subject: [PATCH] Remove zoom speeds --- .../Cameras/CameraVisca.cs | 23 ------------------- 1 file changed, 23 deletions(-) diff --git a/essentials-framework/Essentials Devices Common/Essentials Devices Common/Cameras/CameraVisca.cs b/essentials-framework/Essentials Devices Common/Essentials Devices Common/Cameras/CameraVisca.cs index 68aace0a..af12834c 100644 --- a/essentials-framework/Essentials Devices Common/Essentials Devices Common/Cameras/CameraVisca.cs +++ b/essentials-framework/Essentials Devices Common/Essentials Devices Common/Cameras/CameraVisca.cs @@ -38,11 +38,9 @@ namespace PepperDash.Essentials.Devices.Common.Cameras public byte PanSpeedSlow = 0x10; public byte TiltSpeedSlow = 0x10; - public byte ZoomSpeedSlow = 0x03; public byte PanSpeedFast = 0x13; public byte TiltSpeedFast = 0x13; - public byte ZoomSpeedFast = 0x05; private bool IsMoving; private bool IsZooming; @@ -152,15 +150,6 @@ namespace PepperDash.Essentials.Devices.Common.Cameras { TiltSpeedFast = (byte)PropertiesConfig.TiltSpeedFast; } - - if (PropertiesConfig.ZoomSpeedSlow > 0) - { - ZoomSpeedSlow = (byte)PropertiesConfig.ZoomSpeedSlow; - } - if (PropertiesConfig.ZoomSpeedFast > 0) - { - ZoomSpeedFast = (byte)PropertiesConfig.ZoomSpeedFast; - } } public override bool CustomActivate() @@ -671,18 +660,6 @@ namespace PepperDash.Essentials.Devices.Common.Cameras [JsonProperty("tiltSpeedFast")] public uint TiltSpeedFast { get; set; } - /// - /// Slow zoom speed (0-7) - /// - [JsonProperty("zoomSpeedSlow")] - public uint ZoomSpeedSlow { get; set; } - - /// - /// Fast zoom speed (0-7) - /// - [JsonProperty("zoomSpeedFast")] - public uint ZoomSpeedFast { get; set; } - /// /// Time a button must be held before fast speed is engaged (Milliseconds) ///