Sin descripción

YaoH ac2bbba5a5 dev: enable multiple selection for operators hace 3 semanas
background 223f87b7d5 地下矿山无线起爆系统 hace 2 meses
blastProject ac2bbba5a5 dev: enable multiple selection for operators hace 3 semanas
blastRecord d824fb7d21 fix blast record isOffline field in table hace 1 mes
blastRecordDet f0728a01f3 global format hace 1 mes
blastRegRecord f0728a01f3 global format hace 1 mes
components ac2bbba5a5 dev: enable multiple selection for operators hace 3 semanas
detInfo 1b22a733c1 debuged det distribute; add project fields; hace 1 mes
equipment f0728a01f3 global format hace 1 mes
fireWidget 38b77f420f optmize firing process hace 1 mes
icons 66a48edb12 feat: blast record data upload hace 1 mes
login 88891bad34 feat: add homepage hace 1 mes
mqtt 88891bad34 feat: add homepage hace 1 mes
qss 4c5a44edd0 some updates and code optmize hace 1 mes
registryManager 88891bad34 feat: add homepage hace 1 mes
serial f0728a01f3 global format hace 1 mes
worker f0728a01f3 global format hace 1 mes
.clang-format 90689bcb20 update clang-format config hace 1 mes
.gitignore 78364da199 dev: 添加安全员逻辑 hace 1 mes
CMakeLists.txt ac2bbba5a5 dev: enable multiple selection for operators hace 3 semanas
HttpClient.h f0728a01f3 global format hace 1 mes
NamingConvention.md 1bd87dfb2e add naming convention reference doc hace 1 mes
PageWidget.cpp f0728a01f3 global format hace 1 mes
PageWidget.h f0728a01f3 global format hace 1 mes
PageWidget.ui 223f87b7d5 地下矿山无线起爆系统 hace 2 meses
QframeTest01.pro 223f87b7d5 地下矿山无线起爆系统 hace 2 meses
README.md 18823bfc2a 更新命名 hace 3 semanas
addressfactory.cpp f0728a01f3 global format hace 1 mes
addressfactory.h f0728a01f3 global format hace 1 mes
addresspage.cpp f0728a01f3 global format hace 1 mes
addresspage.h f0728a01f3 global format hace 1 mes
addresspage.ui 223f87b7d5 地下矿山无线起爆系统 hace 2 meses
backendapimanager.cpp 67a77c2ba7 update: homepage hace 4 semanas
backendapimanager.h 88891bad34 feat: add homepage hace 1 mes
blast.ico 223f87b7d5 地下矿山无线起爆系统 hace 2 meses
blastopepage.cpp 18823bfc2a 更新命名 hace 3 semanas
blastopepage.h e0618f0986 Revert "update: release page when changed" hace 3 semanas
blastopepage.ui 223f87b7d5 地下矿山无线起爆系统 hace 2 meses
blastoperationfactory.cpp f0728a01f3 global format hace 1 mes
blastoperationfactory.h f0728a01f3 global format hace 1 mes
blastprojectfactory.cpp f0728a01f3 global format hace 1 mes
btnserialthread.cpp f0728a01f3 global format hace 1 mes
btnserialthread.h f0728a01f3 global format hace 1 mes
btnserialtool.cpp f0728a01f3 global format hace 1 mes
btnserialtool.h f0728a01f3 global format hace 1 mes
buttondelegate.cpp fade9ff397 dev: some tweaks hace 1 mes
buttondelegate.h f0728a01f3 global format hace 1 mes
clickabletableview.cpp f0728a01f3 global format hace 1 mes
clickabletableview.h f0728a01f3 global format hace 1 mes
config.ini_tpl 23df9cf985 firing stage code optmize; add config file hace 1 mes
countdownwidget.cpp f0728a01f3 global format hace 1 mes
countdownwidget.h f0728a01f3 global format hace 1 mes
databasemanager.cpp f0728a01f3 global format hace 1 mes
databasemanager.h 31ef2fb841 format and optmize code hace 1 mes
des3encryption.cpp f0728a01f3 global format hace 1 mes
des3encryption.h f0728a01f3 global format hace 1 mes
equipmentfactory.cpp f0728a01f3 global format hace 1 mes
equipmentfactory.h f0728a01f3 global format hace 1 mes
equipmentpage.cpp f0728a01f3 global format hace 1 mes
equipmentpage.h 31ef2fb841 format and optmize code hace 1 mes
equipmentpage.ui 223f87b7d5 地下矿山无线起爆系统 hace 2 meses
equipmnentpage.ui 223f87b7d5 地下矿山无线起爆系统 hace 2 meses
global.cpp 38b77f420f optmize firing process hace 1 mes
global.h 38b77f420f optmize firing process hace 1 mes
hblastrecorddao.h f0728a01f3 global format hace 1 mes
home.ui.autosave 5fcb7fb84a add homepage ui and class hace 1 mes
homepage.cpp fb5f80be84 revert front-page hace 3 semanas
homepage.h 67a77c2ba7 update: homepage hace 4 semanas
homepage.ui 88891bad34 feat: add homepage hace 1 mes
homepagefactory.cpp 5fcb7fb84a add homepage ui and class hace 1 mes
homepagefactory.h 5fcb7fb84a add homepage ui and class hace 1 mes
hproject.cpp 1b22a733c1 debuged det distribute; add project fields; hace 1 mes
hproject.h f0728a01f3 global format hace 1 mes
hprojectdao.cpp ac2bbba5a5 dev: enable multiple selection for operators hace 3 semanas
hprojectdao.h f0728a01f3 global format hace 1 mes
httpclient.cpp f0728a01f3 global format hace 1 mes
jobs.cpp f0728a01f3 global format hace 1 mes
jobs.h f0728a01f3 global format hace 1 mes
loadingWidget.cpp 69d8df4c80 remote a unused debug message hace 1 mes
loadingWidget.h 31ef2fb841 format and optmize code hace 1 mes
logger.cpp f0728a01f3 global format hace 1 mes
logger.h f0728a01f3 global format hace 1 mes
loginwindow.cpp f0728a01f3 global format hace 1 mes
loginwindow.h f0728a01f3 global format hace 1 mes
logo.rc 223f87b7d5 地下矿山无线起爆系统 hace 2 meses
main.cpp 6c797fdc60 refactor mqtt usage to fix crash problem hace 1 mes
mainwindow.cpp e0618f0986 Revert "update: release page when changed" hace 3 semanas
mainwindow.h 5fcb7fb84a add homepage ui and class hace 1 mes
mainwindow.ui baa5f175a6 feats: 爆破记录上传及用户使用sys_user表 hace 1 mes
media.qrc 9b8551f856 updates: UI tweaks hace 2 meses
mqttclient.cpp f0728a01f3 global format hace 1 mes
pagefactory.cpp f0728a01f3 global format hace 1 mes
pagefactory.h f0728a01f3 global format hace 1 mes
paregnrmc.cpp f0728a01f3 global format hace 1 mes
paregnrmc.h f0728a01f3 global format hace 1 mes
regex.h f0728a01f3 global format hace 1 mes
registrymanager.cpp f0728a01f3 global format hace 1 mes
serialgps.cpp f0728a01f3 global format hace 1 mes
serialgps.h f0728a01f3 global format hace 1 mes
serialgpsthread.cpp f0728a01f3 global format hace 1 mes
serialgpsthread.h f0728a01f3 global format hace 1 mes
serialtool.cpp 31ef2fb841 format and optmize code hace 1 mes
serialtool.h f0728a01f3 global format hace 1 mes
timeupdatethread.cpp f0728a01f3 global format hace 1 mes
timeupdatethread.h f0728a01f3 global format hace 1 mes

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: