Class HannesHandViewModel

A base class for objects of which the properties must be observable.

Inheritance
HannesHandViewModel
Namespace: MOSAIC.ViewModels.Devices
Assembly: MOSAIC.dll
Syntax
public class HannesHandViewModel : ObservableObject, INotifyPropertyChanged, INotifyPropertyChanging

Constructors

HannesHandViewModel(HannesHand)

Declaration
public HannesHandViewModel(HannesHand hannes)
Parameters
Type Name Description
HannesHand hannes

Fields

_dongleStatus

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

_dongleStatusColor

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

_handOpenClose

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

_handValue

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

_hannes

Declaration
private readonly HannesHand _hannes
Field Value
Type Description
HannesHand

_hannesStatus

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

_hannesStatusColor

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

_isDongleConnected

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

_isManualMode

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

_portName

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

_selectedDevice

Declaration
[ObservableProperty]
private string? _selectedDevice
Field Value
Type Description
string

_thumb

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

_thumbValue

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

_wristExFlex

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

_wristFeValue

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

_wristPsValue

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

_wristSupPro

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

centerSlidersCommand

The backing field for CenterSlidersCommand.

Declaration
private RelayCommand? centerSlidersCommand
Field Value
Type Description
RelayCommand

connectDongleCommand

The backing field for ConnectDongleCommand.

Declaration
private AsyncRelayCommand? connectDongleCommand
Field Value
Type Description
AsyncRelayCommand

connectHannesCommand

The backing field for ConnectHannesCommand.

Declaration
private AsyncRelayCommand? connectHannesCommand
Field Value
Type Description
AsyncRelayCommand

disconnectHannesCommand

The backing field for DisconnectHannesCommand.

Declaration
private RelayCommand? disconnectHannesCommand
Field Value
Type Description
RelayCommand

startScanCommand

The backing field for StartScanCommand.

Declaration
private AsyncRelayCommand? startScanCommand
Field Value
Type Description
AsyncRelayCommand

Properties

CenterSlidersCommand

Gets an IRelayCommand instance wrapping CenterSliders().

Declaration
[ExcludeFromCodeCoverage]
public IRelayCommand CenterSlidersCommand { get; }
Property Value
Type Description
IRelayCommand

ConnectDongleCommand

Gets an IAsyncRelayCommand instance wrapping ConnectDongle().

Declaration
[ExcludeFromCodeCoverage]
public IAsyncRelayCommand ConnectDongleCommand { get; }
Property Value
Type Description
IAsyncRelayCommand

ConnectHannesCommand

Gets an IAsyncRelayCommand instance wrapping ConnectHannes().

Declaration
[ExcludeFromCodeCoverage]
public IAsyncRelayCommand ConnectHannesCommand { get; }
Property Value
Type Description
IAsyncRelayCommand

ControlModeText

Declaration
public string ControlModeText { get; }
Property Value
Type Description
string

DisconnectHannesCommand

Gets an IRelayCommand instance wrapping DisconnectHannes().

Declaration
[ExcludeFromCodeCoverage]
public IRelayCommand DisconnectHannesCommand { get; }
Property Value
Type Description
IRelayCommand

DongleStatus

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

DongleStatusColor

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

FoundDevices

Declaration
public ObservableCollection<string> FoundDevices { get; }
Property Value
Type Description
ObservableCollection<string>

HandOpenClose

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

HandValue

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

HannesHand

Declaration
public HannesHand HannesHand { get; }
Property Value
Type Description
HannesHand

HannesStatus

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

HannesStatusColor

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

IsDesktop

Declaration
public static bool IsDesktop { get; }
Property Value
Type Description
bool

IsDongleConnected

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

IsManualMode

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

IsMobile

Declaration
public static bool IsMobile { get; }
Property Value
Type Description
bool

PortName

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

SelectedDevice

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

StartScanCommand

Gets an IAsyncRelayCommand instance wrapping StartScan().

Declaration
[ExcludeFromCodeCoverage]
public IAsyncRelayCommand StartScanCommand { get; }
Property Value
Type Description
IAsyncRelayCommand

