How camposcodinghub/primoautoeletrica works
PRIMOX Workshop is an offline-first automotive workshop ERP. Its documented daily workflow runs from customer and vehicle registration through quoting, work-order conversion, point-of-sale receipt, cash closing, and dashboard follow-up. The graph also preserves the README’s major diagnostic, inventory/purchasing, fiscal, and corporate capabilities. Several feature implementations were not sampled, so those subsystem links are shown as unverified rather than as asserted calls.
Main entry points: App.xaml.cs Desktop application · Program.cs Work-order API · ClientesControl.xaml.cs Customer records · Veiculo.cs Vehicle records
Components 24
Workshop workflow
- Desktop application
PrimoAutoEletrica/App.xaml.cs - Customer records
PrimoAutoEletrica/UserControls/ClientesControl.xaml.cs - Vehicle records
PrimoAutoEletrica/Models/Veiculo.cs - Quotes
PrimoAutoEletrica/UserControls/OrcamentosControl.xaml.cs - Work orders
PrimoAutoEletrica/UserControls/OrdensServicoControl.xaml.cs - Point of sale
PrimoAutoEletrica/UserControls/PDVControl.xaml.cs - Cash closing
PrimoAutoEletrica/Services/CaixaService.cs - Dashboard
PrimoAutoEletrica/UserControls/DashboardControl.xaml.cs
Business operations
- Scheduling and bays
PrimoAutoEletrica/Services/AgendamentoDatabaseService.cs - Inventory
PrimoAutoEletrica/Services/EstoqueOperationalService.cs - Purchasing
PrimoAutoEletrica/Services/GestaoComprasService.cs - Branch transfers
PrimoAutoEletrica/Services/TransferenciaEstoqueService.cs - Fleet management
PrimoAutoEletrica/Services/GestaoFrotasService.cs - Tool control
PrimoAutoEletrica/Services/FerramentaService.cs
Diagnostics and fiscal
- AI diagnostics
PrimoAutoEletrica/Services/AI/AutomotiveDiagnosticRAGService.cs - Guided electrical tests
PrimoAutoEletrica/Services/CalculadoraQuedaTensaoService.cs - Fiscal center
PrimoAutoEletrica/Services/Fiscal/FiscalApplicationService.cs
Application and persistence
- Local database
PrimoAutoEletrica/Services/DatabaseService.cs - Local network sync
PrimoAutoEletrica/Services/LocalSyncService.cs - Work-order API
PrimoAutoEletrica.Api/Program.cs - Work-order use cases
PRIMOX.Application/UseCases/OrdensServico/AbrirOrdemServicoUseCase.cs - SQLite OS repository
PRIMOX.Infrastructure/Persistence/SqliteOrdemServicoRepository.cs
Other components
- Workshop staff
- Fiscal gateway
Connections 23
- Workshop staff → Desktop application: uses
README.md - Desktop application → Customer records: opens
- Customer records → Vehicle records: registers
README.md - Vehicle records → Quotes: enables
README.md - Quotes → Work orders: converts to
README.md - Work orders → Point of sale: receives at
README.md - Point of sale → Cash closing: settles at
README.md - Cash closing → Dashboard: followed on
README.md - Workshop staff → Scheduling and bays: schedules
- Workshop staff → Inventory: manages
- Purchasing → Inventory: replenishes
- Workshop staff → Branch transfers: moves stock
- Workshop staff → Fleet management: manages
- Workshop staff → Tool control: checks out
- Workshop staff → AI diagnostics: consults
- AI diagnostics → Guided electrical tests: supports
- Workshop staff → Fiscal center: issues documents
- Fiscal center → Fiscal gateway: transmits through
README.md - Desktop application → Local database: uses
PrimoAutoEletrica/App.xaml.cs - Desktop application → Local network sync: sends updates
PrimoAutoEletrica/App.xaml.cs - Work-order API → Work-order use cases: registers
PrimoAutoEletrica.Api/Program.cs - Work-order API → SQLite OS repository: registers
PrimoAutoEletrica.Api/Program.cs - Work-order use cases → SQLite OS repository: persists through