How jianjipan/mes works
MMIS is a WPF-based MES for planning and executing production orders across an automated warehouse, AGV, and production-area equipment. Operators submit orders or manual material moves in the main window; command execution polls database-backed AGV and warehouse queues, while device messages and machine state update progress and records. The README also documents production overview, history and Excel export, warehouse inventory/location management, and standalone equipment control. Several of these capabilities are documented but their detailed implementations were not sampled, so their internal links are not inferred.
Main entry points: MainWindow.xaml.cs MES workspace · DataBaseHandle.cs MES database · AGVMsgHandle.cs AGV workflow · WHMsgHandle.cs Warehouse workflow
Components 21
Operator workflows
- MES workspace
MMIS/MainWindow.xaml.cs - Warehouse locations
MMIS/Assist/KuweiShow.xaml.cs - History export
MMIS/Assist/ExportToExcel.cs
Order orchestration
- Order executor
MMIS/ExecuteOrder.cs - AGV workflow
MMIS/AGVClient/AGVMsgHandle.cs - Warehouse workflow
MMIS/WHClient/WHMsgHandle.cs - Machine state
MMIS/Server/StateMachine.cs
Device communication
- AGV protocol
MMIS/AGVClient/SendPackage.cs - Warehouse protocol
MMIS/WHClient/WHSendPackage.cs - Machine server
MMIS/Server/DTUServer.cs - Machine session
MMIS/Server/DTUSession.cs - Machine messages
MMIS/Server/DTURequestInfo.cs
State and persistence
- MES database
MMIS/Assist/DataBaseHandle.cs - Warehouse positions
MMIS/Assist/WHPosition.cs
Configuration and records
- System settings
MMIS/Config/ConfigClass.cs - XML settings
MMIS/Config/ReadWriteXml.cs - Application logging
MMIS/LogInfoHelp.cs
Other components
- Operator
- AGV
- Automated warehouse
- Production equipment
Connections 25
- Operator → MES workspace: operates
- MES workspace → MES database: records commands
MMIS/Assist/DataBaseHandle.cs - MES workspace → XML settings: loads settings
MMIS/MainWindow.xaml.cs - XML settings → System settings: sets values
MMIS/Config/ReadWriteXml.cs - MES workspace → Machine server: starts server
MMIS/MainWindow.xaml.cs - MES workspace → AGV: connects
MMIS/MainWindow.xaml.cs - MES workspace → Automated warehouse: connects
MMIS/MainWindow.xaml.cs - Order executor → MES database: polls commands
MMIS/ExecuteOrder.cs - AGV workflow → MES database: updates status
MMIS/AGVClient/AGVMsgHandle.cs - Warehouse workflow → MES database: updates inventory
MMIS/WHClient/WHMsgHandle.cs - Machine state → MES database: saves results
MMIS/Server/StateMachine.cs - AGV workflow → AGV protocol: uses messages
MMIS/AGVClient/AGVMsgHandle.cs - AGV workflow → Automated warehouse: requests moves
MMIS/AGVClient/AGVMsgHandle.cs - Warehouse workflow → Warehouse protocol: uses messages
MMIS/WHClient/WHMsgHandle.cs - Warehouse workflow → AGV workflow: notifies workflow
MMIS/WHClient/WHMsgHandle.cs - Machine server → Machine session: hosts sessions
MMIS/Server/DTUServer.cs - Machine session → Machine messages: receives messages
MMIS/Server/DTUSession.cs - Machine state → Production equipment: tracks status
- Warehouse locations → MES database: reads locations
MMIS/Assist/KuweiShow.xaml.cs - Warehouse locations → Warehouse positions: displays positions
MMIS/Assist/KuweiShow.xaml.cs - History export → MES database: exports history
- MES workspace → AGV workflow: coordinates orders
MMIS/MainWindow.xaml.cs - MES workspace → Warehouse workflow: coordinates orders
MMIS/MainWindow.xaml.cs - AGV workflow → Application logging: logs events
MMIS/AGVClient/AGVMsgHandle.cs - Warehouse workflow → Application logging: logs events
MMIS/WHClient/WHMsgHandle.cs