How shunnet/daq works
Snet.Iot.Daq is a plugin-based industrial data-acquisition application with WPF desktop and Blazor Server web front ends sharing a cross-platform Core. The principal workflow is configuring projects, devices, and addresses; loading DAQ/MQ plugins; then starting collection and forwarding data through services such as OPC UA and MQTT. The README documents these capabilities, while sampled source confirms key Core, persistence, and Web runtime relationships. Many UI routes and protocol internals were not sampled, so undocumented links are omitted.
Main entry points: Program.cs Blazor Server · App.xaml.cs WPF Desktop · AppStateService.cs Web App State · PluginHandlerCore.cs Plugin Lifecycle
Components 24
User Interfaces
- WPF Desktop
Snet.Iot.Daq/App.xaml.cs - Blazor Server
Snet.Iot.Daq.Web/Program.cs
Configuration
- Shared Core
Snet.Iot.Daq.Core/Core.cs - Project Trees
Snet.Iot.Daq.Core/handler/ProjectHandlerCore.cs - Address Store
Snet.Iot.Daq.Core/handler/AddressStore.cs - Address Models
Snet.Iot.Daq.Core/interface/IAddressModel.cs - Desktop Config
Snet.Iot.Daq/data/GlobalConfigModel.cs - Web App State
Snet.Iot.Daq.Web/Services/AppStateService.cs
Collection Runtime
- Device Runtime
Snet.Iot.Daq.Web/Services/DeviceRuntime.cs - Runtime Manager
Snet.Iot.Daq.Web/Services/DeviceRuntimeManager.cs - DAQ Operations
Snet.Iot.Daq.Core/handler/DqaHandler.cs - MQ Operations
Snet.Iot.Daq.Core/handler/MqHandler.cs - OPC UA Forwarding
Snet.Iot.Daq.Core/handler/UaForwarding.cs
Plugin Management
- Plugin Lifecycle
Snet.Iot.Daq.Core/handler/PluginHandlerCore.cs - Plugin Browser
Snet.Iot.Daq.Core/handler/PluginBrowseHandler.cs - Plugin Downloads
Snet.Iot.Daq.Core/handler/PluginDownloadHandler.cs - Download Jobs
Snet.Iot.Daq.Web/Services/DownloadTaskManager.cs
Web Operations
- Web Authentication
Snet.Iot.Daq.Web/Services/AuthService.cs - Web Data Paths
Snet.Iot.Daq.Web/Services/WebPaths.cs - Operation Logs
Snet.Iot.Daq.Web/Services/OperateLog.cs - System Monitor
Snet.Iot.Daq/utility/SystemMonitoring.cs
Other components
- Operator
- Browser User
- Snet Protocol Services
Connections 31
- Operator → WPF Desktop: configures and starts
README.md - Browser User → Blazor Server: accesses
README.md - WPF Desktop → Shared Core: uses shared logic
README.md - Blazor Server → Shared Core: uses shared logic
README.md - Blazor Server → Web Authentication: authenticates through
Snet.Iot.Daq.Web/Program.cs - Blazor Server → Web App State: registers
Snet.Iot.Daq.Web/Program.cs - Blazor Server → Runtime Manager: registers
Snet.Iot.Daq.Web/Program.cs - Blazor Server → Download Jobs: registers
Snet.Iot.Daq.Web/Program.cs - Web App State → Project Trees: loads and saves
Snet.Iot.Daq.Web/Services/AppStateService.cs - Web App State → Address Store: loads
Snet.Iot.Daq.Web/Services/AppStateService.cs - Web App State → Web Data Paths: uses paths
Snet.Iot.Daq.Web/Services/AppStateService.cs - Runtime Manager → Web App State: syncs projects
Snet.Iot.Daq.Web/Services/DeviceRuntimeManager.cs - Runtime Manager → Device Runtime: creates and configures
Snet.Iot.Daq.Web/Services/DeviceRuntimeManager.cs - Device Runtime → DAQ Operations: runs collection
Snet.Iot.Daq.Web/Services/DeviceRuntime.cs - Device Runtime → MQ Operations: forwards messages
Snet.Iot.Daq.Web/Services/DeviceRuntime.cs - Device Runtime → OPC UA Forwarding: uses forwarding
Snet.Iot.Daq.Web/Services/DeviceRuntime.cs - WPF Desktop → Desktop Config: loads configuration
Snet.Iot.Daq/App.xaml.cs - WPF Desktop → Plugin Lifecycle: manages plugins
Snet.Iot.Daq/App.xaml.cs - WPF Desktop → Project Trees: manages projects
- Plugin Lifecycle → Snet Protocol Services: creates plugin instances
Snet.Iot.Daq.Core/handler/PluginHandlerCore.cs - Plugin Browser → Plugin Downloads: offers downloads
- Download Jobs → Plugin Downloads: downloads packages
Snet.Iot.Daq.Web/Services/DownloadTaskManager.cs - Download Jobs → Plugin Lifecycle: probes and registers
Snet.Iot.Daq.Web/Services/DownloadTaskManager.cs - Plugin Lifecycle → DAQ Operations: supports DAQ plugins
README.md - Plugin Lifecycle → MQ Operations: supports MQ plugins
README.md - DAQ Operations → Snet Protocol Services: communicates with devices
README.md - MQ Operations → Snet Protocol Services: provides MQTT broker
README.md - OPC UA Forwarding → Snet Protocol Services: provides OPC UA
README.md - WPF Desktop → System Monitor: shows system metrics
README.md - Blazor Server → Operation Logs: audits operations
README.md - Address Models → Address Store: models stored addresses
Snet.Iot.Daq.Core/handler/AddressStore.cs