主要功能可用

This commit is contained in:
2025-10-21 11:11:52 +08:00
parent f88b815723
commit cda1641f97
250 changed files with 245573 additions and 533279 deletions

View File

@@ -14,7 +14,7 @@ P02_ShieldPage::P02_ShieldPage(QWidget *parent) :
ui->setupUi(this);
m_OpcUaManager = OpcUaManager::instance(); // 全局唯一OPC实例
m_DataCenter = DataCenter::instance(); // 全局唯一DataCenter实例
QTimer::singleShot(10, this, &P02_ShieldPage::WinInit);
QTimer::singleShot(1000, this, &P02_ShieldPage::WinInit);
}
@@ -37,10 +37,10 @@ void P02_ShieldPage::WinInit(){
Text.replace("\\n","\n",Qt::CaseInsensitive);
Label->setText(Text);
}
TrueColor.append(ShieldConfigFile.at(row)[2]);
FalseColor.append(ShieldConfigFile.at(row)[3]);
ShieldText.append(ShieldConfigFile.at(row)[4]);
unShieldText.append(ShieldConfigFile.at(row)[5]);
TrueColor.append(getColorStr(ShieldConfigFile.at(row)[2]));
FalseColor.append(getColorStr(ShieldConfigFile.at(row)[3]));
ShieldText.append(getColorStr(ShieldConfigFile.at(row)[4]));
unShieldText.append(getColorStr(ShieldConfigFile.at(row)[5]));
}
}
bool isRefreshBut = true;