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.
25 lines
574 B
C++
25 lines
574 B
C++
#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侧检测系统 tcp服务端口 用于本系统tcpclient主动连接和通讯
|
|
int portB{ 10112 };//B侧检测系统 tcp服务端口
|
|
QString appPathA;//A侧检测系统的路径 绝对路径
|
|
QString appPathB;//B侧检测系统的路径 绝对路径
|
|
bool doubleStation{ true };//true 双工位 ; false 单工位
|
|
int plcServerPort{ 1000 };//与PLC通讯 的tcp服务端口
|
|
};
|
|
|
|
#endif |