修改积分燃油计算公式,将时间除60
This commit is contained in:
@@ -224,3 +224,20 @@ void Config::setHeartBeat(QVariant state,QVariant frq)
|
||||
|
||||
setJsonObject("HeartBeat",obj);
|
||||
}
|
||||
|
||||
|
||||
void Config::getMapType(QVariant *type)
|
||||
{
|
||||
QJsonObject obj = getJsonObject("GlobalSetting");
|
||||
|
||||
*type = obj.value("MapType").toString();
|
||||
}
|
||||
|
||||
void Config::setMapType(QVariant type)
|
||||
{
|
||||
QJsonObject obj;
|
||||
|
||||
obj["MapType"] = type.toString();
|
||||
|
||||
setJsonObject("GlobalSetting",obj);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user