更新遥控器画面

This commit is contained in:
2025-10-10 17:44:10 +08:00
parent faf921afc7
commit 945dadc8e8
86 changed files with 14150 additions and 2607 deletions

View File

@@ -44,7 +44,6 @@ void P02_ShieldPage::WinInit(){
FalseColor.append(FileData.at(row)[3]);
ShieldText.append(FileData.at(row)[4]);
unShieldText.append(FileData.at(row)[5]);
//qDebug()<<row<<FileData.at(row)[1]<<TrueColor[row-1]<<FalseColor[row-1]<<ShieldText[row-1]<<unShieldText[row-1];
}
}
bool isRefreshBut = true;
@@ -61,7 +60,7 @@ void SetStyleStr(QLabel *L,bool Status,QString TStr,QString FStr){
L->setStyleSheet(Style);
}
void P02_ShieldPage::UIRefreshTimeOut(){
if(this->isHidden())
if(gPageIndexStr != "P02")
return;
Status1 = gOPC_NodeValue["ns=6;s=::AsGlobalPV:But_Shield.DataStatus1"] .toUInt();
Status2 = gOPC_NodeValue["ns=6;s=::AsGlobalPV:But_Shield.DataStatus2"] .toUInt();