删除不需要的模块和代码

master
bob.pan 5 years ago
parent 821affa020
commit b2d0c65a86

@ -46,10 +46,11 @@ Mat findEdge2(const Mat &Src)
cv::Mat ImageProcess::findCircleObject(const Mat &srcImg, const Mat& backgroundImg, bool useBackgroundFlag, int nThres /*= 20*/, luffy_base::luffyCircle *pCircle /*= NULL*/)
{
#ifdef MOTO_DETECT//摩轮型号识别抠图算法
//useBackgroundFlag = true;
if (!useBackgroundFlag)
{
Mat detectImg;
Mat src = srcImg(Rect(435, 53, 1721, 1824));
Mat src = srcImg;// (Rect(435, 53, 1721, 1824));
cv::resize(src, detectImg, cv::Size(src.cols / REAIZE, src.rows / REAIZE));
int bBaseX = detectImg.cols;
int bBaseY = detectImg.rows;
@ -113,6 +114,7 @@ cv::Mat ImageProcess::findCircleObject(const Mat &srcImg, const Mat& backgroundI
}
else
{
//结合背景图原始找圆算法
Mat src = srcImg;
if (src.empty() || backgroundImg.empty() || src.rows < 500) {
return Mat();
@ -120,13 +122,13 @@ cv::Mat ImageProcess::findCircleObject(const Mat &srcImg, const Mat& backgroundI
assert(backgroundImg.type() == CV_8UC1);
Mat imgTmp, imgBinary;
const cv::Size cSize = cv::Size(ALG_RESIZE_IMAGE_WIDTH, floorf(ALG_RESIZE_IMAGE_WIDTH / (float)src.cols*(float)src.rows));
cv::resize(src, imgTmp, cSize);
Mat foregroundImg = getForeImage(imgTmp, backgroundImg);// 0421
Mat imgTmp = src, imgBinary;
// const cv::Size cSize = cv::Size(ALG_RESIZE_IMAGE_WIDTH, floorf(ALG_RESIZE_IMAGE_WIDTH / (float)src.cols*(float)src.rows));
// cv::resize(src, imgTmp, cSize);
//Mat foregroundImg = getForeImage(imgTmp, backgroundImg);// 0421
using namespace luffy_base;
luffy_threshold::Threshold(foregroundImg, imgBinary, nThres);//0421
luffy_threshold::Threshold(imgTmp, imgBinary, 50);//0421
Mat dilatedImgBin;
dilate(imgBinary, dilatedImgBin, Mat::ones(21, 21, CV_32FC1));
@ -137,20 +139,22 @@ cv::Mat ImageProcess::findCircleObject(const Mat &srcImg, const Mat& backgroundI
cv::findContours(imgBinary, conts, RETR_EXTERNAL, CHAIN_APPROX_NONE);
imgBinary.setTo(0);
int maxArea = 0;
for (int i = 0; i < conts.size(); i++) {
const vector<Point> &pt = conts.at(i);
if (pt.size() < 20) {
if (pt.size() < 120) {
continue;
}
Rect rt = boundingRect(pt);
if (rt.width < 5 || rt.height < 5) {
if (rt.width < 150 || rt.height < 150) {
continue;
}
drawContours(imgBinary, conts, i, Scalar::all(255), -1);
}
Mat hit; vector<Point> pts;
luffy_hit::firstHit4Circle(imgBinary, hit, pts, Point(cSize.width / 2, cSize.height / 2), 0, cSize.width / 2, 360, luffy_hit::emHitOut2In);
luffy_hit::firstHit4Circle(imgBinary, hit, pts, Point(imgBinary.cols / 2, imgBinary.rows / 2), 0, imgBinary.cols / 2, 360, luffy_hit::emHitIn2Out);
int nMinFitNum = 100;
luffy_imageProc::RansacParam rs(0.01, 3, 150, nMinFitNum, 240);

@ -1,219 +0,0 @@
#include "ChannelInfo.h"
#include "qjsonobject.h"
#include "InfoFile.h"
#include "qjsonarray.h"
#include "QZkJsonParser.h"
#define JSON_KEY_CHANNELS "channels"
#define JSON_KEY_CHANNEL_MODELS "models"
#define CHANNELINFO_NAME "channel_name"
#define CHANNELINFO_ABOUT "about_name"
#define CHANNELINFO_VALUE "send_value"
#define CHANNELINFO_CH_NUM "channelNum"
#define CHANNELINFO_DEFAULT "defaultChannel"
#pragma execution_character_set("utf-8")
CChannelInfo::CChannelInfo(QString strPath, QMySplashScreen *p)
{
m_defaultChannel = 1;
m_strPath = strPath;
if (p){
p->ShowMsg(tr("开始读取json文件数据..."));
}
readChannels();
connect(this, SIGNAL(sgChannelChanged()), this, SLOT(saveChannels()));
if (p){
p->ShowMsg(tr("数据读取完成..."));
}
}
CChannelInfo::~CChannelInfo()
{
qDeleteAll(m_mpChannelInfo);
}
bool CChannelInfo::readChannels()
{
const QJsonObject jsonChs = QZkJsonParser::ReadJsonAuto(m_strPath);// QJsonObject();
int channeltotal = jsonChs.value(CHANNELINFO_CH_NUM).toInt();
m_defaultChannel = jsonChs.value(CHANNELINFO_DEFAULT).toInt();
QJsonObject m_channelsObj = jsonChs.value(JSON_KEY_CHANNELS).toObject();
for (QJsonObject::const_iterator it = m_channelsObj.constBegin(); it != m_channelsObj.constEnd(); ++it)
{
bool bOk;
int nkey = it.key().toInt(&bOk);
if (!(bOk&it->isObject()))
{
continue;
}
ChannelInfo *m_info = new ChannelInfo;
QJsonObject jsonCh = it->toObject();
m_info->m_ChannelName = jsonCh.value(CHANNELINFO_NAME).toString();//.toUtf8();
m_info->m_AboutName = jsonCh.value(CHANNELINFO_ABOUT).toString();
m_info->m_value = jsonCh.value(CHANNELINFO_VALUE).toInt();
QJsonArray modelsArray = jsonCh.value(JSON_KEY_CHANNEL_MODELS).toArray();
for each (QJsonValue var in modelsArray) {
m_info->m_strModels.push_back(var.toString());
}
m_mpChannelInfo.insert(nkey, m_info);
}
return true;
}
bool CChannelInfo::saveChannels()
{
QJsonObject objRoot;
QJsonObject objChannels;
QList<int> lst = m_mpChannelInfo.keys();
for (int i = 0; i < lst.size(); i++) {
ChannelInfo *pInfo = m_mpChannelInfo.value(lst.at(i));
QJsonObject objChannel;
objChannel.insert(CHANNELINFO_NAME, pInfo->m_ChannelName);
objChannel.insert(CHANNELINFO_ABOUT, pInfo->m_AboutName);
objChannel.insert(CHANNELINFO_VALUE, pInfo->m_value);
QJsonArray objModel;
for (int j = 0; j < pInfo->m_strModels.size(); j++) {
objModel.append(pInfo->m_strModels.at(j));
}
objChannel.insert(JSON_KEY_CHANNEL_MODELS, objModel);
objChannels.insert(QString::number(lst.at(i)), objChannel);
}
objRoot.insert(CHANNELINFO_CH_NUM, (int)m_mpChannelInfo.size());
objRoot.insert(CHANNELINFO_DEFAULT, (int)m_defaultChannel);
objRoot.insert(JSON_KEY_CHANNELS, objChannels);
return QZkJsonParser::WriteJsonObject(m_strPath, objRoot);
}
ChannelInfo * CChannelInfo::getChannelInfo(int nKey)
{
if (m_mpChannelInfo.contains(nKey))
return m_mpChannelInfo.value(nKey);
else
return NULL;
}
ChannelInfo * CChannelInfo::getChannelInfo(QString strModel)
{
for each (ChannelInfo* var in m_mpChannelInfo) {
if (var->m_strModels.contains(strModel)) {
return var;
}
}
return NULL;
}
ChannelInfo * CChannelInfo::rmChannelInfo(QString strModel)
{
for each (ChannelInfo* var in m_mpChannelInfo) {
if (var->m_strModels.contains(strModel)) {
var->m_strModels.removeOne(strModel);
emit sgChannelChanged();
return var;
}
}
return NULL;
}
int CChannelInfo::getChannelInfoKey(QString strModel)
{
for (QMap<int, ChannelInfo*>::iterator its = m_mpChannelInfo.begin(); its != m_mpChannelInfo.end(); ++its){
if ((*its)->m_strModels.contains(strModel)){
(*its)->m_strModels.removeOne(strModel);
emit sgChannelChanged();
return its.key();
}
}
return 0;
}
int CChannelInfo::getChannelInfoNum(QString strModel)
{
for (QMap<int, ChannelInfo*>::iterator its = m_mpChannelInfo.begin(); its != m_mpChannelInfo.end(); ++its){
if ((*its)->m_strModels.contains(strModel)){
return its.key();
}
}
return 0;
}
bool CChannelInfo::SetChannelModelList(int nKey, QStringList m_modelist)
{
ChannelInfo *pInfo = getChannelInfo(nKey);
if (pInfo){
pInfo->m_strModels = m_modelist;
}
emit sgChannelChanged();
return true;
}
QStringList CChannelInfo::getChannelModelList(int nKey)
{
ChannelInfo *pInfo = getChannelInfo(nKey);
if (pInfo) {
return pInfo->m_strModels;
}
return QStringList();
}
bool CChannelInfo::delChannel(int nChannel)
{
m_mpChannelInfo.remove(nChannel);
emit sgChannelChanged();
return true;
}
int CChannelInfo::channelSize() const
{
return m_mpChannelInfo.size();
}
bool CChannelInfo::addChannel(ChannelInfo &m_info)
{
ChannelInfo *pInfo = new ChannelInfo;
pInfo->m_ChannelName = m_info.m_ChannelName;
pInfo->m_AboutName = m_info.m_AboutName;
pInfo->m_value = m_info.m_value;
m_mpChannelInfo.insert(m_mpChannelInfo.size()+1, pInfo);
emit sgChannelChanged();
return true;
}
QMap<int, ChannelInfo*> CChannelInfo::getChannelModelMap() {
return m_mpChannelInfo;
}
QStringList CChannelInfo::getAllModels()
{
QStringList allModels;
for (int nIndex = 0; nIndex <= channelSize(); nIndex++)
allModels.append(getChannelModelList(nIndex));
return allModels;
}
/*与模板库所有的字符进行匹配,不存在的将删除*/
bool CChannelInfo::compareStrings(QStringList m_src)
{
QStringList srcStrList = getAllModels();
for (int nIndex = 0; nIndex < srcStrList.size(); nIndex++)
{
QString strTemp = srcStrList.at(nIndex);
if(!m_src.contains(strTemp))
rmChannelInfo(strTemp);
}
emit sgChannelChanged();
return true;
}
int CChannelInfo::getDefaultChannel()
{
int nSize = m_mpChannelInfo.size();
if (nSize>0&&m_defaultChannel<=(nSize+1))
return m_defaultChannel;
else
{
m_defaultChannel = 0;
return m_defaultChannel;
}
}

@ -1,47 +0,0 @@
#ifndef _H_CHANNELINFO_H_
#define _H_CHANNELINFO_H_
#include <QString>
#include <QMap>
#include <QObject>
#include <QStringList>
#include "qmysplashscreen.h"
struct ChannelInfo;
class CChannelInfo : public QObject
{
Q_OBJECT
public:
CChannelInfo(QString strPath,QMySplashScreen *p=NULL);
~CChannelInfo();
bool readChannels();
Q_SLOT bool saveChannels();
bool addChannel(ChannelInfo &m_info);
int channelSize() const;
bool delChannel(int nChannel);
bool SetChannelModelList(int nKey, QStringList m_modelist);
ChannelInfo *getChannelInfo(int nChannelKey);
ChannelInfo *getChannelInfo(QString strModel);
ChannelInfo *rmChannelInfo(QString strModel);
int getChannelInfoKey(QString strModel);
int getChannelInfoNum(QString strModel);
QStringList getChannelModelList(int nChannelKey);
QMap<int, ChannelInfo*> getChannelModelMap();
QStringList getAllModels();
bool compareStrings(QStringList m_src);
int getDefaultChannel();
void setDefaultChannel(int channel){ m_defaultChannel = channel; };
signals:
void sgChannelChanged();
void sgAddChannel(QString);
void sgDelChannel(QString);
private:
QMap<int, ChannelInfo*> m_mpChannelInfo;
QString m_strPath;
int m_defaultChannel;
};
#endif

@ -1,68 +0,0 @@
#include "ComConfig.h"
#include "QZkJsonParser.h"
#define WHEEL_COMMUNICATE_FILE "\\config\\communicate.json"
#define WHEEL_APP_FILE "\\ui\\app.json"
ComConfig::ComConfig(QString filepath)
{
appPath = filepath;
init();
}
ComConfig::~ComConfig()
{
}
void ComConfig::init()
{
QString filecom = appPath + WHEEL_COMMUNICATE_FILE;
QJsonObject jsMyself = QZkJsonParser::ReadJsonAuto(filecom);
QJsonArray m_deviceArray = jsMyself.value("COM").toArray();
QJsonObject firstobj=m_deviceArray.first().toObject();
m_ComName = firstobj.value("name").toString();
m_Baute = firstobj.value("bound").toInt();
}
void ComConfig::save()
{
QString filecom = appPath + WHEEL_COMMUNICATE_FILE;
QJsonObject jsMyself = QZkJsonParser::ReadJsonAuto(filecom);
QJsonArray m_deviceArray = jsMyself.value("COM").toArray();
QJsonObject firstobj = m_deviceArray.first().toObject();
firstobj.insert("name", m_ComName);
firstobj.insert("bound", m_Baute);
m_deviceArray.removeFirst();
m_deviceArray.append(firstobj);
jsMyself.insert("COM", m_deviceArray);
QZkJsonParser::WriteJsonObject(filecom, jsMyself);
QString fileApp = appPath + WHEEL_APP_FILE;
QJsonObject appjs = QZkJsonParser::ReadJsonAuto(fileApp);
QJsonObject userObj = appjs.value("user").toObject();
userObj.insert("comm", m_ComName);
appjs.insert("user", userObj);
QZkJsonParser::WriteJsonObject(fileApp, appjs);
}
QString ComConfig::getComName() const
{
return m_ComName;
}
QString ComConfig::getComBaute() const
{
return QString::number(m_Baute);
}
void ComConfig::setComName(QString str)
{
m_ComName = str;
}
void ComConfig::setComBaute(QString str)
{
m_Baute = str.toInt();
}

@ -1,19 +0,0 @@
#pragma once
#include "QString"
class ComConfig
{
public:
ComConfig(QString filepath);
~ComConfig();
void init();
void save();
QString getComName() const;
QString getComBaute() const;
void setComName(QString str);
void setComBaute(QString str);
private:
QString m_ComName;
int m_Baute;
QString appPath;
};

@ -13,13 +13,13 @@
#include "InfoFile.h"
#include <QWidget>
class ModelManager;
class CChannelInfo;
//class CChannelInfo;
class lpGlobalConfig;
class Result2Ui;
class QSqliteGeneral;
class TimeMgrCtrl;
//class TimeMgrCtrl;
class CamConfig;
class ComConfig;
//class ComConfig;
class IWheelModel;
class DataBaseSql;
class IWheelCtrl : public QObject
@ -32,11 +32,11 @@ public:
virtual ModelManager *getModelMgr() const = 0;
virtual QStringList getAllModelName() = 0;
virtual QStringList getAllTrainModelName() = 0;
virtual CChannelInfo *getChannelInfo() const = 0;
virtual TimeMgrCtrl *getTimeMgr() const = 0;
virtual QMap<QString, TimeStruct>* getAllTimePtr() const = 0;
// virtual CChannelInfo *getChannelInfo() const = 0;
// virtual TimeMgrCtrl *getTimeMgr() const = 0;
// virtual QMap<QString, TimeStruct>* getAllTimePtr() const = 0;
virtual CamConfig *getCamConfig() const = 0;
virtual ComConfig *getComConfig() const = 0;
// virtual ComConfig *getComConfig() const = 0;
//thickness
virtual double getThickness() const = 0;
virtual QString getThicknessStr() const =0;

@ -1,99 +0,0 @@
#include "NetProtocol.h"
#include "QDebug"
#include "qdatetime.h"
#define PROTOCOL_HEAD "ca02"
#define PROTOCOL_SPACE " "
#define PROTOCOL_CMD_LEN 3
#define PROTOCOL_DATA_NUM 8
#define PROTOCOL_DATA_LEN 5
#define PROTOCOL_MODEL_LEN 20
#define PROTOCOL_TOTAL_LEN 78
#define PROTOCOL_BLOCK_NUM 11
NetProtocol::NetProtocol()
{
}
NetProtocol::~NetProtocol()
{
}
QString NetProtocol::packData(const int nCmd, QList<int>& lstData /*= QList<int>()*/, QString strModel /*= QString()*/)
{
if (lstData.empty()) {
lstData = genList();
}
if (lstData.size() != PROTOCOL_DATA_NUM) {
//error
lstData = genList();
}
QString strDst = PROTOCOL_HEAD + QString(PROTOCOL_SPACE);
strDst += genCmd(nCmd) + PROTOCOL_SPACE;
for (int i = 0; i < PROTOCOL_DATA_NUM; i++) {
strDst += genData(lstData[i]) + PROTOCOL_SPACE;
}
strDst += genModel(strModel) + PROTOCOL_SPACE;
//sendData(strDst);
//emit sgText(strDst);
return strDst;
}
QString NetProtocol::genCmd(int nCmd)
{
QString a = "000" + QString::number(nCmd);
return a.right(PROTOCOL_CMD_LEN);
}
QString NetProtocol::genData(int nData)
{
QString a = "00000" + QString::number(nData);
return a.right(PROTOCOL_DATA_LEN);
}
QString NetProtocol::genModel(QString strModel)
{
QString a = "####################" + strModel;
return a.right(PROTOCOL_MODEL_LEN);
}
QList<int> NetProtocol::genList()
{
QList<int> dst;
for (int i = 0; i < PROTOCOL_DATA_NUM; i++) {
dst.push_back(0);
}
return dst;
}
QString NetProtocol::genAddressPort(const QString& addr, const QString &nPort)
{
return QString("%1-%2").arg(addr).arg(nPort);
}
QByteArray NetProtocol::parseData(const QByteArray dataSrc, int &nCmd, QList<int>&lstData, QString &strModel)
{
//默认数据包无数据丢失即第一个一定是ca02
QString strTmp = dataSrc.left(PROTOCOL_TOTAL_LEN);
QStringList mList = strTmp.split(PROTOCOL_SPACE);
QByteArray dataDst = dataSrc.right(dataSrc.length() - PROTOCOL_TOTAL_LEN);
if (mList.size() < PROTOCOL_BLOCK_NUM) {
qDebug() << "size less than 11";
return dataDst;
}
if (PROTOCOL_HEAD != mList.at(0)) {
qDebug() << "data head is no ca02";
return dataDst;
}
nCmd = mList.at(1).toInt();
for (int i = 0; i < PROTOCOL_DATA_NUM; i++) {
lstData.append(mList.at(i + 2).toInt());
}
strModel = mList.at(10);
return dataDst;
}

@ -1,23 +0,0 @@
#pragma once
#include "qobject.h"
#include "QVariantMap"
#include "qbytearray.h"
enum EM_NET_TYPE {
emNetClient = 0, emNetServer
};
class NetProtocol
{
public:
NetProtocol();
~NetProtocol();
static QString genAddressPort(const QString& addr, const QString &nPort);
protected:
QString genCmd(int nCmd);
QString genData(int nData = 0);
QString genModel(QString strModel = QString());
QList<int> genList();
QString packData(const int nCmd, QList<int>& lstData = QList<int>(), QString strModel = QString());
QByteArray parseData(const QByteArray dataSrc, int &nCmd, QList<int>&lstData, QString &strModel);
};

@ -1,12 +1,12 @@
#include "WheelCtrl.h"
#include "ChannelInfo.h"
//#include "ChannelInfo.h"
#include "ModelManager.h"
#include "lpGlobalConfig.h"
#include "Result2Ui.h"
#include "InfoFile.h"
#include <QFile>
#include "WheelNet.h"
#include "timemgrctrl.h"
//#include "WheelNet.h"
//#include "timemgrctrl.h"
#include "QDebug"
#include "CamConfig.h"
#include "QThread"
@ -15,7 +15,7 @@
#include "QLibrary"
#include "databasesql.h"
#include "DetectDataDB.h"
#include "ComConfig.h"
//#include "ComConfig.h"
#include "HubBase.h"
#pragma execution_character_set("utf-8")
#define _QSQLITE_WHEELHUBWF_NAME "wheelhubwf.db"
@ -26,7 +26,7 @@ WheelCtrl::WheelCtrl(QString strPath, QMySplashScreen* pScreen)
QString strChannelPath = strPath + "\\user\\channels.json.dat";
hubBase::mkdir(strPath + "\\user\\");
ShowInitMsg(pScreen, tr("加载通道模块 ...."));
m_pChannel = new CChannelInfo(strChannelPath, pScreen);
// m_pChannel = new CChannelInfo(strChannelPath, pScreen);
ShowInitMsg(pScreen, tr("加载模板库 ...."));
m_pModelMgr = new ModelManager(strPath);
m_pModelMgr->init();
@ -38,16 +38,16 @@ WheelCtrl::WheelCtrl(QString strPath, QMySplashScreen* pScreen)
m_db = new DetectDataDB(strDbPath);
((DetectDataDB*)m_db)->InitDatabase();
ShowInitMsg(pScreen, tr("加载班次管理模块 ...."));
m_pTimeMgr = new TimeMgrCtrl((DetectDataDB*)m_db);
m_pNet = new CWheelNet(strPath);
// m_pTimeMgr = new TimeMgrCtrl((DetectDataDB*)m_db);
// m_pNet = new CWheelNet(strPath);
ShowInitMsg(pScreen, tr("加载其他模块 ...."));
m_pCamConfig = new CamConfig(strPath);
m_pComConfig = new ComConfig(m_strPath);
// m_pComConfig = new ComConfig(m_strPath);
ShowInitMsg(pScreen, tr("创建子线程 ...."));
saveResultThread = new QThread(this);
QSaveResult *pSaveResult = new QSaveResult;
pSaveResult->setDBPtr((DetectDataDB*)m_db, m_pChannel);
// pSaveResult->setDBPtr((DetectDataDB*)m_db, m_pChannel);
pSaveResult->moveToThread(saveResultThread);
pSaveResult->setAppRootPath(strPath);
@ -66,19 +66,19 @@ WheelCtrl::WheelCtrl(QString strPath, QMySplashScreen* pScreen)
WheelCtrl::~WheelCtrl()
{
delete m_pChannel;
// delete m_pChannel;
delete m_pModelMgr;
delete m_db;
delete m_pComConfig;
// delete m_pComConfig;
delete m_pCamConfig;
m_db = NULL;
delete m_pTimeMgr;
delete m_pNet;
m_pNet = NULL;
m_pTimeMgr = NULL;
m_pChannel = NULL;
// delete m_pTimeMgr;
// delete m_pNet;
// m_pNet = NULL;
// m_pTimeMgr = NULL;
// m_pChannel = NULL;
m_pModelMgr = NULL;
m_pComConfig = NULL;
// m_pComConfig = NULL;
m_pCamConfig = NULL;
if (saveResultThread){
qDebug() << "delete saveResultThread";
@ -120,10 +120,10 @@ ModelManager * WheelCtrl::getModelMgr() const
return m_pModelMgr;
}
CChannelInfo * WheelCtrl::getChannelInfo() const
{
return m_pChannel;
}
// CChannelInfo * WheelCtrl::getChannelInfo() const
// {
// return m_pChannel;
// }
QString WheelCtrl::getThicknessStr() const
{
@ -172,26 +172,26 @@ DataBaseSql *WheelCtrl::getDB() const
return m_db;
}
TimeMgrCtrl * WheelCtrl::getTimeMgr() const
{
return m_pTimeMgr;
}
// TimeMgrCtrl * WheelCtrl::getTimeMgr() const
// {
// return m_pTimeMgr;
// }
bool WheelCtrl::onStart()
{
/*把检测的库信息按照对应的序号插入map中并发送至PLC*/
m_pNet->sendLight(1, 3, 1000, 500);//黄灯
m_pNet->sendLight(0, 3, 1000, 500);//红灯
m_pNet->sendLight(2, 3, 1000, 500);//绿灯
//m_pNet->sendLight(1, 3, 1000, 500);//黄灯
//m_pNet->sendLight(0, 3, 1000, 500);//红灯
//m_pNet->sendLight(2, 3, 1000, 500);//绿灯
//m_pNet->sendLight(3, 3, 1000, 500);//蜂鸣
return true;
}
bool WheelCtrl::onFinish()
{
m_pNet->sendLight(2, 2, 1000, 400);
m_pNet->sendLight(0, 2, 1000, 400);
m_pNet->sendLight(1, 2, 1000, 400);
//m_pNet->sendLight(2, 2, 1000, 400);
//m_pNet->sendLight(0, 2, 1000, 400);
//m_pNet->sendLight(1, 2, 1000, 400);
//m_pNet->sendLight(3, 3, 1000, 400);//蜂鸣
return true;
}
@ -247,16 +247,16 @@ void WheelCtrl::setUser(QString strName, int nlevel)
QString WheelCtrl::getCurrentBan() const
{
if (m_pTimeMgr)
return m_pTimeMgr->GetCurrentBan();
else
// if (m_pTimeMgr)
// return m_pTimeMgr->GetCurrentBan();
// else
return QString();
}
bool WheelCtrl::sendModelLib()
{
if (m_pNet)
m_pNet->sendClearLib();
// if (m_pNet)
// m_pNet->sendClearLib();
return true;
}
@ -291,15 +291,15 @@ QStringList WheelCtrl::getAllTrainModelName()
return m_pModelMgr->getAllTrainModelName();
}
QMap<QString, TimeStruct>* WheelCtrl::getAllTimePtr() const
{
return m_pTimeMgr->getAllTimePtr();
}
// QMap<QString, TimeStruct>* WheelCtrl::getAllTimePtr() const
// {
// return m_pTimeMgr->getAllTimePtr();
// }
ComConfig * WheelCtrl::getComConfig() const
{
return m_pComConfig;
}
// ComConfig * WheelCtrl::getComConfig() const
// {
// return m_pComConfig;
// }
void WheelCtrl::ShowInitMsg(QMySplashScreen* p, QString str){
if (p){

@ -20,11 +20,11 @@ public:
virtual ModelManager *getModelMgr() const;
virtual QStringList getAllModelName();
virtual QStringList getAllTrainModelName();
virtual CChannelInfo *getChannelInfo() const;
virtual TimeMgrCtrl *getTimeMgr() const;
virtual QMap<QString, TimeStruct>* getAllTimePtr() const;
// virtual CChannelInfo *getChannelInfo() const;
// virtual TimeMgrCtrl *getTimeMgr() const;
// virtual QMap<QString, TimeStruct>* getAllTimePtr() const;
virtual CamConfig *getCamConfig() const;
virtual ComConfig *getComConfig() const;
// virtual ComConfig *getComConfig() const;
virtual double getThickness() const;
virtual QString getThicknessStr() const;
virtual void appendThicknessValue(double nValue);
@ -49,7 +49,7 @@ public:
virtual void setUser(QString strName, int nlevel);
virtual QString getCurrentBan() const;
CWheelNet *getNet() { return m_pNet; }
// CWheelNet *getNet() { return m_pNet; }
CRaster *getRaster() { return m_pRaster; }
virtual bool sendModelLib();
@ -61,16 +61,16 @@ public:
signals:
void operate(Result2Ui *m_Res);
private:
CChannelInfo *m_pChannel{ nullptr };
// CChannelInfo *m_pChannel{ nullptr };
ModelManager *m_pModelMgr{ nullptr };
CRaster *m_pRaster{ nullptr };
QString m_strPath;
//QSqliteGeneral *m_db;
DataBaseSql *m_db{ nullptr };
TimeMgrCtrl *m_pTimeMgr{ nullptr };
CWheelNet *m_pNet{ nullptr };
//TimeMgrCtrl *m_pTimeMgr{ nullptr };
//CWheelNet *m_pNet{ nullptr };
CamConfig *m_pCamConfig{ nullptr };
ComConfig *m_pComConfig{ nullptr };
//ComConfig *m_pComConfig{ nullptr };
class QThread *saveResultThread{ nullptr };
class IRasterSDG20* m_pRasterSDG20{ nullptr };

@ -1,454 +0,0 @@
#include "WheelNet.h"
#include "InfoFile.h"
#include "..\NetWheel\net4wheel_global.h"
#include "QZkJsonParser.h"
#include "qlibrary.h"
#include "qhostaddress.h"
#include "QDebug"
#include "qipconfigdlg.h"
#include "qdebug.h"
#define JSONG_MYSELF_FILE "\\user\\selfdefine.json"
#pragma execution_character_set("utf-8")
//emTypeResultChannel 结果通道 0x16
//emTypeTriger 设置触发延时相关参数
CWheelNet::CWheelNet(QString strRoot)
: m_pNet4Wheel(NULL),
m_strRoot(strRoot)
{
m_pIpConfig = new IPConfig;
loadIpConfig();
loadNet();
}
CWheelNet::~CWheelNet()
{
qDebug() << "delete CWheelNet";
if (m_pIpConfig) {
delete m_pIpConfig;
m_pIpConfig = NULL;
}
if (m_pNet4Wheel) {
delete m_pNet4Wheel;
m_pNet4Wheel = NULL;
}
qDebug() << "delete CWheelNet end";
}
bool CWheelNet::loadIpConfig()
{
QString fileMyself = m_strRoot + JSONG_MYSELF_FILE;
QJsonObject jsMyself = QZkJsonParser::ReadJsonAuto(fileMyself);
QJsonObject TcpNetObj = jsMyself.value("TcpNetWork").toObject();
if (!TcpNetObj.isEmpty()) {
m_pIpConfig->m_TcpAddress = TcpNetObj.value("TCP_Address").toString();
m_pIpConfig->m_TcpPort = TcpNetObj.value("TCP_port").toInt();
QString serverStr = TcpNetObj.value("TCP_Type").toString();
m_pIpConfig->m_ClientAddress = TcpNetObj.value("client_IP").toString();
m_pIpConfig->m_ClientPort = TcpNetObj.value("client_port").toInt();
}
return true;
}
bool CWheelNet::saveIpConfig()
{
QString fileMyself = m_strRoot + JSONG_MYSELF_FILE;
QJsonObject jsMyself = QZkJsonParser::ReadJsonAuto(fileMyself);
QJsonObject IPConfigObj;
IPConfigObj.insert("TCP_Address", QJsonValue(m_pIpConfig->m_TcpAddress));
IPConfigObj.insert("TCP_port", QJsonValue(m_pIpConfig->m_TcpPort));
IPConfigObj.insert("TCP_Type", QJsonValue("server"));
IPConfigObj.insert("client_IP", QJsonValue(m_pIpConfig->m_ClientAddress));
IPConfigObj.insert("client_port", QJsonValue(m_pIpConfig->m_ClientPort));
jsMyself.insert("TcpNetWork", IPConfigObj);
return QZkJsonParser::WriteJsonObject(fileMyself, jsMyself);
}
Q_SLOT void CWheelNet::onOpenServer(QString IPAddr, int port)
{
if (m_pNet4Wheel) {
m_pNet4Wheel->OpenServer(IPAddr, port);
emit sgServerState(IPAddr, port, true);
}
}
Q_SLOT void CWheelNet::onOpenServer()
{
if (m_pNet4Wheel) {
m_pNet4Wheel->OpenServer(m_pIpConfig->m_TcpAddress, m_pIpConfig->m_TcpPort);
emit sgServerState(m_pIpConfig->m_TcpAddress, m_pIpConfig->m_TcpPort, true);
}
}
Q_SLOT void CWheelNet::onCloseServer()
{
if (m_pNet4Wheel) {
m_pNet4Wheel->CloseServer();
emit sgServerState(m_pIpConfig->m_TcpAddress, m_pIpConfig->m_TcpPort, false);
}
}
bool CWheelNet::loadNet()
{
#ifdef _DEBUG
QLibrary lib("Net4Wheeld");
#else
QLibrary lib("Net4Wheel");
#endif
if (lib.load()){
_Net4WheelCreate func = (_Net4WheelCreate)lib.resolve("Net4WheelCreate");
//QHostAddress *pAdd = new QHostAddress;
QHostAddress pAdd;// = new QHostAddress;
pAdd.setAddress(m_pIpConfig->m_TcpAddress);
//pAdd->setAddress(m_pIpConfig->m_TcpAddress);
//m_pNet4Wheel = func(*pAdd, m_pIpConfig->m_TcpPort);
m_pNet4Wheel = func(pAdd, m_pIpConfig->m_TcpPort);
connect(m_pNet4Wheel, SIGNAL(RecvDatas(QByteArray)), this, SLOT(DataRecvByte(QByteArray)));
connect(m_pNet4Wheel, SIGNAL(SignalConnect(QVariantMap)), this, SLOT(onConnect(QVariantMap)));
connect(this, SIGNAL(sgSendData2Dv(QString, QByteArray)), m_pNet4Wheel, SLOT(sendDatas(QString, QByteArray)));
}
return true;
}
void CWheelNet::sendData(QString strData)
{
if (!m_pNet4Wheel) {
return ;
}
QByteArray arr;
arr.append(strData);
if (m_pIpConfig){
QString strTarget = genAddressPort(m_pIpConfig->m_ClientAddress, QString::number(m_pIpConfig->m_ClientPort));
//m_pNet4Wheel->sendDatas(strTarget, arr);
emit sgSendData2Dv(strTarget, arr);
}
}
bool CWheelNet::sendDataFrame(QString strData)
{
/*调用框架接口 发送网络数据*/
//m_pCallBack
return true;
}
void CWheelNet::onShowIpDlg(QWidget* parent)
{
QIPConfigDlg ipdlg(parent);
ipdlg.setWindowFlags(Qt::Dialog | Qt::WindowCloseButtonHint);
ipdlg.setWindowModality(Qt::ApplicationModal);
ipdlg.setAttribute(Qt::WA_ShowModal, true);
ipdlg.setWindowTitle(tr("IP参数设置"));
ipdlg.setWindowIcon(QIcon(":/image/leaper"));
ipdlg.SetIPData(m_pIpConfig);
connect(&ipdlg, SIGNAL(SignalCloseServer()), this, SLOT(onCloseServer()));
connect(&ipdlg, SIGNAL(SignalOpenServer(QString, int)), this, SLOT(onOpenServer(QString, int)));
if (ipdlg.exec() == QDialog::Accepted)
{
ipdlg.GetIPData(m_pIpConfig);
saveIpConfig();
}
}
QString CWheelNet::getIp(EM_NET_TYPE type) const
{
if (!m_pIpConfig) {
return QString();
}
if (type == emNetClient)
{
return m_pIpConfig->m_ClientAddress;
}
return m_pIpConfig->m_TcpAddress;
}
QString CWheelNet::getPort(EM_NET_TYPE type) const
{
if (!m_pIpConfig) {
return QString();
}
if (type == emNetClient )
{
return QString::number(m_pIpConfig->m_ClientPort);
}
return QString::number(m_pIpConfig->m_TcpPort);
}
/*心跳包*/
void CWheelNet::sendPulse(int nInterval, int nState, int nOnline)
{
QList<int> lstData = genList();
lstData[0] = nInterval;
lstData[1] = nState;
lstData[2] = nOnline;
QString strDst = packData(emTypePulse, lstData);
sendData(strDst);
}
/*模板数据*/
/*
strModel
dialeter
dHeight
*/
void CWheelNet::sendModelList(int nIndex, QString strModel, double dDiameter, double dHeight)
{
QList<int> lstData = genList();
lstData[0] = nIndex;
lstData[1] = dDiameter;
lstData[2] = dHeight;
QString strDst = packData(emTypeLib, lstData, strModel);
sendData(strDst);
}
void CWheelNet::sendDetectResult(QString strModel, double dDiameter, double dHeight)
{
QList<int> lstData = genList();
lstData[0] = dDiameter;
lstData[1] = dHeight;
QString strDst = packData(emTypeResult, lstData, strModel);
sendData(strDst);
}
void CWheelNet::sendThickness()
{
QString strDst = packData(emTypeThickness);
sendData(strDst);
}
void CWheelNet::sendTrig()
{
QString strDst = packData(emTypeTrig);
sendData(strDst);
}
void CWheelNet::sendClearLib()
{
QString strDst = packData(emTypeClear);
sendData(strDst);
}
void CWheelNet::sendLight(int nLightType, int nTimes, int nUpTimes, int nDownTimes)
{
QList<int> lstData = genList();
lstData[0] = nLightType;
lstData[1] = nTimes;
lstData[2] = nUpTimes;
lstData[3] = nDownTimes;
QString strDst = packData(emTypeLight, lstData);
sendData(strDst);
}
void CWheelNet::sendDeteStateList(int nIndex, int nIsDetect, QString strModel)
{
QList<int> lstData = genList();
lstData[0] = nIndex;
lstData[1] = nIsDetect;
//lstData[2] = dHeight;
QString strDst = packData(emTypeDetState, lstData, strModel);
sendData(strDst);
}
void CWheelNet::sendCheckDeteStateList(int nIndex, int nIsDetect, QString strModel)
{
QList<int> lstData = genList();
lstData[0] = nIndex;
//lstData[1] = nIsDetect;
//lstData[2] = dHeight;
QString strDst = packData(emTypeCheckDete, lstData, strModel);
sendData(strDst);
}
void CWheelNet::sendModelInitDone()
{
QString strDst = packData(emTypeInitDone);
sendData(strDst);
}
void CWheelNet::sendModelNum(int nCount)
{
QList<int> lstData = genList();
lstData[0] = nCount;
QString strDst = packData(emTypeModelnum, lstData);
sendData(strDst);
}
void CWheelNet::sendClearDisLibs()
{
QList<int> lstData = genList();
lstData[0] = 1;
QString strDst = packData(emTypeWriteDisOnlineModels, lstData);
sendData(strDst);
}
void CWheelNet::sendDisLibs(int nIndex, QString strModel)
{
QList<int> lstData = genList();
lstData[0] = 0;
lstData[1] = nIndex;
QString strDst = packData(emTypeWriteDisOnlineModels, lstData, strModel);
sendData(strDst);
}
void CWheelNet::sendDisLibsDone()
{
QList<int> lstData = genList();
lstData[0] = 2;
QString strDst = packData(emTypeWriteDisOnlineModels, lstData);
sendData(strDst);
}
void CWheelNet::sendCheckAllModelState()/*查询在线检测状态*/
{
QString strDst = packData(emTypeReadOnlineModels);
sendData(strDst);
}
Q_SLOT void CWheelNet::onConnect(QVariantMap vMap)
{
//
QString m_type = vMap.value("type").toString();
QString address, port, peerName, client_State;
QString strPre = m_type + "_";
address = vMap.value(strPre + "address").toString();
port = vMap.value(strPre + "port").toString();
peerName = vMap.value(strPre + "name").toString();
client_State = vMap.value(strPre + "state").toString();
bool bConnect = true;
if (client_State == "Disconnect" || client_State == "close listen ") {
bConnect = false;
}
QString str = QDateTime::currentDateTime().toString("yyyy-MM-dd hh:mm:ss");
str.append(":\n");
str.append("type=" + m_type + " " + "address:" + address + " sourcePort:" + port + " is " + client_State);
str.append("\n");
QString Clientobj = genAddressPort(address, port);
emit sgShow2UI(str, bConnect);
emit sgClientConnect(Clientobj, bConnect);
}
Q_SLOT void CWheelNet::DataRecvByte(QByteArray m_data)
{
if (m_data.size() <= 0) {
return;
}
while (m_data.size() != 0) {
int nCmd = -1;
QList<int> lstData;
QString strModel;
m_data = parseData(m_data, nCmd, lstData, strModel);
switch (nCmd) {
case emTypePulse://心跳包应答
emit(sgPulseRev());
break;
case emTypeLib://模板库应答
emit(sgLibRev(true));
break;
case emTypeResult://检测结果发送应答
emit(sgResultRev());
break;
case emTypeThickness:
{
int height = lstData.at(0);
emit sgThickness((double)height);
break;
}
case emTypeTrig:
{
//PLC触发相机 主动上报
qWarning() << "recv a camera triger time:" << QDateTime::currentDateTime().toString("yyyy-MM-dd hh:mm:ss zzz") << ";";
emit sgCameraTrig(lstData.at(0));// 第几个 索引
}
break;
case emTypeClear:
emit(sgClearRev(true));
break;
case emTypeDetState:
emit sgDeteState(true);
//发送1000个勾的应答
break;
case emTypeCheckDete:
//查询
emit sgDeteState(true);
emit(sgRecvDetectState(lstData.at(0), lstData.at(1)));
break;
case emTypeInitDone:
break;
case emTypePLCUpdate://11 在线时勾选表主动上报
emit(sgRecvDetectState(lstData.at(0), lstData.at(1)));
break;
case emTypeModelnum:
break;
case emTypeChangeOnline:
emit(sgChangeOnlineState(lstData.at(0)));
break;
case emTypeWriteDisOnlineModels:
if (lstData.at(0) == 1){
emit(sgClearDisLibASK());
}
else if (lstData.at(0) == 0){
emit(sgSendDisLibASK(true));
}
break;
case emTypeReadOnlineModels:
if (lstData.at(0) == 0)
{
strModel.remove("#");
emit(sgReadDetectState(lstData.at(1), strModel));
}
else if (lstData.at(0) == 1){
emit(sgReadDetectStateASK());
}
break;
case emTypeTriger:
emit(sgRecvTrigPara());
break;
case emShutDown:
emit(sgShutDownComputer());
default:
break;
}
}
}
//发送结果通道
void CWheelNet::sendResultChannel(int nChannelValue, double dHeight, double dDiameter, QString str /*QString()*/)
{
QList<int> lstData = genList();
lstData[0] = dHeight;
lstData[1] = dDiameter;
lstData[2] = nChannelValue;
QString strDst = packData(emTypeResult, lstData, str);
sendData(strDst);
}
/*
nSignal
nCamTriger
nCamPulse
nLight
nTrigerType 0-沿 1-沿
*/
void CWheelNet::sendTrigerPara(int nSignal,int nCamTriger,int nCamPulse,int nLight,int nTrigerType,int nResHoldTime)
{
QList<int> lstData = genList();
lstData[0] = nSignal;
lstData[1] = nCamTriger;
lstData[2] = nCamPulse;
lstData[3] = nLight;
lstData[4] = nTrigerType;
lstData[5] = nResHoldTime;
QString strDst = packData(emTypeTriger, lstData);
sendData(strDst);
}
Q_SLOT void CWheelNet::onSendDataByType(int nType, QVariantMap nMap)
{
switch (nType){
case emTypePulse:
sendPulse(nMap.value("time").toInt(), nMap.value("detestate").toInt(),nMap.value("onlineStatie").toInt());
break;
}
}

@ -1,91 +0,0 @@
#pragma once
#include "NetProtocol.h"
#include "QThread"
class IMainCallback;
/*
CWheelNet
1IP
2IP
3
4
*/
enum EM_HEAD_TYPE {
emTypePulse = 1, emTypeLib, emTypeResult, emTypeThickness,
emTypeTrig, emTypeClear, emTypeLight, emTypeDetState, emTypeCheckDete,
emTypeInitDone, emTypePLCUpdate, emTypeModelnum, emTypeChangeOnline,
emTypeWriteDisOnlineModels, emTypeReadOnlineModels, emTypeResultChannel, emTypeTriger, emAngleRst , emShutDown
};
class CWheelNet : public QObject, public NetProtocol
{
Q_OBJECT
public:
CWheelNet(QString strRoot);
~CWheelNet();
Q_SLOT void onOpenServer(QString IPAddr, int port);
Q_SLOT void onOpenServer();
Q_SLOT void onCloseServer();
Q_SLOT void onSendDataByType(int nType, QVariantMap nMap);
private:
Q_SLOT void DataRecvByte(QByteArray m_data);
Q_SLOT void onConnect(QVariantMap vMap);
public:
void sendModelInitDone();
void sendPulse(int nInterval, int nState, int nOnline);
void sendModelList(int nIndex, QString strModel, double dDiameter, double dHeight);
void sendDetectResult(QString strModel, double dHeight, double dDiameter);
void sendResultChannel(int nChannelValue, double dHeight, double dDiameter, QString str = QString());
void sendThickness();
void sendTrig();//发送清空触发计数
void sendClearLib();
void sendModelNum(int nCount);
void sendLight(int nLightType, int nTimes, int nUpTimes, int nDownTimes);
void sendDeteStateList(int nIndex, int nIsDetect, QString strModel);
void sendCheckDeteStateList(int nIndex, int nIsDetect, QString strModel);
void sendCheckAllModelState(); //查询检测在线检测状态 10s发一次
void sendClearDisLibs();//清除下位机离线库
void sendDisLibs(int nIndex, QString strModel);
void sendDisLibsDone();
void sendTrigerPara(int nSignal, int nCamTriger, int nCamPulse, int nLight, int nTrigerType = 0, int nResHoldTime=1500);
signals:
void sgRecvTrigPara();
void sgPulseRev();//心跳包应答信号发送
void sgResultRev();//检测结果发送应答发送
void sgRecv(const QString &);
void sgThickness(double);//光栅查询的应答
void sgLibRev(bool);//发送库的应答
void sgClearRev(bool);//发送清空库的应答
void sgDeteState(bool);//发送离线时的检测状态的应答
void sgChangeOnlineState(int);//强制改变离线、在线状态
void sgRecvDetectState(int nIndex, int value);//在线时接收检测状态
void sgCameraTrig(int);//PLC触发相机时主动上报
void sgShow2UI(QString str, bool bConnect);
void sgClientConnect(QString addr, bool bConnect);
void sgServerState(QString, int, bool);//用来传送server打开 关闭状态
void sgReadDetectState(int nIndex, QString StrModelName);//在线应答信号
void sgClearDisLibASK();
void sgSendDisLibASK(bool);
void sgReadDetectStateASK();
void sgShutDownComputer();
void sgSendData2Dv(QString,QByteArray);
public:
void onShowIpDlg(QWidget* parent);
QString getIp(EM_NET_TYPE type) const;
QString getPort(EM_NET_TYPE type) const;
private:
bool loadNet();
bool loadIpConfig();
bool saveIpConfig();
void sendData(QString strData);
bool sendDataFrame(QString strData);
private:
class INet4Wheel *m_pNet4Wheel;
class IPConfig *m_pIpConfig;
QString m_strRoot;
};

@ -16,12 +16,7 @@ lpGlobalConfig::lpGlobalConfig()
{
totalDetectNum = 0;
totalUnDetectNum = 0;
//m_bObjAll2A = false;
m_startDetectFlags = false;
//saveGood = 0;
//saveBad = 0;
m_Debug = 0;
m_k = -0.00077528844;
m_b = 0.786244571;
@ -218,10 +213,6 @@ void lpGlobalConfig::saveDeteImage()
QJsonObject DetectImage;
DetectImage.insert("Debug", m_Debug);
// DetectImage.insert("SaveCut_Bad", saveCutBad);
// DetectImage.insert("SaveCut_Good", saveCutGood);
// DetectImage.insert("Save_Bad", saveBad);
// DetectImage.insert("Save_Good", saveGood);
DetectImage.insert("saveCutOKImg",bSaveCutOKImg);
DetectImage.insert("saveCutNGImg",bSaveCutNGImg);
@ -234,7 +225,6 @@ void lpGlobalConfig::saveDeteImage()
DetectImage.insert("UseBackground", m_UseBackground);
jsMyself.insert("DetectImage", DetectImage);
QJsonObject autosystemobj;
autosystemobj.insert("AutoSendTick2COM", m_AutoSendTick2COM);
autosystemobj.insert("AutoSendTick2Net", m_AutoSendTick2Net);

@ -1,46 +0,0 @@
#include "qaddchanneldlg.h"
#include <QMessageBox>
#pragma execution_character_set("utf-8")
QAddChannelDlg::QAddChannelDlg(QWidget *parent)
: QDialog(parent)
{
ui.setupUi(this);
connect(ui.pushButton_Cancle,SIGNAL(clicked()),this,SLOT(SlotFunc()));
connect(ui.pushButton_OK, SIGNAL(clicked()), this, SLOT(SlotFunc()));
setWindowIcon(QIcon(":/image/leaper"));
setWindowFlags(Qt::WindowCloseButtonHint);
}
QAddChannelDlg::~QAddChannelDlg()
{
}
QString QAddChannelDlg::GetData(QString &Channelname,int &m_value)
{
Channelname = this->m_Channelname;
m_value = this->m_value;
return this->m_AboutName;
}
Q_SLOT void QAddChannelDlg::SlotFunc()
{
QWidget *pWdgt = (QWidget*)sender();
QString strname = pWdgt->objectName();
if (strname == "pushButton_OK")
{
m_Channelname = ui.lineEdit_name->text();
m_value = ui.spinBox_value->value();
m_AboutName = ui.lineEdit_About->text();
if (m_Channelname.isEmpty())
{
QMessageBox::warning(this, tr("警告"), tr("数据不能为空,请输入"), QMessageBox::Yes);
return;
}
QDialog::accept();
}
else if (strname == "pushButton_Cancle")
{
QDialog::close();
}
}

@ -1,24 +0,0 @@
#ifndef QADDCHANNELDLG_H
#define QADDCHANNELDLG_H
#include <QDialog>
#include "ui_qaddchanneldlg.h"
class QAddChannelDlg : public QDialog
{
Q_OBJECT
public:
QAddChannelDlg(QWidget *parent = 0);
~QAddChannelDlg();
Q_SLOT void SlotFunc();
QString GetData(QString &Channelname,int &m_value);
private:
Ui::QAddChannelDlg ui;
QString m_Channelname;
QString m_AboutName;
int m_value;
};
#endif // QADDCHANNELDLG_H

@ -1,116 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>QAddChannelDlg</class>
<widget class="QDialog" name="QAddChannelDlg">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>236</width>
<height>156</height>
</rect>
</property>
<property name="windowTitle">
<string>新建通道</string>
</property>
<property name="styleSheet">
<string notr="true">font: 11pt &quot;Consolas&quot;;</string>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0">
<layout class="QGridLayout" name="gridLayout">
<item row="2" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>发送结果:</string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>通道名称:</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QSpinBox" name="spinBox_value">
<property name="minimumSize">
<size>
<width>0</width>
<height>25</height>
</size>
</property>
<property name="maximum">
<number>65536</number>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="lineEdit_name">
<property name="minimumSize">
<size>
<width>0</width>
<height>25</height>
</size>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>备注:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="lineEdit_About">
<property name="minimumSize">
<size>
<width>0</width>
<height>25</height>
</size>
</property>
</widget>
</item>
</layout>
</item>
<item row="1" column="0">
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QPushButton" name="pushButton_OK">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>确认</string>
</property>
<property name="default">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton_Cancle">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>取消</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
<layoutdefault spacing="6" margin="11"/>
<resources/>
<connections/>
</ui>

@ -1,61 +0,0 @@
#include "qaddtimedlg.h"
#include "InfoFile.h"
QAddTimeDlg::QAddTimeDlg(QWidget *parent)
: QDialog(parent)
{
ui.setupUi(this);
setWindowFlags(Qt::WindowCloseButtonHint);
connect(ui.pushButton, SIGNAL(clicked()), this, SLOT(SlotOK()));
connect(ui.pushButton_2, SIGNAL(clicked()), this, SLOT(SlotCancle()));
setWindowIcon(QIcon(":/image/leaper"));
ui.timeEdit_Start->setDisplayFormat("hh:mm");
ui.timeEdit_end->setDisplayFormat("hh:mm");
}
QAddTimeDlg::~QAddTimeDlg()
{
}
Q_SLOT void QAddTimeDlg::SlotOK()
{
if (ui.lineEdit->text() == "")
{
return;
}
QDialog::accept();
}
void QAddTimeDlg::SetInfo(TimeStruct m_timeStruct, int model/*=0*/)
{
if (model == 0)
{
ui.lineEdit->setText(m_timeStruct.m_name);
ui.timeEdit_Start->setTime(m_timeStruct.m_startTime);
ui.timeEdit_end->setTime(m_timeStruct.m_endTime);
ui.comboBox_Start->setCurrentIndex((int)m_timeStruct.time_start);
ui.comboBox_end->setCurrentIndex((int)m_timeStruct.time_end);
}
else
{
ui.lineEdit->setText("");
}
}
void QAddTimeDlg::GetInfo(TimeStruct &m_timeStruct)
{
QString str_name = ui.lineEdit->text();
QTime startime = ui.timeEdit_Start->time();
QTime endtime = ui.timeEdit_end->time();
m_timeStruct.time_start = (AMPMType)ui.comboBox_Start->currentIndex();
m_timeStruct.time_end = (AMPMType)ui.comboBox_end->currentIndex();
m_timeStruct.m_name = str_name;
m_timeStruct.m_startTime = startime;
m_timeStruct.m_endTime = endtime;
}
Q_SLOT void QAddTimeDlg::SlotCancle()
{
QDialog::close();
}

@ -1,22 +0,0 @@
#ifndef QADDTIMEDLG_H
#define QADDTIMEDLG_H
#include <QDialog>
#include "ui_qaddtimedlg.h"
struct TimeStruct;
class QAddTimeDlg : public QDialog
{
Q_OBJECT
public:
QAddTimeDlg(QWidget *parent = 0);
~QAddTimeDlg();
Q_SLOT void SlotOK();
Q_SLOT void SlotCancle();
void SetInfo(TimeStruct m_timeStruct, int model=0);
void GetInfo(TimeStruct &m_timeStruct);
private:
Ui::QAddTimeDlg ui;
};
#endif // QADDTIMEDLG_H

@ -1,256 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>QAddTimeDlg</class>
<widget class="QDialog" name="QAddTimeDlg">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>282</width>
<height>202</height>
</rect>
</property>
<property name="windowTitle">
<string>时间参数设置</string>
</property>
<property name="styleSheet">
<string notr="true">font: 11pt &quot;Consolas&quot;;</string>
</property>
<layout class="QGridLayout" name="gridLayout_3">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item row="4" column="0">
<layout class="QGridLayout" name="gridLayout">
<item row="1" column="1">
<widget class="QPushButton" name="pushButton">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>确认</string>
</property>
<property name="default">
<bool>true</bool>
</property>
<property name="flat">
<bool>false</bool>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QPushButton" name="pushButton_2">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>取消</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="0" column="0">
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>时间参数:</string>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="1" column="0">
<widget class="QLabel" name="label_4">
<property name="minimumSize">
<size>
<width>0</width>
<height>30</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(170, 170, 127);</string>
</property>
<property name="text">
<string>起始时间</string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label_6">
<property name="minimumSize">
<size>
<width>0</width>
<height>30</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(170, 170, 127);
font: 75 12pt &quot;Consolas&quot;;</string>
</property>
<property name="text">
<string>班次名称:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QTimeEdit" name="timeEdit_Start">
<property name="minimumSize">
<size>
<width>0</width>
<height>30</height>
</size>
</property>
<property name="buttonSymbols">
<enum>QAbstractSpinBox::UpDownArrows</enum>
</property>
<property name="maximumTime">
<time>
<hour>23</hour>
<minute>59</minute>
<second>59</second>
</time>
</property>
<property name="minimumTime">
<time>
<hour>0</hour>
<minute>0</minute>
<second>0</second>
</time>
</property>
<property name="currentSection">
<enum>QDateTimeEdit::HourSection</enum>
</property>
<property name="displayFormat">
<string>hh:mm</string>
</property>
<property name="timeSpec">
<enum>Qt::LocalTime</enum>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_5">
<property name="minimumSize">
<size>
<width>0</width>
<height>30</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(170, 170, 127);</string>
</property>
<property name="text">
<string>结束时间</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QTimeEdit" name="timeEdit_end">
<property name="minimumSize">
<size>
<width>0</width>
<height>30</height>
</size>
</property>
<property name="minimumDateTime">
<datetime>
<hour>0</hour>
<minute>0</minute>
<second>0</second>
<year>2000</year>
<month>1</month>
<day>1</day>
</datetime>
</property>
<property name="minimumTime">
<time>
<hour>0</hour>
<minute>0</minute>
<second>0</second>
</time>
</property>
<property name="displayFormat">
<string>hh:mm</string>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QComboBox" name="comboBox_Start">
<property name="minimumSize">
<size>
<width>0</width>
<height>30</height>
</size>
</property>
<item>
<property name="text">
<string>当天</string>
</property>
</item>
<item>
<property name="text">
<string>隔天</string>
</property>
</item>
</widget>
</item>
<item row="3" column="2">
<widget class="QComboBox" name="comboBox_end">
<property name="minimumSize">
<size>
<width>0</width>
<height>30</height>
</size>
</property>
<item>
<property name="text">
<string>当天</string>
</property>
</item>
<item>
<property name="text">
<string>隔天</string>
</property>
</item>
</widget>
</item>
<item row="0" column="1" colspan="2">
<widget class="QLineEdit" name="lineEdit">
<property name="minimumSize">
<size>
<width>0</width>
<height>30</height>
</size>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<layoutdefault spacing="6" margin="11"/>
<tabstops>
<tabstop>lineEdit</tabstop>
<tabstop>timeEdit_Start</tabstop>
<tabstop>timeEdit_end</tabstop>
<tabstop>comboBox_Start</tabstop>
<tabstop>comboBox_end</tabstop>
<tabstop>pushButton</tabstop>
<tabstop>pushButton_2</tabstop>
</tabstops>
<resources/>
<connections/>
</ui>

@ -1,139 +0,0 @@
#include "qchannelmanager.h"
#include "QStandardItemModel"
#include "ChannelInfo.h"
#include "InfoFile.h"
#include "QHeaderView"
#pragma execution_character_set("utf-8")
QChannelManager::QChannelManager(QWidget *parent)
: QDialog(parent), nChannelFlag(0)
{
ui.setupUi(this);
setWindowFlags(Qt::WindowMaximizeButtonHint | Qt::WindowMinimizeButtonHint | Qt::WindowCloseButtonHint);
channelMgr_tableView = ui.channelMgr_tableView;
lineEdit_name = ui.lineEdit_name;
lineEdit_About = ui.lineEdit_About;
spinBox_value = ui.spinBox_value;
channelMgr_Default = ui.channelMgr_Default;
channelMgr_OKMody = ui.channelMgr_OKMody;
tablemodel = new QStandardItemModel();
tablemodel->setHorizontalHeaderItem(0, new QStandardItem(tr("编号")));
tablemodel->setHorizontalHeaderItem(1, new QStandardItem(tr("通道名")));
tablemodel->setHorizontalHeaderItem(2, new QStandardItem(tr("备注")));
tablemodel->setHorizontalHeaderItem(3, new QStandardItem(tr("发送结果")));
tablemodel->setHorizontalHeaderItem(4, new QStandardItem(tr("是否为默认")));
connect(channelMgr_tableView, SIGNAL(clicked(const QModelIndex &)), this, SLOT(SlotcellClicked(const QModelIndex &)));
connect(channelMgr_OKMody, SIGNAL(clicked()), this, SLOT(onOkMody()));
connect(ui.channelMgr_Exit, SIGNAL(clicked()), this, SLOT(close()));
setWindowIcon(QIcon(":/image/leaper"));
}
QChannelManager::~QChannelManager()
{
}
void QChannelManager::setTableView()
{
//this->m_MapTime = m_pTimeMgr->getAllTime();
channelMgr_tableView->setModel(tablemodel);
channelMgr_tableView->setColumnWidth(0, 50);
channelMgr_tableView->setColumnWidth(1, 100);
channelMgr_tableView->setColumnWidth(2, 100);
channelMgr_tableView->setColumnWidth(3, 100);
channelMgr_tableView->setColumnWidth(4, 100);
channelMgr_tableView->horizontalHeader()->setStretchLastSection(true);//设置最后一列自动填满剩余的空间
channelMgr_tableView->horizontalHeader()->sectionResizeMode(QHeaderView::ResizeToContents);//设置按内容调整列宽
channelMgr_tableView->setSelectionBehavior(QAbstractItemView::SelectRows);//设置单行选择
//默认显示行头,如果你觉得不美观的话,我们可以将隐藏
channelMgr_tableView->setEditTriggers(QAbstractItemView::NoEditTriggers);
//tableView->resizeColumnsToContents();
//如果你用在QTableView中使用右键菜单需启用该属性
//tableView->setContextMenuPolicy(Qt::CustomContextMenu);
channelMgr_tableView->setWordWrap(false);
//tableView->setShowGrid(false);//显示表格线
channelMgr_tableView->setAlternatingRowColors(true);//设置表格交替填充背景色
updateShow();
}
void QChannelManager::setChannelInfo(class CChannelInfo* pChannelInfo /*= NULL*/)
{
m_pChannelInfo = pChannelInfo;
}
Q_SLOT void QChannelManager::SlotcellClicked(const QModelIndex & index)
{
if (m_pChannelInfo)
{
QModelIndex nindex = tablemodel->index(index.row(), 0);
int nIndex = nindex.data().toInt();
nChannelFlag = nIndex;
QMap<int, ChannelInfo*> pChannelInfo = m_pChannelInfo->getChannelModelMap();
ChannelInfo *p = pChannelInfo.value(nIndex);
if (lineEdit_name)
lineEdit_name->setText(p->m_ChannelName);
if (lineEdit_About)
lineEdit_About->setText(p->m_AboutName);
if (spinBox_value)
spinBox_value->setValue(p->m_value);
if (channelMgr_Default)
{
int nchannel = m_pChannelInfo->getDefaultChannel();
channelMgr_Default->setChecked((nchannel == nIndex || (nchannel==0&&nIndex==1)));
}
}
}
Q_SLOT void QChannelManager::onOkMody()
{
if (nChannelFlag == 0)
return;
else
{
if (m_pChannelInfo)
{
ChannelInfo *p = m_pChannelInfo->getChannelModelMap().value(nChannelFlag);
if (lineEdit_name)
p->m_ChannelName = lineEdit_name->text();
if (lineEdit_About)
p->m_AboutName = lineEdit_About->text();
if (spinBox_value)
p->m_value = spinBox_value->value();
if (channelMgr_Default)
{
Qt::CheckState state = channelMgr_Default->checkState();
if (state == Qt::Checked)
m_pChannelInfo->setDefaultChannel(nChannelFlag);
}
m_pChannelInfo->saveChannels();
updateShow();
}
}
}
void QChannelManager::updateShow()
{
int nIndex = 0;
if (m_pChannelInfo)
{
QMap<int, ChannelInfo*> pChannelInfo = m_pChannelInfo->getChannelModelMap();
int defaultChannel = m_pChannelInfo->getDefaultChannel();
for (QMap<int, ChannelInfo*>::iterator its = pChannelInfo.begin(); its != pChannelInfo.end(); ++its)
{
ChannelInfo *p = *its;
int nchannel = its.key();
tablemodel->setItem(nIndex, 0, new QStandardItem(QString::number(nchannel)));
tablemodel->setItem(nIndex, 1, new QStandardItem(p->m_ChannelName));
tablemodel->setItem(nIndex, 2, new QStandardItem(p->m_AboutName));
tablemodel->setItem(nIndex, 3, new QStandardItem(QString::number(p->m_value)));
if (defaultChannel == nchannel || (defaultChannel == 0 && nchannel == 1))//获取默认通道标志
tablemodel->setItem(nIndex, 4, new QStandardItem(tr("默认")));
else
tablemodel->setItem(nIndex, 4, new QStandardItem(QString("")));
nIndex++;
}
}
}

@ -1,34 +0,0 @@
#ifndef QCHANNELMANAGER_H
#define QCHANNELMANAGER_H
#include <QDialog>
#include "ui_qchannelmanager.h"
class QChannelManager : public QDialog
{
Q_OBJECT
public:
QChannelManager(QWidget *parent = 0);
~QChannelManager();
void setTableView();
void setChannelInfo(class CChannelInfo* pChannelInfo = NULL);
Q_SLOT void SlotcellClicked(const QModelIndex & index);
Q_SLOT void onOkMody();
void updateShow();
private:
Ui::QChannelManager ui;
class QTableView *channelMgr_tableView;
class QStandardItemModel *tablemodel;
class CChannelInfo *m_pChannelInfo;
class QLineEdit *lineEdit_name;
class QLineEdit *lineEdit_About;
class QSpinBox *spinBox_value;
class QCheckBox *channelMgr_Default;
class QPushButton *channelMgr_OKMody;
int nChannelFlag;
};
#endif // QCHANNELMANAGER_H

@ -1,163 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>QChannelManager</class>
<widget class="QDialog" name="QChannelManager">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>575</width>
<height>375</height>
</rect>
</property>
<property name="windowTitle">
<string>通道信息管理</string>
</property>
<property name="styleSheet">
<string notr="true">font: 11pt &quot;Consolas&quot;;</string>
</property>
<layout class="QGridLayout" name="gridLayout_3">
<property name="leftMargin">
<number>3</number>
</property>
<property name="topMargin">
<number>3</number>
</property>
<property name="rightMargin">
<number>3</number>
</property>
<property name="bottomMargin">
<number>3</number>
</property>
<item row="0" column="0">
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>所有通道数据</string>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<property name="leftMargin">
<number>3</number>
</property>
<property name="topMargin">
<number>3</number>
</property>
<property name="rightMargin">
<number>3</number>
</property>
<property name="bottomMargin">
<number>3</number>
</property>
<item row="0" column="0">
<widget class="QTableView" name="channelMgr_tableView"/>
</item>
</layout>
</widget>
</item>
<item row="1" column="0">
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="3">
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>发送结果:</string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>通道名称:</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QSpinBox" name="spinBox_value">
<property name="maximum">
<number>65536</number>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="lineEdit_name"/>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>备注:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="lineEdit_About"/>
</item>
<item row="3" column="0" colspan="2">
<widget class="QCheckBox" name="channelMgr_Default">
<property name="text">
<string>是否设为默认NG流向的通道</string>
</property>
</widget>
</item>
<item row="2" column="2" rowspan="2">
<widget class="QPushButton" name="channelMgr_OKMody">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>确认修改</string>
</property>
<property name="default">
<bool>true</bool>
</property>
</widget>
</item>
<item row="2" column="5" rowspan="2">
<widget class="QPushButton" name="channelMgr_Exit">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>退出</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
<layoutdefault spacing="6" margin="11"/>
<resources/>
<connections/>
</ui>

@ -1,35 +0,0 @@
#include "qdia2thsetting.h"
#include "QMessageBox"
#pragma execution_character_set("utf-8")
QDia2ThSetting::QDia2ThSetting(QWidget *parent)
: QDialog(parent)
{
ui.setupUi(this);
setWindowIcon(QIcon(":/image/leaper"));
connect(ui.pushButton_Close, SIGNAL(clicked()), this, SLOT(close()));
connect(ui.pushButton_OK, SIGNAL(clicked()), this, SLOT(onChangeValue()));
}
QDia2ThSetting::~QDia2ThSetting()
{
}
void QDia2ThSetting::SetValue(float *m_B, float *m_K)
{
ui.doubleSpinBox_B->setValue(*m_B);
ui.doubleSpinBox_K->setValue(*m_K);
m_nB = m_B;
m_nK = m_K;
}
Q_SLOT void QDia2ThSetting::onChangeValue()
{
*m_nB = ui.doubleSpinBox_B->value();
*m_nK = ui.doubleSpinBox_K->value();
QMessageBox infobox(QMessageBox::Information, tr("提示"), tr("修改完成,参数已生效!"), QMessageBox::Yes, NULL);
infobox.setWindowIcon(QIcon(":/image/leaper"));
infobox.setButtonText(QMessageBox::Yes, tr("确定"));
infobox.exec();
emit sgSavePara();
}

@ -1,25 +0,0 @@
#ifndef QDIA2THSETTING_H
#define QDIA2THSETTING_H
#include <QDialog>
#include "ui_qdia2thsetting.h"
class QDia2ThSetting : public QDialog
{
Q_OBJECT
public:
QDia2ThSetting(QWidget *parent = 0);
~QDia2ThSetting();
void SetValue(float *m_B, float *m_K);
Q_SLOT void onChangeValue();
signals:
void sgSavePara();
private:
Ui::QDia2ThSetting ui;
float *m_nB;
float *m_nK;
};
#endif // QDIA2THSETTING_H

@ -1,130 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>QDia2ThSetting</class>
<widget class="QDialog" name="QDia2ThSetting">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>324</width>
<height>160</height>
</rect>
</property>
<property name="windowTitle">
<string>直径标定</string>
</property>
<property name="styleSheet">
<string notr="true">font: 12pt &quot;Consolas&quot;;</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0" colspan="2">
<widget class="QLabel" name="label_3">
<property name="text">
<string>K:表示斜率B基准点直径=高度*K+B</string>
</property>
</widget>
</item>
<item row="5" column="0" colspan="2">
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QPushButton" name="pushButton_OK">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>确认修改</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="pushButton_Close">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>退出</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="3" column="1">
<widget class="QDoubleSpinBox" name="doubleSpinBox_B">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="decimals">
<number>10</number>
</property>
<property name="minimum">
<double>-100.000000000000000</double>
</property>
<property name="singleStep">
<double>0.001000000000000</double>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>B</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>K:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QDoubleSpinBox" name="doubleSpinBox_K">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="decimals">
<number>10</number>
</property>
<property name="minimum">
<double>-100.000000000000000</double>
</property>
<property name="maximum">
<double>99.998999999999995</double>
</property>
<property name="singleStep">
<double>0.001000000000000</double>
</property>
</widget>
</item>
</layout>
</widget>
<layoutdefault spacing="6" margin="11"/>
<resources/>
<connections/>
</ui>

@ -1,73 +0,0 @@
#include "qipconfigdlg.h"
#include "InfoFile.h"
QIPConfigDlg::QIPConfigDlg(QWidget *parent)
: QDialog(parent)
{
ui.setupUi(this);
setWindowIcon(QIcon(":/image/leaper"));
// setWindowFlags(Qt::WindowFullscreenButtonHint);
// setWindowFlags(Qt::WindowMinimizeButtonHint);
// setWindowFlags(Qt::WindowTitleHint);
setWindowFlags(Qt::WindowCloseButtonHint);
//setWindowFlags(Qt::Tool);
QRegExp regExpIP("((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])[\\.]){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])");
QRegExp regExpNetPort("((6553[0-5])|[655[0-2][0-9]|65[0-4][0-9]{2}|6[0-4][0-9]{3}|[1-5][0-9]{4}|[1-9][0-9]{3}|[1-9][0-9]{2}|[1-9][0-9]|[0-9])");
QRegExp regExpChannel("[0-5]");
ui.lineEdit_ServerIP->setValidator(new QRegExpValidator(regExpIP, this));
ui.lineEdit_ServerPort->setValidator(new QRegExpValidator(regExpNetPort, this));
ui.lineEdit_ClientIP->setValidator(new QRegExpValidator(regExpIP, this));
ui.lineEdit_ClientPort->setValidator(new QRegExpValidator(regExpNetPort, this));
connect(ui.pushButton_Close, SIGNAL(clicked()), this, SLOT(SlotCloseServer()));
connect(ui.pushButton_open, SIGNAL(clicked()), this, SLOT(SlotOpenServer()));
connect(ui.pushButton_OK, SIGNAL(clicked()), this, SLOT(SlotOK()));
ui.lineEdit_ServerIP->setDisabled(true);
ui.lineEdit_ServerPort->setDisabled(true);
ui.pushButton_open->setDisabled(true);
}
QIPConfigDlg::~QIPConfigDlg()
{
}
void QIPConfigDlg::SetIPData(const IPConfig *m_IPdata)
{
ui.lineEdit_ServerIP->setText(m_IPdata->m_TcpAddress);
ui.lineEdit_ServerPort->setText(QString::number(m_IPdata->m_TcpPort));
ui.lineEdit_ClientIP->setText(m_IPdata->m_ClientAddress);
ui.lineEdit_ClientPort->setText(QString::number(m_IPdata->m_ClientPort));
}
void QIPConfigDlg::GetIPData(IPConfig *m_IPdata)
{
m_IPdata->m_TcpAddress = ui.lineEdit_ServerIP->text();
m_IPdata->m_TcpPort = ui.lineEdit_ServerPort->text().toInt();
m_IPdata->m_ClientAddress = ui.lineEdit_ClientIP->text();
m_IPdata->m_ClientPort = ui.lineEdit_ClientPort->text().toInt();
}
Q_SLOT void QIPConfigDlg::SlotCloseServer()
{
emit(SignalCloseServer());
ui.pushButton_Close->setDisabled(true);
ui.pushButton_open->setDisabled(false);
ui.lineEdit_ServerIP->setDisabled(false);
ui.lineEdit_ServerPort->setDisabled(false);
}
Q_SLOT void QIPConfigDlg::SlotOpenServer()
{
QString m_TcpAddress = ui.lineEdit_ServerIP->text();
int m_TcpPort = ui.lineEdit_ServerPort->text().toInt();
emit(SignalOpenServer(m_TcpAddress, m_TcpPort));
ui.pushButton_Close->setDisabled(false);
ui.pushButton_open->setDisabled(true);
ui.lineEdit_ServerIP->setDisabled(true);
ui.lineEdit_ServerPort->setDisabled(true);
}
Q_SLOT void QIPConfigDlg::SlotOK()
{
QDialog::accept();
}

@ -1,40 +0,0 @@
#ifndef QIPCONFIGDLG_H
#define QIPCONFIGDLG_H
#include <QDialog>
#include "ui_qipconfigdlg.h"
#include <QRegExp>
struct IPConfig
{
QString m_TcpAddress;
int m_TcpPort;
QString m_ClientAddress;
int m_ClientPort;
IPConfig(){
m_TcpAddress = "192.168.0.110";
m_ClientAddress = "192.168.0.119";
m_TcpPort = 2000;
m_ClientPort = 2000;
};
};
class QIPConfigDlg : public QDialog
{
Q_OBJECT
public:
QIPConfigDlg(QWidget *parent = 0);
~QIPConfigDlg();
void SetIPData(const IPConfig * m_IPdata);
void GetIPData(IPConfig * m_IPdata);
Q_SLOT void SlotCloseServer();
Q_SLOT void SlotOpenServer();
Q_SLOT void SlotOK();
private:
Ui::QIPConfigDlg ui;
signals:
void SignalCloseServer();
void SignalOpenServer(QString IPaddr, int port);
};
#endif // QIPCONFIGDLG_H

@ -1,189 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>QIPConfigDlg</class>
<widget class="QDialog" name="QIPConfigDlg">
<property name="windowModality">
<enum>Qt::ApplicationModal</enum>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>400</width>
<height>255</height>
</rect>
</property>
<property name="windowTitle">
<string>QIPConfigDlg</string>
</property>
<property name="styleSheet">
<string notr="true">font: 11pt &quot;Consolas&quot;;</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="3" column="0">
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="3" column="2">
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="0" column="0" colspan="3">
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>本机服务器IP地址设置</string>
</property>
<layout class="QGridLayout" name="gridLayout_3">
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>IP 地址(I)</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="lineEdit_ServerIP">
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QPushButton" name="pushButton_Close">
<property name="text">
<string>关闭服务</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>开放端口:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="lineEdit_ServerPort">
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QPushButton" name="pushButton_open">
<property name="text">
<string>打开服务</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="1" column="0" colspan="3">
<widget class="QGroupBox" name="groupBox_2">
<property name="title">
<string>目标客户端IP地址设置</string>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="1" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>源端口:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="lineEdit_ClientPort">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="lineEdit_ClientIP">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>IP 地址(I)</string>
</property>
</widget>
</item>
<item row="0" column="2">
<spacer name="horizontalSpacer_3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
<item row="3" column="1">
<widget class="QPushButton" name="pushButton_OK">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>30</height>
</size>
</property>
<property name="text">
<string>确定</string>
</property>
<property name="default">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
<layoutdefault spacing="6" margin="11"/>
<resources/>
<connections/>
</ui>

@ -1,12 +0,0 @@
#include "qnettickthread.h"
QNetTickThread::QNetTickThread(QObject *parent)
: QObject(parent)
{
pNet = NULL;
}
QNetTickThread::~QNetTickThread()
{
}

@ -1,26 +0,0 @@
#ifndef QNETTICKTHREAD_H
#define QNETTICKTHREAD_H
#include <QObject>
#include "WheelNet.h"
class QNetTickThread : public QObject
{
Q_OBJECT
public:
QNetTickThread(QObject *parent = 0);
~QNetTickThread();
void setNetPtr(CWheelNet* ptr){ pNet = ptr; };
public slots:
void doWork(int nType, QVariantMap m_map) {
emit resultReady(nType, m_map);
}
private:
CWheelNet *pNet;
signals :
void resultReady(int, QVariantMap);
};
#endif // QNETTICKTHREAD_H

@ -5,7 +5,7 @@
#include "QByteArray"
#include "QFile"
#include "QDateTime"
#include "ChannelInfo.h"
//#include "ChannelInfo.h"
#include "DetectDataDB.h"
#pragma execution_character_set("utf-8")
QSaveResult::QSaveResult(QObject *parent)
@ -28,7 +28,7 @@ void QSaveResult::doWork(Result2Ui *pResult)
map.insert("diameter", pResult->m_dDiameter);//直径
map.insert("hight", pResult->m_dThickness);//高度
map.insert("correlate", pResult->m_dScore);//相似度
map.insert("channel", m_pChannel->getChannelInfoKey(m_strPath));
// map.insert("channel", m_pChannel->getChannelInfoKey(m_strPath));
map.insert("detecttime", pResult->m_dRunTime);
map.insert("time", QDateTime::currentDateTime().toString("yyyy-MM-dd hh:mm:ss"));
if (pResult->m_pixResult.isNull())

@ -13,7 +13,7 @@
#include "IWheelModel.h"
#include "qpulpewidget.h"
#include "WheelCtrl.h"
#include "WheelNet.h"
//#include "WheelNet.h"
#include <QHeaderView>
#include "qworkItemdlg.h"
#include <QMessageBox>
@ -416,9 +416,9 @@ Q_SLOT void QWorkMgrUI::onClickButton()
// }
// }
else if (strObj == "work_SendModelLib_pb"){
WheelCtrl* m_pWheelCtrl = (WheelCtrl*)m_pCtrl;
m_pWheelCtrl->getNet()->sendClearLib();
emit(sgShowMsg(tr("发送模板库")));
// WheelCtrl* m_pWheelCtrl = (WheelCtrl*)m_pCtrl;
// m_pWheelCtrl->getNet()->sendClearLib();
// emit(sgShowMsg(tr("发送模板库")));
}
else if ("workmgr_Mod" == strObj){//修改工作单
QModelIndex mIndex = ptableview->currentIndex();

@ -1,76 +0,0 @@
#include "timemgrctrl.h"
#include "DetectDataDB.h"
#pragma execution_character_set("utf-8")
TimeMgrCtrl::TimeMgrCtrl(DetectDataDB *m_pDb)
{
m_DB = m_pDb;
if (m_DB->ReadOutTimeData(m_MapTime))
return;
}
TimeMgrCtrl::~TimeMgrCtrl()
{
}
void TimeMgrCtrl::AddNewTime(TimeStruct &m_time)
{
m_DB->AddOneTime(m_time);
m_MapTime.insert(m_time.m_name, m_time);
}
void TimeMgrCtrl::DelOldTime(TimeStruct &m_time)
{
m_DB->DelOneTime(m_time);
m_MapTime.remove(m_time.m_name);
}
QMap<QString, TimeStruct> TimeMgrCtrl::getAllTime()
{
return m_MapTime;
}
QMap<QString, TimeStruct>* TimeMgrCtrl::getAllTimePtr()
{
return &m_MapTime;
}
void TimeMgrCtrl::ModTime(TimeStruct &m_old, TimeStruct &m_new)
{
m_DB->DelOneTime(m_old);
m_MapTime.remove(m_old.m_name);
m_DB->AddOneTime(m_new);
m_MapTime.insert(m_new.m_name, m_new);
}
QString TimeMgrCtrl::GetCurrentBan()
{
QTime nCurrentTime = QDateTime::currentDateTime().time();
const QTime starttime = QTime(0, 0, 0);
const QTime endtime = QTime(23, 59, 59);
for (QMap<QString, TimeStruct>::iterator its = m_MapTime.begin(); its != m_MapTime.end(); ++its)
{
if (its->m_startTime >= its->m_endTime)
{
if (nCurrentTime >= (*its).m_startTime&&nCurrentTime <= endtime)
{
return its.key();
break;
}
else if (nCurrentTime >= starttime&&nCurrentTime <= its->m_endTime)
{
return its.key();
break;
}
}
if (nCurrentTime >= its->m_startTime&&nCurrentTime <= its->m_endTime)
{
return its.key();
break;
}
}
return QString();
}

@ -1,32 +0,0 @@
/*!
*FileName: timemgrctrl.h
*Author: Pan Yingdong
*Email: bob.pan@hzleaper.com
*Created:2021/2/10 16:00
*Note:
*/
#ifndef TIMEMGRCTRL_H
#define TIMEMGRCTRL_H
#include <QObject>
#include <QMap>
#include "InfoFile.h"
class QSqliteApplication;
class DetectDataDB;
class TimeMgrCtrl
{
public:
TimeMgrCtrl(DetectDataDB *p);
~TimeMgrCtrl();
QMap<QString, TimeStruct> getAllTime();
void AddNewTime(TimeStruct &m_time);
void DelOldTime(TimeStruct &m_time);
void ModTime(TimeStruct &m_old, TimeStruct &m_new);
QString GetCurrentBan();
QMap<QString, TimeStruct>* getAllTimePtr();
private:
DetectDataDB* m_DB{ nullptr };
QMap<QString, TimeStruct> m_MapTime;
};
#endif // TIMEMGRCTRL_H

@ -23,7 +23,7 @@
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(130, 136, 255);</string>
<string notr="true"/>
</property>
</widget>
</item>

@ -1,13 +0,0 @@
#include "QChannelMgrDlg.h"
#pragma execution_character_set("utf-8")
/*通道管理*/
QChannelMgrDlg::QChannelMgrDlg(QWidget *parent)
: QWidget(parent)
{
ui.setupUi(this);
setWindowIcon(QIcon(":/image/leaper"));
}
QChannelMgrDlg::~QChannelMgrDlg()
{
}

@ -1,19 +0,0 @@
#ifndef _H_QCHANNELMGRDLG_H_
#define _H_QCHANNELMGRDLG_H_
#include <QWidget>
#include "ui_QChannelMgrDlg.h"
class QChannelMgrDlg : public QWidget
{
Q_OBJECT
public:
QChannelMgrDlg(QWidget *parent = Q_NULLPTR);
~QChannelMgrDlg();
private:
Ui::QChannelMgrDlg ui;
};
#endif

@ -1,352 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>QChannelMgrDlg</class>
<widget class="QWidget" name="QChannelMgrDlg">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1017</width>
<height>658</height>
</rect>
</property>
<property name="windowTitle">
<string>QChannelMgrDlg</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QGroupBox" name="ModelMgr_groupBox_4">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">font: 12pt &quot;Consolas&quot;;</string>
</property>
<property name="title">
<string>所有型号及图像</string>
</property>
<layout class="QGridLayout" name="gridLayout_7">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>3</number>
</property>
<property name="spacing">
<number>5</number>
</property>
<item row="1" column="1">
<widget class="QLabel" name="label_ModelName">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="font">
<font>
<family>Consolas</family>
<pointsize>12</pointsize>
<weight>50</weight>
<italic>false</italic>
<bold>false</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">font: 12pt &quot;Consolas&quot;;</string>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLabel" name="ModelMgr_label_ModelPic">
<property name="minimumSize">
<size>
<width>120</width>
<height>120</height>
</size>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLabel" name="ModelMgr_label_11">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">font: 12pt &quot;Consolas&quot;;</string>
</property>
<property name="text">
<string>型号:</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QLabel" name="ModelMgr_label_3">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">font: 11pt &quot;Consolas&quot;;</string>
</property>
<property name="text">
<string>通道:</string>
</property>
</widget>
</item>
<item row="0" column="0">
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QLabel" name="ModelMgr_label_10">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>查找:</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="ModelMgr_lineEdit_TabFind">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="ModelMgr_pushButton_Hide">
<property name="text">
<string>隐藏</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="4" column="1">
<widget class="QComboBox" name="ModelMgr_comboBox_Model_Path">
<property name="font">
<font>
<family>Consolas</family>
<pointsize>14</pointsize>
<weight>50</weight>
<italic>false</italic>
<bold>false</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">font: 14pt &quot;Consolas&quot;;</string>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="QPushButton" name="ModelMgr_pushButton_Modify">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>40</height>
</size>
</property>
<property name="text">
<string>修改</string>
</property>
</widget>
</item>
<item row="8" column="0">
<widget class="QLabel" name="ModelMgr_label_Number">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">font: 12pt &quot;Consolas&quot;;</string>
</property>
<property name="text">
<string>0</string>
</property>
</widget>
</item>
<item row="1" column="0" rowspan="7">
<widget class="QListWidget" name="ModelMgr_listWidget_tab2"/>
</item>
<item row="6" column="1">
<spacer name="verticalSpacer_4">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
<item row="1" column="0">
<widget class="QGroupBox" name="ModelMgr_groupBox_6">
<property name="styleSheet">
<string notr="true">font: 12pt &quot;Consolas&quot;;</string>
</property>
<property name="title">
<string>通道分配:</string>
</property>
<layout class="QGridLayout" name="gridLayout_10">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<property name="spacing">
<number>0</number>
</property>
<item row="6" column="1">
<widget class="QPushButton" name="ModelMgr_DelChannel_button">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>删除通道</string>
</property>
</widget>
</item>
<item row="4" column="1">
<spacer name="verticalSpacer_2">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
<item row="5" column="1">
<widget class="QPushButton" name="ModelMgr_AddChannel_button">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>增加通道</string>
</property>
</widget>
</item>
<item row="1" column="0" rowspan="6">
<widget class="QScrollArea" name="ModelMgr_scrollArea">
<property name="verticalScrollBarPolicy">
<enum>Qt::ScrollBarAsNeeded</enum>
</property>
<property name="horizontalScrollBarPolicy">
<enum>Qt::ScrollBarAsNeeded</enum>
</property>
<property name="sizeAdjustPolicy">
<enum>QAbstractScrollArea::AdjustIgnored</enum>
</property>
<property name="widgetResizable">
<bool>true</bool>
</property>
<widget class="QWidget" name="scrollAreaWidgetContents">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>920</width>
<height>239</height>
</rect>
</property>
</widget>
</widget>
</item>
<item row="1" column="1">
<widget class="QPushButton" name="ModelMgr_UpdateChannel_button">
<property name="text">
<string>刷新</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QPushButton" name="ModelMgr_ManageChannel_button">
<property name="text">
<string>通道管理</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QPushButton" name="ModelMgr_pushButton_Hide2">
<property name="text">
<string>隐藏</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<layoutdefault spacing="6" margin="11"/>
<resources/>
<connections/>
</ui>

@ -1,209 +0,0 @@
#include "QTimeMgrDlg.h"
#include <QStandardItemModel>
#include "timemgrctrl.h"
#include "qaddtimedlg.h"
#include <QMessageBox>
#pragma execution_character_set("utf-8")
struct CmpByValueTime {
bool operator()(const TimeStruct & lhs, const TimeStruct & rhs)
{
return lhs.m_startTime < rhs.m_startTime;
}
};
QTimeMgrDlg::QTimeMgrDlg(QWidget *parent)
: QDialog(parent)
{
ui.setupUi(this);
setWindowIcon(QIcon(":/image/leaper"));
tablemodel = new QStandardItemModel();
QStringList stringList;
stringList << tr("班次") << tr("起始时间") << tr("结束时间");
tablemodel->setHorizontalHeaderLabels(stringList);
connect(ui.TimeMgr_tableView, SIGNAL(clicked(const QModelIndex &)), this, SLOT(SlotcellClicked(const QModelIndex &)));
connect(ui.TimeMgr_ADD_Button, SIGNAL(clicked()), this, SLOT(onButtonClicked()));
connect(ui.TimeMgr_Del_Button, SIGNAL(clicked()), this, SLOT(onButtonClicked()));
connect(ui.TimeMgr_Mod_Button, SIGNAL(clicked()), this, SLOT(onButtonClicked()));
}
QTimeMgrDlg::~QTimeMgrDlg()
{
if (tablemodel) {
while (tablemodel->rowCount())
{
QList<QStandardItem*> lptr = tablemodel->takeRow(0);
for (int n = 0; n < lptr.size(); n++)
{
delete lptr.at(n);
}
}
tablemodel->clear();
delete tablemodel;
tablemodel = NULL;
}
}
Q_SLOT void QTimeMgrDlg::onButtonClicked()
{
QObject *obj = sender();
QString str_name = obj->objectName();
if (str_name == "TimeMgr_ADD_Button") {
QAddTimeDlg dlg(this);
dlg.setWindowTitle(tr("设置参数"));
dlg.setWindowIcon(QIcon(":/image/leaper"));
dlg.setFocus();
dlg.setWindowFlags(Qt::Dialog | Qt::WindowCloseButtonHint);
dlg.setWindowModality(Qt::ApplicationModal);
dlg.setAttribute(Qt::WA_ShowModal, true);
if (dlg.exec() == QDialog::Accepted)
{
TimeStruct m_Timestruct;
dlg.GetInfo(m_Timestruct);
if (m_MapTime.contains(m_Timestruct.m_name))
{
return;
}
int nIndex = tablemodel->rowCount();
tablemodel->setItem(nIndex, 0, new QStandardItem(m_Timestruct.m_name));
QString strStart = QString("%1 %2").arg(m_Timestruct.time_start == AM ? tr("当天") : tr("隔天")).arg(m_Timestruct.m_startTime.toString("hh:mm"));
QString strEnd = QString("%1 %2").arg(m_Timestruct.time_end == AM ? tr("当天") : tr("隔天")).arg(m_Timestruct.m_endTime.toString("hh:mm"));
tablemodel->setItem(nIndex, 1, new QStandardItem(strStart));
tablemodel->setItem(nIndex, 2, new QStandardItem(strEnd));
m_Timestruct.m_Index = nIndex;
m_MapTime.insert(m_Timestruct.m_name, m_Timestruct);
TimeMgrCtrl *m_pTimeMgr = m_pCtrl->getTimeMgr();
m_pTimeMgr->AddNewTime(m_Timestruct);
ui.TimeMgr_label->setText("");
}
}
else if (str_name == "TimeMgr_Del_Button") {
QString str_name = ui.TimeMgr_label->text();
if (str_name.isEmpty() || str_name == tr("未选中"))
{
//QMessageBox::information(NULL, QString("提示"), QString("未选择班次,请选择进行修改。"), QMessageBox::Ok);
QMessageBox infobox(QMessageBox::Information, tr("提示"), tr("未选择班次,请选择进行修改。"), QMessageBox::Yes, this);
infobox.setWindowIcon(QIcon(":/image/leaper"));
infobox.setButtonText(QMessageBox::Yes, tr("确认"));
infobox.exec();
return;
}
QString str = tr("您确定要删除 %1 班次?").arg(str_name);
if (str_name.isEmpty())
return;
QMessageBox infobox(QMessageBox::Information, tr("提示"), str, QMessageBox::Ok | QMessageBox::Cancel, this);
infobox.setWindowIcon(QIcon(":/image/leaper"));
infobox.setButtonText(QMessageBox::Ok, tr("确认"));
infobox.setButtonText(QMessageBox::Cancel, tr("取消"));
if (infobox.exec() == QMessageBox::Ok)
{
if (str_name.isEmpty())
return;
QModelIndex nIndex = ui.TimeMgr_tableView->currentIndex();
int row = nIndex.row();
if (tablemodel->removeRow(nIndex.row()))
int a = 0;
else
int b = 0;
TimeStruct m_TimeStruct;
m_TimeStruct.m_name = str_name;
m_MapTime.remove(str_name);
TimeMgrCtrl *m_pTimeMgr = m_pCtrl->getTimeMgr();
m_pTimeMgr->DelOldTime(m_TimeStruct);
ui.TimeMgr_label->setText("");
}
}
else if (str_name == "TimeMgr_Mod_Button") {
QString str_name = ui.TimeMgr_label->text();
if (str_name.isEmpty() || str_name == tr("未选中"))
{
QMessageBox infobox(QMessageBox::Information, tr("提示"), tr("未选择班次,请选择进行修改。"), QMessageBox::Yes, this);
infobox.setWindowIcon(QIcon(":/image/leaper"));
infobox.setButtonText(QMessageBox::Yes, tr("确认"));
infobox.exec();
return;
}
QAddTimeDlg dlg;
dlg.SetInfo(m_MapTime.value(str_name));
if (dlg.exec() == QDialog::Accepted)
{
TimeStruct m_tempTime, m_newTime;
m_tempTime.m_name = str_name;
m_MapTime.remove(str_name);
dlg.GetInfo(m_newTime);
TimeMgrCtrl *m_pTimeMgr = m_pCtrl->getTimeMgr();
m_pTimeMgr->ModTime(m_tempTime, m_newTime);
m_MapTime.insert(m_newTime.m_name, m_newTime);
int nIndex = 0;
std::vector<TimeStruct> vec(m_MapTime.begin(), m_MapTime.end());
std::sort(vec.begin(), vec.end(), CmpByValueTime());
for (int n = 0; n < vec.size(); n++)
{
TimeStruct tiItem = vec.at(n);
tablemodel->setItem(nIndex, 0, new QStandardItem(tiItem.m_name));
QString strStart = QString("%1 %2").arg(tiItem.time_start == AM ? tr("当天") : tr("隔天")).arg(tiItem.m_startTime.toString("hh:mm"));
QString strEnd = QString("%1 %2").arg(tiItem.time_end == AM ? tr("当天") : tr("隔天")).arg(tiItem.m_endTime.toString("hh:mm"));
tablemodel->setItem(nIndex, 1, new QStandardItem(strStart));
tablemodel->setItem(nIndex, 2, new QStandardItem(strEnd));
nIndex++;
}
ui.TimeMgr_label->setText("");
}
}
else if (str_name == "TimeMgr_OK_Button") {
//QDialog::accept();
}
}
Q_SLOT void QTimeMgrDlg::onSlotCellClicked(const QModelIndex& index)
{
if (m_MapTime.size() > 0)
{
QModelIndex nindex = tablemodel->index(index.row(), 0);
QString str = nindex.data().toString();
ui.TimeMgr_label->setText(str);
}
}
void QTimeMgrDlg::showEvent(QShowEvent *)
{
TimeMgrCtrl *m_pTimeMgr = m_pCtrl->getTimeMgr();
this->m_MapTime = m_pTimeMgr->getAllTime();
ui.TimeMgr_tableView->setModel(tablemodel);
ui.TimeMgr_tableView->setColumnWidth(0, 100);
ui.TimeMgr_tableView->setColumnWidth(1, 100);
ui.TimeMgr_tableView->setColumnWidth(2, 100);
//默认显示行头,如果你觉得不美观的话,我们可以将隐藏
//m_tableView->verticalHeader()->hide();
ui.TimeMgr_tableView->setSelectionBehavior(QAbstractItemView::SelectRows);
ui.TimeMgr_tableView->setEditTriggers(QAbstractItemView::NoEditTriggers);
//tableView->resizeColumnsToContents();
//如果你用在QTableView中使用右键菜单需启用该属性
//tableView->setContextMenuPolicy(Qt::CustomContextMenu);
ui.TimeMgr_tableView->setWordWrap(false);
//tableView->setShowGrid(false);//显示表格线
ui.TimeMgr_tableView->setAlternatingRowColors(true);
int nIndex = 0;
if (m_MapTime.size() <= 0)
return;
std::vector<TimeStruct> vec(m_MapTime.begin(), m_MapTime.end());
std::sort(vec.begin(), vec.end(), CmpByValueTime());
for (int n = 0; n < vec.size(); n++)
{
TimeStruct tiItem = vec.at(n);
tablemodel->setItem(nIndex, 0, new QStandardItem(tiItem.m_name));
QString strStart = QString("%1 %2").arg(tiItem.time_start == AM ? tr("当天") : tr("隔天")).arg(tiItem.m_startTime.toString("hh:mm"));
QString strEnd = QString("%1 %2").arg(tiItem.time_end == AM ? tr("当天") : tr("隔天")).arg(tiItem.m_endTime.toString("hh:mm"));
tablemodel->setItem(nIndex, 1, new QStandardItem(strStart));
tablemodel->setItem(nIndex, 2, new QStandardItem(strEnd));
nIndex++;
}
}

@ -1,29 +0,0 @@
#ifndef _H_QTIMEMGRDLG_H_
#define _H_QTIMEMGRDLG_H_
#include <QDialog>
#include "ui_QTimeMgrDlg.h"
#include "InfoFile.h"
#include "IWheelCtrl.h"
class TimeMgrCtrl;
/*班次管理窗口页面*/
class QTimeMgrDlg : public QDialog
{
Q_OBJECT
public:
QTimeMgrDlg(QWidget *parent = Q_NULLPTR);
~QTimeMgrDlg();
void onSetCtrlPtr(IWheelCtrl *p) { m_pCtrl = p; };
Q_SLOT void onButtonClicked();
Q_SLOT void onSlotCellClicked(const QModelIndex&index);
protected:
virtual void showEvent(QShowEvent *);
private:
Ui::QTimeMgrDlg ui;
QMap<QString, TimeStruct> m_MapTime;
class QStandardItemModel *tablemodel;
IWheelCtrl *m_pCtrl{ nullptr };
};
#endif

@ -1,91 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>QTimeMgrDlg</class>
<widget class="QDialog" name="QTimeMgrDlg">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>503</width>
<height>271</height>
</rect>
</property>
<property name="windowTitle">
<string>班次管理</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0" rowspan="4">
<widget class="QTableView" name="TimeMgr_tableView"/>
</item>
<item row="0" column="1">
<widget class="QLabel" name="TimeMgr_label">
<property name="font">
<font>
<pointsize>11</pointsize>
</font>
</property>
<property name="text">
<string>未选中</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QPushButton" name="TimeMgr_ADD_Button">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="font">
<font>
<pointsize>11</pointsize>
</font>
</property>
<property name="text">
<string>添加时间</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QPushButton" name="TimeMgr_Del_Button">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="font">
<font>
<pointsize>11</pointsize>
</font>
</property>
<property name="text">
<string>删除时间</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QPushButton" name="TimeMgr_Mod_Button">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="font">
<font>
<pointsize>11</pointsize>
</font>
</property>
<property name="text">
<string>修改时间</string>
</property>
</widget>
</item>
</layout>
</widget>
<layoutdefault spacing="6" margin="11"/>
<resources/>
<connections/>
</ui>

@ -9,9 +9,9 @@
#include "qworkmgrui.h"
#include "IWheelModel.h"
#include <QDebug>
#include "qnettickthread.h"
//#include "qnettickthread.h"
#include "QMessageBox"
#include "ChannelInfo.h"
//#include "ChannelInfo.h"
#include "HubBase.h"
#include <QToolButton>
#include <QMenu>
@ -129,10 +129,10 @@ lpMainWin::lpMainWin(QWidget *parent)
ui.action_userManager->setVisible(false);
QMenu *pToolMenu = new QMenu(this);
pToolMenu->addAction(ui.action_ImageCali);
pToolMenu->addAction(ui.action_cali_raster);
pToolMenu->addAction(ui.action_setting_ban);
pToolMenu->addAction(ui.action_setting_ip);
pToolMenu->addAction(ui.action_ImageCali);//图像标定
//pToolMenu->addAction(ui.action_cali_raster);
//pToolMenu->addAction(ui.action_setting_ban);
//pToolMenu->addAction(ui.action_setting_ip);
pToolMenu->addAction(ui.action_debug);
pToolMenu->addAction(ui.actionSystemSeting);
pToolMenu->addAction(ui.actioncamSetting);
@ -201,14 +201,7 @@ lpMainWin::lpMainWin(QWidget *parent)
m_pDebugDlg = new QDebugDlg();//调试界面
connect(m_pDebugDlg, SIGNAL(sgTriggerCam()), this, SLOT(onTriggerCam()));
m_pDebugDlg->onSetCtrl(m_pCtrl);
m_pTimerMgrDlg = new QTimeMgrDlg();//班次管理
m_pTimerMgrDlg->onSetCtrlPtr(m_pCtrl);
//m_pSystemSettingDlg = new QSystemSettingDlg();//系统设置
m_pSystemConfigUI = new lpSystemConfigUI();
m_CamSettingDlg = new QCamSettingDlg();
m_CamSettingDlg->setCoreCtrlPtr(m_pCoreCtrl);
//connect(m_pSystemSettingDlg, SIGNAL(sgChangeLanguage(QString)), this, SLOT(onLanguageChange(QString)));
@ -218,47 +211,11 @@ lpMainWin::lpMainWin(QWidget *parent)
ui.tp_main_tabWidget->insertTab(0, m_pixMapList, tr("历史"));
ui.tp_main_tabWidget->setCurrentIndex(0);
m_pImageCaliUI = new lpImageCaliUI();
}
{
/*发送模板库线程*/
SendModelLibTask = new QMyThread();
SendModelLibTask->setUser(true);
TaskFunc KuTaskFunc = std::bind(&lpMainWin::SendModelKuTskFun,this);
SendModelLibTask->loadfunc(KuTaskFunc);
SendTiskTsk = new QMyThread();
TaskFunc TickFunc = std::bind(&lpMainWin::SendTickTskFun, this);
SendTiskTsk->loadfunc(TickFunc);
m_screen.ShowMsg(tr("系统初始化完成..."));
}
{
onSetModel();
/*网络通信加载*/
m_pNet = ((WheelCtrl*)m_pCtrl)->getNet();
connect(m_pNet, SIGNAL(sgShow2UI(QString, bool)), this, SLOT(onTcpConnet(QString, bool)));//net
connect(m_pNet, SIGNAL(sgClientConnect(QString, bool)), this, SLOT(onClientConnect(QString, bool)));//net
/*connect(m_pNet, SIGNAL(sgRecv(const QString &)), this, SLOT(onTcpRecv(const QString &)));*/ // net显示
connect(m_pNet, SIGNAL(sgThickness(double)), this, SLOT(onThickness(double)));//xy height
connect(m_pNet, SIGNAL(sgRecvDetectState(int, int)), this, SLOT(onDetectStateRecv(int, int)));//xy check
connect(m_pNet, SIGNAL(sgClearRev(bool)), this, SLOT(onClearLibRev(bool)));//xy clearlib
connect(m_pNet, SIGNAL(sgPulseRev()), this, SLOT(onPulseRev()));
/*connect(m_pNet, SIGNAL(sgResultRev()), this, SLOT(onResultRev()));*/
connect(m_pNet, SIGNAL(sgRecvTrigPara()), this, SLOT(onRecvTrigPara()));
connect(m_pNet, SIGNAL(sgReadDetectState(int, QString)), this, SLOT(onReadDetectState(int, QString)));
connect(m_pNet, SIGNAL(sgReadDetectStateASK()), this, SLOT(onReadDetectStateASK()));
connect(m_pNet, SIGNAL(sgCameraTrig(int)), this, SLOT(onTrigRecv(int)));
connect(m_pNet, SIGNAL(sgServerState(QString, int, bool)), this, SLOT(onServerState(QString, int, bool)));
connect(m_pNet, SIGNAL(sgShutDownComputer()), this, SLOT(onShutDownComputer()));
connect(m_pNet, SIGNAL(sgLibRev(bool)), SendModelLibTask, SLOT(WaitSingleIn(bool)));//xy lib
/*connect(m_pNet, SIGNAL(sgChangeOnlineState(int)), m_pUi, SLOT(onSwitchOnlineModel(int)));*///强制在线 离线
QTimer::singleShot(500, m_pNet, SLOT(onOpenServer()));//延迟2s打开网络TCP服务
}
{
connect(&m_PulseTimer, SIGNAL(timeout()), this, SLOT(onPulseTimer()));//心跳包
connect(&m_wfPulseTimer, SIGNAL(timeout()), this, SLOT(onwfPulseTimer()));//心跳包
@ -276,7 +233,6 @@ lpMainWin::lpMainWin(QWidget *parent)
connect(this, SIGNAL(sgShowMsgdlg(QString)), this, SLOT(onShowMsg(QString)));
connect(this, SIGNAL(sgSendDisLib(int, QString)), this, SLOT(onSendDisLib(int, QString)));
connect(this, SIGNAL(sgSendDisLibDone()), this, SLOT(onSendDisLibDone()));
connect(this, SIGNAL(sgShowChannelRes(QString)), this, SLOT(onShowChannel(QString)));
}
{//PLC tcp 通讯
m_pPlcDevice = new QPLCDevice();
@ -285,33 +241,14 @@ lpMainWin::lpMainWin(QWidget *parent)
connect(m_pPlcDevice, SIGNAL(sgTrigerCam(int)), this, SLOT(onPLCTrigerCam(int)));
}
{
/*启动之后就一直发送心跳包和厚度查询*/
if (lpGlobalConfig::instance()->m_AutoSendTick2Net)
{
SendTiskTsk->setSleepTime(1000);
SendTiskTsk->start();
}
//if (DetectState::instance()->m_StartAndDetect == 1)//m_sysType 表示万丰科技的
{
QTimer::singleShot(3000, [&](){
ui.btn_start_detect->setText(tr("停止检测"));
lpGlobalConfig::instance()->IsDetect = true;
m_pCtrl->onStart();
});
}
QTimer::singleShot(3000, [&]() {
ui.btn_start_detect->setText(tr("停止检测"));
lpGlobalConfig::instance()->IsDetect = true;
m_pCtrl->onStart();
});
if (lpGlobalConfig::instance()->m_AutoSendTick2COM)
m_wfPulseTimer.start(1000);
pTickThread = new QThread(this);
QNetTickThread *pNetTick = new QNetTickThread;
pNetTick->setNetPtr(m_pNet);
pNetTick->moveToThread(pTickThread);
connect(pTickThread, &QThread::finished, pNetTick, &QObject::deleteLater);
connect(this, SIGNAL(sgNetData(int, QVariantMap)), pNetTick, SLOT(doWork(int, QVariantMap)));
connect(pNetTick, SIGNAL(resultReady(int, QVariantMap)), m_pNet, SLOT(onSendDataByType(int, QVariantMap)));
pTickThread->start();
}
{
m_pTableCheck = new ModelsView(ui.tableview_checkstate, m_pCtrl->getAllModelMapPtr());
@ -324,8 +261,6 @@ lpMainWin::lpMainWin(QWidget *parent)
}
m_timerID = startTimer(1000);
//m_PulseTimer.start(1000);
connect(this, SIGNAL(sgAutoExposure()), this, SLOT(onAutoExposure()));
QString strPath = QApplication::applicationDirPath();
readExposureTimeConfig(strPath);
@ -345,49 +280,12 @@ lpMainWin::~lpMainWin()
delete m_pUserCtrl;
m_pUserCtrl = NULL;
}
if (SendModelLibTask)
{
qDebug() << "delete SendModelLibTak";
if (SendModelLibTask->isRunning())
SendModelLibTask->stop();
SendModelLibTask->wait(50);
delete SendModelLibTask;
SendModelLibTask = NULL;
qDebug() << "delete SendModelLibTak end";
}
if (SendTiskTsk)
{
qDebug() << "delete SendTiskTsk";
if (SendTiskTsk->isRunning())
SendTiskTsk->stop();
SendTiskTsk->wait(50);
delete SendTiskTsk;
SendTiskTsk = NULL;
qDebug() << "delete SendTiskTsk end";
}
if (pTickThread)
{
qDebug() << "delete pTickThread";
if (pTickThread->isRunning())
{
pTickThread->quit();
pTickThread->wait(50);
}
delete pTickThread;
pTickThread = NULL;
qDebug() << "delete pTickThread end";
}
{
if (m_pLbCurrentTime)
{
delete m_pLbCurrentTime;
m_pLbCurrentTime = nullptr;
}
//if (m_pLbBanci)
//{
// delete m_pLbBanci;
// m_pLbBanci = nullptr;
//}
if (m_pLbDetectState)
{
delete m_pLbDetectState;
@ -423,15 +321,6 @@ lpMainWin::~lpMainWin()
delete m_pDebugDlg;
m_pDebugDlg = nullptr;
}
if (m_pTimerMgrDlg) {
delete m_pTimerMgrDlg;
m_pTimerMgrDlg = nullptr;
}
// if (m_pSystemSettingDlg)
// {
// delete m_pSystemSettingDlg;
// m_pSystemSettingDlg = nullptr;
// }
if (m_pSystemConfigUI)
{
delete m_pSystemConfigUI;
@ -456,16 +345,6 @@ lpMainWin::~lpMainWin()
delete m_pImageCaliUI;
m_pImageCaliUI = nullptr;
}
if (m_pDllCoreCtrl)
{
delete m_pDllCoreCtrl;
m_pDllCoreCtrl = nullptr;
}
if (m_pDllEngineCtrl)
{
delete m_pDllEngineCtrl;
m_pDllEngineCtrl = nullptr;
}
if (m_pDesigner)
{
delete m_pDesigner;
@ -476,6 +355,23 @@ lpMainWin::~lpMainWin()
delete m_pPlcDevice;
m_pPlcDevice = nullptr;
}
if (m_pDllCoreCtrl)
{
delete m_pDllCoreCtrl;
m_pDllCoreCtrl = nullptr;
}
if (m_pDllDesigner)
{
delete m_pDllDesigner;
m_pDllDesigner = nullptr;
}
if (m_pDllEngineCtrl)
{
delete m_pDllEngineCtrl;
m_pDllEngineCtrl = nullptr;
}
}
bool lpMainWin::onInitCoreCtrl()
@ -527,7 +423,6 @@ bool lpMainWin::onInitEngineCtrl()
if (m_pDesigner && m_pEngineCtrl)
{
m_pDesigner->Initialize(m_pEngineCtrl);
//m_pDesigner->ShowMainFrame();
}
}
}
@ -687,6 +582,7 @@ void lpMainWin::IVariantMapToUI(const QString& camKey, const QVariantMap& vMap)
valueRlt.angle = 361;
valueRlt.strModel = "NG";
valueRlt.score = 0;
if(!srcImg.isNull())
valueRlt.pixmap = QPixmap::fromImage(srcImg);
valueRlt.strRunState = "no task";
onSaveValveResult(valueRlt);
@ -1010,27 +906,12 @@ Q_SLOT void lpMainWin::onActionClicked()
m_aboutDlg.setAttribute(Qt::WA_ShowModal, true);
m_aboutDlg.show();
}
else if ("action_setting_ip" == strObj) {
if (m_pNet)
m_pNet->onShowIpDlg(this);
}
else if ("action_cali_raster" == strObj) {//光栅测试
if (m_pCtrl)
{
m_pCtrl->onShowRaster(this);
}
}
else if ("action_setting_ban" == strObj) {
if (m_pTimerMgrDlg) {
m_pTimerMgrDlg->setParent(this);
m_pTimerMgrDlg->setWindowTitle(tr("班次管理"));
m_pTimerMgrDlg->setWindowFlags(Qt::Dialog | Qt::WindowCloseButtonHint);
m_pTimerMgrDlg->setWindowIcon(QIcon(":/image/leaper"));
m_pTimerMgrDlg->setWindowModality(Qt::ApplicationModal);
m_pTimerMgrDlg->setAttribute(Qt::WA_ShowModal, true);
m_pTimerMgrDlg->show();
}
}
else if ("action_debug" == strObj) {
if (m_pDebugDlg) {
m_pDebugDlg->setParent(this);
@ -1076,17 +957,6 @@ Q_SLOT void lpMainWin::onActionClicked()
}
}
else if ("actionSystemSeting" == strObj) {//系统参数设置
// if (m_pSystemSettingDlg)
// {
// m_pSystemSettingDlg->setParent(this);
// m_pSystemSettingDlg->onShowWidget(lpGlobalData::instance()->m_level);
// m_pSystemSettingDlg->setWindowTitle(tr("系统参数设置"));
// m_pSystemSettingDlg->setWindowFlags(Qt::Dialog | Qt::WindowCloseButtonHint);
// m_pSystemSettingDlg->setWindowIcon(QIcon(":/image/leaper"));
// m_pSystemSettingDlg->setWindowModality(Qt::ApplicationModal);
// m_pSystemSettingDlg->setAttribute(Qt::WA_ShowModal, true);
// m_pSystemSettingDlg->show();
// }
if (m_pSystemConfigUI)
{
m_pSystemConfigUI->setParent(this);
@ -1161,8 +1031,6 @@ Q_SLOT void lpMainWin::onButtonClicked()
infobox.setWindowIcon(QIcon(":/image/leaper"));
if (QMessageBox::Cancel != infobox.exec()) {
m_pCtrl->onClear();
// ui.main_lb_res_ok_num->setText(QString::number(0));
// ui.main_lb_res_ng_num->setText(QString::number(0));
QString str = m_pCtrl->getUserName() + ":" + tr("按下了清零按钮,数据全部清零");
m_pCtrl->addLog(str, emTypeUseState);
}
@ -1218,19 +1086,8 @@ void lpMainWin::timerEvent(QTimerEvent *event)
}
}
//if (m_pLbBanci) {
// QString show_label;
// if (m_pCtrl)
// show_label = m_pCtrl->getCurrentBan();
// QString strMsg = tr("班次信息:") + (show_label.isEmpty() == true ? tr("该时间段未设置班次") : show_label);
// m_pLbBanci->setText(strMsg);
// m_pLbBanci->setStyleSheet("font: 14px;");
//}
if (m_pLbUser) {
QString show_label = m_pCtrl->getUserName();
// if (strLanguage != "Chinese")
// m_pLbUser->setText(tr("User:") + show_label);
// else
m_pLbUser->setText(tr("当前用户:") + show_label);
m_pLbUser->setStyleSheet("font: 14px;");
}
@ -1241,59 +1098,6 @@ void lpMainWin::closeEvent(QCloseEvent *event)
{
}
void lpMainWin::SendModelKuTskFun()
{
/*
线
PLC
*/
lpGlobalConfig::instance()->m_ThreadWaitTime = 100;
const int c_nErrorTime = 3;
int nError = 0;
QMap<QString, IWheelModel*>*ptr = m_pCtrl->getAllModelMapPtr();
QList<QString> lst = ptr->keys();
if (ptr->size() > 0 && lst.size() > 0)
{
int nIndex = 0;
do
{
IWheelModel *p = ptr->value(lst.at(nIndex));
emit sgTaskSendModels(nIndex + 1, lst.at(nIndex), p->getDiameter(), p->getThickness());
bool b = this->SendModelLibTask->WaitForSingle(lpGlobalConfig::instance()->m_ThreadWaitTime);
if (!b) {
nError++;
if (lpGlobalConfig::instance()->m_PLC_ASK == 1) {
if (nError > c_nErrorTime) {
++nIndex;
nError = 0;
qDebug() << "timeout, more than 3 times, cannot rev ask";
}
}
else {
++nIndex;
nError = 0;
}
}
else {
nError = 0;
nIndex++;
}
} while (nIndex < lst.size());
}
emit(sgShowMsgdlg(tr("模板库发送完成")));
}
void lpMainWin::SendTickTskFun()
{
//心跳包发送
if (m_pNet)
{
m_pNet->sendPulse(6000, lpGlobalConfig::instance()->IsDetect, lpGlobalConfig::instance()->IsOnline);
//m_TimerID = startTimer(500);
}
}
void lpMainWin::onSetModel()
{
@ -1310,19 +1114,6 @@ void lpMainWin::onSetModel()
}
QString str = QString("%1:%2(%3)").arg(tr("正在检测型号数")).arg(forDefectList.size()).arg(m_pCtrl->getAllTrainModelName().size() - 1);
ui.main_showWorkLabel->setText(str);
// IWheelUi *pMainWidget = m_pUi->getItemWidget(WHEEL_UI_MAINWINDOW);
// if (pMainWidget) {
// pMainWidget->setViewList(forDefectList);
// }
// void* address = (void*)m_pCtrl->getAllModelMapPtr();
// gpTpCoreCtrl->ISetAlgorithmShared("modelMap", (int)address);
// QVariant filepath = QVariant(QCoreApplication::applicationDirPath());
// gpTpCoreCtrl->ISetAlgorithmShared("filepath", filepath);
//
// void* pdefectList = (void*)&forDefectList;
// gpTpCoreCtrl->ISetAlgorithmShared("defectList", (int)pdefectList);
}
///*******************************************************************************
Q_SLOT void lpMainWin::onUpdateDefect() {
@ -1363,36 +1154,6 @@ Q_SLOT void lpMainWin::onTcpConnet(QString str, bool bConnect)
}
}
Q_SLOT void lpMainWin::onSendClearLib2PLC()
{
if (m_pNet)
m_pNet->sendClearLib();
}
Q_SLOT void lpMainWin::onClientConnect(QString addr, bool bConnect)
{
/*判断连接的机器IP地址是不是本地设置好的IP并检测他的连接状态如果是 默认将发送模板库给他*/
QString m_addr = NetProtocol::genAddressPort(m_pNet->getIp(emNetClient), m_pNet->getPort(emNetClient));
if (m_addr == addr && bConnect)
{
QTimer::singleShot(200, this, SLOT(onSendClearLib2PLC()));
}
if (bConnect == true && 1 == lpGlobalConfig::instance()->IsOnline) {
//m_pUi->onSwitchOnlineModel(m_pState->IsOnline);//在线模式 离线模式切换
}
QString strMsg;
if (bConnect)
{
strMsg += QString("IP:%1 %2").arg(addr).arg(tr("已连接"));
}
else
{
strMsg += QString("IP:%1 %2").arg(addr).arg(tr("已断开"));
}
m_pCtrl->addLog(strMsg, emTypeRunState);
ui.main_textBrowser->append(strMsg);
}
Q_SLOT void lpMainWin::onThickness(double dValue)
{
m_pCtrl->appendThicknessValue(dValue);
@ -1415,18 +1176,6 @@ Q_SLOT void lpMainWin::onDetectStateRecv(int nIndex, int value)
}
}
Q_SLOT void lpMainWin::onClearLibRev(bool state)
{
/*接收到库清空应答*/
if (SendModelLibTask) {
if (SendModelLibTask->isRunning())
SendModelLibTask->stop();
if (m_pNet)
m_pNet->sendModelNum(m_pCtrl->getAllModelMapPtr()->size());
SendModelLibTask->start();
}
}
//接收到心跳包 关闭定时器
Q_SLOT void lpMainWin::onPulseRev()
{
@ -1528,33 +1277,6 @@ Q_SLOT void lpMainWin::onShutDownComputer()
ExitWindowsEx(EWX_SHUTDOWN, SHTDN_REASON_MAJOR_OTHER);
}
//***********************************************************************
Q_SLOT void lpMainWin::onPulseTimer()
{
//心跳包发送
if (m_pNet)
{
m_pNet->sendPulse(6000, lpGlobalConfig::instance()->IsDetect, lpGlobalConfig::instance()->IsOnline);
//m_TimerID = startTimer(500);
}
}
Q_SLOT void lpMainWin::onTaskSendModels(int nIndex, QString strModel, double dDiameter, double dHeight)
{
if (m_pNet)
m_pNet->sendModelList(nIndex, strModel, dDiameter, dHeight);
}
Q_SLOT void lpMainWin::onTaskSendDetectState(int nIndex, QString strModel, int IsState)
{
if (m_pNet)
m_pNet->sendDeteStateList(nIndex, IsState, strModel);
}
Q_SLOT void lpMainWin::onTaskCheck(int nIndex, int IsState, QString strModel)
{
if (m_pNet)
m_pNet->sendCheckDeteStateList(nIndex, IsState, strModel);
}
Q_SLOT void lpMainWin::onShowImgState(QString str)
{
ui.main_label_state->setText(str);
@ -1582,21 +1304,6 @@ Q_SLOT void lpMainWin::onShowMsg(QString str)
connect(pw, SIGNAL(finished()), this, SLOT(onInitPW()));
}
Q_SLOT void lpMainWin::onSendDisLib(int nIndex, QString strModel)
{
m_pNet->sendDisLibs(nIndex, strModel);
}
Q_SLOT void lpMainWin::onSendDisLibDone()
{
m_pNet->sendDisLibsDone();
}
Q_SLOT void lpMainWin::onShowChannel(QString str)
{
//ui.main_lb_res_Channle_Show->setText(str);
}
Q_SLOT void lpMainWin::onTriggerCam()
{
if (m_pCoreCtrl)
@ -1606,12 +1313,6 @@ Q_SLOT void lpMainWin::onTriggerCam()
}
}
Q_SLOT void lpMainWin::onChangePLCParam()
{
if (m_pNet)
m_pNet->sendTrigerPara(lpGlobalConfig::instance()->m_PLC_TrigerFilter, lpGlobalConfig::instance()->m_PLC_CamTrigDelay, lpGlobalConfig::instance()->m_PLC_CamTrigPulse, lpGlobalConfig::instance()->m_PLC_LightDelay, lpGlobalConfig::instance()->m_PLC_TrigerType, lpGlobalConfig::instance()->m_PLC_ResHoldTime);
}
void lpMainWin::onInitAbout()
{
QString aboutString;
@ -1724,92 +1425,6 @@ void lpMainWin::onShowResult(Result2Ui* pRlt)
}
}
void lpMainWin::SendResultBee(emTypeBee m_Type, int num)
{
if (m_Type == LIGHT_REDBEE) {
m_pNet->sendLight(0, 1, 500, 500);//红灯
}
else if (m_Type == LIGHT_GREENBEE) {
m_pNet->sendLight(2, 1, 500, 500);
}
else if (m_Type == LIGHT_YELLOWBEE) {
m_pNet->sendLight(1, 1, 500, 500);
}
else if (m_Type == LIGHT_BEE) {
m_pNet->sendLight(3, 1, 500, 500);
}
}
void lpMainWin::SendResultStr2PLC(Result2Ui* m_Res)
{
qDebug() << "sendResultToPLC resultName=" << m_Res->m_strModel << endl;
if (m_pNet)
m_pNet->sendDetectResult(m_Res->m_strModel, m_Res->m_dDiameter, m_Res->m_dThickness);
}
void lpMainWin::SendResultChannel2PLC(Result2Ui* m_Res)
{
// qDebug() << "SendResultChannel2PLC";
// CChannelInfo *pChannelInfo = m_pCtrl->getChannelInfo();
// ChannelInfo *npInfo = pChannelInfo->getChannelInfo(m_Res->m_strModel);
// if (npInfo && lpGlobalConfig::instance()->m_bObjAll2A == false) {
// if (m_pNet)
// m_pNet->sendResultChannel(npInfo->m_value, m_Res->m_dDiameter, m_Res->m_dThickness, m_Res->m_strModel);
// emit(sgShowChannelRes(npInfo->m_ChannelName));
// }
// else
// {
// int defaultChannel = pChannelInfo->getDefaultChannel();
// ChannelInfo *defaultInfo = pChannelInfo->getChannelInfo(defaultChannel);
// int nResultChannel = 0;
// if (defaultInfo)
// {
// nResultChannel = defaultInfo->m_value;
// emit(sgShowChannelRes(defaultInfo->m_ChannelName + tr("(默认)")));
// }
// else
// {
// nResultChannel = 1000;
// emit(sgShowChannelRes(tr("默认通道 值1000")));
// }
//
// if (m_pNet)
// m_pNet->sendResultChannel(nResultChannel, m_Res->m_dDiameter, m_Res->m_dThickness, m_Res->m_strModel);
// }
}
void lpMainWin::SendResultChannelCOM(Result2Ui* m_Res)
{
//qDebug() << "SendResultStr2COM";
//if (!m_pCtrl)
// return;
//CChannelInfo *pChannelInfo = m_pCtrl->getChannelInfo();
//ChannelInfo *npInfo = pChannelInfo->getChannelInfo(m_Res->m_strModel);
//SComframe frame;
//if (npInfo&&m_pState->m_bObjAll2A == false) {
// frame.data1 = npInfo->m_value;
// SendDataToCom(0x47, frame);
// emit(sgShowChannelRes(npInfo->m_ChannelName));
//}
//else
//{
// int defaultChannel = pChannelInfo->getDefaultChannel();
// ChannelInfo *defaultInfo = pChannelInfo->getChannelInfo(defaultChannel);
// if (defaultInfo)
// {
// frame.data1 = defaultInfo->m_value;
// emit(sgShowChannelRes(defaultInfo->m_ChannelName + QString(tr("(默认)"))));
// }
// else
// {
// frame.data1 = 1000;
// emit(sgShowChannelRes(tr("默认通道 值1000")));
// }
// SendDataToCom(0x47, frame);
//}
}
void lpMainWin::saveImage(Result2Ui* pRes)
{
if (pRes == nullptr)
@ -1895,28 +1510,6 @@ Q_SLOT void lpMainWin::modWorkMgr(QString str)
m_pworkUI->modWorkMgr(str);
}
Q_SLOT void lpMainWin::onSendReadOnlineLib()
{
if (m_pNet)
m_pNet->sendCheckAllModelState();
}
Q_SLOT void lpMainWin::onThicknessTimer()
{
//查询厚度
if (m_pNet)
m_pNet->sendThickness();
}
Q_SLOT void lpMainWin::onwfPulseTimer()
{
// SComframe frame;
// frame.data1 = 0;
// frame.data2 = 0;
// frame.data8 = 50;
// SendDataToCom(0x43, frame);
}
bool lpMainWin::readExposureTimeConfig(const QString& strPath)
{
QString filePath = strPath + "\\config\\exposure.json";
@ -1957,7 +1550,6 @@ Q_SLOT void lpMainWin::onAutoExposure()
qDebug() << "exp:" << exp;
m_pCoreCtrl->ISetExposureTime(m_camKey, exp);
}
onTriggerCam();
}
@ -2101,4 +1693,4 @@ void lpMainWin::saveValveImage(QImage image, QString strName)
Q_SLOT void lpMainWin::onPLCTrigerCam(int camID)
{
onTriggerCam();
}
}

