loading

摘要: 下载依赖 file:[Terminal] pip install PyQt5 pip install pyqt5designer 安装扩展 VSCode 安装 PYQT Integration 扩展。在线地址:Visual Studio Marketplace - PYQT Integration。 阅读全文
posted @ 2023-06-23 14:23 Himmelbleu 阅读(53) 评论(0) 推荐(0) 编辑
摘要: # UnitedApiPathProps ```java file:[UnitedApiPathProps.java] import lombok.Data; import org.springframework.boot.context.properties.ConfigurationProper 阅读全文
posted @ 2023-06-23 03:01 Himmelbleu 阅读(8) 评论(0) 推荐(0) 编辑
摘要: # 简单封装 ```bash file:[Terminal] npm install mqtt # 或使用 pnpm pnpm install mqtt # 或使用 yarn yar add mqtt ``` 如果你的项目是 TS 项目,需要在 tsconfig.json 中添加 `allowJs: 阅读全文
posted @ 2023-06-23 01:49 Himmelbleu 阅读(17) 评论(0) 推荐(0) 编辑
摘要: # 下载包 ```bash file:[Terminal] pip install paho-mqtt ``` # 编写函数 ```py file:[src/mqtt_utils.py] import paho.mqtt.client as mqtt HOST = "localhost" PORT 阅读全文
posted @ 2023-06-23 01:39 Himmelbleu 阅读(39) 评论(0) 推荐(0) 编辑