├── C# .NET ├── .gitignore ├── Basic Streaming .NET.sln ├── Basic Streaming .NET │ ├── App.config │ ├── App.xaml │ ├── App.xaml.cs │ ├── Basic Streaming .NET.csproj │ ├── DeviceStreaming.xaml │ ├── DeviceStreaming.xaml.cs │ ├── MainWindow.xaml │ ├── MainWindow.xaml.cs │ ├── Models │ │ ├── Mode.cs │ │ ├── SensorModel.cs │ │ └── StreamInfoModel.cs │ ├── Properties │ │ ├── AssemblyInfo.cs │ │ ├── Resources.Designer.cs │ │ ├── Resources.resx │ │ ├── Settings.Designer.cs │ │ └── Settings.settings │ ├── ViewModels │ │ ├── ModesListVM.cs │ │ ├── SensorListItemVM.cs │ │ └── StreamInfoVM.cs │ ├── Views │ │ ├── LoadingIcon.xaml │ │ ├── LoadingIcon.xaml.cs │ │ ├── PairSensor.xaml │ │ ├── PairSensor.xaml.cs │ │ ├── ScannedSensors.xaml │ │ ├── ScannedSensors.xaml.cs │ │ ├── SensorListItem.xaml │ │ ├── SensorListItem.xaml.cs │ │ ├── StreamInfo.xaml │ │ ├── StreamInfo.xaml.cs │ │ ├── UserMessage.xaml │ │ └── UserMessage.xaml.cs │ └── packages.config ├── DelsysAPI │ ├── Delsys.Drivers.1.2.2.110-main.nupkg │ ├── Delsys.Signals.2.0.0.17-main.nupkg │ └── DelsysAPI.2.8.1.1051-Main.nupkg ├── NuGet.Config ├── README.md └── SiUSBXp.dll ├── File Reading Examples ├── C# API │ ├── Delsys.FileManager.dll │ ├── Delsys.FileReader.dll │ ├── FileReader.dll │ ├── FileReading_Example.ipynb │ ├── Forearm Pronation & Supination_1.shpf │ ├── Forearm_Pronation_Supination_1.delsys │ ├── Forearm_Pronation_Supination_1.shpf │ └── README.md ├── MATLAB API │ ├── Channel.m │ ├── Component.m │ ├── DelsysFile.m │ ├── FileReader.m │ ├── FileReader_Example.mlx │ ├── Forearm_Pronation_Supination_1.delsys │ ├── Forearm_Pronation_Supination_1.shpf │ ├── README.md │ └── dependencies │ │ ├── Delsys.FileManager.dll │ │ ├── Delsys.FileManager.runtimeconfig.json │ │ ├── Delsys.FileReader.dll │ │ ├── Humanizer.dll │ │ ├── Microsoft.Data.Sqlite.dll │ │ ├── Microsoft.DotNet.PlatformAbstractions.dll │ │ ├── Microsoft.EntityFrameworkCore.Abstractions.dll │ │ ├── Microsoft.EntityFrameworkCore.Design.dll │ │ ├── Microsoft.EntityFrameworkCore.Relational.dll │ │ ├── Microsoft.EntityFrameworkCore.Sqlite.dll │ │ ├── Microsoft.EntityFrameworkCore.dll │ │ ├── Microsoft.Extensions.Caching.Abstractions.dll │ │ ├── Microsoft.Extensions.Caching.Memory.dll │ │ ├── Microsoft.Extensions.Configuration.Abstractions.dll │ │ ├── Microsoft.Extensions.DependencyInjection.Abstractions.dll │ │ ├── Microsoft.Extensions.DependencyInjection.dll │ │ ├── Microsoft.Extensions.DependencyModel.dll │ │ ├── Microsoft.Extensions.Logging.Abstractions.dll │ │ ├── Microsoft.Extensions.Logging.dll │ │ ├── Microsoft.Extensions.Options.dll │ │ ├── Microsoft.Extensions.Primitives.dll │ │ ├── SQLitePCLRaw.batteries_v2.dll │ │ ├── SQLitePCLRaw.core.dll │ │ ├── SQLitePCLRaw.nativelibrary.dll │ │ ├── SQLitePCLRaw.provider.dynamic_cdecl.dll │ │ ├── e_sqlite3.dll │ │ └── runtimes │ │ ├── alpine-x64 │ │ └── native │ │ │ └── libe_sqlite3.so │ │ ├── linux-arm │ │ └── native │ │ │ └── libe_sqlite3.so │ │ ├── linux-arm64 │ │ └── native │ │ │ └── libe_sqlite3.so │ │ ├── linux-armel │ │ └── native │ │ │ └── libe_sqlite3.so │ │ ├── linux-mips64 │ │ └── native │ │ │ └── libe_sqlite3.so │ │ ├── linux-musl-x64 │ │ └── native │ │ │ └── libe_sqlite3.so │ │ ├── linux-x64 │ │ └── native │ │ │ └── libe_sqlite3.so │ │ ├── linux-x86 │ │ └── native │ │ │ └── libe_sqlite3.so │ │ ├── osx-x64 │ │ └── native │ │ │ └── libe_sqlite3.dylib │ │ ├── win-arm │ │ └── native │ │ │ └── e_sqlite3.dll │ │ ├── win-arm64 │ │ └── native │ │ │ └── e_sqlite3.dll │ │ ├── win-x64 │ │ └── native │ │ │ └── e_sqlite3.dll │ │ └── win-x86 │ │ └── native │ │ └── e_sqlite3.dll └── Python API │ ├── Channel.py │ ├── Component.py │ ├── DelsysFile.py │ ├── File_Reader.py │ ├── File_Reader_Example.ipynb │ ├── Forearm_Pronation_Supination_1.delsys │ ├── Forearm_Pronation_Supination_1.shpf │ ├── README.md │ ├── Setup_Configuration.py │ ├── dependencies │ ├── Delsys.FileManager.dll │ ├── Delsys.FileManager.runtimeconfig.json │ ├── Delsys.FileReader.dll │ ├── Humanizer.dll │ ├── Microsoft.Data.Sqlite.dll │ ├── Microsoft.DotNet.PlatformAbstractions.dll │ ├── Microsoft.EntityFrameworkCore.Abstractions.dll │ ├── Microsoft.EntityFrameworkCore.Design.dll │ ├── Microsoft.EntityFrameworkCore.Relational.dll │ ├── Microsoft.EntityFrameworkCore.Sqlite.dll │ ├── Microsoft.EntityFrameworkCore.dll │ ├── Microsoft.Extensions.Caching.Abstractions.dll │ ├── Microsoft.Extensions.Caching.Memory.dll │ ├── Microsoft.Extensions.Configuration.Abstractions.dll │ ├── Microsoft.Extensions.DependencyInjection.Abstractions.dll │ ├── Microsoft.Extensions.DependencyInjection.dll │ ├── Microsoft.Extensions.DependencyModel.dll │ ├── Microsoft.Extensions.Logging.Abstractions.dll │ ├── Microsoft.Extensions.Logging.dll │ ├── Microsoft.Extensions.Options.dll │ ├── Microsoft.Extensions.Primitives.dll │ ├── SQLitePCLRaw.batteries_v2.dll │ ├── SQLitePCLRaw.core.dll │ ├── SQLitePCLRaw.nativelibrary.dll │ ├── SQLitePCLRaw.provider.dynamic_cdecl.dll │ ├── e_sqlite3.dll │ └── runtimes │ │ ├── alpine-x64 │ │ └── native │ │ │ └── libe_sqlite3.so │ │ ├── linux-arm │ │ └── native │ │ │ └── libe_sqlite3.so │ │ ├── linux-arm64 │ │ └── native │ │ │ └── libe_sqlite3.so │ │ ├── linux-armel │ │ └── native │ │ │ └── libe_sqlite3.so │ │ ├── linux-mips64 │ │ └── native │ │ │ └── libe_sqlite3.so │ │ ├── linux-musl-x64 │ │ └── native │ │ │ └── libe_sqlite3.so │ │ ├── linux-x64 │ │ └── native │ │ │ └── libe_sqlite3.so │ │ ├── linux-x86 │ │ └── native │ │ │ └── libe_sqlite3.so │ │ ├── osx-x64 │ │ └── native │ │ │ └── libe_sqlite3.dylib │ │ ├── win-arm │ │ └── native │ │ │ └── e_sqlite3.dll │ │ ├── win-arm64 │ │ └── native │ │ │ └── e_sqlite3.dll │ │ ├── win-x64 │ │ └── native │ │ │ └── e_sqlite3.dll │ │ └── win-x86 │ │ └── native │ │ └── e_sqlite3.dll │ └── requirements.txt ├── Python ├── .gitignore ├── AeroPy │ ├── DataManager.py │ └── TrignoBase.py ├── DataCollector │ ├── CollectDataController.py │ ├── CollectDataWindow.py │ └── CollectionMetricsManagement.py ├── DelsysPythonDemo.py ├── Export │ └── CsvWriter.py ├── Images │ ├── centro_trigger_config.png │ └── delsys.png ├── Plotter │ └── GenericPlot.py ├── README.md ├── StartMenu │ └── StartWindow.py ├── UIControls │ ├── FrameController.py │ └── LandingScreenController.py ├── data.csv ├── requirements.txt └── resources │ ├── BouncyCastle.Crypto.dll │ ├── CentroUSB_32.dll │ ├── CentroUSB_64.dll │ ├── CoreCompat.Portable.Licensing.dll │ ├── DelsysAPI.dll │ ├── MathNet.Filtering.dll │ ├── MathNet.Numerics.dll │ ├── Microsoft.Extensions.Logging.Abstractions.dll │ ├── Newtonsoft.Json.dll │ ├── Plugin.BLE.Abstractions.dll │ ├── Plugin.BLE.dll │ ├── RJCP.Core.Environment.dll │ ├── RJCP.Core.SysCompat.dll │ ├── RJCP.Diagnostics.Trace.dll │ ├── RJCP.IO.Buffer.dll │ ├── RJCP.IO.Device.dll │ ├── RJCP.SerialPortStream.dll │ ├── SiUSBXp_32.dll │ ├── SiUSBXp_64.dll │ ├── Signals.dll │ ├── Stateless.dll │ └── System.IO.Ports.dll ├── README.md └── Unity ├── .gitignore ├── Assets ├── Picture1.png ├── Picture1.png.meta ├── Plugins.meta ├── Plugins │ ├── BouncyCastle.Crypto.dll │ ├── BouncyCastle.Crypto.dll.meta │ ├── Castle.Core.dll │ ├── Castle.Core.dll.meta │ ├── CoreCompat.Portable.Licensing.dll │ ├── CoreCompat.Portable.Licensing.dll.meta │ ├── Delsys.TrignoLite_32.dll │ ├── Delsys.TrignoLite_32.dll.meta │ ├── Delsys.TrignoLite_64.dll │ ├── Delsys.TrignoLite_64.dll.meta │ ├── DelsysAPI.dll │ ├── DelsysAPI.dll.meta │ ├── MathNet.Numerics.dll │ ├── MathNet.Numerics.dll.meta │ ├── Plugin.BLE.Abstractions.dll │ ├── Plugin.BLE.Abstractions.dll.meta │ ├── Plugin.BLE.dll │ ├── Plugin.BLE.dll.meta │ ├── SiUSBXp.dll │ ├── SiUSBXp.dll.meta │ ├── SiUSBXp_32.dll │ ├── SiUSBXp_32.dll.meta │ ├── SiUSBXp_64.dll │ ├── SiUSBXp_64.dll.meta │ ├── Signals.dll │ ├── Signals.dll.meta │ ├── Stateless.dll │ ├── Stateless.dll.meta │ ├── System.CodeDom.dll │ ├── System.CodeDom.dll.meta │ ├── System.Collections.Immutable.dll │ ├── System.Collections.Immutable.dll.meta │ ├── System.ComponentModel.Annotations.dll │ ├── System.ComponentModel.Annotations.dll.meta │ ├── System.IO.Ports.dll │ ├── System.IO.Ports.dll.meta │ ├── System.Management.dll │ ├── System.Management.dll.meta │ ├── System.Reactive.Core.dll │ ├── System.Reactive.Core.dll.meta │ ├── System.Reactive.Interfaces.dll │ ├── System.Reactive.Interfaces.dll.meta │ ├── System.Reactive.Linq.dll │ ├── System.Reactive.Linq.dll.meta │ ├── System.Reactive.PlatformServices.dll │ ├── System.Reactive.PlatformServices.dll.meta │ ├── System.Security.AccessControl.dll │ ├── System.Security.AccessControl.dll.meta │ ├── System.Security.Principal.Windows.dll │ ├── System.Security.Principal.Windows.dll.meta │ ├── TrignoLite.dll │ └── TrignoLite.dll.meta ├── Resources.meta ├── Resources │ ├── BillingMode.json │ ├── BillingMode.json.meta │ ├── delsys-logo-web-retina.png │ └── delsys-logo-web-retina.png.meta ├── Scenes.meta ├── Scenes │ ├── SampleScene.unity │ └── SampleScene.unity.meta ├── Status.png ├── Status.png.meta ├── StreamingAssets.meta ├── StreamingAssets │ ├── SiUSBXp.dll │ └── SiUSBXp.dll.meta ├── UnityExample.cs ├── UnityExample.cs.meta ├── XR.meta ├── XR │ ├── Loaders.meta │ └── Settings.meta ├── delsys-api-logo2-01.png └── delsys-api-logo2-01.png.meta ├── BuildVersions ├── DelsysAPI-UnityExample.exe ├── DelsysAPI-UnityExample_Data │ ├── Managed │ │ ├── Assembly-CSharp.dll │ │ ├── DelsysAPI.dll │ │ ├── MathNet.Numerics.dll │ │ ├── Mono.Posix.dll │ │ ├── Mono.Security.dll │ │ ├── Plugin.BLE.Abstractions.dll │ │ ├── Plugin.BLE.dll │ │ ├── Portable.Licensing.dll │ │ ├── Stateless.dll │ │ ├── System.Collections.Concurrent.dll │ │ ├── System.Collections.dll │ │ ├── System.ComponentModel.Composition.dll │ │ ├── System.Configuration.dll │ │ ├── System.Core.dll │ │ ├── System.Diagnostics.Debug.dll │ │ ├── System.IO.dll │ │ ├── System.Linq.dll │ │ ├── System.Numerics.dll │ │ ├── System.Reflection.dll │ │ ├── System.Resources.ResourceManager.dll │ │ ├── System.Runtime.Extensions.dll │ │ ├── System.Runtime.InteropServices.dll │ │ ├── System.Runtime.Serialization.dll │ │ ├── System.Runtime.dll │ │ ├── System.Security.dll │ │ ├── System.ServiceModel.Internals.dll │ │ ├── System.Text.Encoding.dll │ │ ├── System.Threading.Tasks.Parallel.dll │ │ ├── System.Threading.Tasks.dll │ │ ├── System.Threading.dll │ │ ├── System.Xml.Linq.dll │ │ ├── System.Xml.XDocument.dll │ │ ├── System.Xml.dll │ │ ├── System.dll │ │ ├── Unity.Analytics.DataPrivacy.dll │ │ ├── Unity.TextMeshPro.dll │ │ ├── Unity.Timeline.dll │ │ ├── UnityEngine.AIModule.dll │ │ ├── UnityEngine.ARModule.dll │ │ ├── UnityEngine.AccessibilityModule.dll │ │ ├── UnityEngine.AnimationModule.dll │ │ ├── UnityEngine.AssetBundleModule.dll │ │ ├── UnityEngine.AudioModule.dll │ │ ├── UnityEngine.ClothModule.dll │ │ ├── UnityEngine.ClusterInputModule.dll │ │ ├── UnityEngine.ClusterRendererModule.dll │ │ ├── UnityEngine.CoreModule.dll │ │ ├── UnityEngine.CrashReportingModule.dll │ │ ├── UnityEngine.DirectorModule.dll │ │ ├── UnityEngine.FileSystemHttpModule.dll │ │ ├── UnityEngine.GameCenterModule.dll │ │ ├── UnityEngine.GridModule.dll │ │ ├── UnityEngine.HotReloadModule.dll │ │ ├── UnityEngine.IMGUIModule.dll │ │ ├── UnityEngine.ImageConversionModule.dll │ │ ├── UnityEngine.InputModule.dll │ │ ├── UnityEngine.JSONSerializeModule.dll │ │ ├── UnityEngine.LocalizationModule.dll │ │ ├── UnityEngine.ParticleSystemModule.dll │ │ ├── UnityEngine.PerformanceReportingModule.dll │ │ ├── UnityEngine.Physics2DModule.dll │ │ ├── UnityEngine.PhysicsModule.dll │ │ ├── UnityEngine.ProfilerModule.dll │ │ ├── UnityEngine.Purchasing.dll │ │ ├── UnityEngine.ScreenCaptureModule.dll │ │ ├── UnityEngine.SharedInternalsModule.dll │ │ ├── UnityEngine.SpatialTracking.dll │ │ ├── UnityEngine.SpriteMaskModule.dll │ │ ├── UnityEngine.SpriteShapeModule.dll │ │ ├── UnityEngine.StreamingModule.dll │ │ ├── UnityEngine.StyleSheetsModule.dll │ │ ├── UnityEngine.SubstanceModule.dll │ │ ├── UnityEngine.TLSModule.dll │ │ ├── UnityEngine.TerrainModule.dll │ │ ├── UnityEngine.TerrainPhysicsModule.dll │ │ ├── UnityEngine.TextCoreModule.dll │ │ ├── UnityEngine.TextRenderingModule.dll │ │ ├── UnityEngine.TilemapModule.dll │ │ ├── UnityEngine.UI.dll │ │ ├── UnityEngine.UIElementsModule.dll │ │ ├── UnityEngine.UIModule.dll │ │ ├── UnityEngine.UNETModule.dll │ │ ├── UnityEngine.UmbraModule.dll │ │ ├── UnityEngine.UnityAnalyticsModule.dll │ │ ├── UnityEngine.UnityConnectModule.dll │ │ ├── UnityEngine.UnityTestProtocolModule.dll │ │ ├── UnityEngine.UnityWebRequestAssetBundleModule.dll │ │ ├── UnityEngine.UnityWebRequestAudioModule.dll │ │ ├── UnityEngine.UnityWebRequestModule.dll │ │ ├── UnityEngine.UnityWebRequestTextureModule.dll │ │ ├── UnityEngine.UnityWebRequestWWWModule.dll │ │ ├── UnityEngine.VFXModule.dll │ │ ├── UnityEngine.VRModule.dll │ │ ├── UnityEngine.VehiclesModule.dll │ │ ├── UnityEngine.VideoModule.dll │ │ ├── UnityEngine.WindModule.dll │ │ ├── UnityEngine.XR.LegacyInputHelpers.dll │ │ ├── UnityEngine.XRModule.dll │ │ ├── UnityEngine.dll │ │ ├── com.unity.multiplayer-hlapi.Runtime.dll │ │ └── mscorlib.dll │ ├── Plugins │ │ └── SiUSBXp.dll │ ├── Resources │ │ ├── unity default resources │ │ └── unity_builtin_extra │ ├── StreamingAssets │ │ └── SiUSBXp.dll │ ├── app.info │ ├── boot.config │ ├── globalgamemanagers │ ├── globalgamemanagers.assets │ ├── level0 │ ├── level0.resS │ ├── resources.assets │ ├── sharedassets0.assets │ └── sharedassets0.assets.resS ├── MonoBleedingEdge │ ├── EmbedRuntime │ │ ├── MonoPosixHelper.dll │ │ └── mono-2.0-bdwgc.dll │ └── etc │ │ └── mono │ │ ├── 2.0 │ │ ├── Browsers │ │ │ └── Compat.browser │ │ ├── DefaultWsdlHelpGenerator.aspx │ │ ├── machine.config │ │ ├── settings.map │ │ └── web.config │ │ ├── 4.0 │ │ ├── Browsers │ │ │ └── Compat.browser │ │ ├── DefaultWsdlHelpGenerator.aspx │ │ ├── machine.config │ │ ├── settings.map │ │ └── web.config │ │ ├── 4.5 │ │ ├── Browsers │ │ │ └── Compat.browser │ │ ├── DefaultWsdlHelpGenerator.aspx │ │ ├── machine.config │ │ ├── settings.map │ │ └── web.config │ │ ├── browscap.ini │ │ ├── config │ │ └── mconfig │ │ └── config.xml ├── UnityCrashHandler32.exe └── UnityPlayer.dll ├── Packages ├── manifest.json └── packages-lock.json ├── ProjectSettings ├── AudioManager.asset ├── ClusterInputManager.asset ├── DynamicsManager.asset ├── EditorBuildSettings.asset ├── EditorSettings.asset ├── GraphicsSettings.asset ├── InputManager.asset ├── MemorySettings.asset ├── NavMeshAreas.asset ├── NetworkManager.asset ├── PackageManagerSettings.asset ├── Physics2DSettings.asset ├── PresetManager.asset ├── ProjectSettings.asset ├── ProjectVersion.txt ├── QualitySettings.asset ├── SceneTemplateSettings.json ├── TagManager.asset ├── TimeManager.asset ├── UnityConnectSettings.asset ├── VFXManager.asset ├── VersionControlSettings.asset ├── XRSettings.asset └── boot.config ├── README.md └── SiUSBXp.dll /C# .NET/Basic Streaming .NET.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio Version 17 4 | VisualStudioVersion = 17.0.31903.59 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Basic Streaming .NET", "Basic Streaming .NET\Basic Streaming .NET.csproj", "{29328E6B-A49C-469A-B4EC-A047B01B9004}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Debug|x64 = Debug|x64 12 | Release|Any CPU = Release|Any CPU 13 | Release|x64 = Release|x64 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {29328E6B-A49C-469A-B4EC-A047B01B9004}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 17 | {29328E6B-A49C-469A-B4EC-A047B01B9004}.Debug|Any CPU.Build.0 = Debug|Any CPU 18 | {29328E6B-A49C-469A-B4EC-A047B01B9004}.Debug|x64.ActiveCfg = Debug|Any CPU 19 | {29328E6B-A49C-469A-B4EC-A047B01B9004}.Debug|x64.Build.0 = Debug|Any CPU 20 | {29328E6B-A49C-469A-B4EC-A047B01B9004}.Release|Any CPU.ActiveCfg = Release|Any CPU 21 | {29328E6B-A49C-469A-B4EC-A047B01B9004}.Release|Any CPU.Build.0 = Release|Any CPU 22 | {29328E6B-A49C-469A-B4EC-A047B01B9004}.Release|x64.ActiveCfg = Release|Any CPU 23 | {29328E6B-A49C-469A-B4EC-A047B01B9004}.Release|x64.Build.0 = Release|Any CPU 24 | EndGlobalSection 25 | GlobalSection(SolutionProperties) = preSolution 26 | HideSolutionNode = FALSE 27 | EndGlobalSection 28 | GlobalSection(ExtensibilityGlobals) = postSolution 29 | SolutionGuid = {54BD3A36-1DCE-4432-A56B-BA4D53F18DD4} 30 | EndGlobalSection 31 | EndGlobal 32 | -------------------------------------------------------------------------------- /C# .NET/Basic Streaming .NET/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /C# .NET/Basic Streaming .NET/App.xaml: -------------------------------------------------------------------------------- 1 |  6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /C# .NET/Basic Streaming .NET/App.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Configuration; 4 | using System.Data; 5 | using System.Linq; 6 | using System.Threading.Tasks; 7 | using System.Windows; 8 | 9 | namespace Basic_Streaming.NET 10 | { 11 | /// 12 | /// Interaction logic for App.xaml 13 | /// 14 | public partial class App : Application 15 | { 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /C# .NET/Basic Streaming .NET/Basic Streaming .NET.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | WinExe 5 | net6.0-windows10.0.17763.0 6 | enable 7 | true 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | false 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /C# .NET/Basic Streaming .NET/MainWindow.xaml.cs: -------------------------------------------------------------------------------- 1 | using DelsysAPI.Pipelines; 2 | using System.Windows; 3 | 4 | 5 | namespace Basic_Streaming.NET 6 | { 7 | /// 8 | /// Interaction logic for MainWindow.xaml 9 | /// 10 | public partial class MainWindow : Window 11 | { 12 | private DeviceStreaming _deviceSteamingUC; 13 | 14 | public MainWindow() 15 | { 16 | InitializeComponent(); 17 | } 18 | 19 | public void clk_DeviceStreaming(object sender, RoutedEventArgs e) 20 | { 21 | MainPanel.Children.Clear(); 22 | _deviceSteamingUC = new DeviceStreaming(this); 23 | MainPanel.Children.Add(_deviceSteamingUC); 24 | } 25 | 26 | public void clk_Exit(object sender, RoutedEventArgs e) 27 | { 28 | System.Windows.Application.Current.Shutdown(); 29 | } 30 | 31 | public void clk_BackButton(object sender, RoutedEventArgs e) 32 | { 33 | MainPanel.Children.Clear(); 34 | 35 | MainPanel.Children.Add(MainWindowBorder); 36 | 37 | System.Diagnostics.Debug.WriteLine("Simulating Stream # of pipeline Ids before removal: " + PipelineController.Instance.PipelineIds.Count); 38 | if (PipelineController.Instance.PipelineIds.Count > 0) 39 | { 40 | PipelineController.Instance.RemovePipeline(0); 41 | } 42 | System.Diagnostics.Debug.WriteLine("Simulating Stream # of pipeline Ids after removal: " + PipelineController.Instance.PipelineIds.Count); 43 | } 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /C# .NET/Basic Streaming .NET/Models/Mode.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace Basic_Streaming.NET.Models 8 | { 9 | public class Mode 10 | { 11 | 12 | public string ModeName { get; set; } 13 | 14 | public int ModeIndex { get; set; } 15 | 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /C# .NET/Basic Streaming .NET/Models/SensorModel.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace Basic_Streaming.NET.Models 9 | { 10 | public class SensorModel : INotifyPropertyChanged 11 | { 12 | 13 | private string _sensorName; 14 | 15 | public string SensorName 16 | { 17 | get { return _sensorName; } 18 | set 19 | { 20 | _sensorName = value; 21 | RaisePropertyChanged("SensorName"); 22 | } 23 | } 24 | 25 | private int _sensorId; 26 | 27 | public int SensorId 28 | { 29 | get { return _sensorId; } 30 | set 31 | { 32 | _sensorId = value; 33 | RaisePropertyChanged("SensorId"); 34 | } 35 | } 36 | 37 | private int _pairNum; 38 | 39 | public int PairNum 40 | { 41 | get { return _pairNum; } 42 | set 43 | { 44 | _pairNum = value; 45 | RaisePropertyChanged("PairNum"); 46 | } 47 | } 48 | 49 | public event PropertyChangedEventHandler PropertyChanged; 50 | 51 | protected void RaisePropertyChanged(string propertyName) 52 | { 53 | PropertyChangedEventHandler handler = PropertyChanged; 54 | if (handler != null) 55 | { 56 | handler(this, new PropertyChangedEventArgs(propertyName)); 57 | } 58 | } 59 | 60 | public override bool Equals(object obj) 61 | { 62 | return base.Equals(obj); 63 | } 64 | 65 | public override int GetHashCode() 66 | { 67 | return base.GetHashCode(); 68 | } 69 | 70 | } 71 | } 72 | -------------------------------------------------------------------------------- /C# .NET/Basic Streaming .NET/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Resources; 3 | using System.Runtime.CompilerServices; 4 | using System.Runtime.InteropServices; 5 | using System.Windows; 6 | 7 | // General Information about an assembly is controlled through the following 8 | // set of attributes. Change these attribute values to modify the information 9 | // associated with an assembly. 10 | [assembly: AssemblyTitle("Basic Streaming .NET")] 11 | [assembly: AssemblyDescription("")] 12 | [assembly: AssemblyConfiguration("")] 13 | [assembly: AssemblyCompany("")] 14 | [assembly: AssemblyProduct("Basic Streaming .NET")] 15 | [assembly: AssemblyCopyright("Copyright © 2019")] 16 | [assembly: AssemblyTrademark("")] 17 | [assembly: AssemblyCulture("")] 18 | 19 | // Setting ComVisible to false makes the types in this assembly not visible 20 | // to COM components. If you need to access a type in this assembly from 21 | // COM, set the ComVisible attribute to true on that type. 22 | [assembly: ComVisible(false)] 23 | 24 | //In order to begin building localizable applications, set 25 | //CultureYouAreCodingWith in your .csproj file 26 | //inside a . For example, if you are using US english 27 | //in your source files, set the to en-US. Then uncomment 28 | //the NeutralResourceLanguage attribute below. Update the "en-US" in 29 | //the line below to match the UICulture setting in the project file. 30 | 31 | //[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)] 32 | 33 | 34 | [assembly: ThemeInfo( 35 | ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located 36 | //(used if a resource is not found in the page, 37 | // or application resource dictionaries) 38 | ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located 39 | //(used if a resource is not found in the page, 40 | // app, or any theme specific resource dictionaries) 41 | )] 42 | 43 | 44 | // Version information for an assembly consists of the following four values: 45 | // 46 | // Major Version 47 | // Minor Version 48 | // Build Number 49 | // Revision 50 | // 51 | // You can specify all the values or you can default the Build and Revision Numbers 52 | // by using the '*' as shown below: 53 | // [assembly: AssemblyVersion("1.0.*")] 54 | [assembly: AssemblyVersion("1.0.0.0")] 55 | [assembly: AssemblyFileVersion("1.0.0.0")] 56 | -------------------------------------------------------------------------------- /C# .NET/Basic Streaming .NET/Properties/Settings.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // Runtime Version:4.0.30319.42000 5 | // 6 | // Changes to this file may cause incorrect behavior and will be lost if 7 | // the code is regenerated. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace Basic_Streaming.NET.Properties { 12 | 13 | 14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.0.3.0")] 16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { 17 | 18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); 19 | 20 | public static Settings Default { 21 | get { 22 | return defaultInstance; 23 | } 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /C# .NET/Basic Streaming .NET/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /C# .NET/Basic Streaming .NET/ViewModels/ModesListVM.cs: -------------------------------------------------------------------------------- 1 | using Basic_Streaming.NET.Models; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace Basic_Streaming.NET.ViewModels 9 | { 10 | 11 | 12 | 13 | public class ModesListVM 14 | { 15 | 16 | public List Modes { get; set; } 17 | 18 | public ModesListVM() 19 | { 20 | 21 | } 22 | 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /C# .NET/Basic Streaming .NET/ViewModels/SensorListItemVM.cs: -------------------------------------------------------------------------------- 1 | using Basic_Streaming.NET.Models; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace Basic_Streaming.NET.ViewModels 9 | { 10 | public class SensorListItemVM 11 | { 12 | public SensorModel Sensor { get; set; } 13 | 14 | public SensorListItemVM() 15 | { 16 | 17 | } 18 | 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /C# .NET/Basic Streaming .NET/ViewModels/StreamInfoVM.cs: -------------------------------------------------------------------------------- 1 | using Basic_Streaming.NET.Models; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace Basic_Streaming.NET.ViewModels 9 | { 10 | public class StreamInfoVM 11 | { 12 | 13 | public StreamInfoModel StreamInfo { get; set; } 14 | 15 | public StreamInfoVM() 16 | { 17 | 18 | } 19 | 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /C# .NET/Basic Streaming .NET/Views/LoadingIcon.xaml: -------------------------------------------------------------------------------- 1 |  10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /C# .NET/Basic Streaming .NET/Views/LoadingIcon.xaml.cs: -------------------------------------------------------------------------------- 1 | using System.Windows; 2 | using System.Windows.Controls; 3 | 4 | namespace Basic_Streaming.NET.Views 5 | { 6 | /// 7 | /// Interaction logic for LoadingIcon.xaml 8 | /// 9 | public partial class LoadingIcon : UserControl 10 | { 11 | 12 | public LoadingIcon(string msg, int[]? IconMargin = null, int[]? msgMargin = null) 13 | { 14 | InitializeComponent(); 15 | LoadMsg.Text = msg; 16 | pairSensorsTextAndIconMarginSettings(msgMargin: msgMargin, IconMargin: IconMargin); 17 | } 18 | 19 | /// 20 | /// Displays message without icon, used when no components are found in scan/pair request 21 | /// 22 | /// 23 | public void JustShowMessage(string msg, int[]? msgMargin = null) 24 | { 25 | this.Dispatcher.Invoke(() => 26 | { 27 | Icon.Visibility = Visibility.Collapsed; 28 | LoadMsg.Text = msg; 29 | }); 30 | pairSensorsTextAndIconMarginSettings(msgONLYMargin: msgMargin); 31 | } 32 | 33 | private void pairSensorsTextAndIconMarginSettings(int[]? msgMargin = null, int[]? IconMargin = null, int[]? msgONLYMargin = null) 34 | { 35 | if (IconMargin != null) 36 | { 37 | Icon.Margin = new Thickness(IconMargin[0], IconMargin[1], IconMargin[2], IconMargin[3]); 38 | } 39 | 40 | if (msgMargin != null) 41 | { 42 | Grid.SetRow(LoadMsg, 0); 43 | LoadMsg.VerticalAlignment = VerticalAlignment.Top; 44 | LoadMsg.Margin = new Thickness(msgMargin[0], msgMargin[1], msgMargin[2], msgMargin[3]); 45 | } 46 | else if (msgONLYMargin == null && msgMargin == null) 47 | { 48 | Grid.SetRow(LoadMsg, 1); 49 | } 50 | 51 | if (msgONLYMargin != null) 52 | { 53 | LoadMsg.Margin = new Thickness(msgONLYMargin[0], msgONLYMargin[1], msgONLYMargin[2], msgONLYMargin[3]); 54 | } 55 | } 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /C# .NET/Basic Streaming .NET/Views/ScannedSensors.xaml: -------------------------------------------------------------------------------- 1 |  8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |