Difficult-Rocket/SRtool/api/scientific_unit.py

43 lines
537 B
Python
Raw Normal View History

# -------------------------------
# Difficult Rocket
2022-06-27 16:51:14 +08:00
# Copyright © 2021-2022 by shenjackyuanjie 3695888@qq.com
# 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
"""
2021-09-28 16:32:38 +08:00
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()