Thumb

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

ThumbValue

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

UseButtonControl

Declaration
public bool UseButtonControl { get; }
Property Value
Type Description
bool

UseSliderControl

Declaration
public bool UseSliderControl { get; }
Property Value
Type Description
bool

WristExFlex

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

WristFeValue

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

WristPsValue

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

WristSupPro

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

Methods

CanConnectDongle()

Declaration
private bool CanConnectDongle()
Returns
Type Description
bool

CanConnectHannes()

Declaration
private bool CanConnectHannes()
Returns
Type Description
bool

CenterSliders()

Declaration
[RelayCommand]
private void CenterSliders()

ConnectDongle()

Declaration
[RelayCommand(CanExecute = "CanConnectDongle")]
private Task ConnectDongle()
Returns
Type Description
Task

ConnectHannes()

Declaration
[RelayCommand(CanExecute = "CanConnectHannes")]
private Task ConnectHannes()
Returns
Type Description
Task

DisconnectHannes()

Declaration
[RelayCommand]
private void DisconnectHannes()

OnDongleStatusChanged(string)

Executes the logic for when DongleStatus just changed.

Declaration
private void OnDongleStatusChanged(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 DongleStatus is changed.

OnDongleStatusChanged(string?, string)

Executes the logic for when DongleStatus just changed.

Declaration
private void OnDongleStatusChanged(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 DongleStatus is changed.

OnDongleStatusChanging(string)

Executes the logic for when DongleStatus is changing.

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

The new property value being set.

Remarks

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

OnDongleStatusChanging(string?, string)

Executes the logic for when DongleStatus is changing.

Declaration
private void OnDongleStatusChanging(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 DongleStatus is changed.

OnDongleStatusColorChanged(string)

Executes the logic for when DongleStatusColor just changed.

Declaration
private void OnDongleStatusColorChanged(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 DongleStatusColor is changed.

OnDongleStatusColorChanged(string?, string)

Executes the logic for when DongleStatusColor just changed.

Declaration
private void OnDongleStatusColorChanged(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 DongleStatusColor is changed.

OnDongleStatusColorChanging(string)

Executes the logic for when DongleStatusColor is changing.

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

The new property value being set.

Remarks

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

OnDongleStatusColorChanging(string?, string)

Executes the logic for when DongleStatusColor is changing.

Declaration
private void OnDongleStatusColorChanging(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 DongleStatusColor is changed.

OnHandOpenCloseChanged(bool)

Executes the logic for when HandOpenClose just changed.

Declaration
private void OnHandOpenCloseChanged(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 HandOpenClose is changed.

OnHandOpenCloseChanged(bool, bool)

Executes the logic for when HandOpenClose just changed.

Declaration
private void OnHandOpenCloseChanged(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 HandOpenClose is changed.

OnHandOpenCloseChanging(bool)

Executes the logic for when HandOpenClose is changing.

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

The new property value being set.

Remarks

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

OnHandOpenCloseChanging(bool, bool)

Executes the logic for when HandOpenClose is changing.

Declaration
private void OnHandOpenCloseChanging(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 HandOpenClose is changed.

OnHandValueChanged(double)

Executes the logic for when HandValue just changed.

Declaration
private void OnHandValueChanged(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 HandValue is changed.

OnHandValueChanged(double, double)

Executes the logic for when HandValue just changed.

Declaration
private void OnHandValueChanged(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 HandValue is changed.

OnHandValueChanging(double)

Executes the logic for when HandValue is changing.

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

The new property value being set.

Remarks

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

OnHandValueChanging(double, double)

Executes the logic for when HandValue is changing.

Declaration
private void OnHandValueChanging(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 HandValue is changed.

OnHannesStatusChanged(string)

Executes the logic for when HannesStatus just changed.

Declaration
private void OnHannesStatusChanged(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 HannesStatus is changed.

OnHannesStatusChanged(string?, string)

Executes the logic for when HannesStatus just changed.

Declaration
private void OnHannesStatusChanged(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 HannesStatus is changed.

OnHannesStatusChanging(string)

Executes the logic for when HannesStatus is changing.

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

The new property value being set.

Remarks

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

OnHannesStatusChanging(string?, string)

Executes the logic for when HannesStatus is changing.

Declaration
private void OnHannesStatusChanging(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 HannesStatus is changed.

OnHannesStatusColorChanged(string)

Executes the logic for when HannesStatusColor just changed.

Declaration
private void OnHannesStatusColorChanged(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 HannesStatusColor is changed.

OnHannesStatusColorChanged(string?, string)

Executes the logic for when HannesStatusColor just changed.

Declaration
private void OnHannesStatusColorChanged(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 HannesStatusColor is changed.

OnHannesStatusColorChanging(string)

Executes the logic for when HannesStatusColor is changing.

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

The new property value being set.

Remarks

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

OnHannesStatusColorChanging(string?, string)

Executes the logic for when HannesStatusColor is changing.

Declaration
private void OnHannesStatusColorChanging(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 HannesStatusColor is changed.

OnIsDongleConnectedChanged(bool)

Executes the logic for when IsDongleConnected just changed.

Declaration
private void OnIsDongleConnectedChanged(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 IsDongleConnected is changed.

OnIsDongleConnectedChanged(bool, bool)

Executes the logic for when IsDongleConnected just changed.

Declaration
private void OnIsDongleConnectedChanged(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 IsDongleConnected is changed.

OnIsDongleConnectedChanging(bool)

Executes the logic for when IsDongleConnected is changing.

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

The new property value being set.

Remarks

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

OnIsDongleConnectedChanging(bool, bool)

Executes the logic for when IsDongleConnected is changing.

Declaration
private void OnIsDongleConnectedChanging(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 IsDongleConnected is changed.

OnIsManualModeChanged(bool)

Executes the logic for when IsManualMode just changed.

Declaration
private void OnIsManualModeChanged(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 IsManualMode is changed.

OnIsManualModeChanged(bool, bool)

Executes the logic for when IsManualMode just changed.

Declaration
private void OnIsManualModeChanged(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 IsManualMode is changed.

OnIsManualModeChanging(bool)

Executes the logic for when IsManualMode is changing.

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

The new property value being set.

Remarks

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

OnIsManualModeChanging(bool, bool)

Executes the logic for when IsManualMode is changing.

Declaration
private void OnIsManualModeChanging(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 IsManualMode is changed.

OnPortNameChanged(string)

Executes the logic for when PortName just changed.

Declaration
private void OnPortNameChanged(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 PortName is changed.

OnPortNameChanged(string?, string)

Executes the logic for when PortName just changed.

Declaration
private void OnPortNameChanged(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 PortName is changed.

OnPortNameChanging(string)

Executes the logic for when PortName is changing.

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

The new property value being set.

Remarks

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

OnPortNameChanging(string?, string)

Executes the logic for when PortName is changing.

Declaration
private void OnPortNameChanging(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 PortName is changed.

OnSelectedDeviceChanged(string?)

Executes the logic for when SelectedDevice just changed.

Declaration
private void OnSelectedDeviceChanged(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 SelectedDevice is changed.

OnSelectedDeviceChanged(string?, string?)

Executes the logic for when SelectedDevice just changed.

Declaration
private void OnSelectedDeviceChanged(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 SelectedDevice is changed.

OnSelectedDeviceChanging(string?)

Executes the logic for when SelectedDevice is changing.

Declaration
private void OnSelectedDeviceChanging(string? value)
Parameters
Type Name Description
string value

The new property value being set.

Remarks

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

OnSelectedDeviceChanging(string?, string?)

Executes the logic for when SelectedDevice is changing.

Declaration
private void OnSelectedDeviceChanging(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 SelectedDevice is changed.

OnThumbChanged(bool)

Executes the logic for when Thumb just changed.

Declaration
private void OnThumbChanged(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 Thumb is changed.

OnThumbChanged(bool, bool)

Executes the logic for when Thumb just changed.

Declaration
private void OnThumbChanged(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 Thumb is changed.

OnThumbChanging(bool)

Executes the logic for when Thumb is changing.

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

The new property value being set.

Remarks

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

OnThumbChanging(bool, bool)

Executes the logic for when Thumb is changing.

Declaration
private void OnThumbChanging(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 Thumb is changed.

OnThumbValueChanged(double)

Executes the logic for when ThumbValue just changed.

Declaration
private void OnThumbValueChanged(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 ThumbValue is changed.

OnThumbValueChanged(double, double)

Executes the logic for when ThumbValue just changed.

Declaration
private void OnThumbValueChanged(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 ThumbValue is changed.

OnThumbValueChanging(double)

Executes the logic for when ThumbValue is changing.

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

The new property value being set.

Remarks

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

OnThumbValueChanging(double, double)

Executes the logic for when ThumbValue is changing.

Declaration
private void OnThumbValueChanging(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 ThumbValue is changed.

OnWristExFlexChanged(bool)

Executes the logic for when WristExFlex just changed.

Declaration
private void OnWristExFlexChanged(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 WristExFlex is changed.

OnWristExFlexChanged(bool, bool)

Executes the logic for when WristExFlex just changed.

Declaration
private void OnWristExFlexChanged(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 WristExFlex is changed.

OnWristExFlexChanging(bool)

Executes the logic for when WristExFlex is changing.

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

The new property value being set.

Remarks

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

OnWristExFlexChanging(bool, bool)

Executes the logic for when WristExFlex is changing.

Declaration
private void OnWristExFlexChanging(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 WristExFlex is changed.

OnWristFeValueChanged(double)

Executes the logic for when WristFeValue just changed.

Declaration
private void OnWristFeValueChanged(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 WristFeValue is changed.

OnWristFeValueChanged(double, double)

Executes the logic for when WristFeValue just changed.

Declaration
private void OnWristFeValueChanged(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 WristFeValue is changed.

OnWristFeValueChanging(double)

Executes the logic for when WristFeValue is changing.

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

The new property value being set.

Remarks

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

OnWristFeValueChanging(double, double)

Executes the logic for when WristFeValue is changing.

Declaration
private void OnWristFeValueChanging(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 WristFeValue is changed.

OnWristPsValueChanged(double)

Executes the logic for when WristPsValue just changed.

Declaration
private void OnWristPsValueChanged(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 WristPsValue is changed.

OnWristPsValueChanged(double, double)

Executes the logic for when WristPsValue just changed.

Declaration
private void OnWristPsValueChanged(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 WristPsValue is changed.

OnWristPsValueChanging(double)

Executes the logic for when WristPsValue is changing.

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

The new property value being set.

Remarks

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

OnWristPsValueChanging(double, double)

Executes the logic for when WristPsValue is changing.

Declaration
private void OnWristPsValueChanging(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 WristPsValue is changed.

OnWristSupProChanged(bool)

Executes the logic for when WristSupPro just changed.

Declaration
private void OnWristSupProChanged(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 WristSupPro is changed.

OnWristSupProChanged(bool, bool)

Executes the logic for when WristSupPro just changed.

Declaration
private void OnWristSupProChanged(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 WristSupPro is changed.

OnWristSupProChanging(bool)

Executes the logic for when WristSupPro is changing.

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

The new property value being set.

Remarks

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

OnWristSupProChanging(bool, bool)

Executes the logic for when WristSupPro is changing.

Declaration
private void OnWristSupProChanging(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 WristSupPro is changed.

SendManualValues()

Declaration
private void SendManualValues()

SendManualValuesIfManual()

Declaration
private void SendManualValuesIfManual()

StartScan()

Declaration
[RelayCommand]
private Task StartScan()
Returns
Type Description
Task

ThumbClose()

Declaration
public void ThumbClose()

ThumbOpen()

Declaration
public void ThumbOpen()

ThumbStop()

Declaration
public void ThumbStop()

Implements

INotifyPropertyChanged
INotifyPropertyChanging

Search documentation

Start typing to search the documentation.