Class BlenderArm

Sends control values over UDP to a Blender arm model for real-time 3D visualisation.

JSON configuration

Use these block entries inside a pipeline configuration. Input names must match other blocks in that pipeline; device addresses and file paths must match your setup.

JSON configuration:

{
  "Blender": {
    "Type": "BlenderArm",
    "Inputs": [ "ControlAlgorithm" ],
    "Params": [ "127.0.0.1", 5005 ]
  }
}

Params:

IndexDescription
0HostIp (string) — target UDP host IP address.
1Port (int) — target UDP port number.

How Type, Inputs and Params work · Block catalogue and parameter reference

Inheritance
BlenderArm
Namespace: MOSAIC.Models.Streaming
Assembly: MOSAIC.dll
Syntax
public sealed class BlenderArm : BaseBlock, INotifyPropertyChanged, INotifyPropertyChanging, ISubscriber, IPublisher, IBaseBlockProps, IJsonExportable, IDisposable, IAsyncDisposable
Remarks

Overview: Converts the DegreesOfActuation dictionary from an upstream ControlAlgorithm into a 9-element vector and sends it as an ASCII-encoded JSON array over UDP to a Blender Python script (3DHands_left.py).

Vector layout:

[ th_flex, th_rot, index, middle, ring, little, wr_flex_ext, wr_uln_rad, wr_sup_pron ]
  [0..1]   [0..1]  [0..1] [0..1]  [0..1] [0..1]  [-1..1]     [-1..1]     [-1..1]

Finger values are scaled from [0, 100] → [0, 1]. Wrist values are scaled from [0, 100] → [−1, 1]. Wrist pronation/supination is additionally negated.

Connection: Call Connect() to open the UDP socket. The block silently drops data if not connected. Call Disconnect() or Reconnect() to manage the socket lifecycle.

CSV logging: This block publishes a Dictionary<DegreesOfActuation, double> which CsvDumper does not support. The 9-element command vector is published for downstream consumption; logging should be configured on the upstream ControlAlgorithm or a downstream block that receives the vector.

Constructors

BlenderArm(string, double, string, int)

Initializes a new BlenderArm block.

Declaration
public BlenderArm(string name = "BlenderArm", double desiredRate = 0, string hostIp = "127.0.0.1", int port = 5005)
Parameters
Type Name Description
string name

Display name.

double desiredRate

Processing rate in Hz (typically inherited).

string hostIp

Target UDP host IP address.

int port

Target UDP port number.

Fields

_blenderArmCmd

Preallocated 9-element command vector.

Declaration
private Vector<double> _blenderArmCmd
Field Value
Type Description
Vector<double>

_hostIp

Target host IP address.

Declaration
[ObservableProperty]
private string _hostIp
Field Value
Type Description
string

_index

Current index finger value [0, 1].

Declaration
[ObservableProperty]
private double _index
Field Value
Type Description
double

_isConnected

Whether the UDP connection has been established.

Declaration
[ObservableProperty]
private bool _isConnected
Field Value
Type Description
bool

_lastCommand

Last command string sent (for UI display).

Declaration
[ObservableProperty]
private string _lastCommand
Field Value
Type Description
string

_little

Current little finger value [0, 1].

Declaration
[ObservableProperty]
private double _little
Field Value
Type Description
double

_messageCount

Total messages sent.

Declaration
[ObservableProperty]
private long _messageCount
Field Value
Type Description
long

_middle

Current middle finger value [0, 1].

Declaration
[ObservableProperty]
private double _middle
Field Value
Type Description
double

_port

Target UDP port.

Declaration
[ObservableProperty]
private int _port
Field Value
Type Description
int

_ring

Current ring finger value [0, 1].

Declaration
[ObservableProperty]
private double _ring
Field Value
Type Description
double

_thumbFlexion

Current thumb flexion value [0, 1].

Declaration
[ObservableProperty]
private double _thumbFlexion
Field Value
Type Description
double

_thumbRotation