@ -10,12 +10,10 @@
#include "QTimer"
#include "qmythread.h"
#include "lpGlobalConfig.h"
#include "WheelNet.h"
#include "ModelTableView.h"
#include "QModelMgrDlg.h"
#include "Result2Ui.h"
#include "QDebugDlg.h"
#include "QTimeMgrDlg.h"
#include "RoiImgViewer.h"
#include "InfoFile.h"
#include "qpixmapbar.h"
@ -82,7 +80,6 @@ private:
void onSaveValveResult(ValueResult &rlt);
protected:
bool onInitCoreCtrl();
bool onInitEngineCtrl();
void loadUserModel();//加载用户管理模块
@ -90,19 +87,13 @@ protected:
void SearchQmFile(const QString & strDir);
void SetTranslator(const QString strPath);
void SetLanguage(QString strLangage);
void SendModelKuTskFun();
void SendTickTskFun();
void onSetModel();
QString SecondTimeString(quint64 value);//计算运行时常
Q_SLOT void onUpdateDefect();//勾选 更新界面显示窗口
//net slot
Q_SLOT void onTcpConnet(QString str, bool bConnect);
Q_SLOT void onSendClearLib2PLC();
Q_SLOT void onClientConnect(QString addr, bool bConnect);
Q_SLOT void onThickness(double dValue);
Q_SLOT void onDetectStateRecv(int nIndex, int value);
Q_SLOT void onClearLibRev(bool state);
Q_SLOT void onPulseRev();
Q_SLOT void onRecvTrigPara();
Q_SLOT void onReadDetectState(int nIndex, QString strModel);
@ -110,36 +101,18 @@ protected:
Q_SLOT void onTrigRecv(int m_value);
Q_SLOT void onServerState(QString Addr, int port, bool m_state);
Q_SLOT void onShutDownComputer();
//timer slot
Q_SLOT void onPulseTimer();
Q_SLOT void onTaskSendModels(int nIndex, QString strModel, double dDiameter, double dHeight);
Q_SLOT void onTaskSendDetectState(int nIndex, QString strModel, int IsState);
Q_SLOT void onTaskCheck(int nIndex, int IsState, QString strModel);
Q_SLOT void onShowImgState(QString str);
Q_SLOT void onGetImg();
Q_SLOT void onShowMsg(QString str);
Q_SLOT void onSendDisLib(int nIndex, QString strModel);
Q_SLOT void onSendDisLibDone();
Q_SLOT void onShowChannel(QString str);
Q_SLOT void onTriggerCam();
Q_SLOT void onChangePLCParam();
void onInitAbout();
Q_SLOT void onLanguageChange(QString strLanguage);
Q_SLOT void onSendReadOnlineLib();
Q_SLOT void onThicknessTimer();
Q_SLOT void onwfPulseTimer();
Q_SLOT void modWorkMgr(QString str);
Q_SLOT void onPLCTrigerCam(int camID);
private:
void onShowResult(Result2Ui* pRlt);//展示识别结果
void SendResultBee(emTypeBee m_Type, int num);
void SendResultStr2PLC(Result2Ui* m_Res);
void SendResultChannel2PLC(Result2Ui* m_Res);
void SendResultChannelCOM(Result2Ui* m_Res);
void saveValveImage(QImage image, QString strName = "NG");
void saveImage(Result2Ui* pRes);
@ -162,7 +135,6 @@ private:
RoiImgViewer *m_ImgViewer{ nullptr };//展示检测图像
/*status 状态栏*/
class QLabel* m_pLbCurrentTime{ nullptr };//显示系统时间
//class QLabel* m_pLbBanci{ nullptr };//显示班次
class QLabel* m_pLbDetectState{ nullptr };//显示检测状态
class QLabel *m_pLbUser{ nullptr };//显示登陆用户信息
private:
@ -170,7 +142,6 @@ private:
ICoreCtrl* m_pCoreCtrl{ nullptr };
private:
class IWheelCtrl *m_pCtrl{ nullptr };
class CWheelNet *m_pNet{ nullptr };
class QWorkMgrUI *m_pworkUI{ nullptr };
class QWorkMgrCtlr *pWorkCtrl{ nullptr };
@ -180,10 +151,6 @@ private:
QTimer m_ReadLibTimer;
QTimer m_timerDetect;
QMyThread *SendModelLibTask{ nullptr };
QMyThread *SendTiskTsk{ nullptr };
QThread *pTickThread{ nullptr };
int m_nWfThress{ 0 };
int m_TimerID{ 0 };//心跳包定时器 用于记录超时
int m_TimerOutCount{ 0 };
@ -196,9 +163,7 @@ private:
QModelMgrDlg *m_pModelMgrDlg{ nullptr };
QDebugDlg* m_pDebugDlg{ nullptr };
QWidget m_aboutDlg;//关于
QTimeMgrDlg* m_pTimerMgrDlg{ nullptr };
QPixmapListBar* m_pixMapList{ nullptr };//展示历史检测结果
//QSystemSettingDlg* m_pSystemSettingDlg{ nullptr };
lpSystemConfigUI* m_pSystemConfigUI{ nullptr };
QCamSettingDlg* m_CamSettingDlg{ nullptr };
lpImageCaliUI* m_pImageCaliUI{ nullptr };

