暂无描述

YaoH da3ccebb40 dev: add safety inspect; update blasting uuid 2 天之前
address 4485662ccf optimization: reorg code and remove duplicate files 2 周之前
background 223f87b7d5 地下矿山无线起爆系统 2 月之前
blastJob da3ccebb40 dev: add safety inspect; update blasting uuid 2 天之前
blastProject da3ccebb40 dev: add safety inspect; update blasting uuid 2 天之前
blastRecord 4485662ccf optimization: reorg code and remove duplicate files 2 周之前
blastRecordDet f0728a01f3 global format 1 月之前
blastRegRecord f0728a01f3 global format 1 月之前
components 7b9caef8c3 feat: safety inspect 3 天之前
detInfo 4485662ccf optimization: reorg code and remove duplicate files 2 周之前
equipment 4485662ccf optimization: reorg code and remove duplicate files 2 周之前
fireWidget da3ccebb40 dev: add safety inspect; update blasting uuid 2 天之前
homepage 4485662ccf optimization: reorg code and remove duplicate files 2 周之前
icons 66a48edb12 feat: blast record data upload 1 月之前
login 4485662ccf optimization: reorg code and remove duplicate files 2 周之前
mainwindow 6f535dbdc9 dev: change project data source to web server 4 天之前
mqtt 4485662ccf optimization: reorg code and remove duplicate files 2 周之前
qss 4c5a44edd0 some updates and code optmize 1 月之前
registryManager 88891bad34 feat: add homepage 1 月之前
serial da3ccebb40 dev: add safety inspect; update blasting uuid 2 天之前
tests 4485662ccf optimization: reorg code and remove duplicate files 2 周之前
utils da3ccebb40 dev: add safety inspect; update blasting uuid 2 天之前
worker f0728a01f3 global format 1 月之前
.clang-format 7b9caef8c3 feat: safety inspect 3 天之前
.gitignore 78364da199 dev: 添加安全员逻辑 1 月之前
CMakeLists.txt 7b9caef8c3 feat: safety inspect 3 天之前
NamingConvention.md 1bd87dfb2e add naming convention reference doc 1 月之前
PageWidget.cpp f0728a01f3 global format 1 月之前
PageWidget.h 4485662ccf optimization: reorg code and remove duplicate files 2 周之前
PageWidget.ui 223f87b7d5 地下矿山无线起爆系统 2 月之前
README.md 18823bfc2a 更新命名 3 周之前
blast.ico 223f87b7d5 地下矿山无线起爆系统 2 月之前
btnserialtool.h f0728a01f3 global format 1 月之前
config.ini_tpl 23df9cf985 firing stage code optmize; add config file 1 月之前
logo.rc 223f87b7d5 地下矿山无线起爆系统 2 月之前
main.cpp 4485662ccf optimization: reorg code and remove duplicate files 2 周之前
media.qrc 9b8551f856 updates: UI tweaks 2 月之前
pagefactory.cpp f0728a01f3 global format 1 月之前
pagefactory.h f0728a01f3 global format 1 月之前

README.md

智慧矿山系统 起爆系统PC客户端

Setup

Steps to build system

Qt version: 3.8 ~ 3.9 Arch: windows X86-64 Required Plugins: webengine, mqtt, sql (MySQL drivier) Database: MySQL v7.5

How to run

  • 配置数据库 MySQL服务器, 并初始化数据库表(database: pc-system)。
  • 设置本地数据库(databasemanager.cpp)
  • 设置Backend 地址(global.h)。
  • 设置mqtt server
  • [开发阶段]修改人脸识别数据 通过配置windows环境变量;certName(用户姓名,中文) 和 certNo (身份证号);

PC Test Account

  • user1 User: Admin Password: 123456

FAQ:

  1. 更换人脸识别数据?

  2. MQTT 无法连接

    • 确认Mqtt服务器地址是否正确
    • 确认device UUID 没有和其他客户端冲突。
    • MQTT 只可以在Release编译通过才可以使用。
  3. 如果发布:

    • 新建目录 Release, 并且复制build好的pc_system.exe到目录下。
    • 使用SDK(如:C:\Qt\6.9.0\msvc2022_64\bin)下的windeploy.exe pc-system.exe
    • 确保需要的本地库也在打包的目录下。(如 MySQL.dll及有的可能需要Mysql bin下的ssl cropty 等lib)。
  4. 有些请求为什么会失败? 目前一些请求需要cookie, 所以需要从登录页面进入才可以。

  5. 如何添加用户? 访问后端APP。菜单: 基础信息 -> 人员管理。添加井下爆破员,井上爆破员。

  6. 安全员控制逻辑。 安全员汇报的地址可能包含多个爆破工程,但一个爆破工程不会上报多次地址。

TODOs: