Difficult-Rocket/bin/configs.py

27 lines
449 B
Python
Raw Normal View History

2020-12-31 23:13:11 +08:00
"""
writen by shenjackyuanjie
mail: 3695888@qq.com
"""
2021-01-25 19:23:16 +08:00
import re
2021-01-25 19:23:16 +08:00
def basic_number(Int=0, Float=1, unit1=None, unit2=None) -> list:
if unit2 is None:
unit2 = []
if unit1 is None:
unit1 = []
2020-12-31 23:13:11 +08:00
return [Int, Float, unit1, unit2]
2021-01-25 19:23:16 +08:00
def basic_force() -> list:
2020-12-31 23:13:11 +08:00
return [basic_number(unit1=["N"]), basic_number(unit1=["N"])]
2021-01-01 11:02:44 +08:00
2021-01-25 19:23:16 +08:00
def configs(name) -> dict:
pass
def name_handler(name: str, configs: dict) -> str:
pass