@ -22,8 +22,6 @@
<ClCompile Include="..\..\src\tpMain\algela\lpImgViewer.cpp" />
<ClCompile Include="..\..\src\tpMain\algela\RoiImgViewer.cpp" />
<ClCompile Include="..\..\src\tpMain\CamConfig.cpp" />
<ClCompile Include="..\..\src\tpMain\ChannelInfo.cpp" />
<ClCompile Include="..\..\src\tpMain\ComConfig.cpp" />
<ClCompile Include="..\..\src\tpMain\customtableview.cpp" />
<ClCompile Include="..\..\src\tpMain\databasesql.cpp" />
<ClCompile Include="..\..\src\tpMain\DetectDataDB.cpp" />
@ -35,17 +33,10 @@
<ClCompile Include="..\..\src\tpMain\modelmgrdb.cpp" />
<ClCompile Include="..\..\src\tpMain\ModelTableView.cpp" />
<ClCompile Include="..\..\src\tpMain\ModelTrain.cpp" />
<ClCompile Include="..\..\src\tpMain\NetProtocol.cpp" />
<ClCompile Include="..\..\src\tpMain\ProgressView.cpp" />
<ClCompile Include="..\..\src\tpMain\qaddchanneldlg.cpp" />
<ClCompile Include="..\..\src\tpMain\qaddmodel.cpp" />
<ClCompile Include="..\..\src\tpMain\qaddtimedlg.cpp" />
<ClCompile Include="..\..\src\tpMain\qchannelmanager.cpp" />
<ClCompile Include="..\..\src\tpMain\qdia2thsetting.cpp" />
<ClCompile Include="..\..\src\tpMain\QDiskCleanThread\QDiskCleanThread.cpp" />
<ClCompile Include="..\..\src\tpMain\qipconfigdlg.cpp" />
<ClCompile Include="..\..\src\tpMain\qmodnamedlg.cpp" />
<ClCompile Include="..\..\src\tpMain\qnettickthread.cpp" />
<ClCompile Include="..\..\src\tpMain\QPixmapListBar\qpixmapbar.cpp" />
<ClCompile Include="..\..\src\tpMain\qpulpewidget.cpp" />
<ClCompile Include="..\..\src\tpMain\qsaveimg.cpp" />
@ -57,19 +48,14 @@
<ClCompile Include="..\..\src\tpMain\splashScreen\qmysplashscreen.cpp" />
<ClCompile Include="..\..\src\tpMain\TempImage.cpp" />
<ClCompile Include="..\..\src\tpMain\thread\qmythread.cpp" />
<ClCompile Include="..\..\src\tpMain\timemgrctrl.cpp" />
<ClCompile Include="..\..\src\tpMain\WheelCtrl.cpp" />
<ClCompile Include="..\..\src\tpMain\WheelModel.cpp" />
<ClCompile Include="..\..\src\tpMain\WheelNet.cpp" />
<ClCompile Include="CoreCtrl\CDllCoreCtrl.cpp" />
<ClCompile Include="CoreCtrl\CDllDetectorEngine.cpp" />
<ClCompile Include="CoreCtrl\CDllDesigner.cpp" />
<ClCompile Include="GeneratedFiles\Debug\moc_CDllDesigner.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="GeneratedFiles\Debug\moc_ChannelInfo.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="GeneratedFiles\Debug\moc_customtableview.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClCompile>
@ -118,36 +104,18 @@
<ClCompile Include="GeneratedFiles\Debug\moc_ProgressView.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="GeneratedFiles\Debug\moc_qaddchanneldlg.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="GeneratedFiles\Debug\moc_qaddmodel.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="GeneratedFiles\Debug\moc_qaddtimedlg.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="GeneratedFiles\Debug\moc_QCamSettingDlg.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="GeneratedFiles\Debug\moc_qchannelmanager.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="GeneratedFiles\Debug\moc_QChannelMgrDlg.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="GeneratedFiles\Debug\moc_QDebugDlg.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="GeneratedFiles\Debug\moc_qdia2thsetting.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="GeneratedFiles\Debug\moc_QDiskCleanThread.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="GeneratedFiles\Debug\moc_qipconfigdlg.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="GeneratedFiles\Debug\moc_QModelMgrDlg.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClCompile>
@ -160,9 +128,6 @@
<ClCompile Include="GeneratedFiles\Debug\moc_qmythread.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="GeneratedFiles\Debug\moc_qnettickthread.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="GeneratedFiles\Debug\moc_qpixmapbar.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClCompile>
@ -187,9 +152,6 @@
<ClCompile Include="GeneratedFiles\Debug\moc_QSystemSettingDlg.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="GeneratedFiles\Debug\moc_QTimeMgrDlg.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="GeneratedFiles\Debug\moc_qworkItemdlg.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClCompile>
@ -208,9 +170,6 @@
<ClCompile Include="GeneratedFiles\Debug\moc_WheelCtrl.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="GeneratedFiles\Debug\moc_WheelNet.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="GeneratedFiles\qrc_hubDetect.cpp">
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
</PrecompiledHeader>
@ -220,9 +179,6 @@
<ClCompile Include="GeneratedFiles\Release\moc_CDllDesigner.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="GeneratedFiles\Release\moc_ChannelInfo.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="GeneratedFiles\Release\moc_customtableview.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
</ClCompile>
@ -271,36 +227,18 @@
<ClCompile Include="GeneratedFiles\Release\moc_ProgressView.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="GeneratedFiles\Release\moc_qaddchanneldlg.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="GeneratedFiles\Release\moc_qaddmodel.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="GeneratedFiles\Release\moc_qaddtimedlg.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="GeneratedFiles\Release\moc_QCamSettingDlg.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="GeneratedFiles\Release\moc_qchannelmanager.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="GeneratedFiles\Release\moc_QChannelMgrDlg.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="GeneratedFiles\Release\moc_QDebugDlg.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="GeneratedFiles\Release\moc_qdia2thsetting.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="GeneratedFiles\Release\moc_QDiskCleanThread.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="GeneratedFiles\Release\moc_qipconfigdlg.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="GeneratedFiles\Release\moc_QModelMgrDlg.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
</ClCompile>
@ -313,9 +251,6 @@
<ClCompile Include="GeneratedFiles\Release\moc_qmythread.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="GeneratedFiles\Release\moc_qnettickthread.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="GeneratedFiles\Release\moc_qpixmapbar.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
</ClCompile>
@ -340,9 +275,6 @@
<ClCompile Include="GeneratedFiles\Release\moc_QSystemSettingDlg.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="GeneratedFiles\Release\moc_QTimeMgrDlg.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="GeneratedFiles\Release\moc_qworkItemdlg.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
</ClCompile>
@ -361,9 +293,6 @@
<ClCompile Include="GeneratedFiles\Release\moc_WheelCtrl.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="GeneratedFiles\Release\moc_WheelNet.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="lpGlobalData.cpp" />
<ClCompile Include="lpImageCaliUI.cpp" />
<ClCompile Include="lpMain.cpp" />
@ -372,13 +301,11 @@
<ClCompile Include="lpRawTcp\lptkRawTcpServer.cpp" />
<ClCompile Include="lpSystemConfigUI.cpp" />
<ClCompile Include="QCamSettingDlg.cpp" />
<ClCompile Include="QChannelMgrDlg.cpp" />
<ClCompile Include="QDebugDlg.cpp" />
<ClCompile Include="QModelMgrDlg.cpp" />
<ClCompile Include="QPLCDevice.cpp" />
<ClCompile Include="QSettingDlg.cpp" />
<ClCompile Include="QSystemSettingDlg.cpp" />
<ClCompile Include="QTimeMgrDlg.cpp" />
</ItemGroup>
<ItemGroup>
<CustomBuild Include="lpSystemConfigUI.h">
@ -504,21 +431,14 @@
<ClInclude Include="..\..\src\tpMain\lpThread.h" />
<ClInclude Include="GeneratedFiles\ui_lpImageCaliUI.h" />
<ClInclude Include="GeneratedFiles\ui_lpSystemConfigUI.h" />
<ClInclude Include="GeneratedFiles\ui_qaddchanneldlg.h" />
<ClInclude Include="GeneratedFiles\ui_qaddmodel.h" />
<ClInclude Include="GeneratedFiles\ui_qaddtimedlg.h" />
<ClInclude Include="GeneratedFiles\ui_QCamSettingDlg.h" />
<ClInclude Include="GeneratedFiles\ui_qchannelmanager.h" />
<ClInclude Include="GeneratedFiles\ui_QChannelMgrDlg.h" />
<ClInclude Include="GeneratedFiles\ui_QDebugDlg.h" />
<ClInclude Include="GeneratedFiles\ui_qdia2thsetting.h" />
<ClInclude Include="GeneratedFiles\ui_qipconfigdlg.h" />
<ClInclude Include="GeneratedFiles\ui_QModelMgrDlg.h" />
<ClInclude Include="GeneratedFiles\ui_qmodnamedlg.h" />
<ClInclude Include="GeneratedFiles\ui_QSettingDlg.h" />
<ClInclude Include="GeneratedFiles\ui_qshowimg.h" />
<ClInclude Include="GeneratedFiles\ui_QSystemSettingUI.h" />
<ClInclude Include="GeneratedFiles\ui_QTimeMgrDlg.h" />
<ClInclude Include="GeneratedFiles\ui_qworkItemdlg.h" />
<ClInclude Include="GeneratedFiles\ui_qworkmgrui.h" />
<CustomBuild Include="QDebugDlg.h">
@ -531,16 +451,6 @@
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp</Outputs>
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">"$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -DUNICODE -DWIN32 -DWIN64 -DQT_NO_DEBUG -DNDEBUG -DQT_CORE_LIB -DTPMAIN_LIB -DTPMAIN_EXPORTS -DQT_GUI_LIB -DQT_WIDGETS_LIB -DQT_SQL_LIB -DQT_PRINTSUPPORT_LIB -DQT_NETWORK_LIB -DQT_SERIALPORT_LIB -D%(PreprocessorDefinitions) "-I." "-I.\GeneratedFiles" "-I.\GeneratedFiles\$(ConfigurationName)" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtCore" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\ActiveQt" "-I$(QTDIR)\include\QtSerialPort" "-I$(QTDIR)\include\QtANGLE" "-I$(QTDIR)\include\QtPrintSupport" "-I$(QTDIR)\include\QtSql" "-I$(QTDIR)\include\QtNetwork" "-I.\..\..\src\algorithm" "-I.\..\..\src\tpMain" "-I.\..\..\src\tpMain\thread" "-I.\..\..\src\tpMain\splashScreen" "-I.\..\..\src\tpMain\LightBoxwidget" "-I.\..\..\src\tpMain\QDiskCleanThread" "-I.\..\..\src\tpMain\QPixmapListBar" "-I.\..\..\src\userCtrl" "-I.\..\..\src\NetWheel" "-I.\..\..\src\RasterSDG20" "-I.\..\..\src\ReportModel" "-I.\..\..\3part\libzkq\include" "-I.\..\..\3part\tadpole\include\tpBase" "-I.\..\..\3part\opencv3.4.1\include" "-I.\..\..\3part\opencv3.4.1\include\opencv" "-I.\..\..\3part\opencv3.4.1\include\opencv2" "-I.\..\..\3part\lpCoreCtrl\include" "-I.\..\..\src\tpMain\algela" "-I.\..\..\src\ImageCompare" "-I.\..\..\src\interface" "-I.\..\..\3part\edcircle\include"</Command>
</CustomBuild>
<CustomBuild Include="QChannelMgrDlg.h">
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(QTDIR)\bin\moc.exe;%(FullPath)</AdditionalInputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Moc%27ing %(Identity)...</Message>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">.\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp</Outputs>
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">"$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -DUNICODE -DWIN32 -DWIN64 -DQT_CORE_LIB -DTPMAIN_LIB -DTPMAIN_EXPORTS -DQT_GUI_LIB -DQT_WIDGETS_LIB -DQT_SQL_LIB -DQT_PRINTSUPPORT_LIB -DQT_NETWORK_LIB -DQT_SERIALPORT_LIB -D_WINDOWS -D%(PreprocessorDefinitions) "-I." "-I.\GeneratedFiles" "-I.\GeneratedFiles\$(ConfigurationName)" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtCore" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\ActiveQt" "-I$(QTDIR)\include\QtSerialPort" "-I$(QTDIR)\include\QtANGLE" "-I$(QTDIR)\include\QtPrintSupport" "-I$(QTDIR)\include\QtSql" "-I$(QTDIR)\include\QtNetwork" "-I.\..\..\src\algorithm" "-I.\..\..\src\tpMain" "-I.\..\..\src\tpMain\thread" "-I.\..\..\src\tpMain\splashScreen" "-I.\..\..\src\tpMain\LightBoxwidget" "-I.\..\..\src\tpMain\QDiskCleanThread" "-I.\..\..\src\tpMain\QPixmapListBar" "-I.\..\..\src\userCtrl" "-I.\..\..\src\NetWheel" "-I.\..\..\src\RasterSDG20" "-I.\..\..\src\ReportModel" "-I.\..\..\3part\libzkq\include" "-I.\..\..\3part\tadpole\include\tpBase" "-I.\..\..\3part\opencv3.4.1\include" "-I.\..\..\3part\opencv3.4.1\include\opencv" "-I.\..\..\3part\opencv3.4.1\include\opencv2" "-I.\..\..\3part\edcircle\include" "-I.\..\..\3part\lpCoreCtrl\include" "-I.\..\..\src\tpMain\algela" "-I.\..\..\src\ImageCompare" "-I.\..\..\src\interface" "-I.\lpRawTcp"</Command>
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(QTDIR)\bin\moc.exe;%(FullPath)</AdditionalInputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Moc%27ing %(Identity)...</Message>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp</Outputs>
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">"$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -DUNICODE -DWIN32 -DWIN64 -DQT_NO_DEBUG -DNDEBUG -DQT_CORE_LIB -DTPMAIN_LIB -DTPMAIN_EXPORTS -DQT_GUI_LIB -DQT_WIDGETS_LIB -DQT_SQL_LIB -DQT_PRINTSUPPORT_LIB -DQT_NETWORK_LIB -DQT_SERIALPORT_LIB -D%(PreprocessorDefinitions) "-I." "-I.\GeneratedFiles" "-I.\GeneratedFiles\$(ConfigurationName)" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtCore" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\ActiveQt" "-I$(QTDIR)\include\QtSerialPort" "-I$(QTDIR)\include\QtANGLE" "-I$(QTDIR)\include\QtPrintSupport" "-I$(QTDIR)\include\QtSql" "-I$(QTDIR)\include\QtNetwork" "-I.\..\..\src\algorithm" "-I.\..\..\src\tpMain" "-I.\..\..\src\tpMain\thread" "-I.\..\..\src\tpMain\splashScreen" "-I.\..\..\src\tpMain\LightBoxwidget" "-I.\..\..\src\tpMain\QDiskCleanThread" "-I.\..\..\src\tpMain\QPixmapListBar" "-I.\..\..\src\userCtrl" "-I.\..\..\src\NetWheel" "-I.\..\..\src\RasterSDG20" "-I.\..\..\src\ReportModel" "-I.\..\..\3part\libzkq\include" "-I.\..\..\3part\tadpole\include\tpBase" "-I.\..\..\3part\opencv3.4.1\include" "-I.\..\..\3part\opencv3.4.1\include\opencv" "-I.\..\..\3part\opencv3.4.1\include\opencv2" "-I.\..\..\3part\lpCoreCtrl\include" "-I.\..\..\src\tpMain\algela" "-I.\..\..\src\ImageCompare" "-I.\..\..\src\interface" "-I.\..\..\3part\edcircle\include"</Command>
</CustomBuild>
<CustomBuild Include="QModelMgrDlg.h">
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(QTDIR)\bin\moc.exe;%(FullPath)</AdditionalInputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Moc%27ing %(Identity)...</Message>
@ -551,16 +461,6 @@
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp</Outputs>
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">"$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -DUNICODE -DWIN32 -DWIN64 -DQT_NO_DEBUG -DNDEBUG -DQT_CORE_LIB -DTPMAIN_LIB -DTPMAIN_EXPORTS -DQT_GUI_LIB -DQT_WIDGETS_LIB -DQT_SQL_LIB -DQT_PRINTSUPPORT_LIB -DQT_NETWORK_LIB -DQT_SERIALPORT_LIB -D%(PreprocessorDefinitions) "-I." "-I.\GeneratedFiles" "-I.\GeneratedFiles\$(ConfigurationName)" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtCore" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\ActiveQt" "-I$(QTDIR)\include\QtSerialPort" "-I$(QTDIR)\include\QtANGLE" "-I$(QTDIR)\include\QtPrintSupport" "-I$(QTDIR)\include\QtSql" "-I$(QTDIR)\include\QtNetwork" "-I.\..\..\src\algorithm" "-I.\..\..\src\tpMain" "-I.\..\..\src\tpMain\thread" "-I.\..\..\src\tpMain\splashScreen" "-I.\..\..\src\tpMain\LightBoxwidget" "-I.\..\..\src\tpMain\QDiskCleanThread" "-I.\..\..\src\tpMain\QPixmapListBar" "-I.\..\..\src\userCtrl" "-I.\..\..\src\NetWheel" "-I.\..\..\src\RasterSDG20" "-I.\..\..\src\ReportModel" "-I.\..\..\3part\libzkq\include" "-I.\..\..\3part\tadpole\include\tpBase" "-I.\..\..\3part\opencv3.4.1\include" "-I.\..\..\3part\opencv3.4.1\include\opencv" "-I.\..\..\3part\opencv3.4.1\include\opencv2" "-I.\..\..\3part\lpCoreCtrl\include" "-I.\..\..\src\tpMain\algela" "-I.\..\..\src\ImageCompare" "-I.\..\..\src\interface" "-I.\..\..\3part\edcircle\include"</Command>
</CustomBuild>
<CustomBuild Include="QTimeMgrDlg.h">
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(QTDIR)\bin\moc.exe;%(FullPath)</AdditionalInputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Moc%27ing %(Identity)...</Message>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">.\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp</Outputs>
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">"$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -DUNICODE -DWIN32 -DWIN64 -DQT_CORE_LIB -DTPMAIN_LIB -DTPMAIN_EXPORTS -DQT_GUI_LIB -DQT_WIDGETS_LIB -DQT_SQL_LIB -DQT_PRINTSUPPORT_LIB -DQT_NETWORK_LIB -DQT_SERIALPORT_LIB -D_WINDOWS -D%(PreprocessorDefinitions) "-I." "-I.\GeneratedFiles" "-I.\GeneratedFiles\$(ConfigurationName)" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtCore" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\ActiveQt" "-I$(QTDIR)\include\QtSerialPort" "-I$(QTDIR)\include\QtANGLE" "-I$(QTDIR)\include\QtPrintSupport" "-I$(QTDIR)\include\QtSql" "-I$(QTDIR)\include\QtNetwork" "-I.\..\..\src\algorithm" "-I.\..\..\src\tpMain" "-I.\..\..\src\tpMain\thread" "-I.\..\..\src\tpMain\splashScreen" "-I.\..\..\src\tpMain\LightBoxwidget" "-I.\..\..\src\tpMain\QDiskCleanThread" "-I.\..\..\src\tpMain\QPixmapListBar" "-I.\..\..\src\userCtrl" "-I.\..\..\src\NetWheel" "-I.\..\..\src\RasterSDG20" "-I.\..\..\src\ReportModel" "-I.\..\..\3part\libzkq\include" "-I.\..\..\3part\tadpole\include\tpBase" "-I.\..\..\3part\opencv3.4.1\include" "-I.\..\..\3part\opencv3.4.1\include\opencv" "-I.\..\..\3part\opencv3.4.1\include\opencv2" "-I.\..\..\3part\edcircle\include" "-I.\..\..\3part\lpCoreCtrl\include" "-I.\..\..\src\tpMain\algela" "-I.\..\..\src\ImageCompare" "-I.\..\..\src\interface" "-I.\lpRawTcp"</Command>
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(QTDIR)\bin\moc.exe;%(FullPath)</AdditionalInputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Moc%27ing %(Identity)...</Message>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp</Outputs>
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">"$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -DUNICODE -DWIN32 -DWIN64 -DQT_NO_DEBUG -DNDEBUG -DQT_CORE_LIB -DTPMAIN_LIB -DTPMAIN_EXPORTS -DQT_GUI_LIB -DQT_WIDGETS_LIB -DQT_SQL_LIB -DQT_PRINTSUPPORT_LIB -DQT_NETWORK_LIB -DQT_SERIALPORT_LIB -D%(PreprocessorDefinitions) "-I." "-I.\GeneratedFiles" "-I.\GeneratedFiles\$(ConfigurationName)" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtCore" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\ActiveQt" "-I$(QTDIR)\include\QtSerialPort" "-I$(QTDIR)\include\QtANGLE" "-I$(QTDIR)\include\QtPrintSupport" "-I$(QTDIR)\include\QtSql" "-I$(QTDIR)\include\QtNetwork" "-I.\..\..\src\algorithm" "-I.\..\..\src\tpMain" "-I.\..\..\src\tpMain\thread" "-I.\..\..\src\tpMain\splashScreen" "-I.\..\..\src\tpMain\LightBoxwidget" "-I.\..\..\src\tpMain\QDiskCleanThread" "-I.\..\..\src\tpMain\QPixmapListBar" "-I.\..\..\src\userCtrl" "-I.\..\..\src\NetWheel" "-I.\..\..\src\RasterSDG20" "-I.\..\..\src\ReportModel" "-I.\..\..\3part\libzkq\include" "-I.\..\..\3part\tadpole\include\tpBase" "-I.\..\..\3part\opencv3.4.1\include" "-I.\..\..\3part\opencv3.4.1\include\opencv" "-I.\..\..\3part\opencv3.4.1\include\opencv2" "-I.\..\..\3part\lpCoreCtrl\include" "-I.\..\..\src\tpMain\algela" "-I.\..\..\src\ImageCompare" "-I.\..\..\src\interface" "-I.\..\..\3part\edcircle\include"</Command>
</CustomBuild>
<CustomBuild Include="..\..\3part\lpCoreCtrl\include\IMainWidget.h">
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(QTDIR)\bin\moc.exe;%(FullPath)</AdditionalInputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Moc%27ing %(Identity)...</Message>
@ -627,7 +527,6 @@
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">"$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -DUNICODE -DWIN32 -DWIN64 -DQT_NO_DEBUG -DNDEBUG -DQT_CORE_LIB -DTPMAIN_LIB -DTPMAIN_EXPORTS -DQT_GUI_LIB -DQT_WIDGETS_LIB -DQT_SQL_LIB -DQT_PRINTSUPPORT_LIB -DQT_NETWORK_LIB -DQT_SERIALPORT_LIB -D%(PreprocessorDefinitions) "-I." "-I.\GeneratedFiles" "-I.\GeneratedFiles\$(ConfigurationName)" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtCore" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\ActiveQt" "-I$(QTDIR)\include\QtSerialPort" "-I$(QTDIR)\include\QtANGLE" "-I$(QTDIR)\include\QtPrintSupport" "-I$(QTDIR)\include\QtSql" "-I$(QTDIR)\include\QtNetwork" "-I.\..\..\src\algorithm" "-I.\..\..\src\tpMain" "-I.\..\..\src\tpMain\thread" "-I.\..\..\src\tpMain\splashScreen" "-I.\..\..\src\tpMain\LightBoxwidget" "-I.\..\..\src\tpMain\QDiskCleanThread" "-I.\..\..\src\tpMain\QPixmapListBar" "-I.\..\..\src\userCtrl" "-I.\..\..\src\NetWheel" "-I.\..\..\src\RasterSDG20" "-I.\..\..\src\ReportModel" "-I.\..\..\3part\libzkq\include" "-I.\..\..\3part\tadpole\include\tpBase" "-I.\..\..\3part\opencv3.4.1\include" "-I.\..\..\3part\opencv3.4.1\include\opencv" "-I.\..\..\3part\opencv3.4.1\include\opencv2" "-I.\..\..\3part\lpCoreCtrl\include" "-I.\..\..\src\tpMain\algela" "-I.\..\..\src\ImageCompare" "-I.\..\..\src\interface" "-I.\..\..\3part\edcircle\include"</Command>
</CustomBuild>
<ClInclude Include="..\..\src\tpMain\TempImage.h" />
<ClInclude Include="..\..\src\tpMain\timemgrctrl.h" />
<CustomBuild Include="..\..\src\tpMain\WheelCtrl.h">
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(QTDIR)\bin\moc.exe;%(FullPath)</AdditionalInputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Moc%27ing WheelCtrl.h...</Message>
@ -639,16 +538,6 @@
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">"$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -DUNICODE -DWIN32 -DWIN64 -DQT_NO_DEBUG -DNDEBUG -DQT_CORE_LIB -DTPMAIN_LIB -DTPMAIN_EXPORTS -DQT_GUI_LIB -DQT_WIDGETS_LIB -DQT_SQL_LIB -DQT_PRINTSUPPORT_LIB -DQT_NETWORK_LIB -DQT_SERIALPORT_LIB -D%(PreprocessorDefinitions) "-I." "-I.\GeneratedFiles" "-I.\GeneratedFiles\$(ConfigurationName)" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtCore" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\ActiveQt" "-I$(QTDIR)\include\QtSerialPort" "-I$(QTDIR)\include\QtANGLE" "-I$(QTDIR)\include\QtPrintSupport" "-I$(QTDIR)\include\QtSql" "-I$(QTDIR)\include\QtNetwork" "-I.\..\..\src\algorithm" "-I.\..\..\src\tpMain" "-I.\..\..\src\tpMain\thread" "-I.\..\..\src\tpMain\splashScreen" "-I.\..\..\src\tpMain\LightBoxwidget" "-I.\..\..\src\tpMain\QDiskCleanThread" "-I.\..\..\src\tpMain\QPixmapListBar" "-I.\..\..\src\userCtrl" "-I.\..\..\src\NetWheel" "-I.\..\..\src\RasterSDG20" "-I.\..\..\src\ReportModel" "-I.\..\..\3part\libzkq\include" "-I.\..\..\3part\tadpole\include\tpBase" "-I.\..\..\3part\opencv3.4.1\include" "-I.\..\..\3part\opencv3.4.1\include\opencv" "-I.\..\..\3part\opencv3.4.1\include\opencv2" "-I.\..\..\3part\lpCoreCtrl\include" "-I.\..\..\src\tpMain\algela" "-I.\..\..\src\ImageCompare" "-I.\..\..\src\interface" "-I.\..\..\3part\edcircle\include"</Command>
</CustomBuild>
<ClInclude Include="..\..\src\tpMain\WheelModel.h" />
<CustomBuild Include="..\..\src\tpMain\WheelNet.h">
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(QTDIR)\bin\moc.exe;%(FullPath)</AdditionalInputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Moc%27ing WheelNet.h...</Message>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">.\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp</Outputs>
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">"$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -DUNICODE -DWIN32 -DWIN64 -DQT_CORE_LIB -DTPMAIN_LIB -DTPMAIN_EXPORTS -DQT_GUI_LIB -DQT_WIDGETS_LIB -DQT_SQL_LIB -DQT_PRINTSUPPORT_LIB -DQT_NETWORK_LIB -DQT_SERIALPORT_LIB -D_WINDOWS -D%(PreprocessorDefinitions) "-I." "-I.\GeneratedFiles" "-I.\GeneratedFiles\$(ConfigurationName)" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtCore" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\ActiveQt" "-I$(QTDIR)\include\QtSerialPort" "-I$(QTDIR)\include\QtANGLE" "-I$(QTDIR)\include\QtPrintSupport" "-I$(QTDIR)\include\QtSql" "-I$(QTDIR)\include\QtNetwork" "-I.\..\..\src\algorithm" "-I.\..\..\src\tpMain" "-I.\..\..\src\tpMain\thread" "-I.\..\..\src\tpMain\splashScreen" "-I.\..\..\src\tpMain\LightBoxwidget" "-I.\..\..\src\tpMain\QDiskCleanThread" "-I.\..\..\src\tpMain\QPixmapListBar" "-I.\..\..\src\userCtrl" "-I.\..\..\src\NetWheel" "-I.\..\..\src\RasterSDG20" "-I.\..\..\src\ReportModel" "-I.\..\..\3part\libzkq\include" "-I.\..\..\3part\tadpole\include\tpBase" "-I.\..\..\3part\opencv3.4.1\include" "-I.\..\..\3part\opencv3.4.1\include\opencv" "-I.\..\..\3part\opencv3.4.1\include\opencv2" "-I.\..\..\3part\edcircle\include" "-I.\..\..\3part\lpCoreCtrl\include" "-I.\..\..\src\tpMain\algela" "-I.\..\..\src\ImageCompare" "-I.\..\..\src\interface" "-I.\lpRawTcp"</Command>
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(QTDIR)\bin\moc.exe;%(FullPath)</AdditionalInputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Moc%27ing WheelNet.h...</Message>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp</Outputs>
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">"$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -DUNICODE -DWIN32 -DWIN64 -DQT_NO_DEBUG -DNDEBUG -DQT_CORE_LIB -DTPMAIN_LIB -DTPMAIN_EXPORTS -DQT_GUI_LIB -DQT_WIDGETS_LIB -DQT_SQL_LIB -DQT_PRINTSUPPORT_LIB -DQT_NETWORK_LIB -DQT_SERIALPORT_LIB -D%(PreprocessorDefinitions) "-I." "-I.\GeneratedFiles" "-I.\GeneratedFiles\$(ConfigurationName)" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtCore" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\ActiveQt" "-I$(QTDIR)\include\QtSerialPort" "-I$(QTDIR)\include\QtANGLE" "-I$(QTDIR)\include\QtPrintSupport" "-I$(QTDIR)\include\QtSql" "-I$(QTDIR)\include\QtNetwork" "-I.\..\..\src\algorithm" "-I.\..\..\src\tpMain" "-I.\..\..\src\tpMain\thread" "-I.\..\..\src\tpMain\splashScreen" "-I.\..\..\src\tpMain\LightBoxwidget" "-I.\..\..\src\tpMain\QDiskCleanThread" "-I.\..\..\src\tpMain\QPixmapListBar" "-I.\..\..\src\userCtrl" "-I.\..\..\src\NetWheel" "-I.\..\..\src\RasterSDG20" "-I.\..\..\src\ReportModel" "-I.\..\..\3part\libzkq\include" "-I.\..\..\3part\tadpole\include\tpBase" "-I.\..\..\3part\opencv3.4.1\include" "-I.\..\..\3part\opencv3.4.1\include\opencv" "-I.\..\..\3part\opencv3.4.1\include\opencv2" "-I.\..\..\3part\lpCoreCtrl\include" "-I.\..\..\src\tpMain\algela" "-I.\..\..\src\ImageCompare" "-I.\..\..\src\interface" "-I.\..\..\3part\edcircle\include"</Command>
</CustomBuild>
<CustomBuild Include="..\..\src\tpMain\QWorkMgrCtlr.h">
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(QTDIR)\bin\moc.exe;%(FullPath)</AdditionalInputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Moc%27ing QWorkMgrCtlr.h...</Message>
@ -669,16 +558,6 @@
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp</Outputs>
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">"$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -DUNICODE -DWIN32 -DWIN64 -DQT_NO_DEBUG -DNDEBUG -DQT_CORE_LIB -DTPMAIN_LIB -DTPMAIN_EXPORTS -DQT_GUI_LIB -DQT_WIDGETS_LIB -DQT_SQL_LIB -DQT_PRINTSUPPORT_LIB -DQT_NETWORK_LIB -DQT_SERIALPORT_LIB -D%(PreprocessorDefinitions) "-I." "-I.\GeneratedFiles" "-I.\GeneratedFiles\$(ConfigurationName)" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtCore" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\ActiveQt" "-I$(QTDIR)\include\QtSerialPort" "-I$(QTDIR)\include\QtANGLE" "-I$(QTDIR)\include\QtPrintSupport" "-I$(QTDIR)\include\QtSql" "-I$(QTDIR)\include\QtNetwork" "-I.\..\..\src\algorithm" "-I.\..\..\src\tpMain" "-I.\..\..\src\tpMain\thread" "-I.\..\..\src\tpMain\splashScreen" "-I.\..\..\src\tpMain\LightBoxwidget" "-I.\..\..\src\tpMain\QDiskCleanThread" "-I.\..\..\src\tpMain\QPixmapListBar" "-I.\..\..\src\userCtrl" "-I.\..\..\src\NetWheel" "-I.\..\..\src\RasterSDG20" "-I.\..\..\src\ReportModel" "-I.\..\..\3part\libzkq\include" "-I.\..\..\3part\tadpole\include\tpBase" "-I.\..\..\3part\opencv3.4.1\include" "-I.\..\..\3part\opencv3.4.1\include\opencv" "-I.\..\..\3part\opencv3.4.1\include\opencv2" "-I.\..\..\3part\lpCoreCtrl\include" "-I.\..\..\src\tpMain\algela" "-I.\..\..\src\ImageCompare" "-I.\..\..\src\interface" "-I.\..\..\3part\edcircle\include"</Command>
</CustomBuild>
<CustomBuild Include="..\..\src\tpMain\qnettickthread.h">
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(QTDIR)\bin\moc.exe;%(FullPath)</AdditionalInputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Moc%27ing qnettickthread.h...</Message>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">.\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp</Outputs>
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">"$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -DUNICODE -DWIN32 -DWIN64 -DQT_CORE_LIB -DTPMAIN_LIB -DTPMAIN_EXPORTS -DQT_GUI_LIB -DQT_WIDGETS_LIB -DQT_SQL_LIB -DQT_PRINTSUPPORT_LIB -DQT_NETWORK_LIB -DQT_SERIALPORT_LIB -D_WINDOWS -D%(PreprocessorDefinitions) "-I." "-I.\GeneratedFiles" "-I.\GeneratedFiles\$(ConfigurationName)" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtCore" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\ActiveQt" "-I$(QTDIR)\include\QtSerialPort" "-I$(QTDIR)\include\QtANGLE" "-I$(QTDIR)\include\QtPrintSupport" "-I$(QTDIR)\include\QtSql" "-I$(QTDIR)\include\QtNetwork" "-I.\..\..\src\algorithm" "-I.\..\..\src\tpMain" "-I.\..\..\src\tpMain\thread" "-I.\..\..\src\tpMain\splashScreen" "-I.\..\..\src\tpMain\LightBoxwidget" "-I.\..\..\src\tpMain\QDiskCleanThread" "-I.\..\..\src\tpMain\QPixmapListBar" "-I.\..\..\src\userCtrl" "-I.\..\..\src\NetWheel" "-I.\..\..\src\RasterSDG20" "-I.\..\..\src\ReportModel" "-I.\..\..\3part\libzkq\include" "-I.\..\..\3part\tadpole\include\tpBase" "-I.\..\..\3part\opencv3.4.1\include" "-I.\..\..\3part\opencv3.4.1\include\opencv" "-I.\..\..\3part\opencv3.4.1\include\opencv2" "-I.\..\..\3part\edcircle\include" "-I.\..\..\3part\lpCoreCtrl\include" "-I.\..\..\src\tpMain\algela" "-I.\..\..\src\ImageCompare" "-I.\..\..\src\interface" "-I.\lpRawTcp"</Command>
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(QTDIR)\bin\moc.exe;%(FullPath)</AdditionalInputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Moc%27ing qnettickthread.h...</Message>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp</Outputs>
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">"$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -DUNICODE -DWIN32 -DWIN64 -DQT_NO_DEBUG -DNDEBUG -DQT_CORE_LIB -DTPMAIN_LIB -DTPMAIN_EXPORTS -DQT_GUI_LIB -DQT_WIDGETS_LIB -DQT_SQL_LIB -DQT_PRINTSUPPORT_LIB -DQT_NETWORK_LIB -DQT_SERIALPORT_LIB -D%(PreprocessorDefinitions) "-I." "-I.\GeneratedFiles" "-I.\GeneratedFiles\$(ConfigurationName)" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtCore" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\ActiveQt" "-I$(QTDIR)\include\QtSerialPort" "-I$(QTDIR)\include\QtANGLE" "-I$(QTDIR)\include\QtPrintSupport" "-I$(QTDIR)\include\QtSql" "-I$(QTDIR)\include\QtNetwork" "-I.\..\..\src\algorithm" "-I.\..\..\src\tpMain" "-I.\..\..\src\tpMain\thread" "-I.\..\..\src\tpMain\splashScreen" "-I.\..\..\src\tpMain\LightBoxwidget" "-I.\..\..\src\tpMain\QDiskCleanThread" "-I.\..\..\src\tpMain\QPixmapListBar" "-I.\..\..\src\userCtrl" "-I.\..\..\src\NetWheel" "-I.\..\..\src\RasterSDG20" "-I.\..\..\src\ReportModel" "-I.\..\..\3part\libzkq\include" "-I.\..\..\3part\tadpole\include\tpBase" "-I.\..\..\3part\opencv3.4.1\include" "-I.\..\..\3part\opencv3.4.1\include\opencv" "-I.\..\..\3part\opencv3.4.1\include\opencv2" "-I.\..\..\3part\lpCoreCtrl\include" "-I.\..\..\src\tpMain\algela" "-I.\..\..\src\ImageCompare" "-I.\..\..\src\interface" "-I.\..\..\3part\edcircle\include"</Command>
</CustomBuild>
<CustomBuild Include="..\..\src\tpMain\qpulpewidget.h">
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(QTDIR)\bin\moc.exe;%(FullPath)</AdditionalInputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Moc%27ing qpulpewidget.h...</Message>
@ -729,46 +608,6 @@
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp</Outputs>
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">"$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -DUNICODE -DWIN32 -DWIN64 -DQT_NO_DEBUG -DNDEBUG -DQT_CORE_LIB -DTPMAIN_LIB -DTPMAIN_EXPORTS -DQT_GUI_LIB -DQT_WIDGETS_LIB -DQT_SQL_LIB -DQT_PRINTSUPPORT_LIB -DQT_NETWORK_LIB -DQT_SERIALPORT_LIB -D%(PreprocessorDefinitions) "-I." "-I.\GeneratedFiles" "-I.\GeneratedFiles\$(ConfigurationName)" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtCore" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\ActiveQt" "-I$(QTDIR)\include\QtSerialPort" "-I$(QTDIR)\include\QtANGLE" "-I$(QTDIR)\include\QtPrintSupport" "-I$(QTDIR)\include\QtSql" "-I$(QTDIR)\include\QtNetwork" "-I.\..\..\src\algorithm" "-I.\..\..\src\tpMain" "-I.\..\..\src\tpMain\thread" "-I.\..\..\src\tpMain\splashScreen" "-I.\..\..\src\tpMain\LightBoxwidget" "-I.\..\..\src\tpMain\QDiskCleanThread" "-I.\..\..\src\tpMain\QPixmapListBar" "-I.\..\..\src\userCtrl" "-I.\..\..\src\NetWheel" "-I.\..\..\src\RasterSDG20" "-I.\..\..\src\ReportModel" "-I.\..\..\3part\libzkq\include" "-I.\..\..\3part\tadpole\include\tpBase" "-I.\..\..\3part\opencv3.4.1\include" "-I.\..\..\3part\opencv3.4.1\include\opencv" "-I.\..\..\3part\opencv3.4.1\include\opencv2" "-I.\..\..\3part\lpCoreCtrl\include" "-I.\..\..\src\tpMain\algela" "-I.\..\..\src\ImageCompare" "-I.\..\..\src\interface" "-I.\..\..\3part\edcircle\include"</Command>
</CustomBuild>
<CustomBuild Include="..\..\src\tpMain\qipconfigdlg.h">
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(QTDIR)\bin\moc.exe;%(FullPath)</AdditionalInputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Moc%27ing qipconfigdlg.h...</Message>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">.\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp</Outputs>
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">"$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -DUNICODE -DWIN32 -DWIN64 -DQT_CORE_LIB -DTPMAIN_LIB -DTPMAIN_EXPORTS -DQT_GUI_LIB -DQT_WIDGETS_LIB -DQT_SQL_LIB -DQT_PRINTSUPPORT_LIB -DQT_NETWORK_LIB -DQT_SERIALPORT_LIB -D_WINDOWS -D%(PreprocessorDefinitions) "-I." "-I.\GeneratedFiles" "-I.\GeneratedFiles\$(ConfigurationName)" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtCore" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\ActiveQt" "-I$(QTDIR)\include\QtSerialPort" "-I$(QTDIR)\include\QtANGLE" "-I$(QTDIR)\include\QtPrintSupport" "-I$(QTDIR)\include\QtSql" "-I$(QTDIR)\include\QtNetwork" "-I.\..\..\src\algorithm" "-I.\..\..\src\tpMain" "-I.\..\..\src\tpMain\thread" "-I.\..\..\src\tpMain\splashScreen" "-I.\..\..\src\tpMain\LightBoxwidget" "-I.\..\..\src\tpMain\QDiskCleanThread" "-I.\..\..\src\tpMain\QPixmapListBar" "-I.\..\..\src\userCtrl" "-I.\..\..\src\NetWheel" "-I.\..\..\src\RasterSDG20" "-I.\..\..\src\ReportModel" "-I.\..\..\3part\libzkq\include" "-I.\..\..\3part\tadpole\include\tpBase" "-I.\..\..\3part\opencv3.4.1\include" "-I.\..\..\3part\opencv3.4.1\include\opencv" "-I.\..\..\3part\opencv3.4.1\include\opencv2" "-I.\..\..\3part\edcircle\include" "-I.\..\..\3part\lpCoreCtrl\include" "-I.\..\..\src\tpMain\algela" "-I.\..\..\src\ImageCompare" "-I.\..\..\src\interface" "-I.\lpRawTcp"</Command>
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(QTDIR)\bin\moc.exe;%(FullPath)</AdditionalInputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Moc%27ing qipconfigdlg.h...</Message>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp</Outputs>
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">"$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -DUNICODE -DWIN32 -DWIN64 -DQT_NO_DEBUG -DNDEBUG -DQT_CORE_LIB -DTPMAIN_LIB -DTPMAIN_EXPORTS -DQT_GUI_LIB -DQT_WIDGETS_LIB -DQT_SQL_LIB -DQT_PRINTSUPPORT_LIB -DQT_NETWORK_LIB -DQT_SERIALPORT_LIB -D%(PreprocessorDefinitions) "-I." "-I.\GeneratedFiles" "-I.\GeneratedFiles\$(ConfigurationName)" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtCore" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\ActiveQt" "-I$(QTDIR)\include\QtSerialPort" "-I$(QTDIR)\include\QtANGLE" "-I$(QTDIR)\include\QtPrintSupport" "-I$(QTDIR)\include\QtSql" "-I$(QTDIR)\include\QtNetwork" "-I.\..\..\src\algorithm" "-I.\..\..\src\tpMain" "-I.\..\..\src\tpMain\thread" "-I.\..\..\src\tpMain\splashScreen" "-I.\..\..\src\tpMain\LightBoxwidget" "-I.\..\..\src\tpMain\QDiskCleanThread" "-I.\..\..\src\tpMain\QPixmapListBar" "-I.\..\..\src\userCtrl" "-I.\..\..\src\NetWheel" "-I.\..\..\src\RasterSDG20" "-I.\..\..\src\ReportModel" "-I.\..\..\3part\libzkq\include" "-I.\..\..\3part\tadpole\include\tpBase" "-I.\..\..\3part\opencv3.4.1\include" "-I.\..\..\3part\opencv3.4.1\include\opencv" "-I.\..\..\3part\opencv3.4.1\include\opencv2" "-I.\..\..\3part\lpCoreCtrl\include" "-I.\..\..\src\tpMain\algela" "-I.\..\..\src\ImageCompare" "-I.\..\..\src\interface" "-I.\..\..\3part\edcircle\include"</Command>
</CustomBuild>
<CustomBuild Include="..\..\src\tpMain\qdia2thsetting.h">
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(QTDIR)\bin\moc.exe;%(FullPath)</AdditionalInputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Moc%27ing qdia2thsetting.h...</Message>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">.\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp</Outputs>
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">"$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -DUNICODE -DWIN32 -DWIN64 -DQT_CORE_LIB -DTPMAIN_LIB -DTPMAIN_EXPORTS -DQT_GUI_LIB -DQT_WIDGETS_LIB -DQT_SQL_LIB -DQT_PRINTSUPPORT_LIB -DQT_NETWORK_LIB -DQT_SERIALPORT_LIB -D_WINDOWS -D%(PreprocessorDefinitions) "-I." "-I.\GeneratedFiles" "-I.\GeneratedFiles\$(ConfigurationName)" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtCore" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\ActiveQt" "-I$(QTDIR)\include\QtSerialPort" "-I$(QTDIR)\include\QtANGLE" "-I$(QTDIR)\include\QtPrintSupport" "-I$(QTDIR)\include\QtSql" "-I$(QTDIR)\include\QtNetwork" "-I.\..\..\src\algorithm" "-I.\..\..\src\tpMain" "-I.\..\..\src\tpMain\thread" "-I.\..\..\src\tpMain\splashScreen" "-I.\..\..\src\tpMain\LightBoxwidget" "-I.\..\..\src\tpMain\QDiskCleanThread" "-I.\..\..\src\tpMain\QPixmapListBar" "-I.\..\..\src\userCtrl" "-I.\..\..\src\NetWheel" "-I.\..\..\src\RasterSDG20" "-I.\..\..\src\ReportModel" "-I.\..\..\3part\libzkq\include" "-I.\..\..\3part\tadpole\include\tpBase" "-I.\..\..\3part\opencv3.4.1\include" "-I.\..\..\3part\opencv3.4.1\include\opencv" "-I.\..\..\3part\opencv3.4.1\include\opencv2" "-I.\..\..\3part\edcircle\include" "-I.\..\..\3part\lpCoreCtrl\include" "-I.\..\..\src\tpMain\algela" "-I.\..\..\src\ImageCompare" "-I.\..\..\src\interface" "-I.\lpRawTcp"</Command>
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(QTDIR)\bin\moc.exe;%(FullPath)</AdditionalInputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Moc%27ing qdia2thsetting.h...</Message>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp</Outputs>
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">"$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -DUNICODE -DWIN32 -DWIN64 -DQT_NO_DEBUG -DNDEBUG -DQT_CORE_LIB -DTPMAIN_LIB -DTPMAIN_EXPORTS -DQT_GUI_LIB -DQT_WIDGETS_LIB -DQT_SQL_LIB -DQT_PRINTSUPPORT_LIB -DQT_NETWORK_LIB -DQT_SERIALPORT_LIB -D%(PreprocessorDefinitions) "-I." "-I.\GeneratedFiles" "-I.\GeneratedFiles\$(ConfigurationName)" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtCore" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\ActiveQt" "-I$(QTDIR)\include\QtSerialPort" "-I$(QTDIR)\include\QtANGLE" "-I$(QTDIR)\include\QtPrintSupport" "-I$(QTDIR)\include\QtSql" "-I$(QTDIR)\include\QtNetwork" "-I.\..\..\src\algorithm" "-I.\..\..\src\tpMain" "-I.\..\..\src\tpMain\thread" "-I.\..\..\src\tpMain\splashScreen" "-I.\..\..\src\tpMain\LightBoxwidget" "-I.\..\..\src\tpMain\QDiskCleanThread" "-I.\..\..\src\tpMain\QPixmapListBar" "-I.\..\..\src\userCtrl" "-I.\..\..\src\NetWheel" "-I.\..\..\src\RasterSDG20" "-I.\..\..\src\ReportModel" "-I.\..\..\3part\libzkq\include" "-I.\..\..\3part\tadpole\include\tpBase" "-I.\..\..\3part\opencv3.4.1\include" "-I.\..\..\3part\opencv3.4.1\include\opencv" "-I.\..\..\3part\opencv3.4.1\include\opencv2" "-I.\..\..\3part\lpCoreCtrl\include" "-I.\..\..\src\tpMain\algela" "-I.\..\..\src\ImageCompare" "-I.\..\..\src\interface" "-I.\..\..\3part\edcircle\include"</Command>
</CustomBuild>
<CustomBuild Include="..\..\src\tpMain\qchannelmanager.h">
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(QTDIR)\bin\moc.exe;%(FullPath)</AdditionalInputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Moc%27ing qchannelmanager.h...</Message>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">.\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp</Outputs>
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">"$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -DUNICODE -DWIN32 -DWIN64 -DQT_CORE_LIB -DTPMAIN_LIB -DTPMAIN_EXPORTS -DQT_GUI_LIB -DQT_WIDGETS_LIB -DQT_SQL_LIB -DQT_PRINTSUPPORT_LIB -DQT_NETWORK_LIB -DQT_SERIALPORT_LIB -D_WINDOWS -D%(PreprocessorDefinitions) "-I." "-I.\GeneratedFiles" "-I.\GeneratedFiles\$(ConfigurationName)" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtCore" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\ActiveQt" "-I$(QTDIR)\include\QtSerialPort" "-I$(QTDIR)\include\QtANGLE" "-I$(QTDIR)\include\QtPrintSupport" "-I$(QTDIR)\include\QtSql" "-I$(QTDIR)\include\QtNetwork" "-I.\..\..\src\algorithm" "-I.\..\..\src\tpMain" "-I.\..\..\src\tpMain\thread" "-I.\..\..\src\tpMain\splashScreen" "-I.\..\..\src\tpMain\LightBoxwidget" "-I.\..\..\src\tpMain\QDiskCleanThread" "-I.\..\..\src\tpMain\QPixmapListBar" "-I.\..\..\src\userCtrl" "-I.\..\..\src\NetWheel" "-I.\..\..\src\RasterSDG20" "-I.\..\..\src\ReportModel" "-I.\..\..\3part\libzkq\include" "-I.\..\..\3part\tadpole\include\tpBase" "-I.\..\..\3part\opencv3.4.1\include" "-I.\..\..\3part\opencv3.4.1\include\opencv" "-I.\..\..\3part\opencv3.4.1\include\opencv2" "-I.\..\..\3part\edcircle\include" "-I.\..\..\3part\lpCoreCtrl\include" "-I.\..\..\src\tpMain\algela" "-I.\..\..\src\ImageCompare" "-I.\..\..\src\interface" "-I.\lpRawTcp"</Command>
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(QTDIR)\bin\moc.exe;%(FullPath)</AdditionalInputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Moc%27ing qchannelmanager.h...</Message>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp</Outputs>
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">"$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -DUNICODE -DWIN32 -DWIN64 -DQT_NO_DEBUG -DNDEBUG -DQT_CORE_LIB -DTPMAIN_LIB -DTPMAIN_EXPORTS -DQT_GUI_LIB -DQT_WIDGETS_LIB -DQT_SQL_LIB -DQT_PRINTSUPPORT_LIB -DQT_NETWORK_LIB -DQT_SERIALPORT_LIB -D%(PreprocessorDefinitions) "-I." "-I.\GeneratedFiles" "-I.\GeneratedFiles\$(ConfigurationName)" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtCore" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\ActiveQt" "-I$(QTDIR)\include\QtSerialPort" "-I$(QTDIR)\include\QtANGLE" "-I$(QTDIR)\include\QtPrintSupport" "-I$(QTDIR)\include\QtSql" "-I$(QTDIR)\include\QtNetwork" "-I.\..\..\src\algorithm" "-I.\..\..\src\tpMain" "-I.\..\..\src\tpMain\thread" "-I.\..\..\src\tpMain\splashScreen" "-I.\..\..\src\tpMain\LightBoxwidget" "-I.\..\..\src\tpMain\QDiskCleanThread" "-I.\..\..\src\tpMain\QPixmapListBar" "-I.\..\..\src\userCtrl" "-I.\..\..\src\NetWheel" "-I.\..\..\src\RasterSDG20" "-I.\..\..\src\ReportModel" "-I.\..\..\3part\libzkq\include" "-I.\..\..\3part\tadpole\include\tpBase" "-I.\..\..\3part\opencv3.4.1\include" "-I.\..\..\3part\opencv3.4.1\include\opencv" "-I.\..\..\3part\opencv3.4.1\include\opencv2" "-I.\..\..\3part\lpCoreCtrl\include" "-I.\..\..\src\tpMain\algela" "-I.\..\..\src\ImageCompare" "-I.\..\..\src\interface" "-I.\..\..\3part\edcircle\include"</Command>
</CustomBuild>
<CustomBuild Include="..\..\src\tpMain\qaddtimedlg.h">
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(QTDIR)\bin\moc.exe;%(FullPath)</AdditionalInputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Moc%27ing qaddtimedlg.h...</Message>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">.\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp</Outputs>
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">"$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -DUNICODE -DWIN32 -DWIN64 -DQT_CORE_LIB -DTPMAIN_LIB -DTPMAIN_EXPORTS -DQT_GUI_LIB -DQT_WIDGETS_LIB -DQT_SQL_LIB -DQT_PRINTSUPPORT_LIB -DQT_NETWORK_LIB -DQT_SERIALPORT_LIB -D_WINDOWS -D%(PreprocessorDefinitions) "-I." "-I.\GeneratedFiles" "-I.\GeneratedFiles\$(ConfigurationName)" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtCore" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\ActiveQt" "-I$(QTDIR)\include\QtSerialPort" "-I$(QTDIR)\include\QtANGLE" "-I$(QTDIR)\include\QtPrintSupport" "-I$(QTDIR)\include\QtSql" "-I$(QTDIR)\include\QtNetwork" "-I.\..\..\src\algorithm" "-I.\..\..\src\tpMain" "-I.\..\..\src\tpMain\thread" "-I.\..\..\src\tpMain\splashScreen" "-I.\..\..\src\tpMain\LightBoxwidget" "-I.\..\..\src\tpMain\QDiskCleanThread" "-I.\..\..\src\tpMain\QPixmapListBar" "-I.\..\..\src\userCtrl" "-I.\..\..\src\NetWheel" "-I.\..\..\src\RasterSDG20" "-I.\..\..\src\ReportModel" "-I.\..\..\3part\libzkq\include" "-I.\..\..\3part\tadpole\include\tpBase" "-I.\..\..\3part\opencv3.4.1\include" "-I.\..\..\3part\opencv3.4.1\include\opencv" "-I.\..\..\3part\opencv3.4.1\include\opencv2" "-I.\..\..\3part\edcircle\include" "-I.\..\..\3part\lpCoreCtrl\include" "-I.\..\..\src\tpMain\algela" "-I.\..\..\src\ImageCompare" "-I.\..\..\src\interface" "-I.\lpRawTcp"</Command>
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(QTDIR)\bin\moc.exe;%(FullPath)</AdditionalInputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Moc%27ing qaddtimedlg.h...</Message>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp</Outputs>
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">"$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -DUNICODE -DWIN32 -DWIN64 -DQT_NO_DEBUG -DNDEBUG -DQT_CORE_LIB -DTPMAIN_LIB -DTPMAIN_EXPORTS -DQT_GUI_LIB -DQT_WIDGETS_LIB -DQT_SQL_LIB -DQT_PRINTSUPPORT_LIB -DQT_NETWORK_LIB -DQT_SERIALPORT_LIB -D%(PreprocessorDefinitions) "-I." "-I.\GeneratedFiles" "-I.\GeneratedFiles\$(ConfigurationName)" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtCore" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\ActiveQt" "-I$(QTDIR)\include\QtSerialPort" "-I$(QTDIR)\include\QtANGLE" "-I$(QTDIR)\include\QtPrintSupport" "-I$(QTDIR)\include\QtSql" "-I$(QTDIR)\include\QtNetwork" "-I.\..\..\src\algorithm" "-I.\..\..\src\tpMain" "-I.\..\..\src\tpMain\thread" "-I.\..\..\src\tpMain\splashScreen" "-I.\..\..\src\tpMain\LightBoxwidget" "-I.\..\..\src\tpMain\QDiskCleanThread" "-I.\..\..\src\tpMain\QPixmapListBar" "-I.\..\..\src\userCtrl" "-I.\..\..\src\NetWheel" "-I.\..\..\src\RasterSDG20" "-I.\..\..\src\ReportModel" "-I.\..\..\3part\libzkq\include" "-I.\..\..\3part\tadpole\include\tpBase" "-I.\..\..\3part\opencv3.4.1\include" "-I.\..\..\3part\opencv3.4.1\include\opencv" "-I.\..\..\3part\opencv3.4.1\include\opencv2" "-I.\..\..\3part\lpCoreCtrl\include" "-I.\..\..\src\tpMain\algela" "-I.\..\..\src\ImageCompare" "-I.\..\..\src\interface" "-I.\..\..\3part\edcircle\include"</Command>
</CustomBuild>
<CustomBuild Include="..\..\src\tpMain\qaddmodel.h">
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(QTDIR)\bin\moc.exe;%(FullPath)</AdditionalInputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Moc%27ing qaddmodel.h...</Message>
@ -790,17 +629,6 @@
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">"$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -DUNICODE -DWIN32 -DWIN64 -DQT_NO_DEBUG -DNDEBUG -DQT_CORE_LIB -DTPMAIN_LIB -DTPMAIN_EXPORTS -DQT_GUI_LIB -DQT_WIDGETS_LIB -DQT_SQL_LIB -DQT_PRINTSUPPORT_LIB -DQT_NETWORK_LIB -DQT_SERIALPORT_LIB -D%(PreprocessorDefinitions) "-I." "-I.\GeneratedFiles" "-I.\GeneratedFiles\$(ConfigurationName)" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtCore" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\ActiveQt" "-I$(QTDIR)\include\QtSerialPort" "-I$(QTDIR)\include\QtANGLE" "-I$(QTDIR)\include\QtPrintSupport" "-I$(QTDIR)\include\QtSql" "-I$(QTDIR)\include\QtNetwork" "-I.\..\..\src\algorithm" "-I.\..\..\src\tpMain" "-I.\..\..\src\tpMain\thread" "-I.\..\..\src\tpMain\splashScreen" "-I.\..\..\src\tpMain\LightBoxwidget" "-I.\..\..\src\tpMain\QDiskCleanThread" "-I.\..\..\src\tpMain\QPixmapListBar" "-I.\..\..\src\userCtrl" "-I.\..\..\src\NetWheel" "-I.\..\..\src\RasterSDG20" "-I.\..\..\src\ReportModel" "-I.\..\..\3part\libzkq\include" "-I.\..\..\3part\tadpole\include\tpBase" "-I.\..\..\3part\opencv3.4.1\include" "-I.\..\..\3part\opencv3.4.1\include\opencv" "-I.\..\..\3part\opencv3.4.1\include\opencv2" "-I.\..\..\3part\lpCoreCtrl\include" "-I.\..\..\src\tpMain\algela" "-I.\..\..\src\ImageCompare" "-I.\..\..\src\interface" "-I.\..\..\3part\edcircle\include"</Command>
</CustomBuild>
<ClInclude Include="..\..\src\tpMain\CamConfig.h" />
<CustomBuild Include="..\..\src\tpMain\ChannelInfo.h">
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(QTDIR)\bin\moc.exe;%(FullPath)</AdditionalInputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Moc%27ing ChannelInfo.h...</Message>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">.\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp</Outputs>
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">"$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -DUNICODE -DWIN32 -DWIN64 -DQT_CORE_LIB -DTPMAIN_LIB -DTPMAIN_EXPORTS -DQT_GUI_LIB -DQT_WIDGETS_LIB -DQT_SQL_LIB -DQT_PRINTSUPPORT_LIB -DQT_NETWORK_LIB -DQT_SERIALPORT_LIB -D_WINDOWS -D%(PreprocessorDefinitions) "-I." "-I.\GeneratedFiles" "-I.\GeneratedFiles\$(ConfigurationName)" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtCore" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\ActiveQt" "-I$(QTDIR)\include\QtSerialPort" "-I$(QTDIR)\include\QtANGLE" "-I$(QTDIR)\include\QtPrintSupport" "-I$(QTDIR)\include\QtSql" "-I$(QTDIR)\include\QtNetwork" "-I.\..\..\src\algorithm" "-I.\..\..\src\tpMain" "-I.\..\..\src\tpMain\thread" "-I.\..\..\src\tpMain\splashScreen" "-I.\..\..\src\tpMain\LightBoxwidget" "-I.\..\..\src\tpMain\QDiskCleanThread" "-I.\..\..\src\tpMain\QPixmapListBar" "-I.\..\..\src\userCtrl" "-I.\..\..\src\NetWheel" "-I.\..\..\src\RasterSDG20" "-I.\..\..\src\ReportModel" "-I.\..\..\3part\libzkq\include" "-I.\..\..\3part\tadpole\include\tpBase" "-I.\..\..\3part\opencv3.4.1\include" "-I.\..\..\3part\opencv3.4.1\include\opencv" "-I.\..\..\3part\opencv3.4.1\include\opencv2" "-I.\..\..\3part\edcircle\include" "-I.\..\..\3part\lpCoreCtrl\include" "-I.\..\..\src\tpMain\algela" "-I.\..\..\src\ImageCompare" "-I.\..\..\src\interface" "-I.\lpRawTcp"</Command>
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(QTDIR)\bin\moc.exe;%(FullPath)</AdditionalInputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Moc%27ing ChannelInfo.h...</Message>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp</Outputs>
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">"$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -DUNICODE -DWIN32 -DWIN64 -DQT_NO_DEBUG -DNDEBUG -DQT_CORE_LIB -DTPMAIN_LIB -DTPMAIN_EXPORTS -DQT_GUI_LIB -DQT_WIDGETS_LIB -DQT_SQL_LIB -DQT_PRINTSUPPORT_LIB -DQT_NETWORK_LIB -DQT_SERIALPORT_LIB -D%(PreprocessorDefinitions) "-I." "-I.\GeneratedFiles" "-I.\GeneratedFiles\$(ConfigurationName)" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtCore" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\ActiveQt" "-I$(QTDIR)\include\QtSerialPort" "-I$(QTDIR)\include\QtANGLE" "-I$(QTDIR)\include\QtPrintSupport" "-I$(QTDIR)\include\QtSql" "-I$(QTDIR)\include\QtNetwork" "-I.\..\..\src\algorithm" "-I.\..\..\src\tpMain" "-I.\..\..\src\tpMain\thread" "-I.\..\..\src\tpMain\splashScreen" "-I.\..\..\src\tpMain\LightBoxwidget" "-I.\..\..\src\tpMain\QDiskCleanThread" "-I.\..\..\src\tpMain\QPixmapListBar" "-I.\..\..\src\userCtrl" "-I.\..\..\src\NetWheel" "-I.\..\..\src\RasterSDG20" "-I.\..\..\src\ReportModel" "-I.\..\..\3part\libzkq\include" "-I.\..\..\3part\tadpole\include\tpBase" "-I.\..\..\3part\opencv3.4.1\include" "-I.\..\..\3part\opencv3.4.1\include\opencv" "-I.\..\..\3part\opencv3.4.1\include\opencv2" "-I.\..\..\3part\lpCoreCtrl\include" "-I.\..\..\src\tpMain\algela" "-I.\..\..\src\ImageCompare" "-I.\..\..\src\interface" "-I.\..\..\3part\edcircle\include"</Command>
</CustomBuild>
<ClInclude Include="..\..\src\tpMain\ComConfig.h" />
<CustomBuild Include="..\..\src\tpMain\customtableview.h">
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(QTDIR)\bin\moc.exe;%(FullPath)</AdditionalInputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Moc%27ing customtableview.h...</Message>
@ -867,7 +695,6 @@
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">"$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -DUNICODE -DWIN32 -DWIN64 -DQT_NO_DEBUG -DNDEBUG -DQT_CORE_LIB -DTPMAIN_LIB -DTPMAIN_EXPORTS -DQT_GUI_LIB -DQT_WIDGETS_LIB -DQT_SQL_LIB -DQT_PRINTSUPPORT_LIB -DQT_NETWORK_LIB -DQT_SERIALPORT_LIB -D%(PreprocessorDefinitions) "-I." "-I.\GeneratedFiles" "-I.\GeneratedFiles\$(ConfigurationName)" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtCore" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\ActiveQt" "-I$(QTDIR)\include\QtSerialPort" "-I$(QTDIR)\include\QtANGLE" "-I$(QTDIR)\include\QtPrintSupport" "-I$(QTDIR)\include\QtSql" "-I$(QTDIR)\include\QtNetwork" "-I.\..\..\src\algorithm" "-I.\..\..\src\tpMain" "-I.\..\..\src\tpMain\thread" "-I.\..\..\src\tpMain\splashScreen" "-I.\..\..\src\tpMain\LightBoxwidget" "-I.\..\..\src\tpMain\QDiskCleanThread" "-I.\..\..\src\tpMain\QPixmapListBar" "-I.\..\..\src\userCtrl" "-I.\..\..\src\NetWheel" "-I.\..\..\src\RasterSDG20" "-I.\..\..\src\ReportModel" "-I.\..\..\3part\libzkq\include" "-I.\..\..\3part\tadpole\include\tpBase" "-I.\..\..\3part\opencv3.4.1\include" "-I.\..\..\3part\opencv3.4.1\include\opencv" "-I.\..\..\3part\opencv3.4.1\include\opencv2" "-I.\..\..\3part\lpCoreCtrl\include" "-I.\..\..\src\tpMain\algela" "-I.\..\..\src\ImageCompare" "-I.\..\..\src\interface" "-I.\..\..\3part\edcircle\include"</Command>
</CustomBuild>
<ClInclude Include="..\..\src\tpMain\ModelTrain.h" />
<ClInclude Include="..\..\src\tpMain\NetProtocol.h" />
<CustomBuild Include="..\..\src\tpMain\ProgressView.h">
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(QTDIR)\bin\moc.exe;%(FullPath)</AdditionalInputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Moc%27ing ProgressView.h...</Message>
@ -878,16 +705,6 @@
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp</Outputs>
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">"$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -DUNICODE -DWIN32 -DWIN64 -DQT_NO_DEBUG -DNDEBUG -DQT_CORE_LIB -DTPMAIN_LIB -DTPMAIN_EXPORTS -DQT_GUI_LIB -DQT_WIDGETS_LIB -DQT_SQL_LIB -DQT_PRINTSUPPORT_LIB -DQT_NETWORK_LIB -DQT_SERIALPORT_LIB -D%(PreprocessorDefinitions) "-I." "-I.\GeneratedFiles" "-I.\GeneratedFiles\$(ConfigurationName)" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtCore" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\ActiveQt" "-I$(QTDIR)\include\QtSerialPort" "-I$(QTDIR)\include\QtANGLE" "-I$(QTDIR)\include\QtPrintSupport" "-I$(QTDIR)\include\QtSql" "-I$(QTDIR)\include\QtNetwork" "-I.\..\..\src\algorithm" "-I.\..\..\src\tpMain" "-I.\..\..\src\tpMain\thread" "-I.\..\..\src\tpMain\splashScreen" "-I.\..\..\src\tpMain\LightBoxwidget" "-I.\..\..\src\tpMain\QDiskCleanThread" "-I.\..\..\src\tpMain\QPixmapListBar" "-I.\..\..\src\userCtrl" "-I.\..\..\src\NetWheel" "-I.\..\..\src\RasterSDG20" "-I.\..\..\src\ReportModel" "-I.\..\..\3part\libzkq\include" "-I.\..\..\3part\tadpole\include\tpBase" "-I.\..\..\3part\opencv3.4.1\include" "-I.\..\..\3part\opencv3.4.1\include\opencv" "-I.\..\..\3part\opencv3.4.1\include\opencv2" "-I.\..\..\3part\lpCoreCtrl\include" "-I.\..\..\src\tpMain\algela" "-I.\..\..\src\ImageCompare" "-I.\..\..\src\interface" "-I.\..\..\3part\edcircle\include"</Command>
</CustomBuild>
<CustomBuild Include="..\..\src\tpMain\qaddchanneldlg.h">
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(QTDIR)\bin\moc.exe;%(FullPath)</AdditionalInputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Moc%27ing qaddchanneldlg.h...</Message>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">.\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp</Outputs>
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">"$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -DUNICODE -DWIN32 -DWIN64 -DQT_CORE_LIB -DTPMAIN_LIB -DTPMAIN_EXPORTS -DQT_GUI_LIB -DQT_WIDGETS_LIB -DQT_SQL_LIB -DQT_PRINTSUPPORT_LIB -DQT_NETWORK_LIB -DQT_SERIALPORT_LIB -D_WINDOWS -D%(PreprocessorDefinitions) "-I." "-I.\GeneratedFiles" "-I.\GeneratedFiles\$(ConfigurationName)" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtCore" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\ActiveQt" "-I$(QTDIR)\include\QtSerialPort" "-I$(QTDIR)\include\QtANGLE" "-I$(QTDIR)\include\QtPrintSupport" "-I$(QTDIR)\include\QtSql" "-I$(QTDIR)\include\QtNetwork" "-I.\..\..\src\algorithm" "-I.\..\..\src\tpMain" "-I.\..\..\src\tpMain\thread" "-I.\..\..\src\tpMain\splashScreen" "-I.\..\..\src\tpMain\LightBoxwidget" "-I.\..\..\src\tpMain\QDiskCleanThread" "-I.\..\..\src\tpMain\QPixmapListBar" "-I.\..\..\src\userCtrl" "-I.\..\..\src\NetWheel" "-I.\..\..\src\RasterSDG20" "-I.\..\..\src\ReportModel" "-I.\..\..\3part\libzkq\include" "-I.\..\..\3part\tadpole\include\tpBase" "-I.\..\..\3part\opencv3.4.1\include" "-I.\..\..\3part\opencv3.4.1\include\opencv" "-I.\..\..\3part\opencv3.4.1\include\opencv2" "-I.\..\..\3part\edcircle\include" "-I.\..\..\3part\lpCoreCtrl\include" "-I.\..\..\src\tpMain\algela" "-I.\..\..\src\ImageCompare" "-I.\..\..\src\interface" "-I.\lpRawTcp"</Command>
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(QTDIR)\bin\moc.exe;%(FullPath)</AdditionalInputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Moc%27ing qaddchanneldlg.h...</Message>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp</Outputs>
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">"$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -DUNICODE -DWIN32 -DWIN64 -DQT_NO_DEBUG -DNDEBUG -DQT_CORE_LIB -DTPMAIN_LIB -DTPMAIN_EXPORTS -DQT_GUI_LIB -DQT_WIDGETS_LIB -DQT_SQL_LIB -DQT_PRINTSUPPORT_LIB -DQT_NETWORK_LIB -DQT_SERIALPORT_LIB -D%(PreprocessorDefinitions) "-I." "-I.\GeneratedFiles" "-I.\GeneratedFiles\$(ConfigurationName)" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtCore" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\ActiveQt" "-I$(QTDIR)\include\QtSerialPort" "-I$(QTDIR)\include\QtANGLE" "-I$(QTDIR)\include\QtPrintSupport" "-I$(QTDIR)\include\QtSql" "-I$(QTDIR)\include\QtNetwork" "-I.\..\..\src\algorithm" "-I.\..\..\src\tpMain" "-I.\..\..\src\tpMain\thread" "-I.\..\..\src\tpMain\splashScreen" "-I.\..\..\src\tpMain\LightBoxwidget" "-I.\..\..\src\tpMain\QDiskCleanThread" "-I.\..\..\src\tpMain\QPixmapListBar" "-I.\..\..\src\userCtrl" "-I.\..\..\src\NetWheel" "-I.\..\..\src\RasterSDG20" "-I.\..\..\src\ReportModel" "-I.\..\..\3part\libzkq\include" "-I.\..\..\3part\tadpole\include\tpBase" "-I.\..\..\3part\opencv3.4.1\include" "-I.\..\..\3part\opencv3.4.1\include\opencv" "-I.\..\..\3part\opencv3.4.1\include\opencv2" "-I.\..\..\3part\lpCoreCtrl\include" "-I.\..\..\src\tpMain\algela" "-I.\..\..\src\ImageCompare" "-I.\..\..\src\interface" "-I.\..\..\3part\edcircle\include"</Command>
</CustomBuild>
<ClInclude Include="..\..\src\tpMain\QDiskCleanThread\solarCellHelper.h" />
<CustomBuild Include="..\..\src\tpMain\QPixmapListBar\qpixmapbar.h">
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(QTDIR)\bin\moc.exe;%(FullPath)</AdditionalInputs>
@ -1230,46 +1047,6 @@
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.\GeneratedFiles\ui_%(Filename).h;%(Outputs)</Outputs>
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">"$(QTDIR)\bin\uic.exe" -o ".\GeneratedFiles\ui_%(Filename).h" "%(FullPath)"</Command>
</CustomBuild>
<CustomBuild Include="..\..\src\tpMain\qipconfigdlg.ui">
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(QTDIR)\bin\uic.exe;%(AdditionalInputs)</AdditionalInputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Uic%27ing %(Identity)...</Message>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">.\GeneratedFiles\ui_%(Filename).h;%(Outputs)</Outputs>
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">"$(QTDIR)\bin\uic.exe" -o ".\GeneratedFiles\ui_%(Filename).h" "%(FullPath)"</Command>
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(QTDIR)\bin\uic.exe;%(AdditionalInputs)</AdditionalInputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Uic%27ing %(Identity)...</Message>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.\GeneratedFiles\ui_%(Filename).h;%(Outputs)</Outputs>
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">"$(QTDIR)\bin\uic.exe" -o ".\GeneratedFiles\ui_%(Filename).h" "%(FullPath)"</Command>
</CustomBuild>
<CustomBuild Include="..\..\src\tpMain\qdia2thsetting.ui">
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(QTDIR)\bin\uic.exe;%(AdditionalInputs)</AdditionalInputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Uic%27ing %(Identity)...</Message>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">.\GeneratedFiles\ui_%(Filename).h;%(Outputs)</Outputs>
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">"$(QTDIR)\bin\uic.exe" -o ".\GeneratedFiles\ui_%(Filename).h" "%(FullPath)"</Command>
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(QTDIR)\bin\uic.exe;%(AdditionalInputs)</AdditionalInputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Uic%27ing %(Identity)...</Message>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.\GeneratedFiles\ui_%(Filename).h;%(Outputs)</Outputs>
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">"$(QTDIR)\bin\uic.exe" -o ".\GeneratedFiles\ui_%(Filename).h" "%(FullPath)"</Command>
</CustomBuild>
<CustomBuild Include="..\..\src\tpMain\qchannelmanager.ui">
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(QTDIR)\bin\uic.exe;%(AdditionalInputs)</AdditionalInputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Uic%27ing %(Identity)...</Message>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">.\GeneratedFiles\ui_%(Filename).h;%(Outputs)</Outputs>
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">"$(QTDIR)\bin\uic.exe" -o ".\GeneratedFiles\ui_%(Filename).h" "%(FullPath)"</Command>
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(QTDIR)\bin\uic.exe;%(AdditionalInputs)</AdditionalInputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Uic%27ing %(Identity)...</Message>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.\GeneratedFiles\ui_%(Filename).h;%(Outputs)</Outputs>
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">"$(QTDIR)\bin\uic.exe" -o ".\GeneratedFiles\ui_%(Filename).h" "%(FullPath)"</Command>
</CustomBuild>
<CustomBuild Include="..\..\src\tpMain\qaddtimedlg.ui">
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(QTDIR)\bin\uic.exe;%(AdditionalInputs)</AdditionalInputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Uic%27ing %(Identity)...</Message>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">.\GeneratedFiles\ui_%(Filename).h;%(Outputs)</Outputs>
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">"$(QTDIR)\bin\uic.exe" -o ".\GeneratedFiles\ui_%(Filename).h" "%(FullPath)"</Command>
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(QTDIR)\bin\uic.exe;%(AdditionalInputs)</AdditionalInputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Uic%27ing %(Identity)...</Message>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.\GeneratedFiles\ui_%(Filename).h;%(Outputs)</Outputs>
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">"$(QTDIR)\bin\uic.exe" -o ".\GeneratedFiles\ui_%(Filename).h" "%(FullPath)"</Command>
</CustomBuild>
<CustomBuild Include="..\..\src\tpMain\qaddmodel.ui">
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(QTDIR)\bin\uic.exe;%(AdditionalInputs)</AdditionalInputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Uic%27ing %(Identity)...</Message>
@ -1280,28 +1057,6 @@
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.\GeneratedFiles\ui_%(Filename).h;%(Outputs)</Outputs>
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">"$(QTDIR)\bin\uic.exe" -o ".\GeneratedFiles\ui_%(Filename).h" "%(FullPath)"</Command>
</CustomBuild>
<CustomBuild Include="..\..\src\tpMain\qaddchanneldlg.ui">
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(QTDIR)\bin\uic.exe;%(AdditionalInputs)</AdditionalInputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Uic%27ing %(Identity)...</Message>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">.\GeneratedFiles\ui_%(Filename).h;%(Outputs)</Outputs>
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">"$(QTDIR)\bin\uic.exe" -o ".\GeneratedFiles\ui_%(Filename).h" "%(FullPath)"</Command>
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(QTDIR)\bin\uic.exe;%(AdditionalInputs)</AdditionalInputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Uic%27ing %(Identity)...</Message>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.\GeneratedFiles\ui_%(Filename).h;%(Outputs)</Outputs>
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">"$(QTDIR)\bin\uic.exe" -o ".\GeneratedFiles\ui_%(Filename).h" "%(FullPath)"</Command>
</CustomBuild>
</ItemGroup>
<ItemGroup>
<CustomBuild Include="QTimeMgrDlg.ui">
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(QTDIR)\bin\uic.exe;%(AdditionalInputs)</AdditionalInputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Uic%27ing %(Identity)...</Message>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">.\GeneratedFiles\ui_%(Filename).h;%(Outputs)</Outputs>
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">"$(QTDIR)\bin\uic.exe" -o ".\GeneratedFiles\ui_%(Filename).h" "%(FullPath)"</Command>
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(QTDIR)\bin\uic.exe;%(AdditionalInputs)</AdditionalInputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Uic%27ing %(Identity)...</Message>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.\GeneratedFiles\ui_%(Filename).h;%(Outputs)</Outputs>
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">"$(QTDIR)\bin\uic.exe" -o ".\GeneratedFiles\ui_%(Filename).h" "%(FullPath)"</Command>
</CustomBuild>
</ItemGroup>
<ItemGroup>
<CustomBuild Include="QModelMgrDlg.ui">
@ -1315,18 +1070,6 @@
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">"$(QTDIR)\bin\uic.exe" -o ".\GeneratedFiles\ui_%(Filename).h" "%(FullPath)"</Command>
</CustomBuild>
</ItemGroup>
<ItemGroup>
<CustomBuild Include="QChannelMgrDlg.ui">
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(QTDIR)\bin\uic.exe;%(AdditionalInputs)</AdditionalInputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Uic%27ing %(Identity)...</Message>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">.\GeneratedFiles\ui_%(Filename).h;%(Outputs)</Outputs>
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">"$(QTDIR)\bin\uic.exe" -o ".\GeneratedFiles\ui_%(Filename).h" "%(FullPath)"</Command>
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(QTDIR)\bin\uic.exe;%(AdditionalInputs)</AdditionalInputs>
<Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Uic%27ing %(Identity)...</Message>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.\GeneratedFiles\ui_%(Filename).h;%(Outputs)</Outputs>
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">"$(QTDIR)\bin\uic.exe" -o ".\GeneratedFiles\ui_%(Filename).h" "%(FullPath)"</Command>
</CustomBuild>
</ItemGroup>
<ItemGroup>
<CustomBuild Include="QDebugDlg.ui">
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(QTDIR)\bin\uic.exe;%(AdditionalInputs)</AdditionalInputs>

