mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 15:45:46 +08:00
Ref T410, show number of SB4 packets received under simulator/information
This commit is contained in:
@@ -22,6 +22,11 @@ namespace BlackMisc
|
||||
m_data.addOrReplaceValue(name, value);
|
||||
}
|
||||
|
||||
void CSimulatorInternals::setValue(const QString &name, int value)
|
||||
{
|
||||
this->setValue(name, QString::number(value));
|
||||
}
|
||||
|
||||
CVariant CSimulatorInternals::getVariantValue(const QString &name) const
|
||||
{
|
||||
return m_data.getVariantValue(name);
|
||||
|
||||
@@ -53,6 +53,9 @@ namespace BlackMisc
|
||||
//! Set value
|
||||
void setValue(const QString &name, const QString &value);
|
||||
|
||||
//! Set value
|
||||
void setValue(const QString &name, int value);
|
||||
|
||||
//! Get value
|
||||
CVariant getVariantValue(const QString &name) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user