主要功能可用
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user