@ -39,12 +39,6 @@
<Filter Include="Thread">
<UniqueIdentifier>{312b19f6-47df-4a06-8add-8ddd68fa0099}</UniqueIdentifier>
</Filter>
<Filter Include="WheelNet">
<UniqueIdentifier>{13f040ba-7cf4-4552-919b-65651536aef7}</UniqueIdentifier>
</Filter>
<Filter Include="channel">
<UniqueIdentifier>{f294c213-9a3f-4c3f-a74d-5dfc28bba3c3}</UniqueIdentifier>
</Filter>
<Filter Include="QDiskClean">
<UniqueIdentifier>{9e52d532-ebd9-4a72-9d07-596e45df0ece}</UniqueIdentifier>
</Filter>
@ -142,9 +136,6 @@
<ClCompile Include="GeneratedFiles\Release\moc_ChannelInfo.cpp">
<Filter>Generated Files\Release</Filter>
</ClCompile>
<ClCompile Include="..\..\src\tpMain\ComConfig.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="GeneratedFiles\Debug\moc_customtableview.cpp">
<Filter>Generated Files\Debug</Filter>
</ClCompile>
@ -241,9 +232,6 @@
<ClCompile Include="GeneratedFiles\Release\moc_qmodnamedlg.cpp">
<Filter>Generated Files\Release</Filter>
</ClCompile>
<ClCompile Include="..\..\src\tpMain\qnettickthread.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="GeneratedFiles\Debug\moc_qnettickthread.cpp">
<Filter>Generated Files\Debug</Filter>
</ClCompile>
@ -295,9 +283,6 @@
<ClCompile Include="..\..\src\tpMain\TempImage.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\src\tpMain\timemgrctrl.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\src\tpMain\WheelCtrl.cpp">
<Filter>Source Files</Filter>
</ClCompile>
@ -316,15 +301,6 @@
<ClCompile Include="GeneratedFiles\Release\moc_WheelNet.cpp">
<Filter>Generated Files\Release</Filter>
</ClCompile>
<ClCompile Include="..\..\src\tpMain\ChannelInfo.cpp">
<Filter>channel</Filter>
</ClCompile>
<ClCompile Include="..\..\src\tpMain\NetProtocol.cpp">
<Filter>WheelNet</Filter>
</ClCompile>
<ClCompile Include="..\..\src\tpMain\WheelNet.cpp">
<Filter>WheelNet</Filter>
</ClCompile>
<ClCompile Include="..\..\src\tpMain\DetectDataDB.cpp">
<Filter>sql</Filter>
</ClCompile>
@ -397,24 +373,9 @@
<ClCompile Include="..\..\src\tpMain\qmodnamedlg.cpp">
<Filter>UIFile</Filter>
</ClCompile>
<ClCompile Include="..\..\src\tpMain\qipconfigdlg.cpp">
<Filter>UIFile</Filter>
</ClCompile>
<ClCompile Include="..\..\src\tpMain\qaddtimedlg.cpp">
<Filter>UIFile</Filter>
</ClCompile>
<ClCompile Include="..\..\src\tpMain\qaddmodel.cpp">
<Filter>UIFile</Filter>
</ClCompile>
<ClCompile Include="..\..\src\tpMain\qaddchanneldlg.cpp">
<Filter>UIFile</Filter>
</ClCompile>
<ClCompile Include="..\..\src\tpMain\qchannelmanager.cpp">
<Filter>UIFile</Filter>
</ClCompile>
<ClCompile Include="..\..\src\tpMain\qdia2thsetting.cpp">
<Filter>UIFile</Filter>
</ClCompile>
<ClCompile Include="GeneratedFiles\Debug\moc_QTimeMgrDlg.cpp">
<Filter>Generated Files\Debug</Filter>
</ClCompile>
@ -451,15 +412,9 @@
<ClCompile Include="GeneratedFiles\Release\moc_RoiImgViewer.cpp">
<Filter>Generated Files\Release</Filter>
</ClCompile>
<ClCompile Include="QChannelMgrDlg.cpp">
<Filter>newUI</Filter>
</ClCompile>
<ClCompile Include="..\..\src\tpMain\QWorkMgrCtlr.cpp">
<Filter>newUI</Filter>
</ClCompile>
<ClCompile Include="QTimeMgrDlg.cpp">
<Filter>newUI</Filter>
</ClCompile>
<ClCompile Include="QModelMgrDlg.cpp">
<Filter>newUI</Filter>
</ClCompile>
@ -612,9 +567,6 @@
<ClInclude Include="..\..\src\tpMain\CamConfig.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\tpMain\ComConfig.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\tpMain\HubBase.h">
<Filter>Header Files</Filter>
</ClInclude>
@ -633,15 +585,9 @@
<ClInclude Include="..\..\src\tpMain\TempImage.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\tpMain\timemgrctrl.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\tpMain\WheelModel.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\tpMain\NetProtocol.h">
<Filter>WheelNet</Filter>
</ClInclude>
<ClInclude Include="..\..\src\tpMain\gensql.h">
<Filter>sql</Filter>
</ClInclude>
@ -666,39 +612,15 @@
<ClInclude Include="GeneratedFiles\ui_qmodnamedlg.h">
<Filter>Generated Files</Filter>
</ClInclude>
<ClInclude Include="GeneratedFiles\ui_qipconfigdlg.h">
<Filter>Generated Files</Filter>
</ClInclude>
<ClInclude Include="GeneratedFiles\ui_qdia2thsetting.h">
<Filter>Generated Files</Filter>
</ClInclude>
<ClInclude Include="GeneratedFiles\ui_qchannelmanager.h">
<Filter>Generated Files</Filter>
</ClInclude>
<ClInclude Include="GeneratedFiles\ui_qaddtimedlg.h">
<Filter>Generated Files</Filter>
</ClInclude>
<ClInclude Include="GeneratedFiles\ui_qaddmodel.h">
<Filter>Generated Files</Filter>
</ClInclude>
<ClInclude Include="GeneratedFiles\ui_qaddchanneldlg.h">
<Filter>Generated Files</Filter>
</ClInclude>
<ClInclude Include="GeneratedFiles\ui_QTimeMgrDlg.h">
<Filter>Generated Files</Filter>
</ClInclude>
<ClInclude Include="GeneratedFiles\ui_QModelMgrDlg.h">
<Filter>Generated Files</Filter>
</ClInclude>
<ClInclude Include="GeneratedFiles\ui_QChannelMgrDlg.h">
<Filter>Generated Files</Filter>
</ClInclude>
<ClInclude Include="GeneratedFiles\ui_QDebugDlg.h">
<Filter>Generated Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\tpMain\Result2Ui.h">
<Filter>WheelNet</Filter>
</ClInclude>
<ClInclude Include="GeneratedFiles\ui_QSettingDlg.h">
<Filter>Generated Files</Filter>
</ClInclude>
@ -750,6 +672,9 @@
<ClInclude Include="..\..\src\tpMain\lpGlobalConfig.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\src\tpMain\Result2Ui.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<CustomBuild Include="..\..\src\tpMain\QDiskCleanThread\QDiskCleanThread.h">
@ -776,12 +701,6 @@
<CustomBuild Include="..\..\src\tpMain\WheelCtrl.h">
<Filter>Header Files</Filter>
</CustomBuild>
<CustomBuild Include="..\..\src\tpMain\ChannelInfo.h">
<Filter>channel</Filter>
</CustomBuild>
<CustomBuild Include="..\..\src\tpMain\WheelNet.h">
<Filter>WheelNet</Filter>
</CustomBuild>
<CustomBuild Include="..\..\src\tpMain\saveimgthread.h">
<Filter>Thread</Filter>
</CustomBuild>
@ -791,9 +710,6 @@
<CustomBuild Include="..\..\src\tpMain\qsaveimg.h">
<Filter>Thread</Filter>
</CustomBuild>
<CustomBuild Include="..\..\src\tpMain\qnettickthread.h">
<Filter>Thread</Filter>
</CustomBuild>
<CustomBuild Include="..\..\src\tpMain\ModelTableView.h">
<Filter>CustomUILib\Model</Filter>
</CustomBuild>
@ -839,66 +755,24 @@
<CustomBuild Include="..\..\src\tpMain\qmodnamedlg.h">
<Filter>UIFile</Filter>
</CustomBuild>
<CustomBuild Include="..\..\src\tpMain\qipconfigdlg.ui">
<Filter>UIFile</Filter>
</CustomBuild>
<CustomBuild Include="..\..\src\tpMain\qipconfigdlg.h">
<Filter>UIFile</Filter>
</CustomBuild>
<CustomBuild Include="..\..\src\tpMain\qdia2thsetting.ui">
<Filter>UIFile</Filter>
</CustomBuild>
<CustomBuild Include="..\..\src\tpMain\qdia2thsetting.h">
<Filter>UIFile</Filter>
</CustomBuild>
<CustomBuild Include="..\..\src\tpMain\qchannelmanager.ui">
<Filter>UIFile</Filter>
</CustomBuild>
<CustomBuild Include="..\..\src\tpMain\qchannelmanager.h">
<Filter>UIFile</Filter>
</CustomBuild>
<CustomBuild Include="..\..\src\tpMain\qaddtimedlg.ui">
<Filter>UIFile</Filter>
</CustomBuild>
<CustomBuild Include="..\..\src\tpMain\qaddtimedlg.h">
<Filter>UIFile</Filter>
</CustomBuild>
<CustomBuild Include="..\..\src\tpMain\qaddmodel.ui">
<Filter>UIFile</Filter>
</CustomBuild>
<CustomBuild Include="..\..\src\tpMain\qaddmodel.h">
<Filter>UIFile</Filter>
</CustomBuild>
<CustomBuild Include="..\..\src\tpMain\qaddchanneldlg.ui">
<Filter>UIFile</Filter>
</CustomBuild>
<CustomBuild Include="..\..\src\tpMain\qaddchanneldlg.h">
<Filter>UIFile</Filter>
</CustomBuild>
<CustomBuild Include="QTimeMgrDlg.h">
<Filter>newUI</Filter>
</CustomBuild>
<CustomBuild Include="QModelMgrDlg.h">
<Filter>newUI</Filter>
</CustomBuild>
<CustomBuild Include="QDebugDlg.h">
<Filter>newUI</Filter>
</CustomBuild>
<CustomBuild Include="QChannelMgrDlg.h">
<Filter>newUI</Filter>
</CustomBuild>
<CustomBuild Include="QTimeMgrDlg.ui">
<Filter>newUI</Filter>
</CustomBuild>
<CustomBuild Include="QModelMgrDlg.ui">
<Filter>newUI</Filter>
</CustomBuild>
<CustomBuild Include="QDebugDlg.ui">
<Filter>newUI</Filter>
</CustomBuild>
<CustomBuild Include="QChannelMgrDlg.ui">
<Filter>newUI</Filter>
</CustomBuild>
<CustomBuild Include="..\..\src\tpMain\QWorkMgrCtlr.h">
<Filter>newUI</Filter>
</CustomBuild>
@ -1145,9 +1019,6 @@
<Filter>Resource Files</Filter>
</Image>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="..\..\src\tpMain\tpMain.rc" />
</ItemGroup>
<ItemGroup>
<None Include="lpmain_en.ts">
<Filter>Translation Files</Filter>
@ -1156,4 +1027,9 @@
<Filter>Translation Files</Filter>
</None>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="..\..\src\tpMain\tpMain.rc">
<Filter>Header Files</Filter>
</ResourceCompile>
</ItemGroup>
</Project>

