# Factory Area Model ## 1. Function Overview The Factory Area Model belongs to the basic module of the MES system. It is used to build the factory areas and production lines for the MES system, providing data support for team management, batches, and environmental control data creation. **Core Functions:** - Factory Area Management: Maintain the addition, deletion, modification, and query of factory areas - Production Line Management: Maintain the addition, deletion, modification, and query of production lines Function Screenshot: ![Factory Model Function Screenshot](/public/image_en/factory_model/图片:工厂模型功能截图.png) ## 2. Term Explanation #### 2.1.1 Factory Modeling Related Terms | Term | Definition | Description | |------|------------|-------------| | Factory Area | Area, production manufacturing area | Used to correspond to production lines | | Production Line | Production Line, production line body | Used to correspond to production teams and production workshops | ## 3. Factory Area Model Structure ### 3.1 Module Hierarchy Description The factory area model structure adopts hierarchical management, from top to bottom: Factory → Production Line. **Module Hierarchy Structure:** ```mermaid flowchart TD A[Factory Area Settings Area] A --> B[Production Line] ``` | Level | Name | Description | |-------|------|-------------| | 1 | Factory | Independent production manufacturing unit | | 2 | Production Line | Specific production line body | ### 3.2 Add/Edit Factory **Operation Steps:** 1. Go to [Production Configuration] → [Factory Area Model] → [Factory Area Settings] 2. Click [Add/Edit Factory] button, select [Add/Edit Factory] button as needed 3. Fill in basic factory information 4. Click [Save] to complete factory creation **Field Description:** | Field | Description | Required | |-------|-------------|----------| | Factory Code | Unique identification code of the factory, usually using abbreviations | Yes | | Factory Name | Full name of the factory, e.g., "** Factory Area" | Yes | | Remarks | Other supplementary information | No | **[Important]** Once the factory code is bound to a production line, it cannot be modified. Please confirm carefully when creating. **Function Screenshot**: ![Add/Edit Factory Screenshot](/public/image_en/factory_model/图片:新增编辑工厂截图.png) ### 3.3 Add/Edit Production Line **Operation Steps:** 1. Go to [Production Configuration] → [Factory Area Model] → [Production Line Settings] 2. Click [Add/Edit Production Line] button, select [Add/Edit Production Line] button as needed 3. Fill in basic production line information 4. Click [Save] to complete production line creation **Field Description:** | Field | Description | Required | |-------|-------------|----------| | Production Line Code | Unique identification code of the production line | Yes | | Production Line Name | Name of the production line, e.g., "** Production Line" | Yes | | Belonging Factory Area | Belonging factory area | Yes | | Remarks | Other supplementary information | No | **[Note]** Once the production line code is bound to a workshop, it cannot be modified. Please confirm carefully when creating. **Function Screenshot**: ![Add/Edit Production Line Screenshot](/public/image_en/factory_model/图片:新增编辑产线截图.png) ### 3.4 Query Operation - Factory **Query Conditions:** | Query Condition | Description | |----------------|-------------| | Name | Fuzzy query by factory area name | | Code | Fuzzy query by factory area code | **Function Screenshot**: ![Factory Model Query Screenshot](/public/image_en/factory_model/图片:工厂模型查询截图.png) ### 3.5 Query Operation - Production Line **Query Conditions:** | Query Condition | Description | |----------------|-------------| | Name | Fuzzy query by production line name | | Code | Fuzzy query by production line code | **Function Screenshot**: ![Production Line Model Query Screenshot](/public/image_en/factory_model/图片:产线模型查询截图.png)