Aucune description

Yao 2979788437 enable refresh offline blasted projects status il y a 1 mois
background 223f87b7d5 地下矿山无线起爆系统 il y a 2 mois
blastProject 38b77f420f optmize firing process il y a 1 mois
blastRecord d824fb7d21 fix blast record isOffline field in table il y a 1 mois
blastRecordDet f0728a01f3 global format il y a 1 mois
blastRegRecord f0728a01f3 global format il y a 1 mois
detInfo 1b22a733c1 debuged det distribute; add project fields; il y a 1 mois
equipment f0728a01f3 global format il y a 1 mois
fireWidget 38b77f420f optmize firing process il y a 1 mois
icons 66a48edb12 feat: blast record data upload il y a 1 mois
login 23df9cf985 firing stage code optmize; add config file il y a 1 mois
mqtt 9fdf19b5b1 fix reconnect mqtt server il y a 1 mois
qss 4c5a44edd0 some updates and code optmize il y a 1 mois
registryManager f0728a01f3 global format il y a 1 mois
serial f0728a01f3 global format il y a 1 mois
worker f0728a01f3 global format il y a 1 mois
.clang-format 90689bcb20 update clang-format config il y a 1 mois
.gitignore 78364da199 dev: 添加安全员逻辑 il y a 1 mois
CMakeLists.txt 6c797fdc60 refactor mqtt usage to fix crash problem il y a 1 mois
HttpClient.h f0728a01f3 global format il y a 1 mois
NamingConvention.md 1bd87dfb2e add naming convention reference doc il y a 1 mois
PageWidget.cpp f0728a01f3 global format il y a 1 mois
PageWidget.h f0728a01f3 global format il y a 1 mois
PageWidget.ui 223f87b7d5 地下矿山无线起爆系统 il y a 2 mois
QframeTest01.pro 223f87b7d5 地下矿山无线起爆系统 il y a 2 mois
README.md 78364da199 dev: 添加安全员逻辑 il y a 1 mois
addressfactory.cpp f0728a01f3 global format il y a 1 mois
addressfactory.h f0728a01f3 global format il y a 1 mois
addresspage.cpp f0728a01f3 global format il y a 1 mois
addresspage.h f0728a01f3 global format il y a 1 mois
addresspage.ui 223f87b7d5 地下矿山无线起爆系统 il y a 2 mois
backendapimanager.cpp 80b47638f3 change load blast record from backend il y a 1 mois
backendapimanager.h b8590a0386 save debuged code version il y a 1 mois
blast.ico 223f87b7d5 地下矿山无线起爆系统 il y a 2 mois
blastopepage.cpp 38b77f420f optmize firing process il y a 1 mois
blastopepage.h 7cbb21ea04 dev: add force cancel blast il y a 1 mois
blastopepage.ui 223f87b7d5 地下矿山无线起爆系统 il y a 2 mois
blastoperationfactory.cpp f0728a01f3 global format il y a 1 mois
blastoperationfactory.h f0728a01f3 global format il y a 1 mois
blastprojectfactory.cpp f0728a01f3 global format il y a 1 mois
btnserialthread.cpp f0728a01f3 global format il y a 1 mois
btnserialthread.h f0728a01f3 global format il y a 1 mois
btnserialtool.cpp f0728a01f3 global format il y a 1 mois
btnserialtool.h f0728a01f3 global format il y a 1 mois
buttondelegate.cpp fade9ff397 dev: some tweaks il y a 1 mois
buttondelegate.h f0728a01f3 global format il y a 1 mois
clickabletableview.cpp f0728a01f3 global format il y a 1 mois
clickabletableview.h f0728a01f3 global format il y a 1 mois
config.ini_tpl 23df9cf985 firing stage code optmize; add config file il y a 1 mois
countdownwidget.cpp f0728a01f3 global format il y a 1 mois
countdownwidget.h f0728a01f3 global format il y a 1 mois
databasemanager.cpp f0728a01f3 global format il y a 1 mois
databasemanager.h 31ef2fb841 format and optmize code il y a 1 mois
des3encryption.cpp f0728a01f3 global format il y a 1 mois
des3encryption.h f0728a01f3 global format il y a 1 mois
equipmentfactory.cpp f0728a01f3 global format il y a 1 mois
equipmentfactory.h f0728a01f3 global format il y a 1 mois
equipmentpage.cpp f0728a01f3 global format il y a 1 mois
equipmentpage.h 31ef2fb841 format and optmize code il y a 1 mois
equipmentpage.ui 223f87b7d5 地下矿山无线起爆系统 il y a 2 mois
equipmnentpage.ui 223f87b7d5 地下矿山无线起爆系统 il y a 2 mois
global.cpp 38b77f420f optmize firing process il y a 1 mois
global.h 38b77f420f optmize firing process il y a 1 mois
hblastrecorddao.h f0728a01f3 global format il y a 1 mois
hproject.cpp 1b22a733c1 debuged det distribute; add project fields; il y a 1 mois
hproject.h f0728a01f3 global format il y a 1 mois
hprojectdao.cpp f0728a01f3 global format il y a 1 mois
hprojectdao.h f0728a01f3 global format il y a 1 mois
httpclient.cpp f0728a01f3 global format il y a 1 mois
jobs.cpp f0728a01f3 global format il y a 1 mois
jobs.h f0728a01f3 global format il y a 1 mois
loadingWidget.cpp 69d8df4c80 remote a unused debug message il y a 1 mois
loadingWidget.h 31ef2fb841 format and optmize code il y a 1 mois
logger.cpp f0728a01f3 global format il y a 1 mois
logger.h f0728a01f3 global format il y a 1 mois
loginwindow.cpp f0728a01f3 global format il y a 1 mois
loginwindow.h f0728a01f3 global format il y a 1 mois
logo.rc 223f87b7d5 地下矿山无线起爆系统 il y a 2 mois
main.cpp 6c797fdc60 refactor mqtt usage to fix crash problem il y a 1 mois
mainwindow.cpp 2979788437 enable refresh offline blasted projects status il y a 1 mois
mainwindow.h 38b77f420f optmize firing process il y a 1 mois
mainwindow.ui baa5f175a6 feats: 爆破记录上传及用户使用sys_user表 il y a 1 mois
media.qrc 9b8551f856 updates: UI tweaks il y a 2 mois
mqttclient.cpp f0728a01f3 global format il y a 1 mois
pagefactory.cpp f0728a01f3 global format il y a 1 mois
pagefactory.h f0728a01f3 global format il y a 1 mois
paregnrmc.cpp f0728a01f3 global format il y a 1 mois
paregnrmc.h f0728a01f3 global format il y a 1 mois
regex.h f0728a01f3 global format il y a 1 mois
registrymanager.cpp f0728a01f3 global format il y a 1 mois
serialgps.cpp f0728a01f3 global format il y a 1 mois
serialgps.h f0728a01f3 global format il y a 1 mois
serialgpsthread.cpp f0728a01f3 global format il y a 1 mois
serialgpsthread.h f0728a01f3 global format il y a 1 mois
serialtool.cpp 31ef2fb841 format and optmize code il y a 1 mois
serialtool.h f0728a01f3 global format il y a 1 mois
timeupdatethread.cpp f0728a01f3 global format il y a 1 mois
timeupdatethread.h f0728a01f3 global format il y a 1 mois

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: