How lengocbe/canoto works
CanOTo is a Windows weigh-station application. An operator signs in, captures two stable vehicle weights from a simulator or COM scale, completes a ticket, then previews and prints its two-part slip; the ticket history and audit trail are stored locally. The graph also shows documented catalog, account, configuration, and backup capabilities. Some feature implementations were not sampled, so those nodes use supported enclosing source paths and their links rely on README documentation.
Main entry points: MainForm.cs Weighing workspace · Database.cs SQLite tickets and history · Program.cs Application startup · Scale.cs Scale connection
Components 21
Weighing workflow
- Application startup
source/Program.cs - Weighing workspace
source/MainForm.cs - Scale connection
source/Scale.cs - Frame decoder
source/Scale.cs - Weight stability
source/Scale.cs
Tickets and records
- Ticket model
source/Models.cs - SQLite tickets and history
source/Database.cs - Vehicle and item catalogs
source/Database.cs - Ticket audit
source/Database.cs - Backup and restore
source/Database.cs - Ticket search
source/MainForm.cs
Slip printing
- Slip preview
source/Printing.cs - Slip rendering
source/Printing.cs - Windows printer
Setup and access
- User sign-in
source/Dialogs.cs - Scale and company settings
source/Dialogs.cs - Persistent settings
source/Models.cs - User accounts and passwords
source/Users.cs - Company branding
source/Branding.cs
Other components
- Operator
- COM scale
Connections 24
- Operator → Application startup: starts
README.md - Application startup → User sign-in: opens sign-in
source/Program.cs - User sign-in → User accounts and passwords: authenticates
source/Dialogs.cs - Application startup → Weighing workspace: opens workspace
source/Program.cs - Weighing workspace → Scale connection: connects to
source/MainForm.cs - Scale connection → COM scale: reads serial data
README.md - Scale connection → Frame decoder: decodes frames
source/Scale.cs - Weighing workspace → Weight stability: checks readings
source/MainForm.cs - Weighing workspace → Ticket model: captures weights
README.md - Weighing workspace → SQLite tickets and history: creates and completes tickets
source/MainForm.cs - SQLite tickets and history → Ticket model: persists ticket data
source/Database.cs - Weighing workspace → Vehicle and item catalogs: uses catalogs
README.md - Weighing workspace → Ticket search: searches history
README.md - SQLite tickets and history → Ticket audit: records changes
source/Database.cs - Weighing workspace → Backup and restore: backs up and restores
README.md - Weighing workspace → Slip preview: opens preview
source/MainForm.cs - Slip preview → Slip rendering: renders slip
source/Printing.cs - Weighing workspace → SQLite tickets and history: logs print attempts
source/MainForm.cs - Weighing workspace → Windows printer: sends print job
source/MainForm.cs - Scale and company settings → Persistent settings: saves settings
README.md - Scale and company settings → Company branding: imports logo
source/Dialogs.cs - Slip rendering → Company branding: uses ticket logo
source/Printing.cs - User sign-in → Persistent settings: loads account settings
- Weighing workspace → Scale and company settings: opens configuration
README.md