Current thumb rotation value [0, 1].

Declaration
[ObservableProperty]
private double _thumbRotation
Field Value
Type Description
double

_udpClient

UDP client for sending command strings to Blender.

Declaration
private UdpClient _udpClient
Field Value
Type Description
UdpClient

_viz

Optional visualization bundle. Set by the ViewModel so the block can feed data to all monitors in one call.

Declaration
private BlockVisualization? _viz
Field Value
Type Description
BlockVisualization

_wristFlexExt

Current wrist flexion/extension value [−1, 1].

Declaration
[ObservableProperty]
private double _wristFlexExt
Field Value
Type Description
double

_wristSupPron

Current wrist supination/pronation value [−1, 1].

Declaration
[ObservableProperty]
private double _wristSupPron
Field Value
Type Description
double

_wristUlnRad

Current wrist ulnar/radial value [−1, 1].

Declaration
[ObservableProperty]
private double _wristUlnRad
Field Value
Type Description
double

Properties

HostIp

Target host IP address.

Declaration
[ExcludeFromCodeCoverage]
public string HostIp { get; set; }
Property Value
Type Description
string

Index

Current index finger value [0, 1].

Declaration
[ExcludeFromCodeCoverage]
public double Index { get; set; }
Property Value
Type Description
double

IsConnected

Whether the UDP connection has been established.

Declaration
[ExcludeFromCodeCoverage]
public bool IsConnected { get; set; }
Property Value
Type Description
bool

JsonTypeName

Block type identifier for JSON serialization. Override for a custom name.

Declaration
protected override string JsonTypeName { get; }
Property Value
Type Description
string
Overrides
BaseBlock.JsonTypeName

LastCommand

Last command string sent (for UI display).

Declaration
[ExcludeFromCodeCoverage]
public string LastCommand { get; set; }
Property Value
Type Description
string

Little

Current little finger value [0, 1].

Declaration
[ExcludeFromCodeCoverage]
public double Little { get; set; }
Property Value
Type Description
double

MessageCount

Total messages sent.

Declaration
[ExcludeFromCodeCoverage]
public long MessageCount { get; set; }
Property Value
Type Description
long

Middle

Current middle finger value [0, 1].

Declaration
[ExcludeFromCodeCoverage]
public double Middle { get; set; }
Property Value
Type Description
double

Port

Target UDP port.

Declaration
[ExcludeFromCodeCoverage]
public int Port { get; set; }
Property Value
Type Description
int

Ring

Current ring finger value [0, 1].

Declaration
[ExcludeFromCodeCoverage]
public double Ring { get; set; }
Property Value
Type Description
double

ThumbFlexion

Current thumb flexion value [0, 1].

Declaration
[ExcludeFromCodeCoverage]
public double ThumbFlexion { get; set; }
Property Value
Type Description
double

ThumbRotation

Current thumb rotation value [0, 1].

Declaration
[ExcludeFromCodeCoverage]
public double ThumbRotation { get; set; }
Property Value
Type Description
double

Visualization

This block's visualization, or null when it has none.

Declaration
protected override BlockVisualization? Visualization { get; }
Property Value
Type Description
BlockVisualization
Overrides
BaseBlock.Visualization
Remarks

Blocks own their scope as a public Viz property rather than inheriting one, so the base class has no way to reach it. Overriding this is what lets the rate below be wired up automatically. With correct publication metadata, the bundle derives the time axis for one vector per publication or fixed-size contiguous sample packets from the feed shape.

When a plot needs a rate that publication frequency and feed shape cannot express (for example, variable-sized packets or overlapping windows), declare it with Viz.UpdateSignalRate. An explicit declaration wins over the derived rate. A block with several bundles must configure each one; this hook exposes only one bundle.

Viz

Live plot for this block. Assigned by the ViewModel, which owns the scope.

Declaration
public BlockVisualization? Viz { get; set; }
Property Value
Type Description
BlockVisualization
Remarks

