Class MuoviStreamInfo
Observable telemetry model for a Muovi data stream. Bind to this from a device card to display real-time connection status, frame counts, and data loss indicators.
Inherited Members
Namespace: MOSAIC.Components.Devices.Muovi
Assembly: MOSAIC.dll
Syntax
public class MuoviStreamInfo : ObservableObject, INotifyPropertyChanged, INotifyPropertyChanging
Remarks
Shared by both MuoviSingleProbe and MOSAIC.Components.Devices.Muovi blocks.
Fields
_dataLoss
Indicates whether data loss is occurring right now. Resets to
false automatically when consecutive clean samples arrive.
Bind to a warning banner's IsVisible in the UI.
Declaration
[ObservableProperty]
private bool _dataLoss
Field Value
| Type | Description |
|---|---|
| bool |
_deviceName
Display name of the connected device (e.g. "Muovi SyncStation").
Declaration
[ObservableProperty]
private string _deviceName
Field Value
| Type | Description |
|---|---|
| string |
_framesCollected
Running count of successfully decoded frames since connection.
Declaration
[ObservableProperty]
private int _framesCollected
Field Value
| Type | Description |
|---|---|
| int |
_packetsLost
Running count of detected packet losses (ramp counter gaps) since connection.
Declaration
[ObservableProperty]
private int _packetsLost
Field Value
| Type | Description |
|---|---|
| int |
_pipelineStatus
Current pipeline status string (e.g. "Idle", "Streaming", "Disconnected").
Declaration
[ObservableProperty]
private string _pipelineStatus
Field Value
| Type | Description |
|---|---|
| string |
_probesConnected
Number of probes actively contributing data.
Declaration
[ObservableProperty]
private int _probesConnected
Field Value
| Type | Description |
|---|---|
| int |
_totalChannels
Total number of output channels across all probes.
Declaration
[ObservableProperty]
private int _totalChannels
Field Value
| Type | Description |
|---|---|
| int |
Properties
DataLoss
Indicates whether data loss is occurring right now. Resets to
false automatically when consecutive clean samples arrive.
Bind to a warning banner's IsVisible in the UI.
Declaration
[ExcludeFromCodeCoverage]
public bool DataLoss { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
DeviceName
Display name of the connected device (e.g. "Muovi SyncStation").
Declaration
[ExcludeFromCodeCoverage]
public string DeviceName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
FramesCollected
Running count of successfully decoded frames since connection.
Declaration
[ExcludeFromCodeCoverage]
public int FramesCollected { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
PacketsLost
Running count of detected packet losses (ramp counter gaps) since connection.
Declaration
[ExcludeFromCodeCoverage]
public int PacketsLost { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
PipelineStatus
Current pipeline status string (e.g. "Idle", "Streaming", "Disconnected").
Declaration
[ExcludeFromCodeCoverage]
public string PipelineStatus { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ProbesConnected
Number of probes actively contributing data.
Declaration
[ExcludeFromCodeCoverage]
public int ProbesConnected { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
TotalChannels
Total number of output channels across all probes.
Declaration
[ExcludeFromCodeCoverage]
public int TotalChannels { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Methods
OnDataLossChanged(bool)
Executes the logic for when DataLoss just changed.
Declaration
private void OnDataLossChanged(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 DataLoss is changed.
OnDataLossChanged(bool, bool)
Executes the logic for when DataLoss just changed.
Declaration
private void OnDataLossChanged(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 DataLoss is changed.
OnDataLossChanging(bool)
Executes the logic for when DataLoss is changing.
Declaration
private void OnDataLossChanging(bool value)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | value | The new property value being set. |
Remarks
This method is invoked right before the value of DataLoss is changed.
OnDataLossChanging(bool, bool)
Executes the logic for when DataLoss is changing.
Declaration
private void OnDataLossChanging(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 DataLoss is changed.
OnDeviceNameChanged(string)
Executes the logic for when DeviceName just changed.
Declaration
private void OnDeviceNameChanged(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 DeviceName is changed.
OnDeviceNameChanged(string?, string)
Executes the logic for when DeviceName just changed.
Declaration
private void OnDeviceNameChanged(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 DeviceName is changed.
OnDeviceNameChanging(string)
Executes the logic for when DeviceName is changing.
Declaration
private void OnDeviceNameChanging(string value)
Parameters
| Type | Name | Description |
|---|---|---|
| string | value | The new property value being set. |
Remarks
This method is invoked right before the value of DeviceName is changed.
OnDeviceNameChanging(string?, string)
Executes the logic for when DeviceName is changing.
Declaration
private void OnDeviceNameChanging(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 DeviceName is changed.
OnFramesCollectedChanged(int)
Executes the logic for when FramesCollected just changed.
Declaration
private void OnFramesCollectedChanged(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 FramesCollected is changed.
OnFramesCollectedChanged(int, int)
Executes the logic for when FramesCollected just changed.
Declaration
private void OnFramesCollectedChanged(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 FramesCollected is changed.
OnFramesCollectedChanging(int)
Executes the logic for when FramesCollected is changing.
Declaration
private void OnFramesCollectedChanging(int value)
Parameters
| Type | Name | Description |
|---|---|---|
| int | value | The new property value being set. |
Remarks
This method is invoked right before the value of FramesCollected is changed.
OnFramesCollectedChanging(int, int)
Executes the logic for when FramesCollected is changing.
Declaration
private void OnFramesCollectedChanging(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 FramesCollected is changed.
OnPacketsLostChanged(int)
Executes the logic for when PacketsLost just changed.
Declaration
private void OnPacketsLostChanged(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 PacketsLost is changed.
OnPacketsLostChanged(int, int)
Executes the logic for when PacketsLost just changed.
Declaration
private void OnPacketsLostChanged(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 PacketsLost is changed.
OnPacketsLostChanging(int)
Executes the logic for when PacketsLost is changing.
Declaration
private void OnPacketsLostChanging(int value)
Parameters
| Type | Name | Description |
|---|---|---|
| int | value | The new property value being set. |
Remarks
This method is invoked right before the value of PacketsLost is changed.
OnPacketsLostChanging(int, int)
Executes the logic for when PacketsLost is changing.
Declaration
private void OnPacketsLostChanging(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 PacketsLost is changed.
OnPipelineStatusChanged(string)
Executes the logic for when PipelineStatus just changed.
Declaration
private void OnPipelineStatusChanged(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 PipelineStatus is changed.
OnPipelineStatusChanged(string?, string)
Executes the logic for when PipelineStatus just changed.
Declaration
private void OnPipelineStatusChanged(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 PipelineStatus is changed.
OnPipelineStatusChanging(string)
Executes the logic for when PipelineStatus is changing.
Declaration
private void OnPipelineStatusChanging(string value)
Parameters
| Type | Name | Description |
|---|---|---|
| string | value | The new property value being set. |
Remarks
This method is invoked right before the value of PipelineStatus is changed.
OnPipelineStatusChanging(string?, string)
Executes the logic for when PipelineStatus is changing.
Declaration
private void OnPipelineStatusChanging(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 PipelineStatus is changed.
OnProbesConnectedChanged(int)
Executes the logic for when ProbesConnected just changed.
Declaration
private void OnProbesConnectedChanged(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 ProbesConnected is changed.
OnProbesConnectedChanged(int, int)
Executes the logic for when ProbesConnected just changed.
Declaration
private void OnProbesConnectedChanged(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 ProbesConnected is changed.
OnProbesConnectedChanging(int)
Executes the logic for when ProbesConnected is changing.
Declaration
private void OnProbesConnectedChanging(int value)
Parameters
| Type | Name | Description |
|---|---|---|
| int | value | The new property value being set. |
Remarks
This method is invoked right before the value of ProbesConnected is changed.
OnProbesConnectedChanging(int, int)
Executes the logic for when ProbesConnected is changing.
Declaration
private void OnProbesConnectedChanging(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 ProbesConnected is changed.
OnTotalChannelsChanged(int)
Executes the logic for when TotalChannels just changed.
Declaration
private void OnTotalChannelsChanged(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 TotalChannels is changed.
OnTotalChannelsChanged(int, int)
Executes the logic for when TotalChannels just changed.
Declaration
private void OnTotalChannelsChanged(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 TotalChannels is changed.
OnTotalChannelsChanging(int)
Executes the logic for when TotalChannels is changing.
Declaration
private void OnTotalChannelsChanging(int value)
Parameters
| Type | Name | Description |
|---|---|---|
| int | value | The new property value being set. |
Remarks
This method is invoked right before the value of TotalChannels is changed.
OnTotalChannelsChanging(int, int)
Executes the logic for when TotalChannels is changing.
Declaration
private void OnTotalChannelsChanging(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 TotalChannels is changed.
Reset()
Resets all counters and status fields to their initial values. Call when disconnecting or preparing for a new session.
Declaration
public void Reset()