Difficult-Rocket/Difficult_Rocket/api/scientific_unit.py

42 lines
516 B
Python
Raw Normal View History

# -------------------------------
# Difficult Rocket
# Copyright © 2021 by shenjackyuanjie
# All rights reserved
# -------------------------------
"""
writen by shenjackyuanjie
mail: 3695888@qq.com
github: @shenjackyuanjie
gitee: @shenjackyuanjie
"""
2021-09-28 16:32:38 +08:00
class Units:
"""
base class of all units
"""
def __init__(self):
pass
2021-09-28 14:47:24 +08:00
2021-09-28 16:32:38 +08:00
class _Newton(Units):
pass
2021-09-28 16:32:38 +08:00
newton = _Newton()
class _Metre(Units):
pass
2021-09-28 16:32:38 +08:00
metre = _Metre()
class _Second(Units):
pass
2021-09-28 16:32:38 +08:00
second = _Second()