Setting this re-pushes the publish rate: the rate is normally pushed when it changes, which for these blocks happens during construction — before the ViewModel has handed over the scope — so without this the scope would never learn its time base.

WristFlexExt

Current wrist flexion/extension value [−1, 1].

Declaration
[ExcludeFromCodeCoverage]
public double WristFlexExt { get; set; }
Property Value
Type Description
double

WristSupPron

Current wrist supination/pronation value [−1, 1].

Declaration
[ExcludeFromCodeCoverage]
public double WristSupPron { get; set; }
Property Value
Type Description
double

WristUlnRad

Current wrist ulnar/radial value [−1, 1].

Declaration
[ExcludeFromCodeCoverage]
public double WristUlnRad { get; set; }
Property Value
Type Description
double

Methods

ConfigureInput(IServiceProvider, JsonModel)

Creates a BlenderArm from a JSON pipeline definition.

Declaration
public static BlenderArm ConfigureInput(IServiceProvider sp, JsonModel m)
Parameters
Type Name Description
IServiceProvider sp

Service provider for dependency injection.

JsonModel m

JSON model. See the class-level example for Params layout.

Returns
Type Description
BlenderArm

A configured BlenderArm instance.

Exceptions
Type Condition
ArgumentException

Thrown if the configured port is invalid.

Connect()

Opens the UDP socket and connects to HostIp:Port.

Declaration
public void Connect()

Disconnect()

Closes and disposes the UDP socket.

Declaration
public void Disconnect()

Dispose()

Disposes visualization, disconnects UDP, and releases base class resources.

Declaration
public override void Dispose()
Overrides
BaseBlock.Dispose()

GetDoa(Dictionary<DegreesOfActuation, double>, DegreesOfActuation)

Safely retrieves a DOA value from the dictionary, returning 0 if not present.

Declaration
private static double GetDoa(Dictionary<DegreesOfActuation, double> dict, DegreesOfActuation key)
Parameters
Type Name Description
Dictionary<DegreesOfActuation, double> dict
DegreesOfActuation key
Returns
Type Description
double

GetJsonParams()

Block-specific parameters for JSON. Override to provide custom parameters.

Declaration
protected override IReadOnlyList<object>? GetJsonParams()
Returns
Type Description
IReadOnlyList<object>

The values for Params, in the order this block's ConfigureInput reads them, or null when the block takes no parameters.

Overrides
BaseBlock.GetJsonParams()

OnHostIpChanged(string)

Executes the logic for when HostIp just changed.

Declaration
private void OnHostIpChanged(string value)
Parameters
Type Name Description
string value

The new property value that was set.

Remarks

This method is invoked right after the value of HostIp is changed.

OnHostIpChanged(string?, string)

Executes the logic for when HostIp just changed.

Declaration
private void OnHostIpChanged(string? oldValue, string newValue)
Parameters
Type Name Description
string oldValue

The previous property value that was replaced.

string newValue

The new property value that was set.

Remarks

This method is invoked right after the value of HostIp is changed.

OnHostIpChanging(string)

Executes the logic for when HostIp is changing.

Declaration
private void OnHostIpChanging(string value)
Parameters
Type Name Description
string value

The new property value being set.

Remarks

This method is invoked right before the value of HostIp is changed.

OnHostIpChanging(string?, string)

Executes the logic for when HostIp is changing.

Declaration
private void OnHostIpChanging(string? oldValue, string newValue)
Parameters
Type Name Description
string oldValue

The previous property value that is being replaced.

string newValue

The new property value being set.

Remarks

This method is invoked right before the value of HostIp is changed.

OnIndexChanged(double)

Executes the logic for when Index just changed.

Declaration
private void OnIndexChanged(double value)
Parameters
Type Name Description
double value

The new property value that was set.

Remarks

This method is invoked right after the value of Index is changed.

OnIndexChanged(double, double)

Executes the logic for when Index just changed.

Declaration
private void OnIndexChanged(double oldValue, double newValue)
Parameters
Type Name Description
double oldValue

