How zukewandile/st10448895-smartsensor works
SensorX is a WPF smart-sensor management application, alongside a small ASP.NET status API. The visible workflows cover account registration/login, gateway connectivity checks, sensor profiles and attachments, and simulated motion scanning with path analysis, hierarchy validation, metrics, and replay. Telemetry and dashboard views are present in the tree, but their implementation was not sampled; their connections are therefore omitted. Edges reflect shown calls or indexed references, not assumed navigation.
Main entry points: MotionScannerWindow.xaml.cs Motion scanner · SignUpWindow.xaml.cs Sign up · FirebaseAuthService.cs Firebase auth · LoginWindow.xaml.cs Login
Components 21
Access and gateway
- Sign up
sensorX/Views/SignUpWindow.xaml.cs - Login
sensorX/Views/LoginWindow.xaml.cs - Firebase auth
sensorX/Services/FirebaseAuthService.cs - Gateway
sensorX/Views/GatewayWindow.xaml.cs - API client
sensorX/Services/ApiClient.cs
Sensor management
- Sensor profiles
sensorX/Views/SensorWindow.xaml.cs - Sensor collection
sensorX/Models/SensorStore.cs - Sensor record
sensorX/Models/Sensor.cs - Attachments view
sensorX/Views/SensorAttachmentsWindow.xaml.cs - Attachment storage
sensorX/Services/AttachmentStorageService.cs - Attachment metadata
sensorX/Models/SensorAttachment.cs - Telemetry view
sensorX/Views/TelemetryWindow.xaml.cs - Dashboard
sensorX/Views/SensorDashBoard.xaml.cs
Motion scanning
- Motion scanner
sensorX/Views/MotionScannerWindow.xaml.cs - Motion points
sensorX/Models/MotionPoint.cs - Motion hierarchy
sensorX/Models/MotionNode.cs - Path analysis
sensorX/Services/MotionPathAnalyzer.cs - Hierarchy validation
sensorX/Services/MotionHierarchyValidator.cs
Status API
- Status endpoints
API-X/Program.cs
Other components
- User
- Firebase
Connections 20
- User → Sign up: enters details
sensorX/Views/SignUpWindow.xaml.cs - Sign up → Firebase auth: creates account
sensorX/Views/SignUpWindow.xaml.cs - Firebase auth → Firebase: sends auth requests
sensorX/Services/FirebaseAuthService.cs - Sign up → Firebase auth: requests verification
sensorX/Views/SignUpWindow.xaml.cs - User → Login: submits credentials
sensorX/Views/LoginWindow.xaml.cs - Login → Firebase auth: authenticates
sensorX/Views/LoginWindow.xaml.cs - Sign up → Gateway: opens
sensorX/Views/SignUpWindow.xaml.cs - Gateway → API client: checks availability
sensorX/Views/GatewayWindow.xaml.cs - API client → Status endpoints: requests scanner status
sensorX/Services/ApiClient.cs - User → Sensor profiles: manages sensors
- Sensor profiles → Sensor collection: reads and updates
sensorX/Views/SensorWindow.xaml.cs - Sensor collection → Sensor record: holds records
sensorX/Models/SensorStore.cs - User → Attachments view: manages files
- Attachments view → Attachment storage: saves files
sensorX/Views/SensorAttachmentsWindow.xaml.cs - Attachment storage → Attachment metadata: returns metadata
sensorX/Services/AttachmentStorageService.cs - User → Motion scanner: starts scan
- Motion scanner → Path analysis: measures path
sensorX/Views/MotionScannerWindow.xaml.cs - Motion scanner → Motion points: records points
sensorX/Views/MotionScannerWindow.xaml.cs - Motion scanner → Motion hierarchy: builds hierarchy
sensorX/Views/MotionScannerWindow.xaml.cs - Motion scanner → Hierarchy validation: validates hierarchy
sensorX/Views/MotionScannerWindow.xaml.cs