odf_new/docs/v1.0.2.1/需求文档.md
zpc 2b46490d54 docs(odf-v1021): Add optical box rack type specifications and design documentation
- Add design specification for ODF v1.0.2.1 optical box rack type support
- Add requirements document outlining optical box feature scope and constraints
- Add task breakdown for implementation across backend, frontend, and database layers
- Add design mockups for rack list page and optical box detail page layout
- Add requirements document detailing dual-column layout for optical box racks
- Document port naming conventions for optical box (A-1, B-2) vs ODF (1-1, 2-2) formats
- Establish database schema changes for rack_type and port count fields
- Define API contract changes for OdfRacksDto with new type and port count properties
2026-03-31 17:29:38 +08:00

44 lines
1.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# ODF v1.0.2.1 需求文档
## 1. 机架类型扩展
管理后台创建机房内的 ODF 机架时,可选择创建类型:**"ODF机架"** 或 **"光交箱"**。
> 理论上一个机房内所有的机架,都是同一类型。
![机房详情页](设计图.png)
## 2. 机房详情页
- 显示每个机架的类型标识ODF机架 / 光交箱)。
## 3. 机架详情页
- 显示该机架的类型。
## 4. 光交箱机架详情页
在原 ODF 机架详情页基础上进行修改。
![光交箱机架详情页](光交箱机架详情页.png)
### 4.1 布局结构
- 框内**左侧区域**为光交箱端子,**右侧区域**为 ODF 端子。
- 左右两侧的区域背景颜色做区分。
- 左右两侧中间区域有分隔线。
### 4.2 端子数量配置
- 左右两侧的端子数量,在后台创建时可配置。例如:光交箱一侧 16 个ODF 一侧 8 个。
- 若机架类型为"ODF",也可以配置端子数量。
### 4.3 光交箱端子命名规则
- 每行按 A、B、C、D、E、F…… 命名。
- 每行端点以 "A-1""A-2""B-1""B-2" 等命名。
### 4.4 导入导出
- 同步更新导入导出功能,适配新的机架类型和端子结构。