压力算法移植前

This commit is contained in:
2026-06-29 14:54:30 +08:00
parent 507781d127
commit ef2eecf972
1652 changed files with 312373 additions and 29 deletions
+1
View File
@@ -284,6 +284,7 @@ void InkJetPrinter::init()
connect(m_SystemUpdate,&SystemUpdate::sendUpDateSOFTSignal,m_SystemManage,&SystemManage::on_pushButtonUpdateSoftware_pressed); connect(m_SystemUpdate,&SystemUpdate::sendUpDateSOFTSignal,m_SystemManage,&SystemManage::on_pushButtonUpdateSoftware_pressed);
connect(m_SystemUpdate,&SystemUpdate::sendUpDateChARLIBSignal,m_SystemManage,&SystemManage::on_pushButtonUpdateCharLib_pressed); connect(m_SystemUpdate,&SystemUpdate::sendUpDateChARLIBSignal,m_SystemManage,&SystemManage::on_pushButtonUpdateCharLib_pressed);
connect(m_SystemUpdate,&SystemUpdate::sendButtonClickedSignal,this,&InkJetPrinter::getSystemManageWidgetButtonClickSlot); connect(m_SystemUpdate,&SystemUpdate::sendButtonClickedSignal,this,&InkJetPrinter::getSystemManageWidgetButtonClickSlot);
connect(m_SystemUpdate,&SystemUpdate::sig_reboot,this,&InkJetPrinter::rebootApp);
// 原注释的默认页面设置(按需启用) // 原注释的默认页面设置(按需启用)
+8 -2
View File
@@ -217,7 +217,7 @@ QScrollBar::add-line:horizontal { bottom: 0px; }</string>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>780</width> <width>780</width>
<height>177</height> <height>169</height>
</rect> </rect>
</property> </property>
</widget> </widget>
@@ -583,9 +583,15 @@ QScrollBar::add-line:horizontal { bottom: 0px; }</string>
</item> </item>
<item row="0" column="0"> <item row="0" column="0">
<widget class="QFrame" name="fra_state"> <widget class="QFrame" name="fra_state">
<property name="minimumSize">
<size>
<width>200</width>
<height>0</height>
</size>
</property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>180</width> <width>200</width>
<height>140</height> <height>140</height>
</size> </size>
</property> </property>
-1
View File
@@ -11,7 +11,6 @@
//#include "LogInfo.h" //#include "LogInfo.h"
#include "myinclude.h" #include "myinclude.h"
#include "QInputDialog" #include "QInputDialog"
#include "dlgmutilanguage.h"
//#define FINDVOL //#define FINDVOL
#include "InputMethod.h" #include "InputMethod.h"
+2
View File
@@ -14,6 +14,8 @@ SystemUpdate::SystemUpdate(QWidget *parent) :
connect(ui->closeBtn, &QPushButton::clicked, this, &SystemUpdate::on_closeBtn_clicked); connect(ui->closeBtn, &QPushButton::clicked, this, &SystemUpdate::on_closeBtn_clicked);
applyStyleSheet(); applyStyleSheet();
connect(&dlgLanguage, &DlgMutiLanguage::sig_reboot, this, &SystemUpdate::sig_reboot);
} }
SystemUpdate::~SystemUpdate() SystemUpdate::~SystemUpdate()
+1
View File
@@ -36,6 +36,7 @@ signals:
void sendUpDateSOFTSignal(); void sendUpDateSOFTSignal();
void sendUpDateChARLIBSignal(); void sendUpDateChARLIBSignal();
void sig_reboot();
private slots: private slots:
void on_pushButtonProgramFPGA_clicked(); void on_pushButtonProgramFPGA_clicked();
void on_pushButtonProgramStm32_clicked(); void on_pushButtonProgramStm32_clicked();
+2 -2
View File
@@ -6,8 +6,8 @@
*/ */
#define UP_PRINTER_MAJOR_VER 6 #define UP_PRINTER_MAJOR_VER 6
#define UP_PRINTER_MINOR_VER 6 #define UP_PRINTER_MINOR_VER 6
#define UP_PRINTER_RIVISION_VER 1 #define UP_PRINTER_RIVISION_VER 3
#define SUB_VERSION "_test" #define SUB_VERSION "_beta"
#ifdef __RFID_OLD #ifdef __RFID_OLD
#define SUB_RFID "_RO" #define SUB_RFID "_RO"
#else #else
+1 -5
View File
@@ -130,11 +130,7 @@ void DlgMutiLanguage::SetNewLanguage()
QMessageBox::information(this, tr("提示"),tr("是否重启?"), QMessageBox::information(this, tr("提示"),tr("是否重启?"),
QMessageBox::Ok | QMessageBox::Cancel); QMessageBox::Ok | QMessageBox::Cancel);
if (ret == QMessageBox::Ok) { if (ret == QMessageBox::Ok) {
sysPara->saveParaToFile(); // 关机前将相关配置保存 emit sig_reboot();
sysPara->saveRFIDPara();
mySleep(200);
system("sync");//缓存同步
QCoreApplication::quit();
} }
} }
+3
View File
@@ -30,6 +30,9 @@ private:
SysPara* sysPara = nullptr; SysPara* sysPara = nullptr;
void mySleep(unsigned int msec); void mySleep(unsigned int msec);
signals:
void sig_reboot();
}; };
#endif // DLGMUTILANGUAGE_H #endif // DLGMUTILANGUAGE_H
+12 -12
View File
@@ -1933,7 +1933,7 @@ void MainWidget::initSheet()
QString startBtnSheet = R"( QString startBtnSheet = R"(
QPushButton { QPushButton {
background-color: #1e8449; background-color: #1e8449;
color: black; color: #99A89B;
border-radius: 5px; border-radius: 5px;
} }
QPushButton:disabled { QPushButton:disabled {
@@ -1947,8 +1947,8 @@ void MainWidget::initSheet()
QString stopBtnSheet = R"( QString stopBtnSheet = R"(
QPushButton { QPushButton {
background-color: #e74c3c; background-color: #D5614E;
color: black; color: #99A89B;
border-radius: 5px; border-radius: 5px;
} }
QPushButton:disabled { QPushButton:disabled {
@@ -1987,12 +1987,13 @@ void MainWidget::changeHighLight(bool isStart)
QString highlightStyle = QString highlightStyle =
R"( R"(
QPushButton { QPushButton {
background-color: #27ae60; background-color: #29B561;
color: black; color: black;
border-radius: 5px; border-radius: 5px;
border: 3px solid #f39c12; border: 3px solid #f39c12;
box-shadow: 0 0 8px rgba(231, 76, 60, 0.6); box-shadow: 0 0 8px rgba(231, 76, 60, 0.6);
} }
QPushButton:disabled { QPushButton:disabled {
background-color: #bdc3c7; /* 灰色背景 */ background-color: #bdc3c7; /* 灰色背景 */
color: #7f8c8d; /* 灰色文字 */ color: #7f8c8d; /* 灰色文字 */
@@ -2006,7 +2007,7 @@ void MainWidget::changeHighLight(bool isStart)
QString highlightStyle = QString highlightStyle =
R"( R"(
QPushButton { QPushButton {
background-color: #f07167; background-color: #e55f5f;
color: black; color: black;
border-radius: 5px; border-radius: 5px;
border: 3px solid #f39c12; border: 3px solid #f39c12;
@@ -2351,14 +2352,13 @@ void MainWidget::updateSysStatusToUI(){ //100ms
// ui->pushButton_Reboot->setEnabled(false); // ui->pushButton_Reboot->setEnabled(false);
} }
// if(sysPara->RFIDPara.inkCardTimeOut || sysPara->RFIDPara.solventCardTimeOut || sysPara->RFIDPara.needMaintenance) if(sysPara->RFIDPara.inkCardTimeOut || sysPara->RFIDPara.solventCardTimeOut || sysPara->RFIDPara.needMaintenance) {
// m_RightBtn->setEnabled(false); todo m_RightBtn->setEnabled(false);
// else if(sysPara->status.selfCheckDone == 1) }
// { else if(sysPara->status.selfCheckDone == 1) {
// m_RightBtn->setEnabled(true); m_RightBtn->setEnabled(true);
// } }
} }
} }
bool MainWidget::checkRed(AlarmStatus &status) bool MainWidget::checkRed(AlarmStatus &status)
Binary file not shown.

After

Width:  |  Height:  |  Size: 174 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 270 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 270 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 390 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 390 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 486 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 486 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 606 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 606 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 702 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 702 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 822 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 822 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 918 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 918 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 270 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 270 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 390 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 390 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 486 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 486 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 606 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 606 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 702 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 702 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 822 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 822 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 918 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 918 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 486 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 918 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 918 B

Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 918 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 918 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 918 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 918 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 918 B

Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 174 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 486 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 918 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 918 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 918 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 918 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 918 B

Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 918 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 918 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 918 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Some files were not shown because too many files have changed in this diff Show More