Skip to main content

Struct RotaryChangeResult

Defines the event args for the RotaryTurned event.

Assembly: Meadow.Contracts.dll
View Source
Declaration
public struct RotaryChangeResult : IChangeResult<RotationDirection>

Implements:
Meadow.IChangeResult<UNIT>

Properties

Direction

Gets or sets the rotary's direction. (Obsolete: Please use the New property.)

View Source
Declaration
[Obsolete("Please use the `New` property.")]
public RotationDirection Direction { get; }

New

Gets or sets the new direction of rotation.

View Source
Declaration
public RotationDirection New { readonly get; set; }

Old

Gets or sets the previous direction of rotation.

View Source
Declaration
public RotationDirection? Old { readonly get; set; }

Implements