diff --git a/MQTT.py b/MQTT.py index 165825a..afb8074 100644 --- a/MQTT.py +++ b/MQTT.py @@ -3,7 +3,7 @@ import time import paho.mqtt.client as mqtt -from src.tool import push_stream, close_stream, update, exec_sh, get_record, get_list_record, get_status +from tool import push_stream, close_stream, update, exec_sh, get_record, get_list_record, get_status import os diff --git a/src/__init__.py b/__init__.py similarity index 100% rename from src/__init__.py rename to __init__.py diff --git a/src/api.py b/api.py similarity index 100% rename from src/api.py rename to api.py diff --git a/src/create_db.py b/create_db.py similarity index 100% rename from src/create_db.py rename to create_db.py diff --git a/src/data_upload.py b/data_upload.py similarity index 100% rename from src/data_upload.py rename to data_upload.py diff --git a/src/db/__init__.py b/db/__init__.py similarity index 100% rename from src/db/__init__.py rename to db/__init__.py diff --git a/src/db/base.py b/db/base.py similarity index 100% rename from src/db/base.py rename to db/base.py diff --git a/src/db/models/__init__.py b/db/models/__init__.py similarity index 100% rename from src/db/models/__init__.py rename to db/models/__init__.py diff --git a/src/db/models/base.py b/db/models/base.py similarity index 100% rename from src/db/models/base.py rename to db/models/base.py diff --git a/src/db/models/lot_data_model.py b/db/models/lot_data_model.py similarity index 100% rename from src/db/models/lot_data_model.py rename to db/models/lot_data_model.py diff --git a/src/db/repository/__init__.py b/db/repository/__init__.py similarity index 100% rename from src/db/repository/__init__.py rename to db/repository/__init__.py diff --git a/src/db/repository/lot_data_repository.py b/db/repository/lot_data_repository.py similarity index 100% rename from src/db/repository/lot_data_repository.py rename to db/repository/lot_data_repository.py diff --git a/src/db/session.py b/db/session.py similarity index 100% rename from src/db/session.py rename to db/session.py diff --git a/src/sensor_to_local.py b/sensor_to_local.py similarity index 100% rename from src/sensor_to_local.py rename to sensor_to_local.py diff --git a/src/sensor_to_server.py b/sensor_to_server.py similarity index 100% rename from src/sensor_to_server.py rename to sensor_to_server.py diff --git a/src/__pycache__/api.cpython-310.pyc b/src/__pycache__/api.cpython-310.pyc deleted file mode 100644 index 9f4f324..0000000 Binary files a/src/__pycache__/api.cpython-310.pyc and /dev/null differ diff --git a/src/__pycache__/tool.cpython-310.pyc b/src/__pycache__/tool.cpython-310.pyc deleted file mode 100644 index de4864f..0000000 Binary files a/src/__pycache__/tool.cpython-310.pyc and /dev/null differ diff --git a/src/db/__pycache__/__init__.cpython-310.pyc b/src/db/__pycache__/__init__.cpython-310.pyc deleted file mode 100644 index 598662a..0000000 Binary files a/src/db/__pycache__/__init__.cpython-310.pyc and /dev/null differ diff --git a/src/db/__pycache__/base.cpython-310.pyc b/src/db/__pycache__/base.cpython-310.pyc deleted file mode 100644 index d5dbc90..0000000 Binary files a/src/db/__pycache__/base.cpython-310.pyc and /dev/null differ diff --git a/src/db/__pycache__/session.cpython-310.pyc b/src/db/__pycache__/session.cpython-310.pyc deleted file mode 100644 index 43e2a44..0000000 Binary files a/src/db/__pycache__/session.cpython-310.pyc and /dev/null differ diff --git a/src/db/models/__pycache__/__init__.cpython-310.pyc b/src/db/models/__pycache__/__init__.cpython-310.pyc deleted file mode 100644 index 32acd6c..0000000 Binary files a/src/db/models/__pycache__/__init__.cpython-310.pyc and /dev/null differ diff --git a/src/db/models/__pycache__/base.cpython-310.pyc b/src/db/models/__pycache__/base.cpython-310.pyc deleted file mode 100644 index 140ba27..0000000 Binary files a/src/db/models/__pycache__/base.cpython-310.pyc and /dev/null differ diff --git a/src/db/models/__pycache__/lot_data_model.cpython-310.pyc b/src/db/models/__pycache__/lot_data_model.cpython-310.pyc deleted file mode 100644 index 1065179..0000000 Binary files a/src/db/models/__pycache__/lot_data_model.cpython-310.pyc and /dev/null differ diff --git a/src/db/repository/__pycache__/__init__.cpython-310.pyc b/src/db/repository/__pycache__/__init__.cpython-310.pyc deleted file mode 100644 index 704bdc1..0000000 Binary files a/src/db/repository/__pycache__/__init__.cpython-310.pyc and /dev/null differ diff --git a/src/db/repository/__pycache__/lot_data_repository.cpython-310.pyc b/src/db/repository/__pycache__/lot_data_repository.cpython-310.pyc deleted file mode 100644 index f2d173f..0000000 Binary files a/src/db/repository/__pycache__/lot_data_repository.cpython-310.pyc and /dev/null differ diff --git a/src/tool.py b/tool.py similarity index 100% rename from src/tool.py rename to tool.py