How piko017/kutangguo-mes works
High-Level Architecture Components
[Client Layer]
• Web Browser (PC)
• Mobile App (Android)
• Touch Screen Interface
• PDA Interface
[Application Layer]
• ktg-admin (Main Application Entry)
• ktg-framework (Core Framework)
• ktg-system (System Management)
• ktg-mes (MES Core Business Logic)
• ktg-quartz (Task Scheduling)
• ktg-print (Printing Service)
• ktg-generator (Code Generator)
[Infrastructure Layer]
• Database
• Redis Cache
• File Storage
Core Business Modules
[MES Core Modules]
• MD (Master Data Management)
• PRO (Production Management)
• QC (Quality Control)
• WM (Warehouse Management)
• DV (Device Management)
• CAL (Calendar/Scheduling)
• TM (Tool Management)
Integration Points and Data Flow
Key integration points:
[External Systems Integration]
• Barcode System
• Printing System
• Report System (UReport)
• WebSocket for Real-time Communication
Detailed Component Relationships
For each major module, show internal components:
Example for Production Module (PRO):
• Process Management
• Route Management
• Work Order Management
• Task Management
• Production Feedback
• Production Planning
Cross-Cutting Concerns
System-wide components:
[Common Services]
• Security/Authentication
• Message Queue
• Logging
• Caching
• File Storage
Key Technical Details
• Database connections
• Cache implementation
• Security boundaries
• API endpoints
• Mobile/Web interfaces
• WebSocket connections for real-time data
• File storage integration
Scalability points
Remember to:
• Use consistent notation
• Related components
• Clear boundaries between modules
• Database schema overview
• Security flow
• Deployment architecture
• Mobile/Touch screen interface architecture