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 _LPCONFIG_H_
|
|
|
|
|
|
#define _LPCONFIG_H_
|
|
|
|
|
|
|
|
|
|
|
|
#include <QObject>
|
|
|
|
|
|
#include "lp_singleton_base.h"
|
|
|
|
|
|
class lpConfig : public lp_singleton_base<lpConfig>
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
lpConfig();
|
|
|
|
|
|
~lpConfig();
|
|
|
|
|
|
|
|
|
|
|
|
void saveConfig();
|
|
|
|
|
|
void loadConfig();
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
int portA{ 10110 };//A<><41><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϵͳ tcp<63><70><EFBFBD><EFBFBD><EFBFBD>˿<EFBFBD> <20><><EFBFBD>ڱ<EFBFBD>ϵͳtcpclient<6E><74><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ӻ<EFBFBD>ͨѶ
|
|
|
|
|
|
int portB{ 10112 };//B<><42><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϵͳ tcp<63><70><EFBFBD><EFBFBD><EFBFBD>˿<EFBFBD>
|
|
|
|
|
|
QString appPathA;//A<><41><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϵͳ<CFB5><CDB3>·<EFBFBD><C2B7> <20><><EFBFBD><EFBFBD>·<EFBFBD><C2B7>
|
|
|
|
|
|
QString appPathB;//B<><42><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϵͳ<CFB5><CDB3>·<EFBFBD><C2B7> <20><><EFBFBD><EFBFBD>·<EFBFBD><C2B7>
|
|
|
|
|
|
bool doubleStation{ true };//true ˫<><CBAB>λ ; false <20><><EFBFBD><EFBFBD>λ
|
|
|
|
|
|
int plcServerPort{ 1000 };//<2F><>PLCͨѶ <20><>tcp<63><70><EFBFBD><EFBFBD><EFBFBD>˿<EFBFBD>
|
|
|
|
|
|
int trigerFilter{ 1000 };
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|