The previous property value that was replaced.

double newValue

The new property value that was set.

Remarks

This method is invoked right after the value of Index is changed.

OnIndexChanging(double)

Executes the logic for when Index is changing.

Declaration
private void OnIndexChanging(double value)
Parameters
Type Name Description
double value

The new property value being set.

Remarks

This method is invoked right before the value of Index is changed.

OnIndexChanging(double, double)

Executes the logic for when Index is changing.

Declaration
private void OnIndexChanging(double oldValue, double newValue)
Parameters
Type Name Description
double oldValue

The previous property value that is being replaced.

double newValue

The new property value being set.

Remarks

This method is invoked right before the value of Index is changed.

OnIsConnectedChanged(bool)

Executes the logic for when IsConnected just changed.

Declaration
private void OnIsConnectedChanged(bool value)
Parameters
Type Name Description
bool value

The new property value that was set.

Remarks

This method is invoked right after the value of IsConnected is changed.

OnIsConnectedChanged(bool, bool)

Executes the logic for when IsConnected just changed.

Declaration
private void OnIsConnectedChanged(bool oldValue, bool newValue)
Parameters
Type Name Description
bool oldValue

The previous property value that was replaced.

bool newValue

The new property value that was set.

Remarks

This method is invoked right after the value of IsConnected is changed.

OnIsConnectedChanging(bool)

Executes the logic for when IsConnected is changing.

Declaration
private void OnIsConnectedChanging(bool value)
Parameters
Type Name Description
bool value

The new property value being set.

Remarks

This method is invoked right before the value of IsConnected is changed.

OnIsConnectedChanging(bool, bool)

Executes the logic for when IsConnected is changing.

Declaration
private void OnIsConnectedChanging(bool oldValue, bool newValue)
Parameters
Type Name Description
bool oldValue

The previous property value that is being replaced.

bool newValue

The new property value being set.

Remarks

This method is invoked right before the value of IsConnected is changed.

OnLastCommandChanged(string)

Executes the logic for when LastCommand just changed.

Declaration
private void OnLastCommandChanged(string value)
Parameters
Type Name Description
string value

The new property value that was set.

Remarks

This method is invoked right after the value of LastCommand is changed.

OnLastCommandChanged(string?, string)

Executes the logic for when LastCommand just changed.

Declaration
private void OnLastCommandChanged(string? oldValue, string newValue)
Parameters
Type Name Description
string oldValue

The previous property value that was replaced.

string newValue

The new property value that was set.

Remarks

This method is invoked right after the value of LastCommand is changed.

OnLastCommandChanging(string)

Executes the logic for when LastCommand is changing.

Declaration
private void OnLastCommandChanging(string value)
Parameters
Type Name Description
string value

The new property value being set.

Remarks

This method is invoked right before the value of LastCommand is changed.

OnLastCommandChanging(string?, string)

Executes the logic for when LastCommand is changing.

Declaration
private void OnLastCommandChanging(string? oldValue, string newValue)
Parameters
Type Name Description
string oldValue

The previous property value that is being replaced.

string newValue

The new property value being set.

Remarks

This method is invoked right before the value of LastCommand is changed.

OnLittleChanged(double)

Executes the logic for when Little just changed.

Declaration
private void OnLittleChanged(double value)
Parameters
Type Name Description
double value

The new property value that was set.

Remarks

This method is invoked right after the value of Little is changed.

OnLittleChanged(double, double)

Executes the logic for when Little just changed.

Declaration
private void OnLittleChanged(double oldValue, double newValue)
Parameters
Type Name Description
double oldValue

The previous property value that was replaced.

double newValue

The new property value that was set.

Remarks

This method is invoked right after the value of Little is changed.

OnLittleChanging(double)

Executes the logic for when Little is changing.

Declaration
private void OnLittleChanging(double value)
Parameters
Type Name Description
double value

The new property value being set.

Remarks

This method is invoked right before the value of Little is changed.

OnLittleChanging(double, double)

Executes the logic for when Little is changing.

