上传文件至 /

添加相关说明
This commit is contained in:
2025-08-14 15:10:06 +08:00
parent 10959132b7
commit bc0074824d
2 changed files with 17 additions and 0 deletions

13
readme.md Normal file
View File

@ -0,0 +1,13 @@
# 使用教程:
运行main.py或.exe文件在postman中通过相关端口进行api指令的发送详细查看api界面
# 还需添加的功能:
1. 写bool类型尝试不读取字节只修改位。如writedb,writearea
2. 多线程轮询多个PLC的数据同步
3. 博途怎么弄虚拟PLC仿真就是使用的虚拟PLC但是除了博途之外的外部设备等无法连接该虚拟PLC
4. 现在只完成了读写批量读写int和bool类型的功能完善其他类型的功能
5. 通过指令来修改网关的IP通过串口来接收一个指令
# 注意事项:
1.现在程序使用的是html单独的文件该程序生成.exe会读取不到html文件因此如果要生成.exe文件
将main中的from api_server_html import APIServer 修改为from api_server import APIServer即可。

4
requirements.txt Normal file
View File

@ -0,0 +1,4 @@
snap7>=1.3.0
Flask>=2.0.0
werkzeung==2.0.3
jsonchema