- Add displayudc.asp with Dashboard tab containing: - Production Trend chart (daily parts) - OOT Rate Trend chart (daily OOT %) - Machine Utilization chart (top 10 by runtime hours) - Top Operators chart (top 10 by parts produced) - Add tabs for drill-down: Live Activity, Operators, Machines, Parts, Quality/OOT, Timing, Activity Log, Tool Health, Uptime, IT Diagnostics - Add Tool Health section to displaymachine.asp UDC tab: - Summary cards (tools monitored, measurements, OOT count) - Tool status table with health indicators - Recent OOT events display - Add UDC API endpoints in api.asp: - getUDCPartRuns, getUDCOperatorStats, getUDCMachineStats, getUDCManualTiming - Add sql/udctables.sql schema for UDC data storage - Update docs/API.md with UDC endpoint documentation 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
ShopDB Documentation
Last Updated: 2025-12-11 Current Status: Database Migration Complete
Quick Links
| Document | Purpose |
|---|---|
| CLAUDE.md | AI assistant context (start here) |
| QUICK_REFERENCE.md | Cheat sheets, common queries |
| ASP_DEVELOPMENT_GUIDE.md | Dev setup, VBScript patterns |
| STANDARDS.md | Coding standards, security |
| API.md | REST API documentation |
Current Architecture
machines table (unified)
├── Equipment (machinetypeid 1-15, pctypeid IS NULL)
├── PCs (machinetypeid 33-35, pctypeid IS NOT NULL)
└── Network Devices (machinetypeid 16-20)
printers table (separate)
communications table (all network interfaces)
machinerelationships table (PC↔equipment links)
Dev Environment
# Start dev environment
~/start-dev-env.sh
# Check status
~/status-dev-env.sh
# Access application
http://192.168.122.151:8080
# Connect to MySQL
docker exec -it dev-mysql mysql -u root -prootpassword shopdb
Database Views
All views are defined in sql/view_consolidation.sql:
| View | Purpose |
|---|---|
vw_equipment_list |
Equipment with details |
vw_pc_list |
PCs with OS/model info |
vw_printer_list |
Active printers |
vw_network_devices |
Network devices (APs, switches, etc.) |
vw_machine_detail |
Full machine info for detail pages |
vw_active_notifications |
Current notifications |
vw_warranty_status |
Warranty tracking |
Archive
Historical documentation from completed migrations is in archive/:
- Phase 1-4 migration plans and summaries
- Bug fix records
- Session summaries
Maintained By: Development Team