@ -0,0 +1,10 @@
#include "valueMainUI.h"
#include <QtWidgets/QApplication>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
valueMainUI w;
w.show();
return a.exec();
}

@ -0,0 +1,7 @@
#include "valueMainUI.h"
valueMainUI::valueMainUI(QWidget *parent)
: QMainWindow(parent)
{
ui.setupUi(this);
}

@ -0,0 +1,15 @@
#pragma once
#include <QtWidgets/QMainWindow>
#include "ui_valueMainUI.h"
class valueMainUI : public QMainWindow
{
Q_OBJECT
public:
valueMainUI(QWidget *parent = Q_NULLPTR);
private:
Ui::valueMainUIClass ui;
};

@ -0,0 +1,4 @@
<RCC>
<qresource prefix="valueMainUI">
</qresource>
</RCC>

@ -0,0 +1,29 @@
<UI version="4.0" >
<class>valueMainUIClass</class>
<widget class="QMainWindow" name="valueMainUIClass" >
<property name="objectName" >
<string notr="true">valueMainUIClass</string>
</property>
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>600</width>
<height>400</height>
</rect>
</property>
<property name="windowTitle" >
<string>valueMainUI</string>
</property>
<widget class="QMenuBar" name="menuBar" />
<widget class="QToolBar" name="mainToolBar" />
<widget class="QWidget" name="centralWidget" />
<widget class="QStatusBar" name="statusBar" />
</widget>
<layoutDefault spacing="6" margin="11" />
<pixmapfunction></pixmapfunction>
<resources>
<include location="valueMainUI.qrc"/>
</resources>
<connections/>
</UI>

