สถาปัตยกรรม
ภาพรวมสถาปัตยกรรมระบบ
โครงสร้างระบบแบ่งเป็น Layer ตั้งแต่ User Interface ไปจนถึง External Integration
สถาปัตยกรรมระบบ (Layered Architecture)
Layer 1 — User Interface (Web Application)
🎫 Queue Screen
⚖️ Scale Screen
🔬 QC Screen
🧮 Pricing Screen
💰 Payment Screen
📊 Dashboard
↕
Layer 2 — Business Logic (Application Services)
Queue Service
Scale Service
QC Service
Pricing Engine
Payment Service
Report Service
↕
Layer 3 — Data Layer
🗄️ Master Database
📋 Transaction DB
📝 Audit Log DB
📁 File Storage
↕
Layer 4 — External Integration
🏦 K-Cash Connect Plus
📷 กล้องวงจรปิด (ลาน)
⚖️ เครื่องชั่งน้ำหนัก
ความสัมพันธ์ระหว่างโมดูล
| โมดูล | เชื่อมต่อกับ | ประเภทข้อมูล |
|---|---|---|
| Queue Management | Scale Management | บัตรคิว → เปิดใบงาน |
| Scale Management | QC Management, Pricing | น้ำหนักสุทธิ → คำนวณราคา |
| QC Management | Pricing Management | %แป้ง → ราคา/ตัน |
| Pricing Management | Payment Management | ยอดเงิน → รายการจ่าย |
| Payment Management | Payment File Generation | รายการ → Bank Text File |
| Payment File Generation | K-Cash Connect Plus | Bank Text File → โอนเงิน |
| All Modules | Audit Log Management | ทุกการกระทำ → Log |