Click or drag to resize

ShaftEncoderEventArgs Class

Class for the signal event args thrown to the user for the ShaftEncoder class.
Inheritance Hierarchy
SystemObject
  SystemEventArgs
    Crestron.SimplSharpProShaftEncoderEventArgs

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

The ShaftEncoderEventArgs type exposes the following members.

Properties
 NameDescription
Public propertyMovedClockwiseFeedback Property to indicate that the knob is being turned in the clockwise direction.
Public propertyMovedCounterClockwiseFeedback Property to indicate that the knob is being turned in the counter-clockwise direction.
Public propertyOutputNoAccelerationDeltaFeedback Property for advanced use only.
Public propertyOutputNoAccelerationFeedback 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 propertyOutputWithAccelerationDeltaFeedback Property for advanced use only.
Public propertyOutputWithAccelerationFeedback 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 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.
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

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also