更新遥控器画面
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user