fix: 更新保护角标注文本

This commit is contained in:
dmy
2026-03-04 11:16:02 +08:00
parent 18fc8fcb0e
commit 195beb3520
5 changed files with 5 additions and 5 deletions

View File

@@ -1 +1 @@
1.0.16
1.0.17

View File

@@ -151,7 +151,7 @@ def run_egm(para: Parameter, animation=None) -> dict:
* 180
/ math.pi
)
logger.info(f"地线保护角{shield_angle_at_avg_height:.2f}°")
logger.info(f"地线保护角(平均高处){shield_angle_at_avg_height:.2f}°")
logger.debug(f"最低相防护标识{rg_type}g表示地面c表示下导线")
rated_voltage = para.rated_voltage
logger.info(f"交、直流标识{para.ac_or_dc}")

View File

@@ -1,4 +1,4 @@
version: 1.0.16
version: 1.0.17
company_name: EGM
file_description: EGM Lightning Protection Calculator
product_name: Lightening

View File

@@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>EGM 输电线路绕击跳闸率计算 v1.0.16</title>
<title>EGM 输电线路绕击跳闸率计算 v1.0.17</title>
</head>
<body>
<div id="app"></div>

View File

@@ -368,7 +368,7 @@ const drawShieldingAngle = (range: ReturnType<typeof calculateRange>) => {
ctx.stroke()
// 绘制标注文字
const labelText = `保护角: ${Math.abs(shieldingAngle).toFixed(2)}°`
const labelText = `保护角(平均高处): ${Math.abs(shieldingAngle).toFixed(2)}°`
ctx.font = 'bold 12px Arial'
// 绘制标注文字