Set dms simulator can read from config file.

This commit is contained in:
sunwen
2023-08-30 11:16:21 +08:00
parent 52605ed981
commit a384950cd6
5 changed files with 50 additions and 36 deletions

View File

@@ -543,3 +543,9 @@ QStringList JsonObject::getScreenSaverInfomation()
{
return QString(getJsonString("screensaver", "content")).split(";");
}
bool JsonObject::isDmsSimulator()
{
return getBool("dms","simulator");
}

View File

@@ -85,6 +85,7 @@ public:
void setInterfaceName(const QString& name);
bool isDHCP();
bool isDmsSimulator();
void autoDHCP(bool);
bool getScanConfirm();