feat: 添加交流/直流标识支持

在参数模型中添加ac_or_dc字段,支持从配置文件中读取交流或直流标识,并在前端界面根据电压等级自动判断显示
This commit is contained in:
dmy
2026-03-02 22:09:46 +08:00
parent d7ed999da6
commit dfb6399073
4 changed files with 19 additions and 1 deletions

View File

@@ -3,6 +3,7 @@
export interface Parameter {
// 基本参数
rated_voltage: string // 额定电压等级 (kV)
ac_or_dc: string // 交流或直流标识,"AC" 或 "DC"
h_c_sag: number // 导线弧垂 (m)
h_g_sag: number // 地线弧垂 (m)
insulator_c_len: number // 导线串子绝缘长度 (m)