@ -0,0 +1,139 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{1FD21183-3E4D-4A6B-88F3-B7D184868736}</ProjectGuid>
<Keyword>Qt4VSv1.0</Keyword>
<WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<PlatformToolset>v141</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<PlatformToolset>v141</PlatformToolset>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<PropertyGroup Condition="'$(QtMsBuild)'=='' or !Exists('$(QtMsBuild)\qt.targets')">
<QtMsBuild>$(MSBuildProjectDirectory)\QtMsBuild</QtMsBuild>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
</PropertyGroup>
<Target Name="QtMsBuildNotFound" BeforeTargets="CustomBuild;ClCompile" Condition="!Exists('$(QtMsBuild)\qt.targets') or !Exists('$(QtMsBuild)\qt.props')">
<Message Importance="High" Text="QtMsBuild: could not locate qt.targets, qt.props; project may not build correctly." />
</Target>
<ImportGroup Condition="Exists('$(QtMsBuild)\qt.props')">
<Import Project="$(QtMsBuild)\qt.props" />
</ImportGroup>
<ImportGroup Label="ExtensionSettings" />
<ImportGroup Label="Shared" />
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<PreprocessorDefinitions>UNICODE;_UNICODE;WIN32;WIN64;QT_DLL;QT_CORE_LIB;QT_GUI_LIB;QT_WEBSOCKETS_LIB;QT_WIDGETS_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>.\GeneratedFiles;.;$(QTDIR)\include;.\GeneratedFiles\$(ConfigurationName);$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;$(QTDIR)\include\QtANGLE;$(QTDIR)\include\QtWebSockets;$(QTDIR)\include\QtWidgets;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<Optimization>Disabled</Optimization>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<OutputFile>$(OutDir)\$(ProjectName).exe</OutputFile>
<AdditionalLibraryDirectories>$(QTDIR)\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AdditionalDependencies>qtmaind.lib;Qt5Cored.lib;Qt5Guid.lib;Qt5WebSocketsd.lib;Qt5Widgetsd.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
<QtMoc>
<OutputFile>.\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp</OutputFile>
<ExecutionDescription>Moc'ing %(Identity)...</ExecutionDescription>
<IncludePath>.\GeneratedFiles;.;$(QTDIR)\include;.\GeneratedFiles\$(ConfigurationName);$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;$(QTDIR)\include\QtANGLE;$(QTDIR)\include\QtWebSockets;$(QTDIR)\include\QtWidgets;%(AdditionalIncludeDirectories)</IncludePath>
<Define>UNICODE;_UNICODE;WIN32;WIN64;QT_DLL;QT_CORE_LIB;QT_GUI_LIB;QT_WEBSOCKETS_LIB;QT_WIDGETS_LIB;%(PreprocessorDefinitions)</Define>
</QtMoc>
<QtUic>
<ExecutionDescription>Uic'ing %(Identity)...</ExecutionDescription>
<OutputFile>.\GeneratedFiles\ui_%(Filename).h</OutputFile>
</QtUic>
<QtRcc>
<ExecutionDescription>Rcc'ing %(Identity)...</ExecutionDescription>
<OutputFile>.\GeneratedFiles\qrc_%(Filename).cpp</OutputFile>
</QtRcc>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<PreprocessorDefinitions>UNICODE;_UNICODE;WIN32;WIN64;QT_DLL;QT_NO_DEBUG;NDEBUG;QT_CORE_LIB;QT_GUI_LIB;QT_WEBSOCKETS_LIB;QT_WIDGETS_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>.\GeneratedFiles;.;$(QTDIR)\include;.\GeneratedFiles\$(ConfigurationName);$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;$(QTDIR)\include\QtANGLE;$(QTDIR)\include\QtWebSockets;$(QTDIR)\include\QtWidgets;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<DebugInformationFormat />
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<OutputFile>$(OutDir)\$(ProjectName).exe</OutputFile>
<AdditionalLibraryDirectories>$(QTDIR)\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<GenerateDebugInformation>false</GenerateDebugInformation>
<AdditionalDependencies>qtmain.lib;Qt5Core.lib;Qt5Gui.lib;Qt5WebSockets.lib;Qt5Widgets.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
<QtMoc>
<OutputFile>.\GeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp</OutputFile>
<ExecutionDescription>Moc'ing %(Identity)...</ExecutionDescription>
<IncludePath>.\GeneratedFiles;.;$(QTDIR)\include;.\GeneratedFiles\$(ConfigurationName);$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;$(QTDIR)\include\QtANGLE;$(QTDIR)\include\QtWebSockets;$(QTDIR)\include\QtWidgets;%(AdditionalIncludeDirectories)</IncludePath>
<Define>UNICODE;_UNICODE;WIN32;WIN64;QT_DLL;QT_NO_DEBUG;NDEBUG;QT_CORE_LIB;QT_GUI_LIB;QT_WEBSOCKETS_LIB;QT_WIDGETS_LIB;%(PreprocessorDefinitions)</Define>
</QtMoc>
<QtUic>
<ExecutionDescription>Uic'ing %(Identity)...</ExecutionDescription>
<OutputFile>.\GeneratedFiles\ui_%(Filename).h</OutputFile>
</QtUic>
<QtRcc>
<ExecutionDescription>Rcc'ing %(Identity)...</ExecutionDescription>
<OutputFile>.\GeneratedFiles\qrc_%(Filename).cpp</OutputFile>
</QtRcc>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="main.cpp" />
<ClCompile Include="valueMainUI.cpp" />
</ItemGroup>
<ItemGroup>
<QtMoc Include="valueMainUI.h" />
</ItemGroup>
<ItemGroup>
<QtUic Include="valueMainUI.ui" />
</ItemGroup>
<ItemGroup>
<QtRcc Include="valueMainUI.qrc" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Condition="Exists('$(QtMsBuild)\qt.targets')">
<Import Project="$(QtMsBuild)\qt.targets" />
</ImportGroup>
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
<ProjectExtensions>
<VisualStudio>
<UserProperties MocDir=".\GeneratedFiles\$(ConfigurationName)" UicDir=".\GeneratedFiles" RccDir=".\GeneratedFiles" lupdateOptions="" lupdateOnBuild="0" lreleaseOptions="" Qt5Version_x0020_x64="qt5.9.4-msvc2017-x64" MocOptions="" />
</VisualStudio>
</ProjectExtensions>
</Project>

