Class BodyRigViewModel
ViewModel for the BodyRig device card.
Inherited Members
Namespace: MOSAIC.ViewModels.Devices
Assembly: MOSAIC.dll
Syntax
public class BodyRigViewModel : ObservableObject, INotifyPropertyChanged, INotifyPropertyChanging
Remarks
The card is organised around the kinematic chain so the segment hierarchy and each segment's assigned IMU can be read together.
Live values are mirrored, never bound directly. Info is mutated
from the serial stream thread, and its Flag is overwritten with "Streaming" on every
received chunk — so an error state survives about one frame and a poll would essentially never
see it. RefreshLive() samples the durable signals (monotonic counters) on the UI
thread and everything the card shows is derived from those mirrors.
Write-back is suppressed while reading. Every editable field writes through to the block on change, so filling the fields from the block would otherwise push half-updated values back into it — see _suppressWriteBack.
Constructors
BodyRigViewModel(BodyRig?)
Initialises the ViewModel. If a block is provided (from JSON config or the palette), its settings populate the card.
Declaration
public BodyRigViewModel(BodyRig? block = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BodyRig | block |
Fields
ErrorWindow
Parser errors within this window raise the fault banner.
Declaration
private static readonly TimeSpan ErrorWindow
Field Value
| Type | Description |
|---|---|
| TimeSpan |
LiveGrace
A sensor counted as live if it delivered a packet within this window.
Declaration
private static readonly TimeSpan LiveGrace
Field Value
| Type | Description |
|---|---|
| TimeSpan |
Rad2Deg
Declaration
private const float Rad2Deg = 57.295776
Field Value
| Type | Description |
|---|---|
| float |
_block
Declaration
private readonly BodyRig? _block
Field Value
| Type | Description |
|---|---|
| BodyRig |
_boundSensorCount
Distinct sensor ids bound to at least one segment.
Declaration
[ObservableProperty]
private int _boundSensorCount
Field Value
| Type | Description |
|---|---|
| int |
_boundSensorsDark
Bound sensors that are not delivering.
Declaration
[ObservableProperty]
private int _boundSensorsDark
Field Value
| Type | Description |
|---|---|
| int |
_calibrationDirectory
Directory scanned for calibration profiles.
Declaration
[ObservableProperty]
[NotifyPropertyChangedFor("StoreTargetHint")]
private string _calibrationDirectory
Field Value
| Type | Description |
|---|---|
| string |
_chainSummary
e.g. "2 chains · 4 loose".
Declaration
[ObservableProperty]
private string _chainSummary
Field Value
| Type | Description |
|---|---|
| string |
_dhPitch
DH pitch about Y, degrees.
Declaration
[ObservableProperty]
private float _dhPitch
Field Value
| Type | Description |
|---|---|
| float |
_dhRoll
DH roll about X, degrees.
Declaration
[ObservableProperty]
private float _dhRoll
Field Value
| Type | Description |
|---|---|
| float |
_dhYaw
DH yaw about Z, degrees.
Declaration
[ObservableProperty]
private float _dhYaw
Field Value
| Type | Description |
|---|---|
| float |
_faultText
Fault banner text, naming a specific and actionable failure.
Declaration
[ObservableProperty]
private string _faultText
Field Value
| Type | Description |
|---|---|
| string |
_frameErrors
Mirror of the block's parser-error counter.
Declaration
[ObservableProperty]
private int _frameErrors
Field Value
| Type | Description |
|---|---|
| int |
_frameRateHz
Published frames per second, smoothed.
Declaration
[ObservableProperty]
private double _frameRateHz
Field Value
| Type | Description |
|---|---|
| double |
_framesProcessed
Mirror of the block's processed-frame counter.
Declaration
[ObservableProperty]
private int _framesProcessed
Field Value
| Type | Description |
|---|---|
| int |
_hasFault
Whether the fault banner is shown.
Declaration
[ObservableProperty]
private bool _hasFault
Field Value
| Type | Description |
|---|---|
| bool |
_hasFrameErrors
Whether any parser error has ever been recorded.
Declaration
[ObservableProperty]
private bool _hasFrameErrors
Field Value
| Type | Description |
|---|---|
| bool |
_hasProfiles
Whether any profiles were found.
Declaration
[ObservableProperty]
private bool _hasProfiles
Field Value
| Type | Description |
|---|---|
| bool |
_hasTopologyWarning
Whether TopologyWarning has anything to say.
Declaration
[ObservableProperty]
private bool _hasTopologyWarning
Field Value
| Type | Description |
|---|---|
| bool |
_healthBad
Health pill states. Exactly one is true.
Declaration
[ObservableProperty]
private bool _healthBad
Field Value
| Type | Description |
|---|---|
| bool |
_healthOk
Health pill states. Exactly one is true.
Declaration
[ObservableProperty]
private bool _healthOk
Field Value
| Type | Description |
|---|---|
| bool |
_healthText
Health pill text.
Declaration
[ObservableProperty]
private string _healthText
Field Value
| Type | Description |
|---|---|
| string |
_healthWarn
Health pill states. Exactly one is true.
Declaration
[ObservableProperty]
private bool _healthWarn
Field Value
| Type | Description |
|---|---|
| bool |
_isPortOpen
Whether the serial port is actually open, mirrored from the block.
Declaration
[ObservableProperty]
private bool _isPortOpen
Field Value
| Type | Description |
|---|---|
| bool |
_isReceiving
Whether frames are arriving at all.
Declaration
[ObservableProperty]
private bool _isReceiving
Field Value
| Type | Description |
|---|---|
| bool |
_isSerialMode
Whether the block is being driven by a clock (serial) rather than upstream data.
Declaration
[ObservableProperty]
private bool _isSerialMode
Field Value
| Type | Description |
|---|---|
| bool |
_jointFrameLabel
Which frame the joint angles are expressed in.
Declaration
[ObservableProperty]
private string _jointFrameLabel
Field Value
| Type | Description |
|---|---|
| string |
_jointPitch
Joint pitch relative to the parent, degrees.
Declaration
[ObservableProperty]
private float _jointPitch
Field Value
| Type | Description |
|---|---|
| float |
_jointRoll
Joint roll relative to the parent, degrees.
Declaration
[ObservableProperty]
private float _jointRoll
Field Value
| Type | Description |
|---|---|
| float |
_jointYaw
Joint yaw relative to the parent, degrees.
Declaration
[ObservableProperty]
private float _jointYaw
Field Value
| Type | Description |
|---|---|
| float |
_lastErrorAt
Declaration
private DateTime _lastErrorAt
Field Value
| Type | Description |
|---|---|
| DateTime |
_lastErrorCount
Declaration
private int _lastErrorCount
Field Value
| Type | Description |
|---|---|
| int |
_lastFrameCount
Declaration
private int _lastFrameCount
Field Value
| Type | Description |
|---|---|
| int |
_lastRateSample
Declaration
private DateTime _lastRateSample
Field Value
| Type | Description |
|---|---|
| DateTime |
_lastSensorCounts
Declaration
private readonly Dictionary<int, int> _lastSensorCounts
Field Value
| Type | Description |
|---|---|
| Dictionary<int, int> |
_lastSensorSeen
Declaration
private readonly Dictionary<int, DateTime> _lastSensorSeen
Field Value
| Type | Description |
|---|---|
| Dictionary<int, DateTime> |
_linkX
Link length X in cm.
Declaration
[ObservableProperty]
private float _linkX
Field Value
| Type | Description |
|---|---|
| float |
_linkY
Link length Y in cm.
Declaration
[ObservableProperty]
private float _linkY
Field Value
| Type | Description |
|---|---|
| float |
_linkZ
Link length Z in cm.
Declaration
[ObservableProperty]
private float _linkZ
Field Value
| Type | Description |
|---|---|
| float |
_maxSegment
Maximum segment index (segment count − 1).
Declaration
[ObservableProperty]
private int _maxSegment
Field Value
| Type | Description |
|---|---|
| int |
_modeLabel
SERIAL / UPSTREAM / IDLE.
Declaration
[ObservableProperty]
private string _modeLabel
Field Value
| Type | Description |
|---|---|
| string |
_newProfileName
Name for a profile Store should create. Blank means Store overwrites SelectedProfile instead.
Declaration
[ObservableProperty]
[NotifyPropertyChangedFor("StoreTargetHint")]
private string _newProfileName
Field Value
| Type | Description |
|---|---|
| string |
Remarks
The card had no such field, and that is precisely why the first profile in a directory could not be created from inside the app: with nothing selected there was no name to write to, so Store returned early and said nothing.
_pendingSegmentCount
Staged segment count; applied by ApplySegmentCountCommand.
Declaration
[ObservableProperty]
[NotifyPropertyChangedFor("SegmentCountDirty")]
private int _pendingSegmentCount
Field Value
| Type | Description |
|---|---|
| int |
Remarks
Staged rather than live because the block rebuilds its chain on every assignment. Bound directly, typing "10" over "1" ran the destructive rebuild twice on the way through "1".
_portName
Full free-text serial port name, e.g. "COM5" or "/dev/ttyUSB0".
Declaration
[ObservableProperty]
private string _portName
Field Value
| Type | Description |
|---|---|
| string |
_poseStreamLabel
Label above the pose plot, naming its real channel count.
Declaration
[ObservableProperty]
private string _poseStreamLabel
Field Value
| Type | Description |
|---|---|
| string |
_profileCounter
e.g. "3 / 7", or a note that no directory is set.
Declaration
[ObservableProperty]
private string _profileCounter
Field Value
| Type | Description |
|---|---|
| string |
_reachCm
Distance of the segment tip from the origin, cm.
Declaration
[ObservableProperty]
private float _reachCm
Field Value
| Type | Description |
|---|---|
| float |
_sanityHint
A plain-language note about implausible geometry, or empty.
Declaration
[ObservableProperty]
private string _sanityHint
Field Value
| Type | Description |
|---|---|
| string |
_segmentName
Name of the selected segment.
Declaration
[ObservableProperty]
private string _segmentName
Field Value
| Type | Description |
|---|---|
| string |
_selectedDhQuaternionText
The DH mapping as a quaternion — the lossless form a calibration file stores.
Declaration
[ObservableProperty]
private string _selectedDhQuaternionText
Field Value
| Type | Description |
|---|---|
| string |
_selectedParentOption
Selected parent; assigning re-parents the segment.
Declaration
[ObservableProperty]
private ParentOption? _selectedParentOption
Field Value
| Type | Description |
|---|---|
| ParentOption |
_selectedProfile
The profile Load and the arrows act on.
Declaration
[ObservableProperty]
[NotifyPropertyChangedFor("StoreTargetHint")]
private string? _selectedProfile
Field Value
| Type | Description |
|---|---|
| string |
_selectedSegment
Currently selected segment index for editing.
Declaration
[ObservableProperty]
private int _selectedSegment
Field Value
| Type | Description |
|---|---|
| int |
_sensorChoice
Selected index in SensorChoiceLabels, which is SensorIndex + 1.
Declaration
[ObservableProperty]
private int _sensorChoice
Field Value
| Type | Description |
|---|---|
| int |
Remarks
The offset makes the model's -1 "passive, no sensor" value selectable without
changing the stored sensor index.
_sensorCoverage
e.g. "6 arriving · 7 bound · 1 dark".
Declaration
[ObservableProperty]
private string _sensorCoverage
Field Value
| Type | Description |
|---|---|
| string |
_sensorIsLive
Whether the selected segment's sensor is delivering.
Declaration
[ObservableProperty]
private bool _sensorIsLive
Field Value
| Type | Description |
|---|---|
| bool |
_sensorStatusText
e.g. "S3 · live" / "S9 · never seen" / "passive — no sensor".
Declaration
[ObservableProperty]
private string _sensorStatusText
Field Value
| Type | Description |
|---|---|
| string |
_sensorsArriving
Distinct sensor ids currently delivering packets.
Declaration
[ObservableProperty]
private int _sensorsArriving
Field Value
| Type | Description |
|---|---|
| int |
_statusMessage
Status or error message displayed in the UI.
Declaration
[ObservableProperty]
private string _statusMessage
Field Value
| Type | Description |
|---|---|
| string |
_subtitleText
One-line summary under the title, e.g. "10 segments · 2 chains · 100 Hz".
Declaration
[ObservableProperty]
private string _subtitleText
Field Value
| Type | Description |
|---|---|
| string |
_suppressWriteBack
True while the ViewModel is filling its fields from the block.
Declaration
private bool _suppressWriteBack
Field Value
| Type | Description |
|---|---|
| bool |
_topologyWarning
Explains a rejected or side-effecting topology edit; SetParent(int, int) is silent.
Declaration
[ObservableProperty]
private string _topologyWarning
Field Value
| Type | Description |
|---|---|
| string |
applySegmentCountCommand
The backing field for ApplySegmentCountCommand.
Declaration
private RelayCommand? applySegmentCountCommand
Field Value
| Type | Description |
|---|---|
| RelayCommand |
chainSequentiallyCommand
The backing field for ChainSequentiallyCommand.
Declaration
private RelayCommand? chainSequentiallyCommand
Field Value
| Type | Description |
|---|---|
| RelayCommand |
clearParentsCommand
The backing field for ClearParentsCommand.
Declaration
private RelayCommand? clearParentsCommand
Field Value
| Type | Description |
|---|---|
| RelayCommand |
loadCalibrationCommand
The backing field for LoadCalibrationCommand.
Declaration
private RelayCommand? loadCalibrationCommand
Field Value
| Type | Description |
|---|---|
| RelayCommand |
selectSegmentCommand
The backing field for SelectSegmentCommand.
Declaration
private RelayCommand<int>? selectSegmentCommand
Field Value
| Type | Description |
|---|---|
| RelayCommand<int> |
storeCalibrationCommand
The backing field for StoreCalibrationCommand.
Declaration
private RelayCommand? storeCalibrationCommand
Field Value
| Type | Description |
|---|---|
| RelayCommand |
toggleConnectionCommand
The backing field for ToggleConnectionCommand.
Declaration
private RelayCommand? toggleConnectionCommand
Field Value
| Type | Description |
|---|---|
| RelayCommand |
Properties
ApplySegmentCountCommand
Gets an IRelayCommand instance wrapping ApplySegmentCount().
Declaration
[ExcludeFromCodeCoverage]
public IRelayCommand ApplySegmentCountCommand { get; }
Property Value
| Type | Description |
|---|---|
| IRelayCommand |
Block
The underlying block, for binding Name, FrequencyText and other base members.
Declaration
public BodyRig? Block { get; }
Property Value
| Type | Description |
|---|---|
| BodyRig |
BoundSensorCount
Distinct sensor ids bound to at least one segment.
Declaration
[ExcludeFromCodeCoverage]
public int BoundSensorCount { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
BoundSensorsDark
Bound sensors that are not delivering.
Declaration
[ExcludeFromCodeCoverage]
public int BoundSensorsDark { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
CalibrationDirectory
Directory scanned for calibration profiles.
Declaration
[ExcludeFromCodeCoverage]
public string CalibrationDirectory { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Chain
The chain strip, one row per segment in tree order.
Declaration
public ObservableCollection<ChainNodeViewModel> Chain { get; }
Property Value
| Type | Description |
|---|---|
| ObservableCollection<ChainNodeViewModel> |
ChainSequentiallyCommand
Gets an IRelayCommand instance wrapping ChainSequentially().
Declaration
[ExcludeFromCodeCoverage]
public IRelayCommand ChainSequentiallyCommand { get; }
Property Value
| Type | Description |
|---|---|
| IRelayCommand |
ChainSummary
e.g. "2 chains · 4 loose".
Declaration
[ExcludeFromCodeCoverage]
public string ChainSummary { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ClearParentsCommand
Gets an IRelayCommand instance wrapping ClearParents().
Declaration
[ExcludeFromCodeCoverage]
public IRelayCommand ClearParentsCommand { get; }
Property Value
| Type | Description |
|---|---|
| IRelayCommand |
DefaultProfileDirectory
Folder a card falls back to when its pipeline names none: the calibration profiles
deployed with the app under Assets\BodyRigCalibrationFiles.
Declaration
public static string? DefaultProfileDirectory { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
Those profiles are deployed as a real folder rather than embedded resources, because the
card lists them with Directory.GetFiles and Store writes new ones back — neither
works against a resource compiled into the assembly.
Settable, and nulled by the test bootstrap, so the suite never depends on whether those
files happened to be copied next to the test runner. Same reasoning as
BlockVisualization.Enabled. Read once when a card is built, so assigning it does
not disturb a card that is already open.
DhPitch
DH pitch about Y, degrees.
Declaration
[ExcludeFromCodeCoverage]
public float DhPitch { get; set; }
Property Value
| Type | Description |
|---|---|
| float |
DhRoll
DH roll about X, degrees.
Declaration
[ExcludeFromCodeCoverage]
public float DhRoll { get; set; }
Property Value
| Type | Description |
|---|---|
| float |
DhYaw
DH yaw about Z, degrees.
Declaration
[ExcludeFromCodeCoverage]
public float DhYaw { get; set; }
Property Value
| Type | Description |
|---|---|
| float |
FaultText
Fault banner text, naming a specific and actionable failure.
Declaration
[ExcludeFromCodeCoverage]
public string FaultText { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
FrameErrors
Mirror of the block's parser-error counter.
Declaration
[ExcludeFromCodeCoverage]
public int FrameErrors { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
FrameRateHz
Published frames per second, smoothed.
Declaration
[ExcludeFromCodeCoverage]
public double FrameRateHz { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
FramesProcessed
Mirror of the block's processed-frame counter.
Declaration
[ExcludeFromCodeCoverage]
public int FramesProcessed { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
HasFault
Whether the fault banner is shown.
Declaration
[ExcludeFromCodeCoverage]
public bool HasFault { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
HasFrameErrors
Whether any parser error has ever been recorded.
Declaration
[ExcludeFromCodeCoverage]
public bool HasFrameErrors { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
HasProfiles
Whether any profiles were found.
Declaration
[ExcludeFromCodeCoverage]
public bool HasProfiles { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
HasTopologyWarning
Whether TopologyWarning has anything to say.
Declaration
[ExcludeFromCodeCoverage]
public bool HasTopologyWarning { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
HealthBad
Health pill states. Exactly one is true.
Declaration
[ExcludeFromCodeCoverage]
public bool HealthBad { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
HealthOk
Health pill states. Exactly one is true.
Declaration
[ExcludeFromCodeCoverage]
public bool HealthOk { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
HealthText
Health pill text.
Declaration
[ExcludeFromCodeCoverage]
public string HealthText { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
HealthWarn
Health pill states. Exactly one is true.
Declaration
[ExcludeFromCodeCoverage]
public bool HealthWarn { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Info
Observable info from the underlying block.
Declaration
public BodyRigInfo? Info { get; }
Property Value
| Type | Description |
|---|---|
| BodyRigInfo |
IsPortOpen
Whether the serial port is actually open, mirrored from the block.
Declaration
[ExcludeFromCodeCoverage]
public bool IsPortOpen { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
IsReceiving
Whether frames are arriving at all.
Declaration
[ExcludeFromCodeCoverage]
public bool IsReceiving { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
IsSerialMode
Whether the block is being driven by a clock (serial) rather than upstream data.
Declaration
[ExcludeFromCodeCoverage]
public bool IsSerialMode { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
JointFrameLabel
Which frame the joint angles are expressed in.
Declaration
[ExcludeFromCodeCoverage]
public string JointFrameLabel { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
JointPitch
Joint pitch relative to the parent, degrees.
Declaration
[ExcludeFromCodeCoverage]
public float JointPitch { get; set; }
Property Value
| Type | Description |
|---|---|
| float |
JointRoll
Joint roll relative to the parent, degrees.
Declaration
[ExcludeFromCodeCoverage]
public float JointRoll { get; set; }
Property Value
| Type | Description |
|---|---|
| float |
JointYaw
Joint yaw relative to the parent, degrees.
Declaration
[ExcludeFromCodeCoverage]
public float JointYaw { get; set; }
Property Value
| Type | Description |
|---|---|
| float |
LinkX
Link length X in cm.
Declaration
[ExcludeFromCodeCoverage]
public float LinkX { get; set; }
Property Value
| Type | Description |
|---|---|
| float |
LinkY
Link length Y in cm.
Declaration
[ExcludeFromCodeCoverage]
public float LinkY { get; set; }
Property Value
| Type | Description |
|---|---|
| float |
LinkZ
Link length Z in cm.
Declaration
[ExcludeFromCodeCoverage]
public float LinkZ { get; set; }
Property Value
| Type | Description |
|---|---|
| float |
LoadCalibrationCommand
Gets an IRelayCommand instance wrapping LoadCalibration().
Declaration
[ExcludeFromCodeCoverage]
public IRelayCommand LoadCalibrationCommand { get; }
Property Value
| Type | Description |
|---|---|
| IRelayCommand |
MaxSegment
Maximum segment index (segment count − 1).
Declaration
[ExcludeFromCodeCoverage]
public int MaxSegment { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
ModeLabel
SERIAL / UPSTREAM / IDLE.
Declaration
[ExcludeFromCodeCoverage]
public string ModeLabel { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
NewProfileName
Name for a profile Store should create. Blank means Store overwrites SelectedProfile instead.
Declaration
[ExcludeFromCodeCoverage]
public string NewProfileName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
The card had no such field, and that is precisely why the first profile in a directory could not be created from inside the app: with nothing selected there was no name to write to, so Store returned early and said nothing.
ParentOptions
Legal parents for the selected segment.
Declaration
public ObservableCollection<ParentOption> ParentOptions { get; }
Property Value
| Type | Description |
|---|---|
| ObservableCollection<ParentOption> |
PendingSegmentCount
Staged segment count; applied by ApplySegmentCountCommand.
Declaration
[ExcludeFromCodeCoverage]
public int PendingSegmentCount { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Remarks
Staged rather than live because the block rebuilds its chain on every assignment. Bound directly, typing "10" over "1" ran the destructive rebuild twice on the way through "1".
PortName
Full free-text serial port name, e.g. "COM5" or "/dev/ttyUSB0".
Declaration
[ExcludeFromCodeCoverage]
public string PortName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PoseStreamLabel
Label above the pose plot, naming its real channel count.
Declaration
[ExcludeFromCodeCoverage]
public string PoseStreamLabel { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ProfileCounter
e.g. "3 / 7", or a note that no directory is set.
Declaration
[ExcludeFromCodeCoverage]
public string ProfileCounter { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Profiles
Discovered profile paths.
Declaration
public ObservableCollection<string> Profiles { get; }
Property Value
| Type | Description |
|---|---|
| ObservableCollection<string> |
ReachCm
Distance of the segment tip from the origin, cm.
Declaration
[ExcludeFromCodeCoverage]
public float ReachCm { get; set; }
Property Value
| Type | Description |
|---|---|
| float |
SanityHint
A plain-language note about implausible geometry, or empty.
Declaration
[ExcludeFromCodeCoverage]
public string SanityHint { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
SegmentCountDirty
Whether the staged count differs from the block's actual chain.
Declaration
public bool SegmentCountDirty { get; }
Property Value
| Type | Description |
|---|---|
| bool |
SegmentName
Name of the selected segment.
Declaration
[ExcludeFromCodeCoverage]
public string SegmentName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
SelectSegmentCommand
Gets an IRelayCommand<T> instance wrapping SelectSegment(int).
Declaration
[ExcludeFromCodeCoverage]
public IRelayCommand<int> SelectSegmentCommand { get; }
Property Value
| Type | Description |
|---|---|
| IRelayCommand<int> |
SelectedDhQuaternionText
The DH mapping as a quaternion — the lossless form a calibration file stores.
Declaration
[ExcludeFromCodeCoverage]
public string SelectedDhQuaternionText { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
SelectedParentOption
Selected parent; assigning re-parents the segment.
Declaration
[ExcludeFromCodeCoverage]
public ParentOption? SelectedParentOption { get; set; }
Property Value
| Type | Description |
|---|---|
| ParentOption |
SelectedProfile
The profile Load and the arrows act on.
Declaration
[ExcludeFromCodeCoverage]
public string? SelectedProfile { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
SelectedSegment
Currently selected segment index for editing.
Declaration
[ExcludeFromCodeCoverage]
public int SelectedSegment { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
SensorChoice
Selected index in SensorChoiceLabels, which is SensorIndex + 1.
Declaration
[ExcludeFromCodeCoverage]
public int SensorChoice { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Remarks
The offset makes the model's -1 "passive, no sensor" value selectable without
changing the stored sensor index.
SensorChoiceLabels
Labels for the sensor picker: "—" then S0, S1, …
Declaration
public ObservableCollection<string> SensorChoiceLabels { get; }
Property Value
| Type | Description |
|---|---|
| ObservableCollection<string> |
SensorCoverage
e.g. "6 arriving · 7 bound · 1 dark".
Declaration
[ExcludeFromCodeCoverage]
public string SensorCoverage { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
SensorIsLive
Whether the selected segment's sensor is delivering.
Declaration
[ExcludeFromCodeCoverage]
public bool SensorIsLive { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
SensorStatusText
e.g. "S3 · live" / "S9 · never seen" / "passive — no sensor".
Declaration
[ExcludeFromCodeCoverage]
public string SensorStatusText { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
SensorsArriving
Distinct sensor ids currently delivering packets.
Declaration
[ExcludeFromCodeCoverage]
public int SensorsArriving { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
StatusMessage
Status or error message displayed in the UI.
Declaration
[ExcludeFromCodeCoverage]
public string StatusMessage { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
StoreCalibrationCommand
Gets an IRelayCommand instance wrapping StoreCalibration().
Declaration
[ExcludeFromCodeCoverage]
public IRelayCommand StoreCalibrationCommand { get; }
Property Value
| Type | Description |
|---|---|
| IRelayCommand |
StoreTargetHint
What Store will do if pressed right now: the file it would write, or what is missing.
Declaration
public string StoreTargetHint { get; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
The folder, the selected profile and the new-name box interact — a name wins over the selection, and either needs a folder — which is not something a reader should have to infer from three placeholder strings. Shown next to the button it describes.
SubtitleText
One-line summary under the title, e.g. "10 segments · 2 chains · 100 Hz".
Declaration
[ExcludeFromCodeCoverage]
public string SubtitleText { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ToggleConnectionCommand
Gets an IRelayCommand instance wrapping ToggleConnection().
Declaration
[ExcludeFromCodeCoverage]
public IRelayCommand ToggleConnectionCommand { get; }
Property Value
| Type | Description |
|---|---|
| IRelayCommand |
TopologyWarning
Explains a rejected or side-effecting topology edit; SetParent(int, int) is silent.
Declaration
[ExcludeFromCodeCoverage]
public string TopologyWarning { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Viz
Live plot of the published pose.
Declaration
public BlockVisualization? Viz { get; }
Property Value
| Type | Description |
|---|---|
| BlockVisualization |
Methods
ApplyDhAngles()
Declaration
private void ApplyDhAngles()
ApplyLinkLength()
Declaration
private void ApplyLinkLength()
ApplySegmentCount()
Rebuilds the chain to PendingSegmentCount, discarding all topology.
Declaration
[RelayCommand]
private void ApplySegmentCount()
ChainSequentially()
Chains every segment head to tail: 0 → 1 → 2 → …
Declaration
[RelayCommand]
private void ChainSequentially()
ClearParents()
Detaches every segment, leaving a flat list of roots.
Declaration
[RelayCommand]
private void ClearParents()
CountChains()
Number of distinct root-led chains (segments with no parent).
Declaration
private int CountChains()
Returns
| Type | Description |
|---|---|
| int |
DescribeSlot(int)
Hover text naming the slot, the node behind it, and the socket it arrives on.
Declaration
private string DescribeSlot(int slot)
Parameters
| Type | Name | Description |
|---|---|---|
| int | slot |
Returns
| Type | Description |
|---|---|
| string |
FindShippedProfiles()
Locates the shipped profile folder, or null when it was not deployed.
Declaration
private static string? FindShippedProfiles()
Returns
| Type | Description |
|---|---|
| string |
LoadCalibration()
Loads the selected profile, or the block's current one if nothing is selected.
Declaration
[RelayCommand]
private void LoadCalibration()
MakeNode(int, int, string)
Declaration
private ChainNodeViewModel MakeNode(int index, int depth, string glyph)
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | |
| int | depth | |
| string | glyph |
Returns
| Type | Description |
|---|---|
| ChainNodeViewModel |
OnBoundSensorCountChanged(int)
Executes the logic for when BoundSensorCount just changed.
Declaration
private void OnBoundSensorCountChanged(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 BoundSensorCount is changed.
OnBoundSensorCountChanged(int, int)
Executes the logic for when BoundSensorCount just changed.
Declaration
private void OnBoundSensorCountChanged(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 BoundSensorCount is changed.
OnBoundSensorCountChanging(int)
Executes the logic for when BoundSensorCount is changing.
Declaration
private void OnBoundSensorCountChanging(int value)
Parameters
| Type | Name | Description |
|---|---|---|
| int | value | The new property value being set. |
Remarks
This method is invoked right before the value of BoundSensorCount is changed.
OnBoundSensorCountChanging(int, int)
Executes the logic for when BoundSensorCount is changing.
Declaration
private void OnBoundSensorCountChanging(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 BoundSensorCount is changed.
OnBoundSensorsDarkChanged(int)
Executes the logic for when BoundSensorsDark just changed.
Declaration
private void OnBoundSensorsDarkChanged(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 BoundSensorsDark is changed.
OnBoundSensorsDarkChanged(int, int)
Executes the logic for when BoundSensorsDark just changed.
Declaration
private void OnBoundSensorsDarkChanged(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 BoundSensorsDark is changed.
OnBoundSensorsDarkChanging(int)
Executes the logic for when BoundSensorsDark is changing.
Declaration
private void OnBoundSensorsDarkChanging(int value)
Parameters
| Type | Name | Description |
|---|---|---|
| int | value | The new property value being set. |
Remarks
This method is invoked right before the value of BoundSensorsDark is changed.
OnBoundSensorsDarkChanging(int, int)
Executes the logic for when BoundSensorsDark is changing.
Declaration
private void OnBoundSensorsDarkChanging(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 BoundSensorsDark is changed.
OnCalibrationDirectoryChanged(string)
Executes the logic for when CalibrationDirectory just changed.
Declaration
private void OnCalibrationDirectoryChanged(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 CalibrationDirectory is changed.
OnCalibrationDirectoryChanged(string?, string)
Executes the logic for when CalibrationDirectory just changed.
Declaration
private void OnCalibrationDirectoryChanged(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 CalibrationDirectory is changed.
OnCalibrationDirectoryChanging(string)
Executes the logic for when CalibrationDirectory is changing.
Declaration
private void OnCalibrationDirectoryChanging(string value)
Parameters
| Type | Name | Description |
|---|---|---|
| string | value | The new property value being set. |
Remarks
This method is invoked right before the value of CalibrationDirectory is changed.
OnCalibrationDirectoryChanging(string?, string)
Executes the logic for when CalibrationDirectory is changing.
Declaration
private void OnCalibrationDirectoryChanging(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 CalibrationDirectory is changed.
OnChainSummaryChanged(string)
Executes the logic for when ChainSummary just changed.
Declaration
private void OnChainSummaryChanged(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 ChainSummary is changed.
OnChainSummaryChanged(string?, string)
Executes the logic for when ChainSummary just changed.
Declaration
private void OnChainSummaryChanged(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 ChainSummary is changed.
OnChainSummaryChanging(string)
Executes the logic for when ChainSummary is changing.
Declaration
private void OnChainSummaryChanging(string value)
Parameters
| Type | Name | Description |
|---|---|---|
| string | value | The new property value being set. |
Remarks
This method is invoked right before the value of ChainSummary is changed.
OnChainSummaryChanging(string?, string)
Executes the logic for when ChainSummary is changing.
Declaration
private void OnChainSummaryChanging(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 ChainSummary is changed.
OnDhPitchChanged(float)
Executes the logic for when DhPitch just changed.
Declaration
private void OnDhPitchChanged(float value)
Parameters
| Type | Name | Description |
|---|---|---|
| float | value | The new property value that was set. |
Remarks
This method is invoked right after the value of DhPitch is changed.
OnDhPitchChanged(float, float)
Executes the logic for when DhPitch just changed.
Declaration
private void OnDhPitchChanged(float oldValue, float newValue)
Parameters
| Type | Name | Description |
|---|---|---|
| float | oldValue | The previous property value that was replaced. |
| float | newValue | The new property value that was set. |
Remarks
This method is invoked right after the value of DhPitch is changed.
OnDhPitchChanging(float)
Executes the logic for when DhPitch is changing.
Declaration
private void OnDhPitchChanging(float value)
Parameters
| Type | Name | Description |
|---|---|---|
| float | value | The new property value being set. |
Remarks
This method is invoked right before the value of DhPitch is changed.
OnDhPitchChanging(float, float)
Executes the logic for when DhPitch is changing.
Declaration
private void OnDhPitchChanging(float oldValue, float newValue)
Parameters
| Type | Name | Description |
|---|---|---|
| float | oldValue | The previous property value that is being replaced. |
| float | newValue | The new property value being set. |
Remarks
This method is invoked right before the value of DhPitch is changed.
OnDhRollChanged(float)
Executes the logic for when DhRoll just changed.
Declaration
private void OnDhRollChanged(float value)
Parameters
| Type | Name | Description |
|---|---|---|
| float | value | The new property value that was set. |
Remarks
This method is invoked right after the value of DhRoll is changed.
OnDhRollChanged(float, float)
Executes the logic for when DhRoll just changed.
Declaration
private void OnDhRollChanged(float oldValue, float newValue)
Parameters
| Type | Name | Description |
|---|---|---|
| float | oldValue | The previous property value that was replaced. |
| float | newValue | The new property value that was set. |
Remarks
This method is invoked right after the value of DhRoll is changed.
OnDhRollChanging(float)
Executes the logic for when DhRoll is changing.
Declaration
private void OnDhRollChanging(float value)
Parameters
| Type | Name | Description |
|---|---|---|
| float | value | The new property value being set. |
Remarks
This method is invoked right before the value of DhRoll is changed.
OnDhRollChanging(float, float)
Executes the logic for when DhRoll is changing.
Declaration
private void OnDhRollChanging(float oldValue, float newValue)
Parameters
| Type | Name | Description |
|---|---|---|
| float | oldValue | The previous property value that is being replaced. |
| float | newValue | The new property value being set. |
Remarks
This method is invoked right before the value of DhRoll is changed.
OnDhYawChanged(float)
Executes the logic for when DhYaw just changed.
Declaration
private void OnDhYawChanged(float value)
Parameters
| Type | Name | Description |
|---|---|---|
| float | value | The new property value that was set. |
Remarks
This method is invoked right after the value of DhYaw is changed.
OnDhYawChanged(float, float)
Executes the logic for when DhYaw just changed.
Declaration
private void OnDhYawChanged(float oldValue, float newValue)
Parameters
| Type | Name | Description |
|---|---|---|
| float | oldValue | The previous property value that was replaced. |
| float | newValue | The new property value that was set. |
Remarks
This method is invoked right after the value of DhYaw is changed.
OnDhYawChanging(float)
Executes the logic for when DhYaw is changing.
Declaration
private void OnDhYawChanging(float value)
Parameters
| Type | Name | Description |
|---|---|---|
| float | value | The new property value being set. |
Remarks
This method is invoked right before the value of DhYaw is changed.
OnDhYawChanging(float, float)
Executes the logic for when DhYaw is changing.
Declaration
private void OnDhYawChanging(float oldValue, float newValue)
Parameters
| Type | Name | Description |
|---|---|---|
| float | oldValue | The previous property value that is being replaced. |
| float | newValue | The new property value being set. |
Remarks
This method is invoked right before the value of DhYaw is changed.
OnFaultTextChanged(string)
Executes the logic for when FaultText just changed.
Declaration
private void OnFaultTextChanged(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 FaultText is changed.
OnFaultTextChanged(string?, string)
Executes the logic for when FaultText just changed.
Declaration
private void OnFaultTextChanged(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 FaultText is changed.
OnFaultTextChanging(string)
Executes the logic for when FaultText is changing.
Declaration
private void OnFaultTextChanging(string value)
Parameters
| Type | Name | Description |
|---|---|---|
| string | value | The new property value being set. |
Remarks
This method is invoked right before the value of FaultText is changed.
OnFaultTextChanging(string?, string)
Executes the logic for when FaultText is changing.
Declaration
private void OnFaultTextChanging(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 FaultText is changed.
OnFrameErrorsChanged(int)
Executes the logic for when FrameErrors just changed.
Declaration
private void OnFrameErrorsChanged(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 FrameErrors is changed.
OnFrameErrorsChanged(int, int)
Executes the logic for when FrameErrors just changed.
Declaration
private void OnFrameErrorsChanged(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 FrameErrors is changed.
OnFrameErrorsChanging(int)
Executes the logic for when FrameErrors is changing.
Declaration
private void OnFrameErrorsChanging(int value)
Parameters
| Type | Name | Description |
|---|---|---|
| int | value | The new property value being set. |
Remarks
This method is invoked right before the value of FrameErrors is changed.
OnFrameErrorsChanging(int, int)
Executes the logic for when FrameErrors is changing.
Declaration
private void OnFrameErrorsChanging(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 FrameErrors is changed.
OnFrameRateHzChanged(double)
Executes the logic for when FrameRateHz just changed.
Declaration
private void OnFrameRateHzChanged(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 FrameRateHz is changed.
OnFrameRateHzChanged(double, double)
Executes the logic for when FrameRateHz just changed.
Declaration
private void OnFrameRateHzChanged(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 FrameRateHz is changed.
OnFrameRateHzChanging(double)
Executes the logic for when FrameRateHz is changing.
Declaration
private void OnFrameRateHzChanging(double value)
Parameters
| Type | Name | Description |
|---|---|---|
| double | value | The new property value being set. |
Remarks
This method is invoked right before the value of FrameRateHz is changed.
OnFrameRateHzChanging(double, double)
Executes the logic for when FrameRateHz is changing.
Declaration
private void OnFrameRateHzChanging(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 FrameRateHz is changed.
OnFramesProcessedChanged(int)
Executes the logic for when FramesProcessed just changed.
Declaration
private void OnFramesProcessedChanged(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 FramesProcessed is changed.
OnFramesProcessedChanged(int, int)
Executes the logic for when FramesProcessed just changed.
Declaration
private void OnFramesProcessedChanged(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 FramesProcessed is changed.
OnFramesProcessedChanging(int)
Executes the logic for when FramesProcessed is changing.
Declaration
private void OnFramesProcessedChanging(int value)
Parameters
| Type | Name | Description |
|---|---|---|
| int | value | The new property value being set. |
Remarks
This method is invoked right before the value of FramesProcessed is changed.
OnFramesProcessedChanging(int, int)
Executes the logic for when FramesProcessed is changing.
Declaration
private void OnFramesProcessedChanging(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 FramesProcessed is changed.
OnHasFaultChanged(bool)
Executes the logic for when HasFault just changed.
Declaration
private void OnHasFaultChanged(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 HasFault is changed.
OnHasFaultChanged(bool, bool)
Executes the logic for when HasFault just changed.
Declaration
private void OnHasFaultChanged(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 HasFault is changed.
OnHasFaultChanging(bool)
Executes the logic for when HasFault is changing.
Declaration
private void OnHasFaultChanging(bool value)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | value | The new property value being set. |
Remarks
This method is invoked right before the value of HasFault is changed.
OnHasFaultChanging(bool, bool)
Executes the logic for when HasFault is changing.
Declaration
private void OnHasFaultChanging(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 HasFault is changed.
OnHasFrameErrorsChanged(bool)
Executes the logic for when HasFrameErrors just changed.
Declaration
private void OnHasFrameErrorsChanged(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 HasFrameErrors is changed.
OnHasFrameErrorsChanged(bool, bool)
Executes the logic for when HasFrameErrors just changed.
Declaration
private void OnHasFrameErrorsChanged(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 HasFrameErrors is changed.
OnHasFrameErrorsChanging(bool)
Executes the logic for when HasFrameErrors is changing.
Declaration
private void OnHasFrameErrorsChanging(bool value)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | value | The new property value being set. |
Remarks
This method is invoked right before the value of HasFrameErrors is changed.
OnHasFrameErrorsChanging(bool, bool)
Executes the logic for when HasFrameErrors is changing.
Declaration
private void OnHasFrameErrorsChanging(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 HasFrameErrors is changed.
OnHasProfilesChanged(bool)
Executes the logic for when HasProfiles just changed.
Declaration
private void OnHasProfilesChanged(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 HasProfiles is changed.
OnHasProfilesChanged(bool, bool)
Executes the logic for when HasProfiles just changed.
Declaration
private void OnHasProfilesChanged(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 HasProfiles is changed.
OnHasProfilesChanging(bool)
Executes the logic for when HasProfiles is changing.
Declaration
private void OnHasProfilesChanging(bool value)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | value | The new property value being set. |
Remarks
This method is invoked right before the value of HasProfiles is changed.
OnHasProfilesChanging(bool, bool)
Executes the logic for when HasProfiles is changing.
Declaration
private void OnHasProfilesChanging(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 HasProfiles is changed.
OnHasTopologyWarningChanged(bool)
Executes the logic for when HasTopologyWarning just changed.
Declaration
private void OnHasTopologyWarningChanged(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 HasTopologyWarning is changed.
OnHasTopologyWarningChanged(bool, bool)
Executes the logic for when HasTopologyWarning just changed.
Declaration
private void OnHasTopologyWarningChanged(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 HasTopologyWarning is changed.
OnHasTopologyWarningChanging(bool)
Executes the logic for when HasTopologyWarning is changing.
Declaration
private void OnHasTopologyWarningChanging(bool value)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | value | The new property value being set. |
Remarks
This method is invoked right before the value of HasTopologyWarning is changed.
OnHasTopologyWarningChanging(bool, bool)
Executes the logic for when HasTopologyWarning is changing.
Declaration
private void OnHasTopologyWarningChanging(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 HasTopologyWarning is changed.
OnHealthBadChanged(bool)
Executes the logic for when HealthBad just changed.
Declaration
private void OnHealthBadChanged(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 HealthBad is changed.
OnHealthBadChanged(bool, bool)
Executes the logic for when HealthBad just changed.
Declaration
private void OnHealthBadChanged(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 HealthBad is changed.
OnHealthBadChanging(bool)
Executes the logic for when HealthBad is changing.
Declaration
private void OnHealthBadChanging(bool value)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | value | The new property value being set. |
Remarks
This method is invoked right before the value of HealthBad is changed.
OnHealthBadChanging(bool, bool)
Executes the logic for when HealthBad is changing.
Declaration
private void OnHealthBadChanging(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 HealthBad is changed.
OnHealthOkChanged(bool)
Executes the logic for when HealthOk just changed.
Declaration
private void OnHealthOkChanged(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 HealthOk is changed.
OnHealthOkChanged(bool, bool)
Executes the logic for when HealthOk just changed.
Declaration
private void OnHealthOkChanged(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 HealthOk is changed.
OnHealthOkChanging(bool)
Executes the logic for when HealthOk is changing.
Declaration
private void OnHealthOkChanging(bool value)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | value | The new property value being set. |
Remarks
This method is invoked right before the value of HealthOk is changed.
OnHealthOkChanging(bool, bool)
Executes the logic for when HealthOk is changing.
Declaration
private void OnHealthOkChanging(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 HealthOk is changed.
OnHealthTextChanged(string)
Executes the logic for when HealthText just changed.
Declaration
private void OnHealthTextChanged(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 HealthText is changed.
OnHealthTextChanged(string?, string)
Executes the logic for when HealthText just changed.
Declaration
private void OnHealthTextChanged(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 HealthText is changed.
OnHealthTextChanging(string)
Executes the logic for when HealthText is changing.
Declaration
private void OnHealthTextChanging(string value)
Parameters
| Type | Name | Description |
|---|---|---|
| string | value | The new property value being set. |
Remarks
This method is invoked right before the value of HealthText is changed.
OnHealthTextChanging(string?, string)
Executes the logic for when HealthText is changing.
Declaration
private void OnHealthTextChanging(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 HealthText is changed.
OnHealthWarnChanged(bool)
Executes the logic for when HealthWarn just changed.
Declaration
private void OnHealthWarnChanged(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 HealthWarn is changed.
OnHealthWarnChanged(bool, bool)
Executes the logic for when HealthWarn just changed.
Declaration
private void OnHealthWarnChanged(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 HealthWarn is changed.
OnHealthWarnChanging(bool)
Executes the logic for when HealthWarn is changing.
Declaration
private void OnHealthWarnChanging(bool value)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | value | The new property value being set. |
Remarks
This method is invoked right before the value of HealthWarn is changed.
OnHealthWarnChanging(bool, bool)
Executes the logic for when HealthWarn is changing.
Declaration
private void OnHealthWarnChanging(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 HealthWarn is changed.
OnIsPortOpenChanged(bool)
Executes the logic for when IsPortOpen just changed.
Declaration
private void OnIsPortOpenChanged(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 IsPortOpen is changed.
OnIsPortOpenChanged(bool, bool)
Executes the logic for when IsPortOpen just changed.
Declaration
private void OnIsPortOpenChanged(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 IsPortOpen is changed.
OnIsPortOpenChanging(bool)
Executes the logic for when IsPortOpen is changing.
Declaration
private void OnIsPortOpenChanging(bool value)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | value | The new property value being set. |
Remarks
This method is invoked right before the value of IsPortOpen is changed.
OnIsPortOpenChanging(bool, bool)
Executes the logic for when IsPortOpen is changing.
Declaration
private void OnIsPortOpenChanging(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 IsPortOpen is changed.
OnIsReceivingChanged(bool)
Executes the logic for when IsReceiving just changed.
Declaration
private void OnIsReceivingChanged(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 IsReceiving is changed.
OnIsReceivingChanged(bool, bool)
Executes the logic for when IsReceiving just changed.
Declaration
private void OnIsReceivingChanged(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 IsReceiving is changed.
OnIsReceivingChanging(bool)
Executes the logic for when IsReceiving is changing.
Declaration
private void OnIsReceivingChanging(bool value)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | value | The new property value being set. |
Remarks
This method is invoked right before the value of IsReceiving is changed.
OnIsReceivingChanging(bool, bool)
Executes the logic for when IsReceiving is changing.
Declaration
private void OnIsReceivingChanging(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 IsReceiving is changed.
OnIsSerialModeChanged(bool)
Executes the logic for when IsSerialMode just changed.
Declaration
private void OnIsSerialModeChanged(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 IsSerialMode is changed.
OnIsSerialModeChanged(bool, bool)
Executes the logic for when IsSerialMode just changed.
Declaration
private void OnIsSerialModeChanged(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 IsSerialMode is changed.
OnIsSerialModeChanging(bool)
Executes the logic for when IsSerialMode is changing.
Declaration
private void OnIsSerialModeChanging(bool value)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | value | The new property value being set. |
Remarks
This method is invoked right before the value of IsSerialMode is changed.
OnIsSerialModeChanging(bool, bool)
Executes the logic for when IsSerialMode is changing.
Declaration
private void OnIsSerialModeChanging(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 IsSerialMode is changed.
OnJointFrameLabelChanged(string)
Executes the logic for when JointFrameLabel just changed.
Declaration
private void OnJointFrameLabelChanged(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 JointFrameLabel is changed.
OnJointFrameLabelChanged(string?, string)
Executes the logic for when JointFrameLabel just changed.
Declaration
private void OnJointFrameLabelChanged(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 JointFrameLabel is changed.
OnJointFrameLabelChanging(string)
Executes the logic for when JointFrameLabel is changing.
Declaration
private void OnJointFrameLabelChanging(string value)
Parameters
| Type | Name | Description |
|---|---|---|
| string | value | The new property value being set. |
Remarks
This method is invoked right before the value of JointFrameLabel is changed.
OnJointFrameLabelChanging(string?, string)
Executes the logic for when JointFrameLabel is changing.
Declaration
private void OnJointFrameLabelChanging(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 JointFrameLabel is changed.
OnJointPitchChanged(float)
Executes the logic for when JointPitch just changed.
Declaration
private void OnJointPitchChanged(float value)
Parameters
| Type | Name | Description |
|---|---|---|
| float | value | The new property value that was set. |
Remarks
This method is invoked right after the value of JointPitch is changed.
OnJointPitchChanged(float, float)
Executes the logic for when JointPitch just changed.
Declaration
private void OnJointPitchChanged(float oldValue, float newValue)
Parameters
| Type | Name | Description |
|---|---|---|
| float | oldValue | The previous property value that was replaced. |
| float | newValue | The new property value that was set. |
Remarks
This method is invoked right after the value of JointPitch is changed.
OnJointPitchChanging(float)
Executes the logic for when JointPitch is changing.
Declaration
private void OnJointPitchChanging(float value)
Parameters
| Type | Name | Description |
|---|---|---|
| float | value | The new property value being set. |
Remarks
This method is invoked right before the value of JointPitch is changed.
OnJointPitchChanging(float, float)
Executes the logic for when JointPitch is changing.
Declaration
private void OnJointPitchChanging(float oldValue, float newValue)
Parameters
| Type | Name | Description |
|---|---|---|
| float | oldValue | The previous property value that is being replaced. |
| float | newValue | The new property value being set. |
Remarks
This method is invoked right before the value of JointPitch is changed.
OnJointRollChanged(float)
Executes the logic for when JointRoll just changed.
Declaration
private void OnJointRollChanged(float value)
Parameters
| Type | Name | Description |
|---|---|---|
| float | value | The new property value that was set. |
Remarks
This method is invoked right after the value of JointRoll is changed.
OnJointRollChanged(float, float)
Executes the logic for when JointRoll just changed.
Declaration
private void OnJointRollChanged(float oldValue, float newValue)
Parameters
| Type | Name | Description |
|---|---|---|
| float | oldValue | The previous property value that was replaced. |
| float | newValue | The new property value that was set. |
Remarks
This method is invoked right after the value of JointRoll is changed.
OnJointRollChanging(float)
Executes the logic for when JointRoll is changing.
Declaration
private void OnJointRollChanging(float value)
Parameters
| Type | Name | Description |
|---|---|---|
| float | value | The new property value being set. |
Remarks
This method is invoked right before the value of JointRoll is changed.
OnJointRollChanging(float, float)
Executes the logic for when JointRoll is changing.
Declaration
private void OnJointRollChanging(float oldValue, float newValue)
Parameters
| Type | Name | Description |
|---|---|---|
| float | oldValue | The previous property value that is being replaced. |
| float | newValue | The new property value being set. |
Remarks
This method is invoked right before the value of JointRoll is changed.
OnJointYawChanged(float)
Executes the logic for when JointYaw just changed.
Declaration
private void OnJointYawChanged(float value)
Parameters
| Type | Name | Description |
|---|---|---|
| float | value | The new property value that was set. |
Remarks
This method is invoked right after the value of JointYaw is changed.
OnJointYawChanged(float, float)
Executes the logic for when JointYaw just changed.
Declaration
private void OnJointYawChanged(float oldValue, float newValue)
Parameters
| Type | Name | Description |
|---|---|---|
| float | oldValue | The previous property value that was replaced. |
| float | newValue | The new property value that was set. |
Remarks
This method is invoked right after the value of JointYaw is changed.
OnJointYawChanging(float)
Executes the logic for when JointYaw is changing.
Declaration
private void OnJointYawChanging(float value)
Parameters
| Type | Name | Description |
|---|---|---|
| float | value | The new property value being set. |
Remarks
This method is invoked right before the value of JointYaw is changed.
OnJointYawChanging(float, float)
Executes the logic for when JointYaw is changing.
Declaration
private void OnJointYawChanging(float oldValue, float newValue)
Parameters
| Type | Name | Description |
|---|---|---|
| float | oldValue | The previous property value that is being replaced. |
| float | newValue | The new property value being set. |
Remarks
This method is invoked right before the value of JointYaw is changed.
OnLinkXChanged(float)
Executes the logic for when LinkX just changed.
Declaration
private void OnLinkXChanged(float value)
Parameters
| Type | Name | Description |
|---|---|---|
| float | value | The new property value that was set. |
Remarks
This method is invoked right after the value of LinkX is changed.
OnLinkXChanged(float, float)
Executes the logic for when LinkX just changed.
Declaration
private void OnLinkXChanged(float oldValue, float newValue)
Parameters
| Type | Name | Description |
|---|---|---|
| float | oldValue | The previous property value that was replaced. |
| float | newValue | The new property value that was set. |
Remarks
This method is invoked right after the value of LinkX is changed.
OnLinkXChanging(float)
Executes the logic for when LinkX is changing.
Declaration
private void OnLinkXChanging(float value)
Parameters
| Type | Name | Description |
|---|---|---|
| float | value | The new property value being set. |
Remarks
This method is invoked right before the value of LinkX is changed.
OnLinkXChanging(float, float)
Executes the logic for when LinkX is changing.
Declaration
private void OnLinkXChanging(float oldValue, float newValue)
Parameters
| Type | Name | Description |
|---|---|---|
| float | oldValue | The previous property value that is being replaced. |
| float | newValue | The new property value being set. |
Remarks
This method is invoked right before the value of LinkX is changed.
OnLinkYChanged(float)
Executes the logic for when LinkY just changed.
Declaration
private void OnLinkYChanged(float value)
Parameters
| Type | Name | Description |
|---|---|---|
| float | value | The new property value that was set. |
Remarks
This method is invoked right after the value of LinkY is changed.
OnLinkYChanged(float, float)
Executes the logic for when LinkY just changed.
Declaration
private void OnLinkYChanged(float oldValue, float newValue)
Parameters
| Type | Name | Description |
|---|---|---|
| float | oldValue | The previous property value that was replaced. |
| float | newValue | The new property value that was set. |
Remarks
This method is invoked right after the value of LinkY is changed.
OnLinkYChanging(float)
Executes the logic for when LinkY is changing.
Declaration
private void OnLinkYChanging(float value)
Parameters
| Type | Name | Description |
|---|---|---|
| float | value | The new property value being set. |
Remarks
This method is invoked right before the value of LinkY is changed.
OnLinkYChanging(float, float)
Executes the logic for when LinkY is changing.
Declaration
private void OnLinkYChanging(float oldValue, float newValue)
Parameters
| Type | Name | Description |
|---|---|---|
| float | oldValue | The previous property value that is being replaced. |
| float | newValue | The new property value being set. |
Remarks
This method is invoked right before the value of LinkY is changed.
OnLinkZChanged(float)
Executes the logic for when LinkZ just changed.
Declaration
private void OnLinkZChanged(float value)
Parameters
| Type | Name | Description |
|---|---|---|
| float | value | The new property value that was set. |
Remarks
This method is invoked right after the value of LinkZ is changed.
OnLinkZChanged(float, float)
Executes the logic for when LinkZ just changed.
Declaration
private void OnLinkZChanged(float oldValue, float newValue)
Parameters
| Type | Name | Description |
|---|---|---|
| float | oldValue | The previous property value that was replaced. |
| float | newValue | The new property value that was set. |
Remarks
This method is invoked right after the value of LinkZ is changed.
OnLinkZChanging(float)
Executes the logic for when LinkZ is changing.
Declaration
private void OnLinkZChanging(float value)
Parameters
| Type | Name | Description |
|---|---|---|
| float | value | The new property value being set. |
Remarks
This method is invoked right before the value of LinkZ is changed.
OnLinkZChanging(float, float)
Executes the logic for when LinkZ is changing.
Declaration
private void OnLinkZChanging(float oldValue, float newValue)
Parameters
| Type | Name | Description |
|---|---|---|
| float | oldValue | The previous property value that is being replaced. |
| float | newValue | The new property value being set. |
Remarks
This method is invoked right before the value of LinkZ is changed.
OnMaxSegmentChanged(int)
Executes the logic for when MaxSegment just changed.
Declaration
private void OnMaxSegmentChanged(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 MaxSegment is changed.
OnMaxSegmentChanged(int, int)
Executes the logic for when MaxSegment just changed.
Declaration
private void OnMaxSegmentChanged(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 MaxSegment is changed.
OnMaxSegmentChanging(int)
Executes the logic for when MaxSegment is changing.
Declaration
private void OnMaxSegmentChanging(int value)
Parameters
| Type | Name | Description |
|---|---|---|
| int | value | The new property value being set. |
Remarks
This method is invoked right before the value of MaxSegment is changed.
OnMaxSegmentChanging(int, int)
Executes the logic for when MaxSegment is changing.
Declaration
private void OnMaxSegmentChanging(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 MaxSegment is changed.
OnModeLabelChanged(string)
Executes the logic for when ModeLabel just changed.
Declaration
private void OnModeLabelChanged(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 ModeLabel is changed.
OnModeLabelChanged(string?, string)
Executes the logic for when ModeLabel just changed.
Declaration
private void OnModeLabelChanged(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 ModeLabel is changed.
OnModeLabelChanging(string)
Executes the logic for when ModeLabel is changing.
Declaration
private void OnModeLabelChanging(string value)
Parameters
| Type | Name | Description |
|---|---|---|
| string | value | The new property value being set. |
Remarks
This method is invoked right before the value of ModeLabel is changed.
OnModeLabelChanging(string?, string)
Executes the logic for when ModeLabel is changing.
Declaration
private void OnModeLabelChanging(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 ModeLabel is changed.
OnNewProfileNameChanged(string)
Executes the logic for when NewProfileName just changed.
Declaration
private void OnNewProfileNameChanged(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 NewProfileName is changed.
OnNewProfileNameChanged(string?, string)
Executes the logic for when NewProfileName just changed.
Declaration
private void OnNewProfileNameChanged(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 NewProfileName is changed.
OnNewProfileNameChanging(string)
Executes the logic for when NewProfileName is changing.
Declaration
private void OnNewProfileNameChanging(string value)
Parameters
| Type | Name | Description |
|---|---|---|
| string | value | The new property value being set. |
Remarks
This method is invoked right before the value of NewProfileName is changed.
OnNewProfileNameChanging(string?, string)
Executes the logic for when NewProfileName is changing.
Declaration
private void OnNewProfileNameChanging(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 NewProfileName is changed.
OnPendingSegmentCountChanged(int)
Executes the logic for when PendingSegmentCount just changed.
Declaration
private void OnPendingSegmentCountChanged(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 PendingSegmentCount is changed.
OnPendingSegmentCountChanged(int, int)
Executes the logic for when PendingSegmentCount just changed.
Declaration
private void OnPendingSegmentCountChanged(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 PendingSegmentCount is changed.
OnPendingSegmentCountChanging(int)
Executes the logic for when PendingSegmentCount is changing.
Declaration
private void OnPendingSegmentCountChanging(int value)
Parameters
| Type | Name | Description |
|---|---|---|
| int | value | The new property value being set. |
Remarks
This method is invoked right before the value of PendingSegmentCount is changed.
OnPendingSegmentCountChanging(int, int)
Executes the logic for when PendingSegmentCount is changing.
Declaration
private void OnPendingSegmentCountChanging(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 PendingSegmentCount 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.
OnPoseStreamLabelChanged(string)
Executes the logic for when PoseStreamLabel just changed.
Declaration
private void OnPoseStreamLabelChanged(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 PoseStreamLabel is changed.
OnPoseStreamLabelChanged(string?, string)
Executes the logic for when PoseStreamLabel just changed.
Declaration
private void OnPoseStreamLabelChanged(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 PoseStreamLabel is changed.
OnPoseStreamLabelChanging(string)
Executes the logic for when PoseStreamLabel is changing.
Declaration
private void OnPoseStreamLabelChanging(string value)
Parameters
| Type | Name | Description |
|---|---|---|
| string | value | The new property value being set. |
Remarks
This method is invoked right before the value of PoseStreamLabel is changed.
OnPoseStreamLabelChanging(string?, string)
Executes the logic for when PoseStreamLabel is changing.
Declaration
private void OnPoseStreamLabelChanging(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 PoseStreamLabel is changed.
OnProfileCounterChanged(string)
Executes the logic for when ProfileCounter just changed.
Declaration
private void OnProfileCounterChanged(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 ProfileCounter is changed.
OnProfileCounterChanged(string?, string)
Executes the logic for when ProfileCounter just changed.
Declaration
private void OnProfileCounterChanged(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 ProfileCounter is changed.
OnProfileCounterChanging(string)
Executes the logic for when ProfileCounter is changing.
Declaration
private void OnProfileCounterChanging(string value)
Parameters
| Type | Name | Description |
|---|---|---|
| string | value | The new property value being set. |
Remarks
This method is invoked right before the value of ProfileCounter is changed.
OnProfileCounterChanging(string?, string)
Executes the logic for when ProfileCounter is changing.
Declaration
private void OnProfileCounterChanging(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 ProfileCounter is changed.
OnReachCmChanged(float)
Executes the logic for when ReachCm just changed.
Declaration
private void OnReachCmChanged(float value)
Parameters
| Type | Name | Description |
|---|---|---|
| float | value | The new property value that was set. |
Remarks
This method is invoked right after the value of ReachCm is changed.
OnReachCmChanged(float, float)
Executes the logic for when ReachCm just changed.
Declaration
private void OnReachCmChanged(float oldValue, float newValue)
Parameters
| Type | Name | Description |
|---|---|---|
| float | oldValue | The previous property value that was replaced. |
| float | newValue | The new property value that was set. |
Remarks
This method is invoked right after the value of ReachCm is changed.
OnReachCmChanging(float)
Executes the logic for when ReachCm is changing.
Declaration
private void OnReachCmChanging(float value)
Parameters
| Type | Name | Description |
|---|---|---|
| float | value | The new property value being set. |
Remarks
This method is invoked right before the value of ReachCm is changed.
OnReachCmChanging(float, float)
Executes the logic for when ReachCm is changing.
Declaration
private void OnReachCmChanging(float oldValue, float newValue)
Parameters
| Type | Name | Description |
|---|---|---|
| float | oldValue | The previous property value that is being replaced. |
| float | newValue | The new property value being set. |
Remarks
This method is invoked right before the value of ReachCm is changed.
OnSanityHintChanged(string)
Executes the logic for when SanityHint just changed.
Declaration
private void OnSanityHintChanged(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 SanityHint is changed.
OnSanityHintChanged(string?, string)
Executes the logic for when SanityHint just changed.
Declaration
private void OnSanityHintChanged(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 SanityHint is changed.
OnSanityHintChanging(string)
Executes the logic for when SanityHint is changing.
Declaration
private void OnSanityHintChanging(string value)
Parameters
| Type | Name | Description |
|---|---|---|
| string | value | The new property value being set. |
Remarks
This method is invoked right before the value of SanityHint is changed.
OnSanityHintChanging(string?, string)
Executes the logic for when SanityHint is changing.
Declaration
private void OnSanityHintChanging(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 SanityHint is changed.
OnSegmentNameChanged(string)
Executes the logic for when SegmentName just changed.
Declaration
private void OnSegmentNameChanged(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 SegmentName is changed.
OnSegmentNameChanged(string?, string)
Executes the logic for when SegmentName just changed.
Declaration
private void OnSegmentNameChanged(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 SegmentName is changed.
OnSegmentNameChanging(string)
Executes the logic for when SegmentName is changing.
Declaration
private void OnSegmentNameChanging(string value)
Parameters
| Type | Name | Description |
|---|---|---|
| string | value | The new property value being set. |
Remarks
This method is invoked right before the value of SegmentName is changed.
OnSegmentNameChanging(string?, string)
Executes the logic for when SegmentName is changing.
Declaration
private void OnSegmentNameChanging(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 SegmentName is changed.
OnSelectedDhQuaternionTextChanged(string)
Executes the logic for when SelectedDhQuaternionText just changed.
Declaration
private void OnSelectedDhQuaternionTextChanged(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 SelectedDhQuaternionText is changed.
OnSelectedDhQuaternionTextChanged(string?, string)
Executes the logic for when SelectedDhQuaternionText just changed.
Declaration
private void OnSelectedDhQuaternionTextChanged(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 SelectedDhQuaternionText is changed.
OnSelectedDhQuaternionTextChanging(string)
Executes the logic for when SelectedDhQuaternionText is changing.
Declaration
private void OnSelectedDhQuaternionTextChanging(string value)
Parameters
| Type | Name | Description |
|---|---|---|
| string | value | The new property value being set. |
Remarks
This method is invoked right before the value of SelectedDhQuaternionText is changed.
OnSelectedDhQuaternionTextChanging(string?, string)
Executes the logic for when SelectedDhQuaternionText is changing.
Declaration
private void OnSelectedDhQuaternionTextChanging(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 SelectedDhQuaternionText is changed.
OnSelectedParentOptionChanged(ParentOption?)
Executes the logic for when SelectedParentOption just changed.
Declaration
private void OnSelectedParentOptionChanged(ParentOption? value)
Parameters
| Type | Name | Description |
|---|---|---|
| ParentOption | value | The new property value that was set. |
Remarks
This method is invoked right after the value of SelectedParentOption is changed.
OnSelectedParentOptionChanged(ParentOption?, ParentOption?)
Executes the logic for when SelectedParentOption just changed.
Declaration
private void OnSelectedParentOptionChanged(ParentOption? oldValue, ParentOption? newValue)
Parameters
| Type | Name | Description |
|---|---|---|
| ParentOption | oldValue | The previous property value that was replaced. |
| ParentOption | newValue | The new property value that was set. |
Remarks
This method is invoked right after the value of SelectedParentOption is changed.
OnSelectedParentOptionChanging(ParentOption?)
Executes the logic for when SelectedParentOption is changing.
Declaration
private void OnSelectedParentOptionChanging(ParentOption? value)
Parameters
| Type | Name | Description |
|---|---|---|
| ParentOption | value | The new property value being set. |
Remarks
This method is invoked right before the value of SelectedParentOption is changed.
OnSelectedParentOptionChanging(ParentOption?, ParentOption?)
Executes the logic for when SelectedParentOption is changing.
Declaration
private void OnSelectedParentOptionChanging(ParentOption? oldValue, ParentOption? newValue)
Parameters
| Type | Name | Description |
|---|---|---|
| ParentOption | oldValue | The previous property value that is being replaced. |
| ParentOption | newValue | The new property value being set. |
Remarks
This method is invoked right before the value of SelectedParentOption is changed.
OnSelectedProfileChanged(string?)
Executes the logic for when SelectedProfile just changed.
Declaration
private void OnSelectedProfileChanged(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 SelectedProfile is changed.
OnSelectedProfileChanged(string?, string?)
Executes the logic for when SelectedProfile just changed.
Declaration
private void OnSelectedProfileChanged(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 SelectedProfile is changed.
OnSelectedProfileChanging(string?)
Executes the logic for when SelectedProfile is changing.
Declaration
private void OnSelectedProfileChanging(string? value)
Parameters
| Type | Name | Description |
|---|---|---|
| string | value | The new property value being set. |
Remarks
This method is invoked right before the value of SelectedProfile is changed.
OnSelectedProfileChanging(string?, string?)
Executes the logic for when SelectedProfile is changing.
Declaration
private void OnSelectedProfileChanging(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 SelectedProfile is changed.
OnSelectedSegmentChanged(int)
Executes the logic for when SelectedSegment just changed.
Declaration
private void OnSelectedSegmentChanged(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 SelectedSegment is changed.
OnSelectedSegmentChanged(int, int)
Executes the logic for when SelectedSegment just changed.
Declaration
private void OnSelectedSegmentChanged(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 SelectedSegment is changed.
OnSelectedSegmentChanging(int)
Executes the logic for when SelectedSegment is changing.
Declaration
private void OnSelectedSegmentChanging(int value)
Parameters
| Type | Name | Description |
|---|---|---|
| int | value | The new property value being set. |
Remarks
This method is invoked right before the value of SelectedSegment is changed.
OnSelectedSegmentChanging(int, int)
Executes the logic for when SelectedSegment is changing.
Declaration
private void OnSelectedSegmentChanging(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 SelectedSegment is changed.
OnSensorChoiceChanged(int)
Executes the logic for when SensorChoice just changed.
Declaration
private void OnSensorChoiceChanged(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 SensorChoice is changed.
OnSensorChoiceChanged(int, int)
Executes the logic for when SensorChoice just changed.
Declaration
private void OnSensorChoiceChanged(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 SensorChoice is changed.
OnSensorChoiceChanging(int)
Executes the logic for when SensorChoice is changing.
Declaration
private void OnSensorChoiceChanging(int value)
Parameters
| Type | Name | Description |
|---|---|---|
| int | value | The new property value being set. |
Remarks
This method is invoked right before the value of SensorChoice is changed.
OnSensorChoiceChanging(int, int)
Executes the logic for when SensorChoice is changing.
Declaration
private void OnSensorChoiceChanging(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 SensorChoice is changed.
OnSensorCoverageChanged(string)
Executes the logic for when SensorCoverage just changed.
Declaration
private void OnSensorCoverageChanged(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 SensorCoverage is changed.
OnSensorCoverageChanged(string?, string)
Executes the logic for when SensorCoverage just changed.
Declaration
private void OnSensorCoverageChanged(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 SensorCoverage is changed.
OnSensorCoverageChanging(string)
Executes the logic for when SensorCoverage is changing.
Declaration
private void OnSensorCoverageChanging(string value)
Parameters
| Type | Name | Description |
|---|---|---|
| string | value | The new property value being set. |
Remarks
This method is invoked right before the value of SensorCoverage is changed.
OnSensorCoverageChanging(string?, string)
Executes the logic for when SensorCoverage is changing.
Declaration
private void OnSensorCoverageChanging(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 SensorCoverage is changed.
OnSensorIsLiveChanged(bool)
Executes the logic for when SensorIsLive just changed.
Declaration
private void OnSensorIsLiveChanged(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 SensorIsLive is changed.
OnSensorIsLiveChanged(bool, bool)
Executes the logic for when SensorIsLive just changed.
Declaration
private void OnSensorIsLiveChanged(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 SensorIsLive is changed.
OnSensorIsLiveChanging(bool)
Executes the logic for when SensorIsLive is changing.
Declaration
private void OnSensorIsLiveChanging(bool value)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | value | The new property value being set. |
Remarks
This method is invoked right before the value of SensorIsLive is changed.
OnSensorIsLiveChanging(bool, bool)
Executes the logic for when SensorIsLive is changing.
Declaration
private void OnSensorIsLiveChanging(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 SensorIsLive is changed.
OnSensorStatusTextChanged(string)
Executes the logic for when SensorStatusText just changed.
Declaration
private void OnSensorStatusTextChanged(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 SensorStatusText is changed.
OnSensorStatusTextChanged(string?, string)
Executes the logic for when SensorStatusText just changed.
Declaration
private void OnSensorStatusTextChanged(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 SensorStatusText is changed.
OnSensorStatusTextChanging(string)
Executes the logic for when SensorStatusText is changing.
Declaration
private void OnSensorStatusTextChanging(string value)
Parameters
| Type | Name | Description |
|---|---|---|
| string | value | The new property value being set. |
Remarks
This method is invoked right before the value of SensorStatusText is changed.
OnSensorStatusTextChanging(string?, string)
Executes the logic for when SensorStatusText is changing.
Declaration
private void OnSensorStatusTextChanging(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 SensorStatusText is changed.
OnSensorsArrivingChanged(int)
Executes the logic for when SensorsArriving just changed.
Declaration
private void OnSensorsArrivingChanged(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 SensorsArriving is changed.
OnSensorsArrivingChanged(int, int)
Executes the logic for when SensorsArriving just changed.
Declaration
private void OnSensorsArrivingChanged(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 SensorsArriving is changed.
OnSensorsArrivingChanging(int)
Executes the logic for when SensorsArriving is changing.
Declaration
private void OnSensorsArrivingChanging(int value)
Parameters
| Type | Name | Description |
|---|---|---|
| int | value | The new property value being set. |
Remarks
This method is invoked right before the value of SensorsArriving is changed.
OnSensorsArrivingChanging(int, int)
Executes the logic for when SensorsArriving is changing.
Declaration
private void OnSensorsArrivingChanging(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 SensorsArriving is changed.
OnStatusMessageChanged(string)
Executes the logic for when StatusMessage just changed.
Declaration
private void OnStatusMessageChanged(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 StatusMessage is changed.
OnStatusMessageChanged(string?, string)
Executes the logic for when StatusMessage just changed.
Declaration
private void OnStatusMessageChanged(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 StatusMessage is changed.
OnStatusMessageChanging(string)
Executes the logic for when StatusMessage is changing.
Declaration
private void OnStatusMessageChanging(string value)
Parameters
| Type | Name | Description |
|---|---|---|
| string | value | The new property value being set. |
Remarks
This method is invoked right before the value of StatusMessage is changed.
OnStatusMessageChanging(string?, string)
Executes the logic for when StatusMessage is changing.
Declaration
private void OnStatusMessageChanging(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 StatusMessage is changed.
OnSubtitleTextChanged(string)
Executes the logic for when SubtitleText just changed.
Declaration
private void OnSubtitleTextChanged(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 SubtitleText is changed.
OnSubtitleTextChanged(string?, string)
Executes the logic for when SubtitleText just changed.
Declaration
private void OnSubtitleTextChanged(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 SubtitleText is changed.
OnSubtitleTextChanging(string)
Executes the logic for when SubtitleText is changing.
Declaration
private void OnSubtitleTextChanging(string value)
Parameters
| Type | Name | Description |
|---|---|---|
| string | value | The new property value being set. |
Remarks
This method is invoked right before the value of SubtitleText is changed.
OnSubtitleTextChanging(string?, string)
Executes the logic for when SubtitleText is changing.
Declaration
private void OnSubtitleTextChanging(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 SubtitleText is changed.
OnTopologyWarningChanged(string)
Executes the logic for when TopologyWarning just changed.
Declaration
private void OnTopologyWarningChanged(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 TopologyWarning is changed.
OnTopologyWarningChanged(string?, string)
Executes the logic for when TopologyWarning just changed.
Declaration
private void OnTopologyWarningChanged(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 TopologyWarning is changed.
OnTopologyWarningChanging(string)
Executes the logic for when TopologyWarning is changing.
Declaration
private void OnTopologyWarningChanging(string value)
Parameters
| Type | Name | Description |
|---|---|---|
| string | value | The new property value being set. |
Remarks
This method is invoked right before the value of TopologyWarning is changed.
OnTopologyWarningChanging(string?, string)
Executes the logic for when TopologyWarning is changing.
Declaration
private void OnTopologyWarningChanging(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 TopologyWarning is changed.
PopulateSegmentValues()
Reads the selected segment's properties from the block into the editor fields, without letting the resulting change notifications write back into the block.
Declaration
private void PopulateSegmentValues()
RebuildChain()
Rebuilds the strip from the block's parent map: roots first, each followed by its descendants depth-first, then anything unreachable appended as "loose".
Declaration
public void RebuildChain()
Remarks
Derived from GetParentIndex(int) alone. Walking
BodySegment.Child would mean re-deriving each segment's array index by reference
identity, which the block does not expose.
RebuildParentOptions()
Rebuilds the legal-parent list for the selected segment.
Declaration
private void RebuildParentOptions()
RebuildSensorChoices()
Declaration
private void RebuildSensorChoices()
RefreshLive()
Samples every live signal and recomputes the derived state. Called from the view on a shared 10 Hz tick; see the card's code-behind.
Declaration
public void RefreshLive()
RefreshProfiles()
Declaration
private void RefreshProfiles()
ResolveStoreTarget(out string)
Resolves the file Store should write, or returns null and sets
problem to the reason it cannot.
Declaration
private string? ResolveStoreTarget(out string problem)
Parameters
| Type | Name | Description |
|---|---|---|
| string | problem |
Returns
| Type | Description |
|---|---|
| string |
SelectSegment(int)
Selects a segment from a chain-strip row.
Declaration
[RelayCommand]
private void SelectSegment(int index)
Parameters
| Type | Name | Description |
|---|---|---|
| int | index |
SetTopologyWarning(string?)
Declaration
private void SetTopologyWarning(string? text)
Parameters
| Type | Name | Description |
|---|---|---|
| string | text |
SlotLabel(int)
Rebuilds the sensor picker labels, sized to the chain and to ids actually seen.
Declaration
private string SlotLabel(int slot)
Parameters
| Type | Name | Description |
|---|---|---|
| int | slot |
Returns
| Type | Description |
|---|---|
| string |
Remarks
Both halves earn their place. The slot is what a binding and the calibration file mean; the peripheral is the number set on the node that is physically strapped to the participant. Showing only the slot is why the lab protocol has people copy the mapping onto paper before they can read the card at all.
StoreCalibration()
Writes the current chain to a profile: the one named in NewProfileName if there is one, otherwise over SelectedProfile.
Declaration
[RelayCommand]
private void StoreCalibration()
SyncSelection()
Declaration
private void SyncSelection()
ToggleConnection()
Connects or disconnects the serial port.
Declaration
[RelayCommand]
private void ToggleConnection()
UpdateHealth(DateTime, int)
Recomputes the health pill and the fault banner from durable signals only.
Declaration
private void UpdateHealth(DateTime now, int boundCount)
Parameters
| Type | Name | Description |
|---|---|---|
| DateTime | now | |
| int | boundCount |
UpdateJointReadout(HashSet<int>)
Recomputes the joint angles, reach and sanity note for the selected segment.
Declaration
private void UpdateJointReadout(HashSet<int> liveSensors)
Parameters
| Type | Name | Description |
|---|---|---|
| HashSet<int> | liveSensors |
UpdateNodeLabels(ChainNodeViewModel)
Declaration
private void UpdateNodeLabels(ChainNodeViewModel node)
Parameters
| Type | Name | Description |
|---|---|---|
| ChainNodeViewModel | node |