shenjack
85a8fbf8a5
Changes to be committed: modified: Difficult_Rocket/__init__.py modified: Difficult_Rocket/api/Exp/main.py modified: Difficult_Rocket/api/__init__.py modified: Difficult_Rocket/api/calculation.py modified: Difficult_Rocket/api/scientific_unit.py modified: Difficult_Rocket/api/types/SR1/ship.py modified: Difficult_Rocket/api/types/data_type.py modified: Difficult_Rocket/client/__init__.py modified: Difficult_Rocket/crash/__init__.py modified: Difficult_Rocket/guis/format/html.py modified: Difficult_Rocket/mods/__init__.py modified: Difficult_Rocket/utils/new_thread.py modified: Difficult_Rocket/utils/tools.py
43 lines
522 B
Python
43 lines
522 B
Python
# -------------------------------
|
|
# Difficult Rocket
|
|
# Copyright © 2021-2022 by shenjackyuanjie
|
|
# All rights reserved
|
|
# -------------------------------
|
|
|
|
"""
|
|
writen by shenjackyuanjie
|
|
mail: 3695888@qq.com
|
|
github: @shenjackyuanjie
|
|
gitee: @shenjackyuanjie
|
|
"""
|
|
|
|
|
|
class Units:
|
|
"""
|
|
base class of all units
|
|
"""
|
|
|
|
def __init__(self):
|
|
pass
|
|
|
|
|
|
class _Newton(Units):
|
|
pass
|
|
|
|
|
|
newton = _Newton()
|
|
|
|
|
|
class _Metre(Units):
|
|
pass
|
|
|
|
|
|
metre = _Metre()
|
|
|
|
|
|
class _Second(Units):
|
|
pass
|
|
|
|
|
|
second = _Second()
|