@ -0,0 +1,55 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{D9D6E242-F8AF-46E4-B9FD-80ECBC20BA3E}</UniqueIdentifier>
<Extensions>qrc;*</Extensions>
<ParseFiles>false</ParseFiles>
</Filter>
<Filter Include="Form Files">
<UniqueIdentifier>{99349809-55BA-4b9d-BF79-8FDBB0286EB3}</UniqueIdentifier>
<Extensions>ui</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{D9D6E242-F8AF-46E4-B9FD-80ECBC20BA3E}</UniqueIdentifier>
<Extensions>qrc;*</Extensions>
<ParseFiles>false</ParseFiles>
</Filter>
<Filter Include="Generated Files">
<UniqueIdentifier>{71ED8ED8-ACB9-4CE9-BBE1-E00B30144E11}</UniqueIdentifier>
<Extensions>moc;h;cpp</Extensions>
<SourceControlFiles>False</SourceControlFiles>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="main.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="valueMainUI.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<QtMoc Include="valueMainUI.h">
<Filter>Header Files</Filter>
</QtMoc>
</ItemGroup>
<ItemGroup>
<QtUic Include="valueMainUI.ui">
<Filter>Form Files</Filter>
</QtUic>
</ItemGroup>
<ItemGroup>
<QtRcc Include="valueMainUI.qrc">
<Filter>Resource Files</Filter>
</QtRcc>
</ItemGroup>
</Project>

