diff --git a/.gitignore b/.gitignore index 876e814..e86d1c4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ *.pyc *.db -*.cpython-310.pyc \ No newline at end of file +*.cpython-310.pyc +/o \ No newline at end of file diff --git a/Static/Hicent.PNG b/Static/Hicent.PNG new file mode 100644 index 0000000..9782c09 Binary files /dev/null and b/Static/Hicent.PNG differ diff --git a/Static/programIcon.png b/Static/programIcon.png new file mode 100644 index 0000000..76122c1 Binary files /dev/null and b/Static/programIcon.png differ diff --git a/Static/zhjt.ico b/Static/zhjt.ico deleted file mode 100644 index 97e60a1..0000000 Binary files a/Static/zhjt.ico and /dev/null differ diff --git a/log/log.txt b/log/log.txt deleted file mode 100644 index 73456c2..0000000 --- a/log/log.txt +++ /dev/null @@ -1,112 +0,0 @@ -2024-03-13 17:26:51 - [Debug] (:0, ): "gsd files directory: C:/Users/Administrator/Desktop/profibus/GSD" - -2024-03-13 17:26:51 - [Warn ] (:0, ): libpng warning: iCCP: known incorrect sRGB profile -2024-03-13 17:26:51 - [Debug] (:0, ): "bin directory: D:/EnTalk PROFIBUS Manager" - -2024-03-13 17:26:51 - [Debug] (:0, ): "GSD directory: D:/EnTalk PROFIBUS Manager/GSD" - -2024-03-13 17:26:51 - [Debug] (:0, ): gsd file path: "D:/EnTalk PROFIBUS Manager/GSD/3000plus.gsd" - -2024-03-13 17:26:51 - [Debug] (:0, ): gsd file path: "D:/EnTalk PROFIBUS Manager/GSD/asco089c.gsd" - -2024-03-13 17:26:51 - [Debug] (:0, ): gsd file path: "D:/EnTalk PROFIBUS Manager/GSD/AVTR4711(1).gsd" - -2024-03-13 17:26:51 - [Debug] (:0, ): gsd file path: "D:/EnTalk PROFIBUS Manager/GSD/DPSlave.gsd" - -2024-03-13 17:26:51 - [Debug] (:0, ): gsd file path: "D:/EnTalk PROFIBUS Manager/GSD/ET021.gsd" - -2024-03-13 17:26:51 - [Debug] (:0, ): gsd file path: "D:/EnTalk PROFIBUS Manager/GSD/ET025.gsd" - -2024-03-13 17:26:51 - [Debug] (:0, ): gsd file path: "D:/EnTalk PROFIBUS Manager/GSD/ET026.gsd" - -2024-03-13 17:26:51 - [Debug] (:0, ): gsd file path: "D:/EnTalk PROFIBUS Manager/GSD/hen100b7.gsd" - -2024-03-13 17:26:51 - [Debug] (:0, ): gsd file path: "D:/EnTalk PROFIBUS Manager/GSD/hen200b7.gsd" - -2024-03-13 17:26:51 - [Debug] (:0, ): gsd file path: "D:/EnTalk PROFIBUS Manager/GSD/hil_ezr.gsd" - -2024-03-13 17:26:51 - [Debug] (:0, ): gsd file path: "D:/EnTalk PROFIBUS Manager/GSD/KIAG0D0B.gsd" - -2024-03-13 17:26:51 - [Debug] (:0, ): gsd file path: "D:/EnTalk PROFIBUS Manager/GSD/LK239-Free.GSD" - -2024-03-13 17:26:51 - [Debug] (:0, ): gsd file path: "D:/EnTalk PROFIBUS Manager/GSD/LK239-Master.GSD" - -2024-03-13 17:26:51 - [Debug] (:0, ): gsd file path: "D:/EnTalk PROFIBUS Manager/GSD/LK239-Slave.GSD" - -2024-03-13 17:26:51 - [Debug] (:0, ): gsd file path: "D:/EnTalk PROFIBUS Manager/GSD/LK410.GSD" - -2024-03-13 17:26:51 - [Debug] (:0, ): gsd file path: "D:/EnTalk PROFIBUS Manager/GSD/LK411.GSD" - -2024-03-13 17:26:51 - [Debug] (:0, ): gsd file path: "D:/EnTalk PROFIBUS Manager/GSD/LK412.GSD" - -2024-03-13 17:26:51 - [Debug] (:0, ): error in gsd! - -2024-03-13 17:26:51 - [Debug] (:0, ): gsd file path: "D:/EnTalk PROFIBUS Manager/GSD/LK430.GSD" - -2024-03-13 17:26:51 - [Debug] (:0, ): gsd file path: "D:/EnTalk PROFIBUS Manager/GSD/LK432.GSD" - -2024-03-13 17:26:51 - [Debug] (:0, ): gsd file path: "D:/EnTalk PROFIBUS Manager/GSD/LK441.GSD" - -2024-03-13 17:26:51 - [Debug] (:0, ): gsd file path: "D:/EnTalk PROFIBUS Manager/GSD/LK442.GSD" - -2024-03-13 17:26:51 - [Debug] (:0, ): gsd file path: "D:/EnTalk PROFIBUS Manager/GSD/LK511.GSD" - -2024-03-13 17:26:51 - [Debug] (:0, ): gsd file path: "D:/EnTalk PROFIBUS Manager/GSD/LK512.GSD" - -2024-03-13 17:26:51 - [Debug] (:0, ): gsd file path: "D:/EnTalk PROFIBUS Manager/GSD/LK610.GSD" - -2024-03-13 17:26:51 - [Debug] (:0, ): gsd file path: "D:/EnTalk PROFIBUS Manager/GSD/LK616.GSD" - -2024-03-13 17:26:51 - [Debug] (:0, ): gsd file path: "D:/EnTalk PROFIBUS Manager/GSD/LK621.gsd" - -2024-03-13 17:26:51 - [Debug] (:0, ): gsd file path: "D:/EnTalk PROFIBUS Manager/GSD/LK622.GSD" - -2024-03-13 17:26:51 - [Debug] (:0, ): gsd file path: "D:/EnTalk PROFIBUS Manager/GSD/LK710.GSD" - -2024-03-13 17:26:51 - [Debug] (:0, ): gsd file path: "D:/EnTalk PROFIBUS Manager/GSD/LK716.GSD" - -2024-03-13 17:26:51 - [Debug] (:0, ): gsd file path: "D:/EnTalk PROFIBUS Manager/GSD/LK720.GSD" - -2024-03-13 17:26:51 - [Debug] (:0, ): gsd file path: "D:/EnTalk PROFIBUS Manager/GSD/M-IO1.4.GSD" - -2024-03-13 17:26:51 - [Debug] (:0, ): gsd file path: "D:/EnTalk PROFIBUS Manager/GSD/MCPA0B25.gsd" - -2024-03-13 17:26:51 - [Debug] (:0, ): gsd file path: "D:/EnTalk PROFIBUS Manager/GSD/MCYB0C46.gsd" - -2024-03-13 17:26:51 - [Debug] (:0, ): gsd file path: "D:/EnTalk PROFIBUS Manager/GSD/pa139710.gsd" - -2024-03-13 17:26:51 - [Debug] (:0, ): gsd file path: "D:/EnTalk PROFIBUS Manager/GSD/PA_39720.gsd" - -2024-03-13 17:26:51 - [Debug] (:0, ): gsd file path: "D:/EnTalk PROFIBUS Manager/GSD/PBMDMM04.gsd" - -2024-03-13 17:26:51 - [Debug] (:0, ): gsd file path: "D:/EnTalk PROFIBUS Manager/GSD/si01818e.gsd" - -2024-03-13 17:26:51 - [Debug] (:0, ): gsd file path: "D:/EnTalk PROFIBUS Manager/GSD/si04801e.gsd" - -2024-03-13 17:26:51 - [Debug] (:0, ): gsd file path: "D:/EnTalk PROFIBUS Manager/GSD/sip58052.gsd" - -2024-03-13 17:26:51 - [Debug] (:0, ): gsd file path: "D:/EnTalk PROFIBUS Manager/GSD/Xone_DP.gsd" - -2024-03-13 17:26:51 - [Debug] (:0, ): "row count: 0" - -2024-03-13 17:26:51 - [Debug] (:0, ): "row count: 0" - -2024-03-13 17:26:51 - [Debug] (:0, ): application started... -2024-03-13 17:26:51 - [Debug] (:0, ): "row count: 0" - -2024-03-13 17:26:51 - [Debug] (:0, ): "row count: 0" - -2024-03-13 17:26:51 - [Debug] (:0, ): "row count: 0" - -2024-03-13 17:26:51 - [Debug] (:0, ): "row count: 0" - -2024-03-13 17:26:51 - [Debug] (:0, ): "row count: 0" - -2024-03-13 17:26:52 - [Debug] (:0, ): "row count: 0" - -2024-03-13 17:26:52 - [Debug] (:0, ): "row count: 0" - -2024-03-13 17:26:52 - [Debug] (:0, ): "row count: 0" - -2024-03-13 17:26:52 - [Debug] (:0, ): "row count: 0" - diff --git a/model/ClientModel/__init__.py b/model/ClientModel/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/model/ProjectModel/__init__.py b/model/ProjectModel/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/model/__init__.py b/model/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/nuitka.txt b/nuitka.txt new file mode 100644 index 0000000..b088606 --- /dev/null +++ b/nuitka.txt @@ -0,0 +1 @@ +nuitka --windows-disable-console --windows-icon-from-ico=Static\programIcon.png --standalone --mingw64 --show-memory --show-progress --nofollow-import-to=cffi,pycparser,pyserial,pywin32,modbus_tk --enable-plugin=numpy,pyqt5,eventlet,gevent,multiprocessing --include-package=windoweffect,model,protocol,UI,utils,uuid,logging,importlib --output-dir=o bin.py \ No newline at end of file diff --git a/protocol/BatterySerial/__init__.py b/protocol/BatterySerial/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/protocol/ModBus/__init__.py b/protocol/ModBus/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/protocol/__init__.py b/protocol/__init__.py new file mode 100644 index 0000000..e69de29