Declaration
private void OnLittleChanging(double oldValue, double newValue)
Parameters
Type Name Description
double oldValue

The previous property value that is being replaced.

double newValue

The new property value being set.

Remarks

This method is invoked right before the value of Little is changed.

OnMessageCountChanged(long)

Executes the logic for when MessageCount just changed.

Declaration
private void OnMessageCountChanged(long value)
Parameters
Type Name Description
long value

The new property value that was set.

Remarks

This method is invoked right after the value of MessageCount is changed.

OnMessageCountChanged(long, long)

Executes the logic for when MessageCount just changed.

Declaration
private void OnMessageCountChanged(long oldValue, long newValue)
Parameters
Type Name Description
long oldValue

The previous property value that was replaced.

long newValue

The new property value that was set.

Remarks

This method is invoked right after the value of MessageCount is changed.

OnMessageCountChanging(long)

Executes the logic for when MessageCount is changing.

Declaration
private void OnMessageCountChanging(long value)
Parameters
Type Name Description
long value

The new property value being set.

Remarks

This method is invoked right before the value of MessageCount is changed.

OnMessageCountChanging(long, long)

Executes the logic for when MessageCount is changing.

Declaration
private void OnMessageCountChanging(long oldValue, long newValue)
Parameters
Type Name Description
long oldValue

The previous property value that is being replaced.

long newValue

The new property value being set.

Remarks

This method is invoked right before the value of MessageCount is changed.

OnMiddleChanged(double)

Executes the logic for when Middle just changed.

Declaration
private void OnMiddleChanged(double value)
Parameters
Type Name Description
double value

The new property value that was set.

Remarks

This method is invoked right after the value of Middle is changed.

OnMiddleChanged(double, double)

Executes the logic for when Middle just changed.

Declaration
private void OnMiddleChanged(double oldValue, double newValue)
Parameters
Type Name Description
double oldValue

The previous property value that was replaced.

double newValue

The new property value that was set.

Remarks

This method is invoked right after the value of Middle is changed.

OnMiddleChanging(double)

Executes the logic for when Middle is changing.

Declaration
private void OnMiddleChanging(double value)
Parameters
Type Name Description
double value

The new property value being set.

Remarks

This method is invoked right before the value of Middle is changed.

OnMiddleChanging(double, double)

Executes the logic for when Middle is changing.

Declaration
private void OnMiddleChanging(double oldValue, double newValue)
Parameters
Type Name Description
double oldValue

The previous property value that is being replaced.

double newValue

The new property value being set.

Remarks

This method is invoked right before the value of Middle is changed.

OnPortChanged(int)

Executes the logic for when Port just changed.

Declaration
private void OnPortChanged(int value)
Parameters
Type Name Description
int value

The new property value that was set.

Remarks

This method is invoked right after the value of Port is changed.

OnPortChanged(int, int)

Executes the logic for when Port just changed.

Declaration
private void OnPortChanged(int oldValue, int newValue)
Parameters
Type Name Description
int oldValue

The previous property value that was replaced.

int newValue

The new property value that was set.

Remarks

This method is invoked right after the value of Port is changed.

OnPortChanging(int)

Executes the logic for when Port is changing.

Declaration
private void OnPortChanging(int value)
Parameters
Type Name Description
int value

The new property value being set.

Remarks

This method is invoked right before the value of Port is changed.

OnPortChanging(int, int)

Executes the logic for when Port is changing.

Declaration
private void OnPortChanging(int oldValue, int newValue)
Parameters
Type Name Description
int oldValue

The previous property value that is being replaced.

int newValue

The new property value being set.

Remarks

This method is invoked right before the value of Port is changed.

OnReceive(object, object)

Converts the incoming DOA dictionary to a 9-element command vector, sends it over UDP, and publishes it downstream.

Declaration
protected override void OnReceive(object sender, object data)
Parameters
Type Name Description
object sender

The upstream block (typically ControlAlgorithm).

object data