@ -27,6 +27,10 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "lpCoreCtrl", "lpCoreCtrl\lp
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tpCamVirtual", "tpCamVirtual\tpCamVirtual.vcxproj", "{707DDF6F-B78B-42F7-9EAD-E786C0FCD5FF}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "valueMainUI", "valueMainUI\valueMainUI.vcxproj", "{1FD21183-3E4D-4A6B-88F3-B7D184868736}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Enchanter", "Enchanter\Enchanter.vcxproj", "{7B76D75A-0E01-451E-880E-FB9AC63A914B}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x64 = Debug|x64
@ -113,12 +117,24 @@ Global
{707DDF6F-B78B-42F7-9EAD-E786C0FCD5FF}.Release|x64.Build.0 = Release|x64
{707DDF6F-B78B-42F7-9EAD-E786C0FCD5FF}.Release|x86.ActiveCfg = Release|Win32
{707DDF6F-B78B-42F7-9EAD-E786C0FCD5FF}.Release|x86.Build.0 = Release|Win32
{1FD21183-3E4D-4A6B-88F3-B7D184868736}.Debug|x64.ActiveCfg = Debug|x64
{1FD21183-3E4D-4A6B-88F3-B7D184868736}.Debug|x64.Build.0 = Debug|x64
{1FD21183-3E4D-4A6B-88F3-B7D184868736}.Debug|x86.ActiveCfg = Debug|x64
{1FD21183-3E4D-4A6B-88F3-B7D184868736}.Release|x64.ActiveCfg = Release|x64
{1FD21183-3E4D-4A6B-88F3-B7D184868736}.Release|x64.Build.0 = Release|x64
{1FD21183-3E4D-4A6B-88F3-B7D184868736}.Release|x86.ActiveCfg = Release|x64
{7B76D75A-0E01-451E-880E-FB9AC63A914B}.Debug|x64.ActiveCfg = Debug|x64
{7B76D75A-0E01-451E-880E-FB9AC63A914B}.Debug|x64.Build.0 = Debug|x64
{7B76D75A-0E01-451E-880E-FB9AC63A914B}.Debug|x86.ActiveCfg = Debug|x64
{7B76D75A-0E01-451E-880E-FB9AC63A914B}.Release|x64.ActiveCfg = Release|x64
{7B76D75A-0E01-451E-880E-FB9AC63A914B}.Release|x64.Build.0 = Release|x64
{7B76D75A-0E01-451E-880E-FB9AC63A914B}.Release|x86.ActiveCfg = Release|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
Qt5Version = qt5.9.4-msvc2017-x64
SolutionGuid = {CD365F32-5EAC-4A16-AD47-BFB1D8E5511A}
Qt5Version = qt5.9.4-msvc2017-x64
EndGlobalSection
EndGlobal

Loading…
Cancel
Save