Class DataType
Static data type constants for the Streamlined Input Manager binary protocol.
Inherited Members
Namespace: MOSAIC.Models.Streaming
Assembly: MOSAIC.dll
Syntax
internal static class DataType
Fields
EMG_ARV
EMG average rectified value [0,1].
Declaration
public static readonly byte[] EMG_ARV
Field Value
| Type | Description |
|---|---|
| byte[] |
EMG_RAW
EMG raw signal [0,0].
Declaration
public static readonly byte[] EMG_RAW
Field Value
| Type | Description |
|---|---|
| byte[] |
FMG_ARV
FMG average rectified value [2,1].
Declaration
public static readonly byte[] FMG_ARV
Field Value
| Type | Description |
|---|---|
| byte[] |
FMG_RAW
FMG raw signal [2,0].
Declaration
public static readonly byte[] FMG_RAW
Field Value
| Type | Description |
|---|---|
| byte[] |
Methods
GetAllEntries()
Returns all known protocol entries for UI display.
Declaration
public static IReadOnlyList<(byte Cat, byte Sub, string Label)> GetAllEntries()
Returns
| Type | Description |
|---|---|
| IReadOnlyList<(byte Cat, byte Sub, string Label)> |
GetLabel(byte, byte)
Returns a human-readable label for a data type/subtype pair.
Declaration
public static string GetLabel(byte category, byte subtype)
Parameters
| Type | Name | Description |
|---|---|---|
| byte | category | |
| byte | subtype |
Returns
| Type | Description |
|---|---|
| string |