提交。
This commit is contained in:
4
main.py
4
main.py
@@ -61,7 +61,7 @@ def read_parameter(toml_file_path):
|
||||
|
||||
def egm():
|
||||
if len(sys.argv) < 2:
|
||||
toml_file_path = r"内自500kV-ZCK上相.toml"
|
||||
toml_file_path = r"D:/code/EGM/历史/平乾750kV.toml"
|
||||
else:
|
||||
toml_file_path = sys.argv[1]
|
||||
if not os.path.exists(toml_file_path):
|
||||
@@ -96,7 +96,7 @@ def egm():
|
||||
ground_angels = para.ground_angels
|
||||
# 初始化动画
|
||||
animate = Animation()
|
||||
animate.disable(False)
|
||||
animate.enable(False)
|
||||
# animate.show()
|
||||
for ground_angel in ground_angels:
|
||||
logger.info(f"地面倾角{ground_angel/math.pi*180:.3f}°")
|
||||
|
||||
Reference in New Issue
Block a user