Click or drag to resize

ShaftEncoder Class

Shaft Encoder class.
Inheritance Hierarchy
SystemObject
  Crestron.SimplSharpProShaftEncoder

Namespace: Crestron.SimplSharpPro
Assembly: SimplSharpPro (in SimplSharpPro.dll) Version: 2.21.121
Syntax
C#
public class ShaftEncoder : IParentInformation

The ShaftEncoder type exposes the following members.

Properties
 NameDescription
Public propertyAccelerationScaleFactor Get or set the acceleration scale factor.
Public propertyDeltaAccelerationFeedback Property for advanced use only.
Public propertyDeltaNoAccelerationFeedback Property for advanced use only.
Public propertyKnobAccelerationFeedback Property to indicate the the movement of the knob (0% to 100%, or vice versa) relative to the speed of the turn. That is, the faster the knob is turned, the faster the value will transition. Use "SimplSharpDeviceHelper.PercentToUshort" to convert the percentage to a ushort value or "SimplSharpDeviceHelper.UshortToPercent" to convert the ushort value to percentage.
Public propertyKnobNoAccelerationFeedback Property to indicate the movement of the knob (0% to 100%, or vice versa). The value is not subject to how fast the knob is turned. Use "SimplSharpDeviceHelper.PercentToUshort" to convert the percentage to a ushort value or "SimplSharpDeviceHelper.UshortToPercent" to convert the ushort value to percentage.
Public propertyNoAccelerationScaleFactor Get or set the non-acceleration scale factor.
Public propertyPacketDeltaFeedback Property for advanced use only. This denotes the number of clicks that the knob has moved.
Public propertyPacketTimeFeedback Property for advanced use only. Reports the time, in hundredths of a second (1 = 0.01s), that has elapsed since the last time the knob reported anything to the control system. The maximum value is 655.35s.
Public propertyParent The parent that a given object was added to.
Public propertyUserSpecifiedObject Can be assigned anything that user wants.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Events
 NameDescription
Public eventShaftEncoderChange Event triggered when a part of the Shaft Encoder's information has changed.
Top

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also