How noe-zm28/sca-manual works
This is a configurable parking-management application: an operator selects an entry, cashier, or configuration mode, then the system supports vehicle fee calculation and payment, pensioner management and payments, and operational reporting. The sampled code confirms configuration access, tariff calculation, database operations, and printer/email integrations. Several screens and reporting functions are represented by their exact tree paths; their internal call wiring is not shown in the excerpts, so those links are omitted. The README identifies MariaDB and main.py as the database setup and application entry point.
Main entry points: main.py Application entry · ConfigController.py Configuration access · PrinterController.py Ticket printing · Model.py Parking operations
Components 20
Parking workflow
- Application entry
main.py - Vehicle entry
Views/ViewEntrada.py - Cashier screen
Views/ViewCobro.py - Tariff calculation
Controllers/CobroController.py
Pensioners
- Pensioner screens
Views/ViewAgregarPensionado.py - Edit pensioner
Views/ViewModificarPensionado.py - Pension payments
Views/ViewPaidPension.py
Administration
- Configuration panel
Views/ViewPanelConfig.py - Change history
Views/ViewHitoryChanges.py
Shared services
- Domain queries
Models/Queries.py - Parking operations
Models/Model.py - MariaDB
- Database schema
DB/db_base.sql - Configuration access
Controllers/ConfigController.py - Configuration files
Config/default_config.json - Ticket printing
Controllers/PrinterController.py - Email delivery
Controllers/EmailController.py
Other components
- Operator
- USB printer
- SMTP server
Connections 19
- Operator → Application entry: launches
- Application entry → Configuration access: reads mode
- Application entry → Vehicle entry: selects mode
- Application entry → Cashier screen: selects mode
- Application entry → Configuration panel: selects mode
- Cashier screen → Tariff calculation: calculates fee
- Cashier screen → Parking operations: queries operations
- Edit pensioner → Domain queries: updates records
- Edit pensioner → Ticket printing: prints QR
- Domain queries → Parking operations: executes queries
- Parking operations → MariaDB: reads and writes
- Database schema → MariaDB: defines schema
- Tariff calculation → Configuration access: reads tariffs
- Configuration access → Configuration files: reads and writes
- Ticket printing → Configuration access: loads settings
- Ticket printing → Parking operations: records RFID
- Ticket printing → USB printer: prints tickets
- Email delivery → Configuration access: loads settings
- Email delivery → SMTP server: sends mail