diff --git a/DriverTemplates/TemplateSources/src/ASCOM Driver Template (CS)/DeviceRotator.cs b/DriverTemplates/TemplateSources/src/ASCOM Driver Template (CS)/DeviceRotator.cs index 562994b70..c4835def1 100644 --- a/DriverTemplates/TemplateSources/src/ASCOM Driver Template (CS)/DeviceRotator.cs +++ b/DriverTemplates/TemplateSources/src/ASCOM Driver Template (CS)/DeviceRotator.cs @@ -16,8 +16,8 @@ class DeviceRotator #region IRotator Implementation - private float rotatorPosition = 0; // Synced or mechanical position angle of the rotator depending on the value of CanSync - private float mechanicalPosition = 0; // Mechanical position angle of the rotator + private float rotatorPosition = 0; // Synced or mechanical position angle of the rotator + private float mechanicalPosition = 0; // Mechanical position angle of the rotator public bool CanReverse { @@ -100,15 +100,6 @@ public float TargetPosition // IRotatorV3 methods - public bool CanSync - { - get - { - tl.LogMessage("CanSync Get", false.ToString()); - return false; - } - } - public float MechanicalPosition { get diff --git a/DriverTemplates/TemplateSources/src/ASCOM Driver Template (VB)/DeviceRotator.vb b/DriverTemplates/TemplateSources/src/ASCOM Driver Template (VB)/DeviceRotator.vb index 5e66d5381..a29f31412 100644 --- a/DriverTemplates/TemplateSources/src/ASCOM Driver Template (VB)/DeviceRotator.vb +++ b/DriverTemplates/TemplateSources/src/ASCOM Driver Template (VB)/DeviceRotator.vb @@ -15,7 +15,7 @@ Class DeviceRotator #Region "IRotator Implementation" - Private rotatorPosition As Single = 0 ' Synced or mechanical position angle of the rotator depending on the value of CanSync + Private rotatorPosition As Single = 0 ' Synced or mechanical position angle of the rotator Private rotatorMechanicalPosition As Single = 0 ' Mechanical position angle Of the rotator Public ReadOnly Property CanReverse() As Boolean Implements IRotatorV3.CanReverse @@ -83,13 +83,6 @@ Class DeviceRotator ' IRotatorV3 methods - Public ReadOnly Property CanSync As Boolean Implements IRotatorV3.CanSync - Get - TL.LogMessage("CanSync Get", False.ToString()) - Return False - End Get - End Property - Public ReadOnly Property MechanicalPosition As Single Implements IRotatorV3.MechanicalPosition Get TL.LogMessage("MechanicalPosition Get", rotatorMechanicalPosition.ToString())