diff --git a/app/__init__.py b/app/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/mqtt_mock.py b/app/mqtt_mock.py similarity index 100% rename from mqtt_mock.py rename to app/mqtt_mock.py diff --git a/mqtt_sender.py b/app/mqtt_sender.py similarity index 100% rename from mqtt_sender.py rename to app/mqtt_sender.py diff --git a/mqtt_subscriber.py b/app/mqtt_subscriber.py similarity index 100% rename from mqtt_subscriber.py rename to app/mqtt_subscriber.py diff --git a/wits_sender.py b/app/wits_sender.py similarity index 100% rename from wits_sender.py rename to app/wits_sender.py diff --git a/data/wits_sample.txt b/data/wits_sample.txt deleted file mode 100644 index d7985df..0000000 --- a/data/wits_sample.txt +++ /dev/null @@ -1,47 +0,0 @@ -&& -01GJ-304-0088 -020 -030 -041 -0520250312.00 -6120000.00 -70 -80.00 -90.00 -100.00 -110.00 -120.00 -130.00 -140.00 -150.00 -160.00 -170.00 -180.00 -190.00 -200 -210.00 -220.00 -230 -240 -250 -260.00 -270.00 -280 -290.00 -300.00 -310.00 -320.00 -330.00 -340.00 -350.00 -360.00 -370 -380 -390.00 -400.00 -410.00 -420.00 -430.00 -440.00 -450.00 -!! diff --git a/install.bat b/install.bat deleted file mode 100644 index d2a62d3..0000000 --- a/install.bat +++ /dev/null @@ -1 +0,0 @@ -pip install pyyaml paho-mqtt \ No newline at end of file diff --git a/model/__init__.py b/model/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/requirements.md b/requirements.md index f109e5b..9b25aec 100644 --- a/requirements.md +++ b/requirements.md @@ -18,4 +18,8 @@ ## 要求 -程序启动入口main.py,使用logging记录日志。 \ No newline at end of file +程序启动入口main.py,使用logging记录日志。 + +将业务对象抽取到model包下。 + +数据库实体放在model包下。 \ No newline at end of file