Expected to be a Dictionary<DegreesOfActuation, double>. Other types are silently ignored. Data is also dropped if not connected.

Overrides
BaseBlock.OnReceive(object, object)

OnRingChanged(double)

Executes the logic for when Ring just changed.

Declaration
private void OnRingChanged(double value)
Parameters
Type Name Description
double value

The new property value that was set.

Remarks

This method is invoked right after the value of Ring is changed.

OnRingChanged(double, double)

Executes the logic for when Ring just changed.

Declaration
private void OnRingChanged(double oldValue, double newValue)
Parameters
Type Name Description
double oldValue

The previous property value that was replaced.

double newValue

The new property value that was set.

Remarks

This method is invoked right after the value of Ring is changed.

OnRingChanging(double)

Executes the logic for when Ring is changing.

Declaration
private void OnRingChanging(double value)
Parameters
Type Name Description
double value

The new property value being set.

Remarks

This method is invoked right before the value of Ring is changed.

OnRingChanging(double, double)

Executes the logic for when Ring is changing.

Declaration
private void OnRingChanging(double oldValue, double newValue)
Parameters
Type Name Description
double oldValue

The previous property value that is being replaced.

double newValue

The new property value being set.

Remarks

This method is invoked right before the value of Ring is changed.

OnThumbFlexionChanged(double)

Executes the logic for when ThumbFlexion just changed.

Declaration
private void OnThumbFlexionChanged(double value)
Parameters
Type Name Description
double value

The new property value that was set.

Remarks

This method is invoked right after the value of ThumbFlexion is changed.

OnThumbFlexionChanged(double, double)

Executes the logic for when ThumbFlexion just changed.

Declaration
private void OnThumbFlexionChanged(double oldValue, double newValue)
Parameters
Type Name Description
double oldValue

The previous property value that was replaced.

double newValue

The new property value that was set.

Remarks

This method is invoked right after the value of ThumbFlexion is changed.

OnThumbFlexionChanging(double)

Executes the logic for when ThumbFlexion is changing.

Declaration
private void OnThumbFlexionChanging(double value)
Parameters
Type Name Description
double value

The new property value being set.

Remarks

This method is invoked right before the value of ThumbFlexion is changed.

OnThumbFlexionChanging(double, double)

Executes the logic for when ThumbFlexion is changing.

Declaration
private void OnThumbFlexionChanging(double oldValue, double newValue)
Parameters
Type Name Description
double oldValue

The previous property value that is being replaced.

double newValue

The new property value being set.

Remarks

This method is invoked right before the value of ThumbFlexion is changed.

OnThumbRotationChanged(double)

Executes the logic for when ThumbRotation just changed.

Declaration
private void OnThumbRotationChanged(double value)
Parameters
Type Name Description
double value

The new property value that was set.

Remarks

This method is invoked right after the value of ThumbRotation is changed.

OnThumbRotationChanged(double, double)

Executes the logic for when ThumbRotation just changed.

Declaration
private void OnThumbRotationChanged(double oldValue, double newValue)
Parameters
Type Name Description
double oldValue

The previous property value that was replaced.

double newValue

The new property value that was set.

Remarks

This method is invoked right after the value of ThumbRotation is changed.

OnThumbRotationChanging(double)

Executes the logic for when ThumbRotation is changing.

Declaration
private void OnThumbRotationChanging(double value)
Parameters
Type Name Description
double value

The new property value being set.

Remarks

This method is invoked right before the value of ThumbRotation is changed.

OnThumbRotationChanging(double, double)

Executes the logic for when ThumbRotation is changing.

Declaration
private void OnThumbRotationChanging(double oldValue, double newValue)
Parameters
Type Name Description
double oldValue

The previous property value that is being replaced.

double newValue

The new property value being set.

Remarks

This method is invoked right before the value of ThumbRotation is changed.

OnWristFlexExtChanged(double)

Executes the logic for when WristFlexExt just changed.

Declaration
private void OnWristFlexExtChanged(double value)
Parameters
Type Name Description
double value

