You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
|
#ifndef _LPGLOBALCONFIG_H_
|
|
|
|
|
|
#define _LPGLOBALCONFIG_H_
|
|
|
|
|
|
|
|
|
|
|
|
#include <QObject>
|
|
|
|
|
|
#include "lp_singleton_base.h"
|
|
|
|
|
|
#include <QMap>
|
|
|
|
|
|
class lpGlobalConfig : public QObject, public lp_singleton_base<lpGlobalConfig>
|
|
|
|
|
|
{
|
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
lpGlobalConfig(QObject *parent = nullptr);
|
|
|
|
|
|
~lpGlobalConfig();
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
void readConfig();
|
|
|
|
|
|
void writeConfig();
|
|
|
|
|
|
|
|
|
|
|
|
QString m_StationCamKey_1;//<2F><>λ<EFBFBD><CEBB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
QString m_StationCamKey_2;//<2F><>λ<EFBFBD><CEBB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
QString m_StationSolution_1;//<2F><>λsolution<6F><6E><EFBFBD><EFBFBD>
|
|
|
|
|
|
QString m_StationSolution_2;//<2F><>λsolution<6F><6E><EFBFBD><EFBFBD>
|
|
|
|
|
|
|
|
|
|
|
|
QString m_StationRunModel_1;
|
|
|
|
|
|
QString m_StationRunModel_2;
|
|
|
|
|
|
|
|
|
|
|
|
double m_StationScale_1{ 1.0 };
|
|
|
|
|
|
double m_StationXOffset_1{ 0.0 };
|
|
|
|
|
|
double m_StationYOffset_1{ 0.0 };
|
|
|
|
|
|
|
|
|
|
|
|
double m_StationScale_2{ 1.0 };
|
|
|
|
|
|
double m_StationXOffset_2{ 0.0 };
|
|
|
|
|
|
double m_StationYOffset_2{ 0.0 };
|
|
|
|
|
|
|
|
|
|
|
|
bool m_bOnlineMode{ false };//<2F><><EFBFBD><EFBFBD>ģʽ
|
|
|
|
|
|
QString m_rootPath;
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|