The new property value that was set.

Remarks

This method is invoked right after the value of WristFlexExt is changed.

OnWristFlexExtChanged(double, double)

Executes the logic for when WristFlexExt just changed.

Declaration
private void OnWristFlexExtChanged(double oldValue, double newValue)
Parameters
Type Name Description
double oldValue

The previous property value that was replaced.

double newValue

The new property value that was set.

Remarks

This method is invoked right after the value of WristFlexExt is changed.

OnWristFlexExtChanging(double)

Executes the logic for when WristFlexExt is changing.

Declaration
private void OnWristFlexExtChanging(double value)
Parameters
Type Name Description
double value

The new property value being set.

Remarks

This method is invoked right before the value of WristFlexExt is changed.

OnWristFlexExtChanging(double, double)

Executes the logic for when WristFlexExt is changing.

Declaration
private void OnWristFlexExtChanging(double oldValue, double newValue)
Parameters
Type Name Description
double oldValue

The previous property value that is being replaced.

double newValue

The new property value being set.

Remarks

This method is invoked right before the value of WristFlexExt is changed.

OnWristSupPronChanged(double)

Executes the logic for when WristSupPron just changed.

Declaration
private void OnWristSupPronChanged(double value)
Parameters
Type Name Description
double value

The new property value that was set.

Remarks

This method is invoked right after the value of WristSupPron is changed.

OnWristSupPronChanged(double, double)

Executes the logic for when WristSupPron just changed.

Declaration
private void OnWristSupPronChanged(double oldValue, double newValue)
Parameters
Type Name Description
double oldValue

The previous property value that was replaced.

double newValue

The new property value that was set.

Remarks

This method is invoked right after the value of WristSupPron is changed.

OnWristSupPronChanging(double)

Executes the logic for when WristSupPron is changing.

Declaration
private void OnWristSupPronChanging(double value)
Parameters
Type Name Description
double value

The new property value being set.

Remarks

This method is invoked right before the value of WristSupPron is changed.

OnWristSupPronChanging(double, double)

Executes the logic for when WristSupPron is changing.

Declaration
private void OnWristSupPronChanging(double oldValue, double newValue)
Parameters
Type Name Description
double oldValue

The previous property value that is being replaced.

double newValue

The new property value being set.

Remarks

This method is invoked right before the value of WristSupPron is changed.

OnWristUlnRadChanged(double)

Executes the logic for when WristUlnRad just changed.

Declaration
private void OnWristUlnRadChanged(double value)
Parameters
Type Name Description
double value

The new property value that was set.

Remarks

This method is invoked right after the value of WristUlnRad is changed.

OnWristUlnRadChanged(double, double)

Executes the logic for when WristUlnRad just changed.

Declaration
private void OnWristUlnRadChanged(double oldValue, double newValue)
Parameters
Type Name Description
double oldValue

The previous property value that was replaced.

double newValue

The new property value that was set.

Remarks

This method is invoked right after the value of WristUlnRad is changed.

OnWristUlnRadChanging(double)

Executes the logic for when WristUlnRad is changing.

Declaration
private void OnWristUlnRadChanging(double value)
Parameters
Type Name Description
double value

The new property value being set.

Remarks

This method is invoked right before the value of WristUlnRad is changed.

OnWristUlnRadChanging(double, double)

Executes the logic for when WristUlnRad is changing.

Declaration
private void OnWristUlnRadChanging(double oldValue, double newValue)
Parameters
Type Name Description
double oldValue

The previous property value that is being replaced.

double newValue

The new property value being set.

Remarks

This method is invoked right before the value of WristUlnRad is changed.

Reconnect()

Disconnects and reconnects the UDP socket.

Declaration
public void Reconnect()

Implements

INotifyPropertyChanged
INotifyPropertyChanging
ISubscriber
IPublisher
IBaseBlockProps
IJsonExportable
IDisposable
IAsyncDisposable

Search documentation

Start typing to search the documentation.