Initial Commit
parent
a4bd3f6aee
commit
f71d4e3d12
@ -0,0 +1,5 @@
|
||||
# This code depends on make tool being used
|
||||
DEPFILES=$(wildcard $(addsuffix .d, ${OBJECTFILES} ${TESTOBJECTFILES}))
|
||||
ifneq (${DEPFILES},)
|
||||
include ${DEPFILES}
|
||||
endif
|
Binary file not shown.
@ -0,0 +1,110 @@
|
||||
/*
|
||||
* To change this license header, choose License Headers in Project Properties.
|
||||
* To change this template file, choose Tools | Templates
|
||||
* and open the template in the editor.
|
||||
*/
|
||||
|
||||
/*
|
||||
* File: FtpCLient.cpp
|
||||
* Author: shjd
|
||||
*
|
||||
* Created on 2019年12月4日, 上午10:35
|
||||
*/
|
||||
|
||||
#include "FtpCLient.h"
|
||||
FtpCLient::FtpCLient()
|
||||
{
|
||||
m_pManager = new QNetworkAccessManager();
|
||||
m_pUrl = new QUrl();
|
||||
m_pUrl->setScheme("ftp");
|
||||
fileputstate=1;
|
||||
filegetstate=1;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
void FtpCLient::finished_get(QNetworkReply * reply)
|
||||
{
|
||||
if(reply->error() == QNetworkReply::NoError)
|
||||
{
|
||||
m_gpFile->write(reply->readAll());
|
||||
reply->deleteLater();
|
||||
m_gpFile->flush();
|
||||
m_gpFile->close();
|
||||
}
|
||||
else
|
||||
{
|
||||
qDebug()<<"Error: "<<reply->error();
|
||||
filegetstate=0;
|
||||
}
|
||||
}
|
||||
|
||||
void FtpCLient::finished_put(QNetworkReply * reply)
|
||||
{
|
||||
if(reply->error() == QNetworkReply::NoError)
|
||||
{
|
||||
reply->deleteLater();
|
||||
m_ppFile->close();
|
||||
}
|
||||
else
|
||||
{
|
||||
qDebug()<<"Error: "<<reply->error();
|
||||
fileputstate=0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//设置FTP服务器用户名和密码
|
||||
int FtpCLient::FtpGetState()
|
||||
{
|
||||
return filegetstate;
|
||||
}
|
||||
//设置地址和端口
|
||||
int FtpCLient::FtpPutState()
|
||||
{
|
||||
return fileputstate;
|
||||
}
|
||||
|
||||
//设置FTP服务器用户名和密码
|
||||
void FtpCLient::FtpSetUserInfor(QString user, QString pwd)
|
||||
{
|
||||
m_pUrl->setUserName(user);
|
||||
m_pUrl->setPassword(pwd);
|
||||
}
|
||||
//设置地址和端口
|
||||
void FtpCLient::FtpSetHostPort(QString str, int port )
|
||||
{
|
||||
m_pUrl->setHost(str);
|
||||
m_pUrl->setPort(port);
|
||||
}
|
||||
//下载文件
|
||||
void FtpCLient::FtpGet(QString sor, QString dev)
|
||||
{
|
||||
filegetstate=1;
|
||||
m_gpFile = new QFile(dev);
|
||||
m_gpFile->open(QIODevice::WriteOnly);
|
||||
m_pUrl->setPath(sor);
|
||||
m_pReply = m_pManager->get(QNetworkRequest(*m_pUrl));
|
||||
connect(m_pManager,SIGNAL(finished(QNetworkReply*)),this,SLOT(finished_get(QNetworkReply *)));
|
||||
connect(m_pReply, SIGNAL(error(QNetworkReply::NetworkError)),this,SLOT(loadError(QNetworkReply::NetworkError)));
|
||||
}
|
||||
//上传文件
|
||||
void FtpCLient::FtpPut(QString source, QString dev)
|
||||
{
|
||||
fileputstate=1;
|
||||
m_ppFile = new QFile(source);
|
||||
m_ppFile->open(QIODevice::ReadOnly);
|
||||
QByteArray data = m_ppFile->readAll();
|
||||
m_pUrl->setPath(dev);
|
||||
m_pReply =m_pManager->put(QNetworkRequest(*m_pUrl), data);
|
||||
connect(m_pManager,SIGNAL(finished(QNetworkReply*)),this,SLOT(finished_put(QNetworkReply *)));
|
||||
connect(m_pReply, SIGNAL(error(QNetworkReply::NetworkError)),this,SLOT(loadError(QNetworkReply::NetworkError)));
|
||||
}
|
||||
|
||||
void FtpCLient::loadError(QNetworkReply::NetworkError) //传输中的错误输出
|
||||
{
|
||||
fileputstate=0;
|
||||
filegetstate=0;
|
||||
qDebug()<<"Error: "<<m_pReply->error();
|
||||
}
|
@ -0,0 +1,55 @@
|
||||
/*
|
||||
* To change this license header, choose License Headers in Project Properties.
|
||||
* To change this template file, choose Tools | Templates
|
||||
* and open the template in the editor.
|
||||
*/
|
||||
|
||||
/*
|
||||
* File: FtpCLient.h
|
||||
* Author: shjd
|
||||
*
|
||||
* Created on 2019年12月4日, 上午10:35
|
||||
*/
|
||||
|
||||
#ifndef FTPCLIENT_H
|
||||
#define FTPCLIENT_H
|
||||
#include <QObject>
|
||||
#include <QFile>
|
||||
#include <QNetworkRequest>
|
||||
#include <QNetworkAccessManager>
|
||||
#include <QUrl>
|
||||
#include <QNetworkReply>
|
||||
#include <QByteArray>
|
||||
#include <QMessageBox>
|
||||
#include <QFileInfo>
|
||||
#include <QDir>
|
||||
#include <QDebug>
|
||||
class FtpCLient:public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
protected slots:
|
||||
void finished_get(QNetworkReply * reply);
|
||||
void finished_put(QNetworkReply * reply);
|
||||
void loadError(QNetworkReply::NetworkError);
|
||||
public:
|
||||
FtpCLient();
|
||||
void FtpGet(QString sor, QString dev);
|
||||
void FtpPut(QString source, QString dev);
|
||||
void FtpSetUserInfor(QString user, QString pwd);
|
||||
void FtpSetHostPort(QString str, int port =21);
|
||||
int FtpPutState();
|
||||
int FtpGetState();
|
||||
private:
|
||||
QFile * m_gpFile;
|
||||
QFile * m_ppFile;
|
||||
QNetworkReply *m_pReply;
|
||||
QNetworkAccessManager * m_pManager;
|
||||
QUrl * m_pUrl;
|
||||
int fileputstate;
|
||||
int filegetstate;
|
||||
|
||||
|
||||
};
|
||||
|
||||
#endif /* FTPCLIENT_H */
|
||||
|
@ -0,0 +1,128 @@
|
||||
#
|
||||
# There exist several targets which are by default empty and which can be
|
||||
# used for execution of your targets. These targets are usually executed
|
||||
# before and after some main targets. They are:
|
||||
#
|
||||
# .build-pre: called before 'build' target
|
||||
# .build-post: called after 'build' target
|
||||
# .clean-pre: called before 'clean' target
|
||||
# .clean-post: called after 'clean' target
|
||||
# .clobber-pre: called before 'clobber' target
|
||||
# .clobber-post: called after 'clobber' target
|
||||
# .all-pre: called before 'all' target
|
||||
# .all-post: called after 'all' target
|
||||
# .help-pre: called before 'help' target
|
||||
# .help-post: called after 'help' target
|
||||
#
|
||||
# Targets beginning with '.' are not intended to be called on their own.
|
||||
#
|
||||
# Main targets can be executed directly, and they are:
|
||||
#
|
||||
# build build a specific configuration
|
||||
# clean remove built files from a configuration
|
||||
# clobber remove all built files
|
||||
# all build all configurations
|
||||
# help print help mesage
|
||||
#
|
||||
# Targets .build-impl, .clean-impl, .clobber-impl, .all-impl, and
|
||||
# .help-impl are implemented in nbproject/makefile-impl.mk.
|
||||
#
|
||||
# Available make variables:
|
||||
#
|
||||
# CND_BASEDIR base directory for relative paths
|
||||
# CND_DISTDIR default top distribution directory (build artifacts)
|
||||
# CND_BUILDDIR default top build directory (object files, ...)
|
||||
# CONF name of current configuration
|
||||
# CND_PLATFORM_${CONF} platform name (current configuration)
|
||||
# CND_ARTIFACT_DIR_${CONF} directory of build artifact (current configuration)
|
||||
# CND_ARTIFACT_NAME_${CONF} name of build artifact (current configuration)
|
||||
# CND_ARTIFACT_PATH_${CONF} path to build artifact (current configuration)
|
||||
# CND_PACKAGE_DIR_${CONF} directory of package (current configuration)
|
||||
# CND_PACKAGE_NAME_${CONF} name of package (current configuration)
|
||||
# CND_PACKAGE_PATH_${CONF} path to package (current configuration)
|
||||
#
|
||||
# NOCDDL
|
||||
|
||||
|
||||
# Environment
|
||||
MKDIR=mkdir
|
||||
CP=cp
|
||||
CCADMIN=CCadmin
|
||||
|
||||
|
||||
# build
|
||||
build: .build-post
|
||||
|
||||
.build-pre:
|
||||
# Add your pre 'build' code here...
|
||||
|
||||
.build-post: .build-impl
|
||||
# Add your post 'build' code here...
|
||||
|
||||
|
||||
# clean
|
||||
clean: .clean-post
|
||||
|
||||
.clean-pre:
|
||||
# Add your pre 'clean' code here...
|
||||
|
||||
.clean-post: .clean-impl
|
||||
# Add your post 'clean' code here...
|
||||
|
||||
|
||||
# clobber
|
||||
clobber: .clobber-post
|
||||
|
||||
.clobber-pre:
|
||||
# Add your pre 'clobber' code here...
|
||||
|
||||
.clobber-post: .clobber-impl
|
||||
# Add your post 'clobber' code here...
|
||||
|
||||
|
||||
# all
|
||||
all: .all-post
|
||||
|
||||
.all-pre:
|
||||
# Add your pre 'all' code here...
|
||||
|
||||
.all-post: .all-impl
|
||||
# Add your post 'all' code here...
|
||||
|
||||
|
||||
# build tests
|
||||
build-tests: .build-tests-post
|
||||
|
||||
.build-tests-pre:
|
||||
# Add your pre 'build-tests' code here...
|
||||
|
||||
.build-tests-post: .build-tests-impl
|
||||
# Add your post 'build-tests' code here...
|
||||
|
||||
|
||||
# run tests
|
||||
test: .test-post
|
||||
|
||||
.test-pre: build-tests
|
||||
# Add your pre 'test' code here...
|
||||
|
||||
.test-post: .test-impl
|
||||
# Add your post 'test' code here...
|
||||
|
||||
|
||||
# help
|
||||
help: .help-post
|
||||
|
||||
.help-pre:
|
||||
# Add your pre 'help' code here...
|
||||
|
||||
.help-post: .help-impl
|
||||
# Add your post 'help' code here...
|
||||
|
||||
|
||||
|
||||
# include project implementation makefile
|
||||
include nbproject/Makefile-impl.mk
|
||||
|
||||
# include project make variables
|
||||
include nbproject/Makefile-variables.mk
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,52 @@
|
||||
<ACSI_CFG>
|
||||
<Max_IED_Num>100</Max_IED_Num>
|
||||
<Max_TdlBuf_Len>50000</Max_TdlBuf_Len>
|
||||
<Max_TypeID_Num>5000</Max_TypeID_Num>
|
||||
<DEFAULT_IED_CFG>
|
||||
<Max_Dynamic_DataSet>30</Max_Dynamic_DataSet>
|
||||
<Auto_Acssoc_Time>10</Auto_Acssoc_Time>
|
||||
<SG_Variable_List>false</SG_Variable_List>
|
||||
<IED_Create_Directory>false</IED_Create_Directory>
|
||||
<Keep_Connect_A>true</Keep_Connect_A>
|
||||
<Keep_Connect_B>false</Keep_Connect_B>
|
||||
<BRCB_Many_Instance>true</BRCB_Many_Instance>
|
||||
<BRCB_InstanceNO_A>01</BRCB_InstanceNO_A>
|
||||
<BRCB_InstanceNO_B>02</BRCB_InstanceNO_B>
|
||||
</DEFAULT_IED_CFG>
|
||||
<IED_CFG name = "MGA20209">
|
||||
<Auto_Acssoc_Time>20</Auto_Acssoc_Time>
|
||||
<BRCB_Many_Instance>true</BRCB_Many_Instance>
|
||||
<BRCB_InstanceNO_A>01</BRCB_InstanceNO_A>
|
||||
<BRCB_InstanceNO_B>02</BRCB_InstanceNO_B>
|
||||
</IED_CFG>
|
||||
<IED_CFG name = "MGA20208">
|
||||
<Auto_Acssoc_Time>15</Auto_Acssoc_Time>
|
||||
<BRCB_Many_Instance>false</BRCB_Many_Instance>
|
||||
<BRCB_InstanceNO_A>03</BRCB_InstanceNO_A>
|
||||
<BRCB_InstanceNO_B>04</BRCB_InstanceNO_B>
|
||||
</IED_CFG>
|
||||
<IED_CFG name = "MGA20207">
|
||||
<Auto_Acssoc_Time>15</Auto_Acssoc_Time>
|
||||
<BRCB_Many_Instance>false</BRCB_Many_Instance>
|
||||
<BRCB_InstanceNO_A>05</BRCB_InstanceNO_A>
|
||||
<BRCB_InstanceNO_B>06</BRCB_InstanceNO_B>
|
||||
</IED_CFG>
|
||||
<IED_CFG name = "MGA20206">
|
||||
<Auto_Acssoc_Time>15</Auto_Acssoc_Time>
|
||||
<BRCB_Many_Instance>false</BRCB_Many_Instance>
|
||||
<BRCB_InstanceNO_A>07</BRCB_InstanceNO_A>
|
||||
<BRCB_InstanceNO_B>08</BRCB_InstanceNO_B>
|
||||
</IED_CFG>
|
||||
<IED_CFG name = "MGA20201">
|
||||
<Auto_Acssoc_Time>15</Auto_Acssoc_Time>
|
||||
<BRCB_Many_Instance>false</BRCB_Many_Instance>
|
||||
<BRCB_InstanceNO_A>09</BRCB_InstanceNO_A>
|
||||
<BRCB_InstanceNO_B>10</BRCB_InstanceNO_B>
|
||||
</IED_CFG>
|
||||
<IED_CFG name = "MGA20204">
|
||||
<Auto_Acssoc_Time>15</Auto_Acssoc_Time>
|
||||
<BRCB_Many_Instance>false</BRCB_Many_Instance>
|
||||
<BRCB_InstanceNO_A>11</BRCB_InstanceNO_A>
|
||||
<BRCB_InstanceNO_B>12</BRCB_InstanceNO_B>
|
||||
</IED_CFG>
|
||||
</ACSI_CFG>
|
@ -0,0 +1,52 @@
|
||||
<ACSI_CFG>
|
||||
<Max_IED_Num>100</Max_IED_Num>
|
||||
<Max_TdlBuf_Len>50000</Max_TdlBuf_Len>
|
||||
<Max_TypeID_Num>5000</Max_TypeID_Num>
|
||||
<DEFAULT_IED_CFG>
|
||||
<Max_Dynamic_DataSet>30</Max_Dynamic_DataSet>
|
||||
<Auto_Acssoc_Time>10</Auto_Acssoc_Time>
|
||||
<SG_Variable_List>false</SG_Variable_List>
|
||||
<IED_Create_Directory>false</IED_Create_Directory>
|
||||
<Keep_Connect_A>true</Keep_Connect_A>
|
||||
<Keep_Connect_B>false</Keep_Connect_B>
|
||||
<BRCB_Many_Instance>true</BRCB_Many_Instance>
|
||||
<BRCB_InstanceNO_A>01</BRCB_InstanceNO_A>
|
||||
<BRCB_InstanceNO_B>02</BRCB_InstanceNO_B>
|
||||
</DEFAULT_IED_CFG>
|
||||
<IED_CFG name = "MGA20209">
|
||||
<Auto_Acssoc_Time>20</Auto_Acssoc_Time>
|
||||
<BRCB_Many_Instance>true</BRCB_Many_Instance>
|
||||
<BRCB_InstanceNO_A>01</BRCB_InstanceNO_A>
|
||||
<BRCB_InstanceNO_B>02</BRCB_InstanceNO_B>
|
||||
</IED_CFG>
|
||||
<IED_CFG name = "MGA20208">
|
||||
<Auto_Acssoc_Time>15</Auto_Acssoc_Time>
|
||||
<BRCB_Many_Instance>false</BRCB_Many_Instance>
|
||||
<BRCB_InstanceNO_A>03</BRCB_InstanceNO_A>
|
||||
<BRCB_InstanceNO_B>04</BRCB_InstanceNO_B>
|
||||
</IED_CFG>
|
||||
<IED_CFG name = "MGA20207">
|
||||
<Auto_Acssoc_Time>15</Auto_Acssoc_Time>
|
||||
<BRCB_Many_Instance>false</BRCB_Many_Instance>
|
||||
<BRCB_InstanceNO_A>05</BRCB_InstanceNO_A>
|
||||
<BRCB_InstanceNO_B>06</BRCB_InstanceNO_B>
|
||||
</IED_CFG>
|
||||
<IED_CFG name = "MGA20206">
|
||||
<Auto_Acssoc_Time>15</Auto_Acssoc_Time>
|
||||
<BRCB_Many_Instance>false</BRCB_Many_Instance>
|
||||
<BRCB_InstanceNO_A>07</BRCB_InstanceNO_A>
|
||||
<BRCB_InstanceNO_B>08</BRCB_InstanceNO_B>
|
||||
</IED_CFG>
|
||||
<IED_CFG name = "MGA20201">
|
||||
<Auto_Acssoc_Time>15</Auto_Acssoc_Time>
|
||||
<BRCB_Many_Instance>false</BRCB_Many_Instance>
|
||||
<BRCB_InstanceNO_A>09</BRCB_InstanceNO_A>
|
||||
<BRCB_InstanceNO_B>10</BRCB_InstanceNO_B>
|
||||
</IED_CFG>
|
||||
<IED_CFG name = "MGA20204">
|
||||
<Auto_Acssoc_Time>15</Auto_Acssoc_Time>
|
||||
<BRCB_Many_Instance>false</BRCB_Many_Instance>
|
||||
<BRCB_InstanceNO_A>11</BRCB_InstanceNO_A>
|
||||
<BRCB_InstanceNO_B>12</BRCB_InstanceNO_B>
|
||||
</IED_CFG>
|
||||
</ACSI_CFG>
|
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
|
||||
<GROUPIP xmlns="http://www.iec.ch/61850/2003/SCL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
|
||||
<GROUP name="DLG">
|
||||
<IP addr="192.168.15.241" sername="net_A_DLG"/>
|
||||
</GROUP>
|
||||
|
||||
<GROUP name="TEMPLATE">
|
||||
<IP addr="192.168.115.241" sername="net_A_TEMPLATE"/>
|
||||
</GROUP>
|
||||
|
||||
</GROUPIP>
|
@ -0,0 +1,92 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
|
||||
<STACK_CFG xmlns="http://www.iec.ch/61850/2003/SCL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
|
||||
<MMS>
|
||||
<Max_Mms_Pdu_Length>32000</Max_Mms_Pdu_Length>
|
||||
<Max_Calling_Connections>80</Max_Calling_Connections>
|
||||
<Max_Called_Connections>0</Max_Called_Connections>
|
||||
</MMS>
|
||||
|
||||
<Network>
|
||||
<Clnp>
|
||||
<Lifetime>50</Lifetime>
|
||||
<Lifetime_Decrement>1</Lifetime_Decrement>
|
||||
<Cfg_Timer>120</Cfg_Timer>
|
||||
<Esh_Delay>5</Esh_Delay>
|
||||
<Local_NSAP>49 00 01 53 49 53 43 09 01 01</Local_NSAP>
|
||||
</Clnp>
|
||||
</Network>
|
||||
|
||||
<Transport>
|
||||
<Tp4>
|
||||
<Max_Tpdu_Length>1024</Max_Tpdu_Length>
|
||||
<Max_Remote_Cdt>4</Max_Remote_Cdt>
|
||||
<Local_Cdt>4</Local_Cdt>
|
||||
<Max_Num_Connections>8</Max_Num_Connections>
|
||||
<Max_Spdu_Outstanding>16</Max_Spdu_Outstanding>
|
||||
<Window_Time>10</Window_Time>
|
||||
<Inactivity_Time>120</Inactivity_Time>
|
||||
<Retransmission_Time>10</Retransmission_Time>
|
||||
<Max_Transmissions>2</Max_Transmissions>
|
||||
<Ak_Delay>2</Ak_Delay>
|
||||
</Tp4>
|
||||
<Tcp>
|
||||
<Rfc1006_Max_Tpdu_Len>1024</Rfc1006_Max_Tpdu_Len>
|
||||
<Rfc1006_Max_Num_Conns>8</Rfc1006_Max_Num_Conns>
|
||||
<Rfc1006_Max_Spdu_Outstanding>50</Rfc1006_Max_Spdu_Outstanding>
|
||||
</Tcp>
|
||||
</Transport>
|
||||
|
||||
<Session>
|
||||
<Disconnect_Timeout>60</Disconnect_Timeout>
|
||||
</Session>
|
||||
|
||||
<NetworkAddressing>
|
||||
<LocalAddressList>
|
||||
<LocalAddress>
|
||||
<AR_Name>local1</AR_Name>
|
||||
<AP_Title>1 3 9999 23</AP_Title>
|
||||
<AE_Qualifier>23</AE_Qualifier>
|
||||
<Psel>00 00 00 01</Psel>
|
||||
<Ssel>00 01</Ssel>
|
||||
<Tsel>00 01</Tsel>
|
||||
<TransportType>TCP</TransportType>
|
||||
</LocalAddress>
|
||||
</LocalAddressList>
|
||||
<RemoteAddressList>
|
||||
<RemoteAddress>
|
||||
<AR_Name>net_A_DLG</AR_Name>
|
||||
<NetAddr Type="IPADDR">192.168.15.241</NetAddr>
|
||||
<AP_Title>1 3 9999 33</AP_Title>
|
||||
<AE_Qualifier>33</AE_Qualifier>
|
||||
<Psel>00 00 00 01</Psel>
|
||||
<Tsel>00 01</Tsel>
|
||||
<Ssel>00 01</Ssel>
|
||||
</RemoteAddress>
|
||||
<RemoteAddress>
|
||||
<AR_Name>net_A_TEMPLATE</AR_Name>
|
||||
<NetAddr Type="IPADDR">192.168.115.241</NetAddr>
|
||||
<AP_Title>1 3 9999 33</AP_Title>
|
||||
<AE_Qualifier>33</AE_Qualifier>
|
||||
<Psel>00 00 00 01</Psel>
|
||||
<Tsel>00 01</Tsel>
|
||||
<Ssel>00 01</Ssel>
|
||||
</RemoteAddress>
|
||||
</RemoteAddressList>
|
||||
</NetworkAddressing>
|
||||
|
||||
<SCL_PARSER>
|
||||
<ArName>net_A_DLG</ArName>
|
||||
<FileName>zhenan.SCD</FileName>
|
||||
<IEDName>DLG</IEDName>
|
||||
<APName>S1</APName>
|
||||
</SCL_PARSER>
|
||||
|
||||
<SCL_PARSER>
|
||||
<ArName>net_A_TEMPLATE</ArName>
|
||||
<FileName>zhenan.SCD</FileName>
|
||||
<IEDName>TEMPLATE</IEDName>
|
||||
<APName>S1</APName>
|
||||
</SCL_PARSER>
|
||||
|
||||
</STACK_CFG>
|
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
|
||||
<RPT xmlns="http://www.iec.ch/61850/2003/SCL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<Servers gitime="1800" manufacturer="0" name="DLG">
|
||||
<RCB IntgPd="60000" enable="true" gi="true" optflds="0011111010" periodtime="1800" ref="DLG1/LLN0.brcbState" trgops="10011"/>
|
||||
<RCB IntgPd="60000" enable="true" gi="true" optflds="0011111010" periodtime="1800" ref="DLG1/LLN0.urcbMeasure" trgops="10011"/>
|
||||
</Servers>
|
||||
|
||||
<Servers gitime="1800" manufacturer="0" name="TEMPLATE">
|
||||
<RCB IntgPd="60000" enable="true" gi="true" optflds="0111111110" periodtime="1800" ref="TEMPLATEMONT1/LLN0.urcb01Ain" trgops="11011"/>
|
||||
</Servers>
|
||||
</RPT>
|
@ -0,0 +1,26 @@
|
||||
[mysqlcfg]
|
||||
hostname=192.168.128.86
|
||||
dbname=cac_zjxj
|
||||
port=3306
|
||||
usrname=root
|
||||
psw=123456
|
||||
localfilepath=curvefiles
|
||||
remotefilepath=INFO
|
||||
comtradftpip=192.168.128.86
|
||||
comtradftpport=21
|
||||
comtradftpuid=sftp
|
||||
comtradftppsw=sftp
|
||||
comtradfilepath=comtrad/
|
||||
tempmeasureinterval=1
|
||||
sf6interval=30
|
||||
pdinterval=30
|
||||
microweatherinterval=30
|
||||
ironcoreinterval=30
|
||||
moainterval=30
|
||||
yspinterval=1
|
||||
yspinterval1=1
|
||||
yspinterval2=1
|
||||
jyinterval=30
|
||||
scurinterval=30
|
||||
dlginterval=30
|
||||
jdwinterval=30
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,147 @@
|
||||
/*
|
||||
* To change this license header, choose License Headers in Project Properties.
|
||||
* To change this template file, choose Tools | Templates
|
||||
* and open the template in the editor.
|
||||
*/
|
||||
|
||||
/*
|
||||
* File: dialog_ctrl.cpp
|
||||
* Author: shjd
|
||||
*
|
||||
* Created on 2017年12月26日, 下午4:20
|
||||
*/
|
||||
|
||||
#include "dialog_ctrl.h"
|
||||
#include "gui_srv.h"
|
||||
|
||||
extern gui_srv * w;
|
||||
dialog_ctrl *dlg_ctrl;
|
||||
|
||||
|
||||
typedef ST_RET(*ai_get_obj_dir_type)(AI_IED_CTRL*, AI_OBJ_ID, ST_BOOLEAN, AI_OBJ_ID **, ST_INT*);
|
||||
typedef AI_IED_CTRL * (*ac_get_srvm_ied_type)(ST_INT);
|
||||
typedef ST_RET(*ai_obj_id_to_ref_type)(AI_IED_CTRL *, AI_OBJ_ID, ST_CHAR *);
|
||||
typedef ST_RET(*ai_read_obj_primVals_type) (AI_OBJ_ID, AI_IED_CTRL*, AI_OBJ_VAL*);
|
||||
typedef ST_RET(*ai_prim_value_to_str_type)(AI_VAL_TYPE, ST_VOID *, ST_CHAR *);
|
||||
typedef ST_VOID(*ai_cleanup_objVals_type) (AI_OBJ_VAL *);
|
||||
|
||||
|
||||
|
||||
|
||||
extern ai_get_obj_dir_type ai_get_obj_dir_ad;
|
||||
extern ac_get_srvm_ied_type ac_get_srvm_ied_ad;
|
||||
extern ai_obj_id_to_ref_type ai_obj_id_to_ref_ad;
|
||||
extern ai_read_obj_primVals_type ai_read_obj_primVals_ad;
|
||||
extern ai_prim_value_to_str_type ai_prim_value_to_str_ad;
|
||||
extern ai_cleanup_objVals_type ai_cleanup_objVals_ad;
|
||||
|
||||
|
||||
|
||||
dialog_ctrl::dialog_ctrl() {
|
||||
// ST_CHAR obj_name[MAX_IDENT_LEN + 1] = {0};
|
||||
// ST_CHAR ctrval_ref[MAX_IDENT_LEN + 1] = {0};
|
||||
// ST_INT srv_id;
|
||||
// AI_IED_CTRL *ied_ctrl;
|
||||
// ST_CHAR *strp;
|
||||
// AI_OBJ_ID ctlModel_id;
|
||||
// ST_RET ret;
|
||||
// AI_OBJ_VAL obj_val;
|
||||
// AI_OBJ_ID ctlval_id;
|
||||
// AI_OBJ_VAL ctlval_val;
|
||||
// ST_INT i;
|
||||
// char temp[MAX_REFERENCE_LENGTH + 1] = {0};
|
||||
widget.setupUi(this);
|
||||
// widget.pB_op->setEnabled(false);
|
||||
// widget.pB_sel->setEnabled(false);
|
||||
// widget.pB_selv->setEnabled(false);
|
||||
// widget.pB_revoke->setEnabled(false);
|
||||
// widget.lb_opt->setText("");
|
||||
// widget.lb_opinfo->setText("");
|
||||
// widget.lE_ts->setText("");
|
||||
// widget.lE_ms->setText("");
|
||||
// widget.cB_ctrl->clear();
|
||||
// ied_ctrl = ac_get_srvm_ied(srv_id);
|
||||
// ai_obj_id_to_ref(ied_ctrl, obj_id, obj_name);
|
||||
// ai_obj_id_to_ref(ied_ctrl, obj_id, ctrval_ref);
|
||||
// strp = strstr(obj_name, "$CO");
|
||||
// if (strp == NULL) {
|
||||
// QMessageBox::warning(NULL, "warning", "读取控制对象属性失败!", QMessageBox::Yes);
|
||||
// return;
|
||||
// }
|
||||
// *(strp + 2) = 'F';
|
||||
// strcat(obj_name, "$ctlModel");
|
||||
// strcat(ctrval_ref, "$Oper$ctlVal");
|
||||
// ctlModel_id = ai_obj_ref_to_id(ied_ctrl, obj_name);
|
||||
// ctlval_id = ai_obj_ref_to_id(ied_ctrl, ctrval_ref);
|
||||
// if (ctlModel_id == -1 || ctlval_id == -1) {
|
||||
// QMessageBox::warning(NULL, "warning", "读取控制对象属性失败!", QMessageBox::Yes);
|
||||
// return;
|
||||
// }
|
||||
// ret = ai_read_obj_primVals(ctlModel_id, ied_ctrl, &obj_val);
|
||||
// ret = ai_read_obj_primVals(ctlval_id, ied_ctrl, &ctlval_val);
|
||||
// ctlval_type = ctlval_val.prim_vals[0].type;
|
||||
// if (ctlval_type == VAL_TYPE_BOOLEAN) {
|
||||
// widget.cB_ctrl->insertItems(0, "true");
|
||||
// widget.cB_ctrl->insertItems(1, "false");
|
||||
// } else if (ctlval_type == VAL_TYPE_INT32) {
|
||||
// for (i = 0; i < 256; i++) {
|
||||
// m_ctrl_val.InsertString(i, itoa(i, temp, 10));
|
||||
// }
|
||||
// } else if (ctlval_type == VAL_TYPE_CODEDENUM) {
|
||||
// widget.cB_ctrl->insertItems(0, "stop");
|
||||
// widget.cB_ctrl->insertItems(1, "lower");
|
||||
// widget.cB_ctrl->insertItems(2, "higher");
|
||||
// widget.cB_ctrl->insertItems(3, "reserved");
|
||||
// } else if (ctlval_type == VAL_TYPE_INT8) {
|
||||
// for (i = -64; i < 64; i++) {
|
||||
// m_ctrl_val.InsertString(i, itoa(i, temp, 10));
|
||||
// }
|
||||
// }
|
||||
// ctlModel_val = *(ST_INT *) (obj_val.prim_vals[0].data);
|
||||
// ctlModel_val &= 0x000000ff; //XYS 2009-4-10
|
||||
// if (ctlModel_val == 1 || ctlModel_val == 3) {
|
||||
// widget.pB_op->setEnabled(true);
|
||||
// } else if (ctlModel_val == 2) {
|
||||
// widget.pB_sel->setEnabled(true);
|
||||
// } else if (ctlModel_val == 4) {
|
||||
// widget.pB_selv->setEnabled(true);
|
||||
// } else {
|
||||
// QMessageBox::warning(NULL, "warning", "控制类型不对!", QMessageBox::Yes);
|
||||
// ai_cleanup_objVals(&obj_val);
|
||||
// ai_cleanup_objVals(&ctlval_val);
|
||||
// return;
|
||||
// }
|
||||
// ai_cleanup_objVals(&obj_val);
|
||||
// ai_cleanup_objVals(&ctlval_val);
|
||||
//
|
||||
// return; // return TRUE unless you set the focus to a control
|
||||
// // EXCEPTION: OCX Property Pages should return FALSE
|
||||
}
|
||||
|
||||
void dialog_ctrl::SetIds(ST_INT srvid, AI_OBJ_ID objid) {
|
||||
srv_id = srvid;
|
||||
obj_id = objid;
|
||||
}
|
||||
|
||||
void dialog_ctrl::on_pB_sel_clicked() {
|
||||
|
||||
}
|
||||
|
||||
void dialog_ctrl::on_pB_selv_clicked() {
|
||||
|
||||
}
|
||||
|
||||
void dialog_ctrl::on_pB_op_clicked() {
|
||||
|
||||
}
|
||||
|
||||
void dialog_ctrl::on_pB_revoke_clicked() {
|
||||
|
||||
}
|
||||
|
||||
void dialog_ctrl::on_pB_quit_clicked() {
|
||||
|
||||
}
|
||||
|
||||
dialog_ctrl::~dialog_ctrl() {
|
||||
}
|
@ -0,0 +1,41 @@
|
||||
/*
|
||||
* To change this license header, choose License Headers in Project Properties.
|
||||
* To change this template file, choose Tools | Templates
|
||||
* and open the template in the editor.
|
||||
*/
|
||||
|
||||
/*
|
||||
* File: dialog_ctrl.h
|
||||
* Author: shjd
|
||||
*
|
||||
* Created on 2017年12月26日, 下午4:20
|
||||
*/
|
||||
|
||||
#ifndef _DIALOG_CTRL_H
|
||||
#define _DIALOG_CTRL_H
|
||||
|
||||
#include "ui_dialog_ctrl.h"
|
||||
#include "glbtypes.h"
|
||||
#include "ai_objid.h"
|
||||
|
||||
class dialog_ctrl : public QDialog {
|
||||
Q_OBJECT
|
||||
public:
|
||||
AI_VAL_TYPE ctlval_type;
|
||||
ST_INT ctlModel_val;
|
||||
dialog_ctrl();
|
||||
void SetIds(ST_INT srvid, AI_OBJ_ID objid);
|
||||
virtual ~dialog_ctrl();
|
||||
private:
|
||||
Ui::dialog_ctrl widget;
|
||||
ST_INT srv_id;
|
||||
AI_OBJ_ID obj_id;
|
||||
private slots:
|
||||
void on_pB_sel_clicked();
|
||||
void on_pB_selv_clicked();
|
||||
void on_pB_op_clicked();
|
||||
void on_pB_revoke_clicked();
|
||||
void on_pB_quit_clicked();
|
||||
};
|
||||
|
||||
#endif /* _DIALOG_CTRL_H */
|
@ -0,0 +1,235 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>dialog_ctrl</class>
|
||||
<widget class="QDialog" name="dialog_ctrl">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>400</width>
|
||||
<height>240</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>控制</string>
|
||||
</property>
|
||||
<widget class="QGroupBox" name="groupBox">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>10</x>
|
||||
<y>10</y>
|
||||
<width>380</width>
|
||||
<height>221</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="title">
|
||||
<string>控制属性</string>
|
||||
</property>
|
||||
<widget class="QLineEdit" name="lE_ts">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>120</x>
|
||||
<y>80</y>
|
||||
<width>81</width>
|
||||
<height>26</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="label">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>20</x>
|
||||
<y>40</y>
|
||||
<width>90</width>
|
||||
<height>19</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="lineWidth">
|
||||
<number>1</number>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>选择操作值:</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QComboBox" name="cB_ctrl">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>120</x>
|
||||
<y>40</y>
|
||||
<width>125</width>
|
||||
<height>25</height>
|
||||
</rect>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="label_2">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>38</x>
|
||||
<y>80</y>
|
||||
<width>72</width>
|
||||
<height>19</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="lineWidth">
|
||||
<number>1</number>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string><html>延时时间:</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="label_3">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>205</x>
|
||||
<y>80</y>
|
||||
<width>10</width>
|
||||
<height>19</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="lineWidth">
|
||||
<number>1</number>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>s</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lE_ms">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>120</x>
|
||||
<y>120</y>
|
||||
<width>81</width>
|
||||
<height>26</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="label_4">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>205</x>
|
||||
<y>120</y>
|
||||
<width>20</width>
|
||||
<height>19</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="lineWidth">
|
||||
<number>1</number>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>ms</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QWidget" name="layoutWidget">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>290</x>
|
||||
<y>20</y>
|
||||
<width>82</width>
|
||||
<height>181</height>
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<item>
|
||||
<widget class="QPushButton" name="pB_sel">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>选择</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="pB_selv">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>带值选择</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="pB_op">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>操作</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="pB_revoke">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>撤销</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="pB_quit">
|
||||
<property name="text">
|
||||
<string>退出</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QLabel" name="lb_opt">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>20</x>
|
||||
<y>170</y>
|
||||
<width>50</width>
|
||||
<height>30</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="lb_opinfo">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>80</x>
|
||||
<y>170</y>
|
||||
<width>160</width>
|
||||
<height>30</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
</widget>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
@ -0,0 +1,328 @@
|
||||
/*
|
||||
* To change this license header, choose License Headers in Project Properties.
|
||||
* To change this template file, choose Tools | Templates
|
||||
* and open the template in the editor.
|
||||
*/
|
||||
|
||||
/*
|
||||
* File: dialog_filetran.cpp
|
||||
* Author: shjd
|
||||
*
|
||||
* Created on 2018年1月10日, 上午10:32
|
||||
*/
|
||||
|
||||
#include "dialog_filetran.h"
|
||||
#include "gui_srv.h"
|
||||
#include <QMessageBox>
|
||||
|
||||
|
||||
extern gui_srv * w;
|
||||
dialog_filetran *dlg_filetran;
|
||||
|
||||
|
||||
typedef ST_INT(*ac_get_srvm_num_type)();
|
||||
typedef ST_CHAR* (*ac_get_srvm_name_type)(ST_INT);
|
||||
typedef AI_IED_CTRL * (*ac_get_srvm_ied_type)(ST_INT);
|
||||
typedef ST_RET (*ac_get_file_attr_type)(ST_INT srv_id, AC_GETFAV_REQ_INFO *getfav_info, ST_INT time_out, AC_REQ_CTRL **req_ctrl_out);
|
||||
typedef ST_RET (*ac_delete_file_type)(ST_INT srv_id, AC_DELF_REQ_INFO *delf_info, ST_INT time_out, AC_REQ_CTRL **req_ctrl_out);
|
||||
typedef ST_RET (*ac_get_file_type)(ST_INT srv_id, AC_GETF_REQ_INFO *getf_info,ST_INT time_out, AC_REQ_CTRL **req_ctrl_out);
|
||||
typedef ST_RET (*ac_set_file_type)(ST_INT srv_id, AC_SETF_REQ_INFO *setf_info,ST_INT time_out, AC_REQ_CTRL **req_ctrl_out);
|
||||
typedef ST_VOID(*ac_destroy_reqCtrl_type)(AC_REQ_CTRL *reqCtrl);
|
||||
typedef ST_RET (*UtcValsToString_type) (char *dest, ST_UINT32 secs, ST_UINT32 fraction,ST_UINT32 qflags);
|
||||
|
||||
extern ac_get_srvm_num_type ac_get_srvm_num_ad;
|
||||
extern ac_get_srvm_name_type ac_get_srvm_name_ad;
|
||||
extern ac_get_srvm_ied_type ac_get_srvm_ied_ad;
|
||||
extern ac_get_file_attr_type ac_get_file_attr_ad;
|
||||
extern ac_destroy_reqCtrl_type ac_destroy_reqCtrl_ad;
|
||||
extern UtcValsToString_type UtcValsToString_ad;
|
||||
extern ac_delete_file_type ac_delete_file_ad;
|
||||
extern ac_get_file_type ac_get_file_ad;
|
||||
extern ac_set_file_type ac_set_file_ad;
|
||||
|
||||
dialog_filetran::dialog_filetran() {
|
||||
widget.setupUi(this);
|
||||
tbmodel = new QStandardItemModel;
|
||||
widget.tV_file->setModel(tbmodel);
|
||||
QStandardItem *tbitem1 = new QStandardItem(tr("文件名"));
|
||||
QStandardItem *tbitem2 = new QStandardItem(tr("大小(K)"));
|
||||
QStandardItem *tbitem3 = new QStandardItem(tr("修改日期"));
|
||||
tbmodel-> setHorizontalHeaderItem(0, tbitem1);
|
||||
tbmodel-> setHorizontalHeaderItem(1, tbitem2);
|
||||
tbmodel-> setHorizontalHeaderItem(2, tbitem3);
|
||||
widget.tV_file->setColumnWidth(0,350);
|
||||
widget.tV_file->setColumnWidth(1,100);
|
||||
widget.tV_file->setColumnWidth(2,200);
|
||||
//widget.tV_file->verticalHeader()->setVisible(false); //设置行表头不显示
|
||||
widget.tV_file->setEditTriggers(QAbstractItemView::NoEditTriggers); //设置表格只读属性
|
||||
ST_INT i;
|
||||
int srvnum = ac_get_srvm_num_ad();
|
||||
ST_CHAR *pstr = NULL;
|
||||
for (i=0;i<srvnum;i++)
|
||||
{
|
||||
pstr = ac_get_srvm_name_ad(i);
|
||||
widget.cB_server->insertItem(i,pstr,i);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// CDlgFileTrans message handlers
|
||||
void dialog_filetran::OnGetFileListParse(AC_GETFAV_REQ_CTRL *getfav)
|
||||
{
|
||||
int i;
|
||||
tbmodel->clear();
|
||||
for (i =0; i<getfav->file_num; i++)
|
||||
{
|
||||
//qDebug()<< QString::fromLatin1(getfav->file_attrs[1].file_name);
|
||||
tbmodel->setItem(i,0,new QStandardItem(getfav->file_attrs[i].file_name));
|
||||
tbmodel->setItem(i,1,new QStandardItem(QString::number(getfav->file_attrs[i].file_size)));
|
||||
tbmodel->setItem(i,2,new QStandardItem(QDateTime::fromTime_t(getfav->file_attrs[i].last_modified.secs).toString("yyyy-MM-dd hh:mm:ss")));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
static ST_VOID _delete_handle(AC_REQ_CTRL * req_ctrl)
|
||||
{
|
||||
if (req_ctrl->result==SD_SUCCESS)
|
||||
{
|
||||
dlg_filetran->OnFreshfiledirectory();
|
||||
w->out_put("删除文件成功!!!");
|
||||
}
|
||||
else
|
||||
w->out_put("删除文件失败!!!");
|
||||
}
|
||||
|
||||
|
||||
|
||||
static ST_VOID _get_handle(AC_REQ_CTRL * req_ctrl)
|
||||
{
|
||||
if (req_ctrl->result==SD_SUCCESS)
|
||||
{
|
||||
w->out_put("文件上载成功!!!");
|
||||
}
|
||||
else
|
||||
w->out_put("文件上载失败!!!");
|
||||
}
|
||||
|
||||
|
||||
|
||||
static ST_VOID _set_handle(AC_REQ_CTRL *req_ctrl)
|
||||
{
|
||||
if (req_ctrl->result==SD_SUCCESS)
|
||||
{
|
||||
dlg_filetran->OnFreshfiledirectory();
|
||||
w->out_put("下装文件成功!!!");
|
||||
}
|
||||
else
|
||||
w->out_put("下装文件失败!!!");
|
||||
}
|
||||
|
||||
void dialog_filetran::OnFreshfiledirectory()
|
||||
{
|
||||
on_pB_getfilelist_clicked();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
static ST_VOID _getf_handle(AC_REQ_CTRL * req_ctrl)
|
||||
{
|
||||
|
||||
|
||||
if (req_ctrl->result==SD_SUCCESS)
|
||||
{
|
||||
dlg_filetran->OnGetFileListParse(&req_ctrl->u.getfavCtrl);
|
||||
w->out_put("获取文件列表成功!!!");
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
w->out_put("获取文件列表失败!!!");
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/************************************************************************/
|
||||
/* 删除文件 */
|
||||
|
||||
/************************************************************************/
|
||||
void dialog_filetran::on_pB_filedel_clicked() {
|
||||
AC_DELF_REQ_INFO * del_info =(AC_DELF_REQ_INFO *)malloc(sizeof(AC_DELF_REQ_INFO));
|
||||
AC_REQ_CTRL *req_ctrl = NULL;
|
||||
ST_INT timeout = 30;
|
||||
ST_RET ret = SD_FAILURE;
|
||||
ST_CHAR fname[MAX_FILE_NAME_LENGTH + 1] = {0};
|
||||
ST_INT len;
|
||||
ST_INT srv_id = -1;
|
||||
srv_id = widget.cB_server->currentIndex();
|
||||
int row = widget.tV_file->currentIndex().row();
|
||||
if (row < 0) {
|
||||
QMessageBox::warning(NULL, "warning", "未选择要删除的文件,请选择要删除的文件!", QMessageBox::Yes);
|
||||
return;
|
||||
}
|
||||
QString strname = tbmodel->data(tbmodel->index(row, 0)).toString(); //第n行第1列的内容
|
||||
len = strname.length();
|
||||
if (len < 1)
|
||||
{
|
||||
QMessageBox::warning(NULL, "错误", "要删除的文件名称为空!", QMessageBox::Yes);
|
||||
return;
|
||||
}
|
||||
strcpy(fname,strname.toLatin1().data());
|
||||
del_info->file_name = fname;
|
||||
del_info->u_getf_done = _delete_handle;
|
||||
ret = ac_delete_file_ad(srv_id, del_info, timeout, &req_ctrl);
|
||||
if (ret == SD_FAILURE)
|
||||
{
|
||||
QMessageBox::warning(NULL, "warning", "删除文件失败!", QMessageBox::Yes);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
////////
|
||||
///文件上载
|
||||
/////
|
||||
void dialog_filetran::on_pB_fileupload_clicked()
|
||||
{
|
||||
AC_GETF_REQ_INFO *getf_info=(AC_GETF_REQ_INFO *)malloc(sizeof(AC_GETF_REQ_INFO));
|
||||
AC_REQ_CTRL *req_ctrl = NULL;
|
||||
ST_INT timeout = 300; /*默认300秒*/
|
||||
ST_RET ret = SD_FAILURE;
|
||||
ST_CHAR fname[MAX_FILE_NAME_LENGTH+1] = {0};
|
||||
ST_CHAR fname2[MAX_FILE_NAME_LENGTH+1] = {0};
|
||||
FILE *filep = NULL;
|
||||
ST_INT len;
|
||||
ST_CHAR srv_name[MAX_FILE_NAME_LENGTH + 1] = {0};
|
||||
ST_CHAR *chr;
|
||||
ST_INT srv_id;
|
||||
ST_CHAR src_name[MAX_FILE_NAME_LENGTH + 1] = {0};
|
||||
ST_CHAR dest_name[MAX_FILE_NAME_LENGTH + 1] = {0};
|
||||
ST_CHAR *filename=NULL ;
|
||||
srv_id = widget.cB_server->currentIndex();
|
||||
int row = widget.tV_file->currentIndex().row();
|
||||
if (row < 0) {
|
||||
QMessageBox::warning(NULL, "上载文件", "未选择要上载的文件,请选择要上载的文件!", QMessageBox::Yes);
|
||||
return;
|
||||
}
|
||||
QString strname = tbmodel->data(tbmodel->index(row, 0)).toString(); //第n行第1列的内容
|
||||
len = strname.length();
|
||||
if (len < 1)
|
||||
{
|
||||
QMessageBox::warning(NULL, "上载文件", "要上载的文件名称为空!", QMessageBox::Yes);
|
||||
return;
|
||||
}
|
||||
strcpy(fname,strname.toLatin1().data());
|
||||
strcpy(fname2, fname);
|
||||
chr = strchr(fname2, '/');
|
||||
if (chr)
|
||||
{
|
||||
*chr = '_';
|
||||
}
|
||||
strcpy(src_name, fname2);
|
||||
strcpy(dest_name, fname2);
|
||||
getf_info->src_fname = src_name;
|
||||
getf_info->dest_fname = dest_name;
|
||||
filename=strrchr(getf_info->dest_fname,'/');
|
||||
if (filename)
|
||||
{
|
||||
getf_info->dest_fname=filename+1;
|
||||
}
|
||||
getf_info->u_getf_done=_get_handle;
|
||||
ret= ac_get_file_ad(srv_id,getf_info,timeout,&req_ctrl);
|
||||
if (ret == SD_FAILURE)
|
||||
{
|
||||
QMessageBox::warning(NULL, "上载文件", "上载文件失败!", QMessageBox::Yes);
|
||||
}
|
||||
else
|
||||
{
|
||||
QMessageBox::warning(NULL, "上载文件", "上载文件成功!", QMessageBox::Yes);
|
||||
}
|
||||
}
|
||||
|
||||
/************************************************************************/
|
||||
/* 获得文件列表 */
|
||||
/************************************************************************/
|
||||
void dialog_filetran::on_pB_getfilelist_clicked()
|
||||
{
|
||||
AC_GETFAV_REQ_INFO getfav_info;
|
||||
AC_REQ_CTRL *req_ctrl = NULL;
|
||||
ST_INT timeout = 30;
|
||||
ST_RET ret = SD_FAILURE;
|
||||
ST_INT srv_id ;
|
||||
ST_CHAR file_name[MAX_FILE_NAME_LENGTH + 1] = {0};
|
||||
srv_id = widget.cB_server->currentIndex();
|
||||
strcpy(file_name, widget.lE_path->text().toLatin1().data());
|
||||
getfav_info.file_name = file_name;
|
||||
getfav_info.u_getf_done=_getf_handle;
|
||||
ret=ac_get_file_attr_ad(srv_id,&getfav_info,timeout,&req_ctrl);
|
||||
if (ret == SD_FAILURE)
|
||||
{
|
||||
QMessageBox::warning(NULL, "warning", "获取文件列表失败!", QMessageBox::Yes);
|
||||
}
|
||||
}
|
||||
|
||||
///************************************************************************/
|
||||
///* 文件选择路径 */
|
||||
///************************************************************************/
|
||||
void dialog_filetran::on_pB_filebrowser_clicked()
|
||||
{
|
||||
QString file_name = QFileDialog::getOpenFileName(this,
|
||||
tr("Open File"),
|
||||
"",
|
||||
"",
|
||||
0);
|
||||
if (!file_name.isNull())
|
||||
{
|
||||
widget.lE_downfilename->setText(file_name);
|
||||
widget.lE_filename->setText(file_name.mid(file_name.lastIndexOf("/")+1));
|
||||
}
|
||||
}
|
||||
|
||||
///************************************************************************/
|
||||
///* 文件下装 */
|
||||
///************************************************************************/
|
||||
void dialog_filetran::on_pB_filedown_clicked()
|
||||
{
|
||||
|
||||
AC_SETF_REQ_INFO *set_info=(AC_SETF_REQ_INFO *)malloc(sizeof(AC_SETF_REQ_INFO));
|
||||
FILE *flocal = NULL;
|
||||
ST_UINT32 max_read_file = 0;
|
||||
AC_REQ_CTRL *req_ctrl = NULL;
|
||||
ST_INT timeout = 300;
|
||||
ST_RET ret = SD_FAILURE;
|
||||
ST_CHAR srv_name[MAX_FILE_NAME_LENGTH + 1] = {0};
|
||||
ST_INT srv_id;
|
||||
ST_CHAR src_fname[MAX_FILE_NAME_LENGTH + 1] = {0};
|
||||
ST_CHAR dest_fname[MAX_FILE_NAME_LENGTH + 1] = {0};
|
||||
srv_id = widget.cB_server->currentIndex();
|
||||
if ((widget.lE_downfilename->text().length()<=0) || (widget.lE_filename->text().length() <= 0))
|
||||
{
|
||||
return;
|
||||
}
|
||||
strcpy(src_fname, widget.lE_downfilename->text().toLatin1().data());
|
||||
strcpy(dest_fname, widget.lE_filename->text().toLatin1().data());
|
||||
set_info->dest_fname = dest_fname;
|
||||
set_info->src_fname = src_fname;
|
||||
set_info->u_setf_done=_set_handle;
|
||||
ret=ac_set_file_ad(srv_id,set_info,timeout,&req_ctrl);
|
||||
if (ret == SD_FAILURE)
|
||||
{
|
||||
QMessageBox::warning(NULL, "下装文件", "下装文件失败!", QMessageBox::Yes);
|
||||
}
|
||||
else
|
||||
{
|
||||
QMessageBox::warning(NULL, "下装文件", "下装文件成功!", QMessageBox::Yes);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
dialog_filetran::~dialog_filetran() {
|
||||
}
|
@ -0,0 +1,46 @@
|
||||
/*
|
||||
* To change this license header, choose License Headers in Project Properties.
|
||||
* To change this template file, choose Tools | Templates
|
||||
* and open the template in the editor.
|
||||
*/
|
||||
|
||||
/*
|
||||
* File: dialog_filetran.h
|
||||
* Author: shjd
|
||||
*
|
||||
* Created on 2018年1月10日, 上午10:32
|
||||
*/
|
||||
|
||||
#ifndef _DIALOG_FILETRAN_H
|
||||
#define _DIALOG_FILETRAN_H
|
||||
#include <QWidget>
|
||||
#include <QtCore>
|
||||
#include "ui_dialog_filetran.h"
|
||||
#include "glbtypes.h"
|
||||
#include "ai_objid.h"
|
||||
#include <QStandardItem>
|
||||
#include <QStandardItemModel>
|
||||
#include "ac_file.h"
|
||||
#include <QFileDialog>
|
||||
#include <QDebug>
|
||||
|
||||
|
||||
class dialog_filetran : public QDialog {
|
||||
Q_OBJECT
|
||||
public:
|
||||
dialog_filetran();
|
||||
QStandardItemModel *tbmodel;
|
||||
void OnGetFileListParse(AC_GETFAV_REQ_CTRL *getfav);
|
||||
void OnFreshfiledirectory();
|
||||
virtual ~dialog_filetran();
|
||||
private:
|
||||
Ui::dialog_filetran widget;
|
||||
private slots:
|
||||
void on_pB_filedel_clicked();
|
||||
void on_pB_fileupload_clicked();
|
||||
void on_pB_getfilelist_clicked();
|
||||
void on_pB_filebrowser_clicked();
|
||||
void on_pB_filedown_clicked();
|
||||
};
|
||||
|
||||
#endif /* _DIALOG_FILETRAN_H */
|
@ -0,0 +1,261 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>dialog_filetran</class>
|
||||
<widget class="QDialog" name="dialog_filetran">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>500</width>
|
||||
<height>350</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>文件传输服务</string>
|
||||
</property>
|
||||
<widget class="QTableView" name="tV_file">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>5</x>
|
||||
<y>5</y>
|
||||
<width>381</width>
|
||||
<height>261</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QComboBox" name="cB_server">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>390</x>
|
||||
<y>30</y>
|
||||
<width>105</width>
|
||||
<height>25</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="label">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>390</x>
|
||||
<y>10</y>
|
||||
<width>81</width>
|
||||
<height>19</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>选择服务器</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="label_2">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>390</x>
|
||||
<y>71</y>
|
||||
<width>81</width>
|
||||
<height>19</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>输入路径</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lE_path">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>390</x>
|
||||
<y>91</y>
|
||||
<width>105</width>
|
||||
<height>26</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pB_getfilelist">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>390</x>
|
||||
<y>135</y>
|
||||
<width>105</width>
|
||||
<height>29</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>获得文件列表</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pB_fileupload">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>390</x>
|
||||
<y>183</y>
|
||||
<width>105</width>
|
||||
<height>29</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>文件上载</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pB_filedel">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>390</x>
|
||||
<y>230</y>
|
||||
<width>105</width>
|
||||
<height>29</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>删除文件</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="label_3">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>5</x>
|
||||
<y>280</y>
|
||||
<width>105</width>
|
||||
<height>19</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>下装文件名称:</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="label_4">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>5</x>
|
||||
<y>314</y>
|
||||
<width>105</width>
|
||||
<height>19</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>文件存放名称:</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lE_downfilename">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>110</x>
|
||||
<y>278</y>
|
||||
<width>350</width>
|
||||
<height>26</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lE_filename">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>110</x>
|
||||
<y>312</y>
|
||||
<width>280</width>
|
||||
<height>26</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pB_filebrowser">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>460</x>
|
||||
<y>277</y>
|
||||
<width>33</width>
|
||||
<height>29</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>...</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pB_filedown">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>390</x>
|
||||
<y>310</y>
|
||||
<width>105</width>
|
||||
<height>29</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>文件下装</string>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
@ -0,0 +1,21 @@
|
||||
/*
|
||||
* To change this license header, choose License Headers in Project Properties.
|
||||
* To change this template file, choose Tools | Templates
|
||||
* and open the template in the editor.
|
||||
*/
|
||||
|
||||
/*
|
||||
* File: dialog_lcb.cpp
|
||||
* Author: shjd
|
||||
*
|
||||
* Created on 2017年12月29日, 上午10:54
|
||||
*/
|
||||
|
||||
#include "dialog_lcb.h"
|
||||
|
||||
dialog_lcb::dialog_lcb() {
|
||||
widget.setupUi(this);
|
||||
}
|
||||
|
||||
dialog_lcb::~dialog_lcb() {
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
/*
|
||||
* To change this license header, choose License Headers in Project Properties.
|
||||
* To change this template file, choose Tools | Templates
|
||||
* and open the template in the editor.
|
||||
*/
|
||||
|
||||
/*
|
||||
* File: dialog_lcb.h
|
||||
* Author: shjd
|
||||
*
|
||||
* Created on 2017年12月29日, 上午10:54
|
||||
*/
|
||||
|
||||
#ifndef _DIALOG_LCB_H
|
||||
#define _DIALOG_LCB_H
|
||||
|
||||
#include "ui_dialog_lcb.h"
|
||||
|
||||
class dialog_lcb : public QDialog {
|
||||
Q_OBJECT
|
||||
public:
|
||||
dialog_lcb();
|
||||
virtual ~dialog_lcb();
|
||||
private:
|
||||
Ui::dialog_lcb widget;
|
||||
};
|
||||
|
||||
#endif /* _DIALOG_LCB_H */
|
@ -0,0 +1,569 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>dialog_lcb</class>
|
||||
<widget class="QDialog" name="dialog_lcb">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>550</width>
|
||||
<height>500</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>LCB服务</string>
|
||||
</property>
|
||||
<widget class="QTableView" name="tableView">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>10</x>
|
||||
<y>10</y>
|
||||
<width>530</width>
|
||||
<height>100</height>
|
||||
</rect>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="Line" name="line">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>10</x>
|
||||
<y>110</y>
|
||||
<width>530</width>
|
||||
<height>16</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="lineWidth">
|
||||
<number>3</number>
|
||||
</property>
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QComboBox" name="comboBox">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>85</x>
|
||||
<y>126</y>
|
||||
<width>95</width>
|
||||
<height>25</height>
|
||||
</rect>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton_2">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>185</x>
|
||||
<y>125</y>
|
||||
<width>75</width>
|
||||
<height>26</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>IntgPd</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lineEdit">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>260</x>
|
||||
<y>125</y>
|
||||
<width>85</width>
|
||||
<height>26</height>
|
||||
</rect>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton_3">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>352</x>
|
||||
<y>125</y>
|
||||
<width>85</width>
|
||||
<height>26</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>DataSetRef</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lineEdit_2">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>438</x>
|
||||
<y>125</y>
|
||||
<width>100</width>
|
||||
<height>26</height>
|
||||
</rect>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton_4">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>362</x>
|
||||
<y>160</y>
|
||||
<width>75</width>
|
||||
<height>26</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>TrgOpts</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton_5">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>195</x>
|
||||
<y>160</y>
|
||||
<width>75</width>
|
||||
<height>26</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>OptFlds</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lineEdit_3">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>438</x>
|
||||
<y>160</y>
|
||||
<width>100</width>
|
||||
<height>26</height>
|
||||
</rect>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lineEdit_4">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>270</x>
|
||||
<y>160</y>
|
||||
<width>85</width>
|
||||
<height>26</height>
|
||||
</rect>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton_6">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>10</x>
|
||||
<y>160</y>
|
||||
<width>75</width>
|
||||
<height>26</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>LogRef</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lineEdit_5">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>85</x>
|
||||
<y>160</y>
|
||||
<width>105</width>
|
||||
<height>26</height>
|
||||
</rect>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="Line" name="line_2">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>10</x>
|
||||
<y>230</y>
|
||||
<width>530</width>
|
||||
<height>16</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="lineWidth">
|
||||
<number>3</number>
|
||||
</property>
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="label">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>11</x>
|
||||
<y>246</y>
|
||||
<width>81</width>
|
||||
<height>19</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>OldEntrTm</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lineEdit_6">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>98</x>
|
||||
<y>246</y>
|
||||
<width>181</width>
|
||||
<height>25</height>
|
||||
</rect>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lineEdit_7">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>358</x>
|
||||
<y>246</y>
|
||||
<width>181</width>
|
||||
<height>25</height>
|
||||
</rect>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="label_2">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>291</x>
|
||||
<y>246</y>
|
||||
<width>63</width>
|
||||
<height>19</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>OldEntr</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lineEdit_8">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>97</x>
|
||||
<y>280</y>
|
||||
<width>181</width>
|
||||
<height>25</height>
|
||||
</rect>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="label_3">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>290</x>
|
||||
<y>280</y>
|
||||
<width>63</width>
|
||||
<height>19</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>NewEntr</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="label_4">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>10</x>
|
||||
<y>280</y>
|
||||
<width>81</width>
|
||||
<height>19</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>NewEntrTm</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lineEdit_9">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>357</x>
|
||||
<y>280</y>
|
||||
<width>181</width>
|
||||
<height>25</height>
|
||||
</rect>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton_9">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>370</x>
|
||||
<y>310</y>
|
||||
<width>155</width>
|
||||
<height>30</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>GetLogStatusValues</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="Line" name="line_3">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>10</x>
|
||||
<y>340</y>
|
||||
<width>530</width>
|
||||
<height>16</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="lineWidth">
|
||||
<number>3</number>
|
||||
</property>
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="label_5">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>10</x>
|
||||
<y>350</y>
|
||||
<width>400</width>
|
||||
<height>19</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>时间格式示例:1984-01-01T00:00:00.000000000</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lineEdit_10">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>72</x>
|
||||
<y>376</y>
|
||||
<width>468</width>
|
||||
<height>25</height>
|
||||
</rect>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lineEdit_11">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>72</x>
|
||||
<y>405</y>
|
||||
<width>468</width>
|
||||
<height>25</height>
|
||||
</rect>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="label_6">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>10</x>
|
||||
<y>376</y>
|
||||
<width>61</width>
|
||||
<height>19</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>StarTm</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="label_7">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>10</x>
|
||||
<y>405</y>
|
||||
<width>61</width>
|
||||
<height>19</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>StopTm</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lineEdit_12">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>105</x>
|
||||
<y>435</y>
|
||||
<width>434</width>
|
||||
<height>25</height>
|
||||
</rect>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="label_8">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>10</x>
|
||||
<y>435</y>
|
||||
<width>90</width>
|
||||
<height>19</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>StartEntry</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>10</x>
|
||||
<y>125</y>
|
||||
<width>75</width>
|
||||
<height>26</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>LogEna</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QWidget" name="">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>140</x>
|
||||
<y>195</y>
|
||||
<width>258</width>
|
||||
<height>32</height>
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||
<property name="spacing">
|
||||
<number>40</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QPushButton" name="pushButton_7">
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>GetLCBValues</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="pushButton_8">
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>SetLCBValues</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QWidget" name="">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>130</x>
|
||||
<y>467</y>
|
||||
<width>292</width>
|
||||
<height>32</height>
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
||||
<property name="spacing">
|
||||
<number>50</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QPushButton" name="pushButton_10">
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>QueryLogByTime</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="pushButton_11">
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>QueryLogAfter</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<zorder>tableView</zorder>
|
||||
<zorder>line</zorder>
|
||||
<zorder>comboBox</zorder>
|
||||
<zorder>pushButton</zorder>
|
||||
<zorder>pushButton</zorder>
|
||||
<zorder>pushButton_2</zorder>
|
||||
<zorder>lineEdit</zorder>
|
||||
<zorder>pushButton_3</zorder>
|
||||
<zorder>lineEdit_2</zorder>
|
||||
<zorder>pushButton_4</zorder>
|
||||
<zorder>pushButton_5</zorder>
|
||||
<zorder>lineEdit_3</zorder>
|
||||
<zorder>lineEdit_4</zorder>
|
||||
<zorder>pushButton_6</zorder>
|
||||
<zorder>lineEdit_5</zorder>
|
||||
<zorder>pushButton_7</zorder>
|
||||
<zorder>pushButton_8</zorder>
|
||||
<zorder>line_2</zorder>
|
||||
<zorder>label</zorder>
|
||||
<zorder>lineEdit_6</zorder>
|
||||
<zorder>lineEdit_7</zorder>
|
||||
<zorder>label_2</zorder>
|
||||
<zorder>lineEdit_8</zorder>
|
||||
<zorder>label_3</zorder>
|
||||
<zorder>label_4</zorder>
|
||||
<zorder>lineEdit_9</zorder>
|
||||
<zorder>pushButton_9</zorder>
|
||||
<zorder>line_3</zorder>
|
||||
<zorder>label_5</zorder>
|
||||
<zorder>lineEdit_10</zorder>
|
||||
<zorder>lineEdit_11</zorder>
|
||||
<zorder>label_6</zorder>
|
||||
<zorder>label_7</zorder>
|
||||
<zorder>lineEdit_12</zorder>
|
||||
<zorder>label_8</zorder>
|
||||
<zorder>layoutWidget</zorder>
|
||||
</widget>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
@ -0,0 +1,69 @@
|
||||
/*
|
||||
* To change this license header, choose License Headers in Project Properties.
|
||||
* To change this template file, choose Tools | Templates
|
||||
* and open the template in the editor.
|
||||
*/
|
||||
|
||||
/*
|
||||
* File: dialog_rcb.h
|
||||
* Author: shjd
|
||||
*
|
||||
* Created on 2017年12月26日, 下午4:53
|
||||
*/
|
||||
|
||||
#ifndef _DIALOG_RCB_H
|
||||
#define _DIALOG_RCB_H
|
||||
|
||||
#include "ui_dialog_rcb.h"
|
||||
#include <QWidget>
|
||||
#include "glbtypes.h"
|
||||
#include "ai_objid.h"
|
||||
#include <QStandardItem>
|
||||
#include <QStandardItemModel>
|
||||
|
||||
class dialog_rcb : public QDialog {
|
||||
Q_OBJECT
|
||||
public:
|
||||
dialog_rcb();
|
||||
virtual ~dialog_rcb();
|
||||
QStandardItemModel *tbmodel;
|
||||
void InitBRCBShowInfo(char *str,bool brptflag);
|
||||
void SetIds(ST_INT srvid, AI_OBJ_ID objid);
|
||||
void ShowBRcbValues(ST_INT *id, ST_BOOLEAN flag);
|
||||
ST_VOID get_rcb_value(ST_CHAR * ref, AC_CHANNEL chnl);
|
||||
void getRcbValues(ST_CHAR *ref);
|
||||
void OnSetrcbvaluebut() ;
|
||||
void GetBRcbValuesFormEdit(AI_OBJ_VAL *objval, ST_BOOLEAN brflag);
|
||||
ST_BOOLEAN OnWriteObjVal(int objid, ST_CHAR *str);
|
||||
ST_RET fullObjWriteInfo(ST_CHAR *name, ST_CHAR *str);
|
||||
void OnEnablerpt();
|
||||
private slots:
|
||||
void on_rB_BR_clicked();
|
||||
void on_rB_RP_clicked();
|
||||
void on_pB_RptID_clicked();
|
||||
void on_pB_DataSetRef_clicked();
|
||||
void on_pB_OptFlds_clicked();
|
||||
void on_pB_TrgOps_clicked();
|
||||
void on_pB_EntryID_clicked();
|
||||
void on_pB_EntryTm_clicked();
|
||||
void on_pB_RptEna_clicked();
|
||||
void on_pB_ConfRev_clicked();
|
||||
void on_pB_SqNum_clicked();
|
||||
void on_pB_GI_clicked();
|
||||
void on_pB_BufTm_clicked();
|
||||
void on_pB_IntgPd_clicked();
|
||||
void on_pB_PurgeBuf_clicked();
|
||||
void on_pB_Resv_clicked();
|
||||
void on_pB_GetRcbValues_clicked();
|
||||
void on_pB_SetRcbValues_clicked();
|
||||
void on_pB_EnableRpt_clicked();
|
||||
void t_ShowBRcbValues(ST_INT *id, ST_BOOLEAN flag);
|
||||
private:
|
||||
Ui::dialog_rcb widget;
|
||||
ST_INT srv_id;
|
||||
AI_OBJ_ID obj_id;
|
||||
signals:
|
||||
void s_ShowBRcbValues(ST_INT*, ST_BOOLEAN);
|
||||
};
|
||||
|
||||
#endif /* _DIALOG_RCB_H */
|
@ -0,0 +1,657 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>dialog_rcb</class>
|
||||
<widget class="QDialog" name="dialog_rcb">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>600</width>
|
||||
<height>470</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>URCB/BRCB服务</string>
|
||||
</property>
|
||||
<widget class="QGroupBox" name="groupBox">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>10</x>
|
||||
<y>10</y>
|
||||
<width>168</width>
|
||||
<height>58</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="title">
|
||||
<string>控制块选择</string>
|
||||
</property>
|
||||
<widget class="QWidget" name="">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>20</x>
|
||||
<y>20</y>
|
||||
<width>126</width>
|
||||
<height>26</height>
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||
<item>
|
||||
<widget class="QRadioButton" name="rB_BR">
|
||||
<property name="text">
|
||||
<string>BRCB</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QRadioButton" name="rB_RP">
|
||||
<property name="text">
|
||||
<string>URCB</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</widget>
|
||||
<widget class="Line" name="line">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>10</x>
|
||||
<y>60</y>
|
||||
<width>580</width>
|
||||
<height>31</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="lineWidth">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QTableView" name="tV_RCB">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>10</x>
|
||||
<y>81</y>
|
||||
<width>580</width>
|
||||
<height>112</height>
|
||||
</rect>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="Line" name="line_2">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>10</x>
|
||||
<y>185</y>
|
||||
<width>580</width>
|
||||
<height>31</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="lineWidth">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pB_RptID">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>11</x>
|
||||
<y>211</y>
|
||||
<width>88</width>
|
||||
<height>30</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>RptID</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pB_DataSetRef">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>11</x>
|
||||
<y>247</y>
|
||||
<width>88</width>
|
||||
<height>30</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>DataSetRef</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pB_OptFlds">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>11</x>
|
||||
<y>283</y>
|
||||
<width>88</width>
|
||||
<height>30</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>OptFlds</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pB_TrgOps">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>11</x>
|
||||
<y>319</y>
|
||||
<width>88</width>
|
||||
<height>30</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>TrgOps</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pB_EntryID">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>11</x>
|
||||
<y>355</y>
|
||||
<width>88</width>
|
||||
<height>30</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>EntryID</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lE_RptID">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>100</x>
|
||||
<y>211</y>
|
||||
<width>104</width>
|
||||
<height>26</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lE_DataSetRef">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>100</x>
|
||||
<y>247</y>
|
||||
<width>104</width>
|
||||
<height>26</height>
|
||||
</rect>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lE_OptFlds">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>100</x>
|
||||
<y>283</y>
|
||||
<width>104</width>
|
||||
<height>26</height>
|
||||
</rect>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lE_TrgOps">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>100</x>
|
||||
<y>319</y>
|
||||
<width>104</width>
|
||||
<height>26</height>
|
||||
</rect>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lE_EntryID">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>100</x>
|
||||
<y>355</y>
|
||||
<width>104</width>
|
||||
<height>26</height>
|
||||
</rect>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lE_EntryTm">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>292</x>
|
||||
<y>355</y>
|
||||
<width>298</width>
|
||||
<height>26</height>
|
||||
</rect>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pB_EntryTm">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>204</x>
|
||||
<y>355</y>
|
||||
<width>88</width>
|
||||
<height>30</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>EntryTm</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pB_RptEna">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>204</x>
|
||||
<y>211</y>
|
||||
<width>88</width>
|
||||
<height>30</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>RptEna</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pB_ConfRev">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>204</x>
|
||||
<y>247</y>
|
||||
<width>88</width>
|
||||
<height>30</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>ConfRev</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lE_ConfRev">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>292</x>
|
||||
<y>247</y>
|
||||
<width>104</width>
|
||||
<height>26</height>
|
||||
</rect>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lE_SqNum">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>292</x>
|
||||
<y>283</y>
|
||||
<width>104</width>
|
||||
<height>26</height>
|
||||
</rect>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pB_SqNum">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>204</x>
|
||||
<y>283</y>
|
||||
<width>88</width>
|
||||
<height>30</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>SqNum</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pB_GI">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>204</x>
|
||||
<y>319</y>
|
||||
<width>88</width>
|
||||
<height>30</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>GI</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QComboBox" name="cB_RptEna">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>292</x>
|
||||
<y>211</y>
|
||||
<width>104</width>
|
||||
<height>25</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QComboBox" name="cB_GI">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>292</x>
|
||||
<y>319</y>
|
||||
<width>104</width>
|
||||
<height>25</height>
|
||||
</rect>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QComboBox" name="cB_PurgeBuf">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>484</x>
|
||||
<y>316</y>
|
||||
<width>104</width>
|
||||
<height>25</height>
|
||||
</rect>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pB_BufTm">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>396</x>
|
||||
<y>244</y>
|
||||
<width>88</width>
|
||||
<height>30</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>BufTm</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QComboBox" name="cB_Resv">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>484</x>
|
||||
<y>208</y>
|
||||
<width>104</width>
|
||||
<height>25</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lE_BufTm">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>484</x>
|
||||
<y>244</y>
|
||||
<width>104</width>
|
||||
<height>26</height>
|
||||
</rect>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pB_IntgPd">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>396</x>
|
||||
<y>280</y>
|
||||
<width>88</width>
|
||||
<height>30</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>IntgPd</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pB_PurgeBuf">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>396</x>
|
||||
<y>316</y>
|
||||
<width>88</width>
|
||||
<height>30</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>PurgeBuf</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pB_Resv">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>396</x>
|
||||
<y>208</y>
|
||||
<width>88</width>
|
||||
<height>30</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Resv</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lE_IntgPd">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>484</x>
|
||||
<y>280</y>
|
||||
<width>104</width>
|
||||
<height>26</height>
|
||||
</rect>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QWidget" name="">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>80</x>
|
||||
<y>410</y>
|
||||
<width>406</width>
|
||||
<height>32</height>
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
||||
<property name="spacing">
|
||||
<number>40</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QPushButton" name="pB_GetRcbValues">
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>GetRcbValues</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="pB_SetRcbValues">
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>SetRcbValues</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="pB_EnableRpt">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>108</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>EnableRpt</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</widget>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
@ -0,0 +1,20 @@
|
||||
/*
|
||||
* To change this license header, choose License Headers in Project Properties.
|
||||
* To change this template file, choose Tools | Templates
|
||||
* and open the template in the editor.
|
||||
*/
|
||||
|
||||
/*
|
||||
* File: dialog_sg.cpp
|
||||
* Author: shjd
|
||||
*
|
||||
* Created on 2017年12月29日, 上午9:38
|
||||
*/
|
||||
|
||||
#include "dialog_sg.h"
|
||||
dialog_sg::dialog_sg() {
|
||||
widget.setupUi(this);
|
||||
}
|
||||
|
||||
dialog_sg::~dialog_sg() {
|
||||
}
|
@ -0,0 +1,29 @@
|
||||
/*
|
||||
* To change this license header, choose License Headers in Project Properties.
|
||||
* To change this template file, choose Tools | Templates
|
||||
* and open the template in the editor.
|
||||
*/
|
||||
|
||||
/*
|
||||
* File: dialog_sg.h
|
||||
* Author: shjd
|
||||
*
|
||||
* Created on 2017年12月29日, 上午9:38
|
||||
*/
|
||||
|
||||
#ifndef _DIALOG_SG_H
|
||||
#define _DIALOG_SG_H
|
||||
|
||||
#include "ui_dialog_sg.h"
|
||||
#include <QWidget>
|
||||
|
||||
class dialog_sg : public QDialog {
|
||||
Q_OBJECT
|
||||
public:
|
||||
dialog_sg();
|
||||
virtual ~dialog_sg();
|
||||
private:
|
||||
Ui::dialog_sg widget;
|
||||
};
|
||||
|
||||
#endif /* _DIALOG_SG_H */
|
@ -0,0 +1,272 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>dialog_sg</class>
|
||||
<widget class="QDialog" name="dialog_sg">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>620</width>
|
||||
<height>380</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>定值服务</string>
|
||||
</property>
|
||||
<widget class="QGroupBox" name="groupBox">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>20</x>
|
||||
<y>0</y>
|
||||
<width>580</width>
|
||||
<height>60</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="title">
|
||||
<string>定值控制块</string>
|
||||
</property>
|
||||
<widget class="QLabel" name="label">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>10</x>
|
||||
<y>22</y>
|
||||
<width>80</width>
|
||||
<height>19</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
<kerning>false</kerning>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>定值组数目</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lE_SGNum">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>86</x>
|
||||
<y>20</y>
|
||||
<width>60</width>
|
||||
<height>26</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="label_2">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>160</x>
|
||||
<y>22</y>
|
||||
<width>80</width>
|
||||
<height>19</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
<kerning>false</kerning>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>激活定值组</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lE_ACTSGNo">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>240</x>
|
||||
<y>20</y>
|
||||
<width>60</width>
|
||||
<height>26</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="label_3">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>316</x>
|
||||
<y>22</y>
|
||||
<width>80</width>
|
||||
<height>19</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
<kerning>false</kerning>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>编辑定值组</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lE_EDITSGNo">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>396</x>
|
||||
<y>20</y>
|
||||
<width>60</width>
|
||||
<height>26</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pB_ReadSGBlock">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>470</x>
|
||||
<y>20</y>
|
||||
<width>100</width>
|
||||
<height>29</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>读定值控制块</string>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
<widget class="QGroupBox" name="groupBox_2">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>20</x>
|
||||
<y>70</y>
|
||||
<width>580</width>
|
||||
<height>300</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="title">
|
||||
<string>定值操作</string>
|
||||
</property>
|
||||
<widget class="QTableView" name="tV_SG">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>10</x>
|
||||
<y>62</y>
|
||||
<width>560</width>
|
||||
<height>222</height>
|
||||
</rect>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QWidget" name="layoutWidget">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>10</x>
|
||||
<y>20</y>
|
||||
<width>563</width>
|
||||
<height>34</height>
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||
<property name="spacing">
|
||||
<number>11</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_4">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
<kerning>false</kerning>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>操作定值组</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QComboBox" name="cB_OPSGNo"/>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="pB_CHGACTSGNo">
|
||||
<property name="text">
|
||||
<string>切换激活区</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="pB_CHGEDITSGNo">
|
||||
<property name="text">
|
||||
<string>切换编辑区</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="pB_ReadSG">
|
||||
<property name="font">
|
||||
<font>
|
||||
<weight>50</weight>
|
||||
<bold>false</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>读定值</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="pB_WriteSG">
|
||||
<property name="text">
|
||||
<string>写定值</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</widget>
|
||||
</widget>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
Binary file not shown.
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
|
||||
<GROUPIP xmlns="http://www.iec.ch/61850/2003/SCL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
|
||||
<GROUP name="TXRX34">
|
||||
<IP addr="192.168.1.102" sername="xynet_A_TXRX34"/>
|
||||
</GROUP>
|
||||
|
||||
<GROUP name="TIED1">
|
||||
<IP addr="192.168.115.241" sername="xynet_A_TIED1"/>
|
||||
</GROUP>
|
||||
|
||||
<GROUP name="TIED2">
|
||||
<IP addr="192.168.1.202" sername="xynet_A_TIED2"/>
|
||||
</GROUP>
|
||||
|
||||
</GROUPIP>
|
Binary file not shown.
@ -0,0 +1,102 @@
|
||||
/*
|
||||
* To change this license header, choose License Headers in Project Properties.
|
||||
* To change this template file, choose Tools | Templates
|
||||
* and open the template in the editor.
|
||||
*/
|
||||
|
||||
/*
|
||||
* File: ConnectionPool.h
|
||||
* Author: shjd
|
||||
*
|
||||
* Created on 2018年3月30日, 上午10:09
|
||||
*/
|
||||
|
||||
#ifndef CONNECTIONPOOL_H
|
||||
#define CONNECTIONPOOL_H
|
||||
#include <QtSql>
|
||||
#include <QQueue>
|
||||
#include <QString>
|
||||
#include <QMutex>
|
||||
#include <QMutexLocker>
|
||||
#include <QSettings>//配置文件
|
||||
|
||||
class ConnectionPool {
|
||||
public:
|
||||
static void release(); // 关闭所有的数据库连接
|
||||
static QSqlDatabase openConnection(); // 获取数据库连接
|
||||
static void closeConnection(QSqlDatabase connection); // 释放数据库连接回连接池
|
||||
static QString getlfp(); //获取本地文件路径
|
||||
static QString getrfp(); //获取远端文件路径
|
||||
static QString getcomtradftpip();
|
||||
static QString getcomtradftpuid();
|
||||
static QString getcomtradftppsw();
|
||||
static QString getcomtradfilepath();
|
||||
static int getcomtradftpport();
|
||||
static int gettempmeasureinterval();
|
||||
static int getsf6interval();
|
||||
static int getpdinterval();
|
||||
static int getmicroweatherinterval();
|
||||
static int getironcoreinterval();
|
||||
static int getmoainterval();
|
||||
static int getyspinterval();
|
||||
static int getyspinterval1();
|
||||
static int getyspinterval2();
|
||||
static int getjyinterval();
|
||||
static int getscurinterval();
|
||||
static int getdlginterval();
|
||||
static int getjdwinterval();
|
||||
~ConnectionPool();
|
||||
private:
|
||||
static ConnectionPool& getInstance();
|
||||
|
||||
ConnectionPool();
|
||||
ConnectionPool(const ConnectionPool &other);
|
||||
ConnectionPool& operator=(const ConnectionPool &other);
|
||||
QSqlDatabase createConnection(const QString &connectionName); // 创建数据库连接
|
||||
|
||||
QQueue<QString> usedConnectionNames; // 已使用的数据库连接名
|
||||
QQueue<QString> unusedConnectionNames; // 未使用的数据库连接名
|
||||
|
||||
// 配置信息
|
||||
QString hostName;
|
||||
QString databaseName;
|
||||
QString username;
|
||||
QString password;
|
||||
QString databaseType;
|
||||
int port;
|
||||
QString localfilepath;
|
||||
QString remotefilepath;
|
||||
QString comtradftpip;
|
||||
QString comtradftpuid;
|
||||
QString comtradftppsw;
|
||||
QString comtradfilepath;
|
||||
int comtradftpport;
|
||||
int tempmeasureinterval;
|
||||
int sf6interval;
|
||||
int pdinterval;
|
||||
int microweatherinterval;
|
||||
int ironcoreinterval;
|
||||
int moainterval;
|
||||
int yspinterval;
|
||||
int yspinterval1;//油色谱(无载气)
|
||||
int yspinterval2;//油色谱(混合气体)
|
||||
int jyinterval;
|
||||
int scurinterval;
|
||||
int dlginterval;//电缆沟
|
||||
int jdwinterval;//接地網
|
||||
|
||||
bool testOnBorrow; // 取得连接的时候验证连接是否有效
|
||||
QString testOnBorrowSql; // 测试访问数据库的 SQL
|
||||
|
||||
int maxWaitTime; // 获取连接最大等待时间
|
||||
int waitInterval; // 尝试获取连接时等待间隔时间
|
||||
int maxConnectionCount; // 最大连接数
|
||||
|
||||
static QMutex mutex;
|
||||
static QWaitCondition waitConnection;
|
||||
static ConnectionPool *instance;
|
||||
|
||||
};
|
||||
|
||||
#endif /* CONNECTIONPOOL_H */
|
||||
|
@ -0,0 +1,71 @@
|
||||
/*
|
||||
* To change this license header, choose License Headers in Project Properties.
|
||||
* To change this template file, choose Tools | Templates
|
||||
* and open the template in the editor.
|
||||
*/
|
||||
|
||||
/*
|
||||
* File: DataDeal.h
|
||||
* Author: shjd
|
||||
*
|
||||
* Created on 2018年3月29日, 上午9:38
|
||||
*/
|
||||
|
||||
#ifndef DATADEAL_H
|
||||
#define DATADEAL_H
|
||||
#include <QThread>
|
||||
#include <QDebug>
|
||||
#include <QtCore>
|
||||
#include <QSqlDatabase>
|
||||
#include "glbtypes.h"
|
||||
#include "ai_objid.h"
|
||||
#include "ac_file.h"
|
||||
|
||||
|
||||
class DataDeal : public QThread {
|
||||
public:
|
||||
bool isloop;
|
||||
QDateTime lstRptEnaCKTime;
|
||||
QString localfilepath;
|
||||
QString remotefilepath;
|
||||
QStringList filelst;
|
||||
QStringList downfilelst;
|
||||
QStringList srvdownstatelst;
|
||||
DataDeal();
|
||||
void GetIedState();
|
||||
void CheckRptEnaState();
|
||||
void CheckRptEnaState(int srvindex);
|
||||
void GetLD(QString rptparamindex,QString tbname,QString colname,int eqmid,QSqlDatabase db);
|
||||
QString GetDS(AI_IED_CTRL *ied, AI_OBJ_ID dom_id,ST_INT srv_id,QString paramindex);
|
||||
QString LoadDS(ST_INT srv_id, AI_OBJ_ID ob_id,QString paramindex);
|
||||
virtual ~DataDeal();
|
||||
void getfilelist(ST_INT srv_id,QString localfilepath,QString remotefilepath);
|
||||
void fileupload(ST_INT srv_id,QString localfilepath,ST_CHAR *filename);
|
||||
void FileListParse(ST_INT srv_id,AC_GETFAV_REQ_CTRL *getfav);
|
||||
void GetSrvFile();
|
||||
private:
|
||||
QString comtradfilepath;
|
||||
int tempmeasureinterval;
|
||||
int sf6interval;
|
||||
int pdinterval;
|
||||
int microweatherinterval;
|
||||
int ironcoreinterval;
|
||||
int moainterval;
|
||||
int yspinterval;
|
||||
int yspinterval1;
|
||||
int yspinterval2;
|
||||
int jyinterval;
|
||||
int scurinterval;
|
||||
int dlginterval;
|
||||
int jdwinterval;
|
||||
|
||||
bool UpdateInsertTable(QString tbname,QString colname,QDateTime dtime,float dvalue,int eqmid,QSqlDatabase db);
|
||||
void UpdateInsertFile(QString filename,int srvid,QString filepreno,QDateTime filetime,int isup);
|
||||
protected:
|
||||
void run();
|
||||
void GetFileLstFromDB(); //从数据库读取谱图文件记录信息
|
||||
void PutFileToFtp(); //从数据库读取谱图文件记录信息
|
||||
};
|
||||
|
||||
#endif /* DATADEAL_H */
|
||||
|
@ -0,0 +1,50 @@
|
||||
#ifndef ACTIVATION_CODE_H
|
||||
#define ACTIVATION_CODE_H
|
||||
|
||||
|
||||
#include "singleton.h"
|
||||
#include <string>
|
||||
|
||||
class ActivationCode : public Singleton<ActivationCode>
|
||||
{
|
||||
public:
|
||||
const std::string & eigen_value() const;
|
||||
const std::string & activation_code_lhs() const;
|
||||
|
||||
public:
|
||||
bool check(const std::string & terminal_number);
|
||||
bool store(const std::string & terminal_number, const std::string & activation_code);
|
||||
|
||||
public:
|
||||
void calc(
|
||||
const std::string & terminal_number,
|
||||
const std::string & eigen_value,
|
||||
std::string & activation_code
|
||||
);
|
||||
void calc(
|
||||
const std::string & terminal_number,
|
||||
const std::string & eigen_value,
|
||||
std::string & activation_code,
|
||||
const int & days_to_live
|
||||
);
|
||||
int get_life(const std::string& activation_code);
|
||||
|
||||
private:
|
||||
ActivationCode();
|
||||
~ActivationCode();
|
||||
|
||||
private:
|
||||
ActivationCode(const ActivationCode &);
|
||||
ActivationCode & operator = (const ActivationCode &);
|
||||
|
||||
private:
|
||||
friend class Singleton<ActivationCode>;
|
||||
|
||||
private:
|
||||
std::string m_eigen_value;
|
||||
std::string m_activation_code_lhs;
|
||||
};
|
||||
|
||||
|
||||
#endif // ACTIVATION_CODE_H
|
||||
|
@ -0,0 +1,25 @@
|
||||
#ifndef CALC_ACTIVATION_CODE_H
|
||||
#define CALC_ACTIVATION_CODE_H
|
||||
|
||||
|
||||
#include <string>
|
||||
|
||||
extern void calc_activation_code(
|
||||
const std::string & terminal_number,
|
||||
const std::string & eigen_value,
|
||||
std::string & activation_code
|
||||
);
|
||||
|
||||
|
||||
extern void calc_life(
|
||||
const int& life,
|
||||
unsigned char* encrypted_life
|
||||
);
|
||||
|
||||
extern void decode_life(
|
||||
unsigned char* data,
|
||||
unsigned char* result);
|
||||
|
||||
|
||||
#endif // CALC_ACTIVATION_CODE_H
|
||||
|
@ -0,0 +1,20 @@
|
||||
//callback.h
|
||||
#ifndef CLIENT_CMD_CALLBACK_INC
|
||||
#define CLIENT_CMD_CALLBACK_INC
|
||||
|
||||
#include "sysincs.h"
|
||||
#include "glbtypes.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
extern ST_VOID *dp;
|
||||
ST_VOID set_callback_function();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* CLIENT_CMD_CALLBACK_INC */
|
||||
|
@ -0,0 +1,14 @@
|
||||
#ifndef VIEWAT_CRYPT_H
|
||||
#define VIEWAT_CRYPT_H
|
||||
|
||||
|
||||
#include <cstddef>
|
||||
|
||||
extern bool encrypt_data_key_16(unsigned char * data, size_t data_len, const unsigned char * key_16_bytes);
|
||||
extern bool decrypt_data_key_16(unsigned char * data, size_t data_len, const unsigned char * key_16_bytes);
|
||||
extern bool encrypt_data_key_24(unsigned char * data, size_t data_len, const unsigned char * key_24_bytes);
|
||||
extern bool decrypt_data_key_24(unsigned char * data, size_t data_len, const unsigned char * key_24_bytes);
|
||||
|
||||
|
||||
#endif // VIEWAT_CRYPT_H
|
||||
|
@ -0,0 +1,18 @@
|
||||
#ifndef VIEWAT_DES_H
|
||||
#define VIEWAT_DES_H
|
||||
|
||||
|
||||
#define ENCRYPT 1 /* MODE == encrypt */
|
||||
#define DECRYPT 0 /* MODE == decrypt */
|
||||
|
||||
void Lib_Des(unsigned char * input, unsigned char * output, unsigned char * key, int mode);
|
||||
void Lib_Des16(unsigned char * input, unsigned char * output, unsigned char * deskey, int mode);
|
||||
void Lib_Des24(unsigned char * input, unsigned char * output, unsigned char * deskey, int mode);
|
||||
void Lib_DES(unsigned char * dat, unsigned char * key, int mode);
|
||||
void Lib_DES3_16(unsigned char * dat, unsigned char * key, int mode);
|
||||
void Lib_DES3_24(unsigned char * dat, unsigned char * key, int mode);
|
||||
void Des(unsigned char * input, unsigned char * output, unsigned char * deskey, int mode);
|
||||
|
||||
|
||||
#endif // VIEWAT_DES_H
|
||||
|
@ -0,0 +1,22 @@
|
||||
//dlunix.h
|
||||
#ifndef CLIENT_CMD_DLUNIX_INC
|
||||
#define CLIENT_CMD_DLUNIX_INC
|
||||
|
||||
|
||||
#include "glbtypes.h"
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#define SOFILE "./libcosmos.so"
|
||||
|
||||
ST_VOID * open_cosmos_dl();
|
||||
ST_VOID close_cosmos_dl(ST_VOID *dp);
|
||||
ST_VOID * get_fun_ad(ST_VOID *dp_handle, ST_CHAR *fun_name);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* CLIENT_CMD_SERVICE_INC */
|
@ -0,0 +1,15 @@
|
||||
#ifndef GET_SYSTEM_DEVICE_INFORMATION_H
|
||||
#define GET_SYSTEM_DEVICE_INFORMATION_H
|
||||
|
||||
|
||||
#include <string>
|
||||
|
||||
extern bool get_cpu_id(std::string & cpu_id);
|
||||
extern bool get_mac_address(std::string & mac_address);
|
||||
extern bool get_disk_serial_number(std::string & disk_serial);
|
||||
extern bool get_board_serial_number(std::string & board_serial);
|
||||
extern void get_device_info(std::string & device_info);
|
||||
|
||||
|
||||
#endif // GET_SYSTEM_DEVICE_INFORMATION_H
|
||||
|
@ -0,0 +1,11 @@
|
||||
#ifndef GET_SYSTEM_EIGEN_VALUE_H
|
||||
#define GET_SYSTEM_EIGEN_VALUE_H
|
||||
|
||||
|
||||
#include <string>
|
||||
|
||||
extern void get_eigen_value(std::string & eigen_value);
|
||||
|
||||
|
||||
#endif // GET_SYSTEM_EIGEN_VALUE_H
|
||||
|
@ -0,0 +1,117 @@
|
||||
#ifndef GUI_SRV_H
|
||||
#define GUI_SRV_H
|
||||
|
||||
#include <QtGui/QMainWindow>
|
||||
#include "ui_gui_srv.h"
|
||||
#include "glbtypes.h"
|
||||
#include "mvl_defs.h"
|
||||
#include "ai_objid.h"
|
||||
#include "ac_rpt.h"
|
||||
#include "ac_reqm.h"
|
||||
//#include "sysincs.h"
|
||||
//#include "as_ctrl.h"
|
||||
//#include "usermap.h"
|
||||
//#include "as_sg.h"
|
||||
#include <QStandardItem>
|
||||
#include <QStandardItemModel>
|
||||
#include <QStringList>
|
||||
//#include "dialog_state.h"
|
||||
//#include "dialog_sg.h"
|
||||
//#include "dialog_ctrl.h"
|
||||
#include <QModelIndex>
|
||||
#include <QMenu>
|
||||
#include <QAction>
|
||||
#include "dialog_rcb.h"
|
||||
#include "FtpCLient.h"
|
||||
class gui_srv : public QMainWindow
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
gui_srv(QWidget *parent = 0, Qt::WFlags flags = 0);
|
||||
~gui_srv();
|
||||
QStandardItemModel *model;
|
||||
QStandardItemModel *tbmodel;
|
||||
void out_put(ST_CHAR* );
|
||||
void tb_recreatecolumn();
|
||||
void tb_recreatecolumn_data();
|
||||
void init_fun();
|
||||
void InsertLD(ST_INT srv_id,QStandardItem *item_srv);
|
||||
void InsertLN(AI_IED_CTRL *ied,AI_OBJ_ID dom_id,QStandardItem *item_ld_name,ST_INT srv_id);
|
||||
void InsertDS(AI_IED_CTRL *ied,AI_OBJ_ID dom_id,QStandardItem *item_ld_name,ST_INT srv_id);
|
||||
void InsertFC(AI_IED_CTRL *ied,AI_OBJ_ID dom_id,QStandardItem *item_ld_name,ST_INT srv_id);
|
||||
void InsertVA(AI_IED_CTRL *ied,AI_OBJ_ID dom_id,QStandardItem *item_ld_name,ST_INT srv_id);
|
||||
void LoadDS(ST_INT srv_id, AI_OBJ_ID obj_id);
|
||||
void LoadLD(ST_INT srv_id, AI_OBJ_ID obj_id);
|
||||
void LoadLN(ST_INT srv_id, AI_OBJ_ID obj_id);
|
||||
void LoadFC(ST_INT srv_id, AI_OBJ_ID obj_id);
|
||||
void LoadVA(ST_INT srv_id, AI_OBJ_ID obj_id);
|
||||
void LoadSubVA(ST_INT srv_id, AI_OBJ_ID obj_id);
|
||||
void SetServerIcon(ST_INT srv_id, bool srvstate);
|
||||
ST_VOID _on_connectedToChnl(ST_INT srv_id, AC_CHANNEL chnl);
|
||||
ST_VOID _on_disconnectedToChnl(ST_INT srv_id, AC_CHANNEL chnl);
|
||||
ST_VOID _on_recv_report(VISIBLE_STRING65_TDEF RptID, ST_INT obj_num,
|
||||
AI_OBJ_VAL *obj_val, ST_BOOLEAN *val_chgs,
|
||||
AC_REPORT_REASON *reasons, ST_INT srv_id);
|
||||
ST_VOID _on_read_req(AC_REQ_CTRL *req_ctrl) ;
|
||||
ST_VOID _on_dir_req(AC_REQ_CTRL *req_ctrl);
|
||||
QString dbfilepath;
|
||||
FtpCLient ftpcli;
|
||||
void ftp_filetran(QString sor,QString dev,int trantype);
|
||||
public slots:
|
||||
void print_log(QString);
|
||||
private:
|
||||
Ui::gui_srvClass ui;
|
||||
QWidget *widget;
|
||||
QMenu *tmenu;
|
||||
ST_INT srv_id_s;
|
||||
AI_OBJ_ID obj_id_s;
|
||||
QAction *act_read;
|
||||
QAction *act_write;
|
||||
QAction *act_directory;
|
||||
QAction *act_report;
|
||||
QAction *act_log;
|
||||
QAction *act_control;
|
||||
QAction *act_fixedValue;
|
||||
QAction *act_connA;
|
||||
QAction *act_connB;
|
||||
void createActions();
|
||||
void createMenus();
|
||||
void setconnA(bool conn);
|
||||
void setconnB(bool conn);
|
||||
void SetControlState(QStringList controllst);
|
||||
|
||||
private slots:
|
||||
void on_action_clear_triggered();
|
||||
void on_action_exit_triggered();
|
||||
void on_action_sg_triggered();
|
||||
void on_action_ctrl_triggered();
|
||||
void on_action_refresh_triggered();
|
||||
void on_action_filetran_triggered();
|
||||
void on_action_paramtodb_triggered();
|
||||
void on_action_clearparam_triggered();
|
||||
//void on_action_exportparamindex_triggered();
|
||||
void t_connectedToChnl(ST_INT srv_id, AC_CHANNEL chnl);
|
||||
void t_disconnectedToChnl(ST_INT srv_id, AC_CHANNEL chnl);
|
||||
void ShowContextMenu(const QPoint& pos);
|
||||
void treeViewclicked(QModelIndex qmindex);
|
||||
void act_read_clicked();
|
||||
void act_write_clicked();
|
||||
void act_directory_clicked();
|
||||
void act_report_clicked();
|
||||
void act_log_clicked();
|
||||
void act_control_clicked();
|
||||
void act_fixedValue_clicked();
|
||||
void act_connA_clicked();
|
||||
void act_connB_clicked();
|
||||
void test();
|
||||
void t_ftp_filetran(QString sor,QString dev,int trantype);
|
||||
|
||||
signals:
|
||||
void out_put_signal(QString);
|
||||
void s_connectedToChnl(ST_INT , AC_CHANNEL);
|
||||
void s_disconnectedToChnl(ST_INT, AC_CHANNEL);
|
||||
void s_ftp_filetran(QString,QString,int);
|
||||
};
|
||||
|
||||
#endif // GUI_SRV_H
|
@ -0,0 +1,11 @@
|
||||
#ifndef READ_ACTIVATION_CODE_H
|
||||
#define READ_ACTIVATION_CODE_H
|
||||
|
||||
|
||||
#include <string>
|
||||
|
||||
extern bool read_activation_code(const std::string & file_name, std::string & activation_code);
|
||||
|
||||
|
||||
#endif // READ_ACTIVATION_CODE_H
|
||||
|
@ -0,0 +1,11 @@
|
||||
#ifndef SAVE_ACTIVATION_CODE_H
|
||||
#define SAVE_ACTIVATION_CODE_H
|
||||
|
||||
|
||||
#include <string>
|
||||
|
||||
extern bool save_activation_code(const std::string & file_name, const std::string & activation_code);
|
||||
|
||||
|
||||
#endif // SAVE_ACTIVATION_CODE_H
|
||||
|
@ -0,0 +1,21 @@
|
||||
//service.h
|
||||
#ifndef CLIENT_CMD_SERVICE_INC
|
||||
#define CLIENT_CMD_SERVICE_INC
|
||||
|
||||
#include "sysincs.h"
|
||||
#include "glbtypes.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern ST_VOID *dp;
|
||||
ST_VOID service_loop();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* CLIENT_CMD_SERVICE_INC */
|
||||
|
@ -0,0 +1,34 @@
|
||||
#ifndef BOOST_SINGLETON_H
|
||||
#define BOOST_SINGLETON_H
|
||||
|
||||
|
||||
template <typename T>
|
||||
class Singleton
|
||||
{
|
||||
public:
|
||||
static T & instance()
|
||||
{
|
||||
static T obj;
|
||||
creator.do_nothing();
|
||||
return obj;
|
||||
}
|
||||
|
||||
private:
|
||||
struct object_creator
|
||||
{
|
||||
object_creator()
|
||||
{
|
||||
Singleton<T>::instance();
|
||||
}
|
||||
|
||||
inline void do_nothing() const { }
|
||||
};
|
||||
|
||||
static object_creator creator;
|
||||
};
|
||||
|
||||
template <typename T> typename Singleton<T>::object_creator Singleton<T>::creator;
|
||||
|
||||
|
||||
#endif // BOOST_SINGLETON_H
|
||||
|
@ -0,0 +1,120 @@
|
||||
/********************************************************************************
|
||||
** Form generated from reading ui file 'dialog_ctrl.ui'
|
||||
**
|
||||
** Created: Sat Feb 26 19:14:29 2011
|
||||
** by: Qt User Interface Compiler version 4.4.0
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost when recompiling ui file!
|
||||
********************************************************************************/
|
||||
|
||||
#ifndef UI_DIALOG_CTRL_H
|
||||
#define UI_DIALOG_CTRL_H
|
||||
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtGui/QAction>
|
||||
#include <QtGui/QApplication>
|
||||
#include <QtGui/QButtonGroup>
|
||||
#include <QtGui/QDialog>
|
||||
#include <QtGui/QGridLayout>
|
||||
#include <QtGui/QHBoxLayout>
|
||||
#include <QtGui/QPushButton>
|
||||
#include <QtGui/QSpacerItem>
|
||||
#include <QtGui/QTableView>
|
||||
#include <QtGui/QVBoxLayout>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
class Ui_Dialog_ctrl
|
||||
{
|
||||
public:
|
||||
QGridLayout *gridLayout;
|
||||
QVBoxLayout *vboxLayout;
|
||||
QTableView *tableView;
|
||||
QHBoxLayout *hboxLayout;
|
||||
QSpacerItem *spacerItem;
|
||||
QHBoxLayout *hboxLayout1;
|
||||
QPushButton *pushButton_ok;
|
||||
QPushButton *pushButton_cancel;
|
||||
|
||||
void setupUi(QDialog *Dialog_ctrl)
|
||||
{
|
||||
if (Dialog_ctrl->objectName().isEmpty())
|
||||
Dialog_ctrl->setObjectName(QString::fromUtf8("Dialog_ctrl"));
|
||||
Dialog_ctrl->resize(400, 300);
|
||||
gridLayout = new QGridLayout(Dialog_ctrl);
|
||||
gridLayout->setSpacing(1);
|
||||
gridLayout->setMargin(1);
|
||||
gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
|
||||
vboxLayout = new QVBoxLayout();
|
||||
#ifndef Q_OS_MAC
|
||||
vboxLayout->setSpacing(6);
|
||||
#endif
|
||||
#ifndef Q_OS_MAC
|
||||
vboxLayout->setMargin(0);
|
||||
#endif
|
||||
vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
|
||||
tableView = new QTableView(Dialog_ctrl);
|
||||
tableView->setObjectName(QString::fromUtf8("tableView"));
|
||||
|
||||
vboxLayout->addWidget(tableView);
|
||||
|
||||
hboxLayout = new QHBoxLayout();
|
||||
#ifndef Q_OS_MAC
|
||||
hboxLayout->setSpacing(6);
|
||||
#endif
|
||||
hboxLayout->setMargin(0);
|
||||
hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
|
||||
spacerItem = new QSpacerItem(171, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
|
||||
|
||||
hboxLayout->addItem(spacerItem);
|
||||
|
||||
hboxLayout1 = new QHBoxLayout();
|
||||
#ifndef Q_OS_MAC
|
||||
hboxLayout1->setSpacing(6);
|
||||
#endif
|
||||
#ifndef Q_OS_MAC
|
||||
hboxLayout1->setMargin(0);
|
||||
#endif
|
||||
hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
|
||||
pushButton_ok = new QPushButton(Dialog_ctrl);
|
||||
pushButton_ok->setObjectName(QString::fromUtf8("pushButton_ok"));
|
||||
|
||||
hboxLayout1->addWidget(pushButton_ok);
|
||||
|
||||
pushButton_cancel = new QPushButton(Dialog_ctrl);
|
||||
pushButton_cancel->setObjectName(QString::fromUtf8("pushButton_cancel"));
|
||||
|
||||
hboxLayout1->addWidget(pushButton_cancel);
|
||||
|
||||
|
||||
hboxLayout->addLayout(hboxLayout1);
|
||||
|
||||
|
||||
vboxLayout->addLayout(hboxLayout);
|
||||
|
||||
|
||||
gridLayout->addLayout(vboxLayout, 0, 0, 1, 1);
|
||||
|
||||
|
||||
retranslateUi(Dialog_ctrl);
|
||||
|
||||
QMetaObject::connectSlotsByName(Dialog_ctrl);
|
||||
} // setupUi
|
||||
|
||||
void retranslateUi(QDialog *Dialog_ctrl)
|
||||
{
|
||||
Dialog_ctrl->setWindowTitle(QApplication::translate("Dialog_ctrl", "\346\216\247\345\210\266\350\256\276\347\275\256", 0, QApplication::UnicodeUTF8));
|
||||
pushButton_ok->setText(QApplication::translate("Dialog_ctrl", "\347\241\256\345\256\232", 0, QApplication::UnicodeUTF8));
|
||||
pushButton_cancel->setText(QApplication::translate("Dialog_ctrl", "\345\217\226\346\266\210", 0, QApplication::UnicodeUTF8));
|
||||
Q_UNUSED(Dialog_ctrl);
|
||||
} // retranslateUi
|
||||
|
||||
};
|
||||
|
||||
namespace Ui {
|
||||
class Dialog_ctrl: public Ui_Dialog_ctrl {};
|
||||
} // namespace Ui
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // UI_DIALOG_CTRL_H
|
@ -0,0 +1,272 @@
|
||||
/********************************************************************************
|
||||
** Form generated from reading ui file 'dialog_sg.ui'
|
||||
**
|
||||
** Created: Sat Feb 26 19:14:28 2011
|
||||
** by: Qt User Interface Compiler version 4.4.0
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost when recompiling ui file!
|
||||
********************************************************************************/
|
||||
|
||||
#ifndef UI_DIALOG_SG_H
|
||||
#define UI_DIALOG_SG_H
|
||||
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtGui/QAction>
|
||||
#include <QtGui/QApplication>
|
||||
#include <QtGui/QButtonGroup>
|
||||
#include <QtGui/QComboBox>
|
||||
#include <QtGui/QDialog>
|
||||
#include <QtGui/QGridLayout>
|
||||
#include <QtGui/QGroupBox>
|
||||
#include <QtGui/QHBoxLayout>
|
||||
#include <QtGui/QLabel>
|
||||
#include <QtGui/QPushButton>
|
||||
#include <QtGui/QSpacerItem>
|
||||
#include <QtGui/QTableView>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
class Ui_DialogSG
|
||||
{
|
||||
public:
|
||||
QGridLayout *gridLayout;
|
||||
QGroupBox *groupBox_2;
|
||||
QGridLayout *gridLayout1;
|
||||
QHBoxLayout *hboxLayout;
|
||||
QLabel *label;
|
||||
QComboBox *comboBox_LD;
|
||||
QLabel *label_2;
|
||||
QComboBox *comboBox_SGNum;
|
||||
QLabel *label_6;
|
||||
QComboBox *comboBox_actSG;
|
||||
QSpacerItem *spacerItem;
|
||||
QTableView *tableView;
|
||||
QHBoxLayout *hboxLayout1;
|
||||
QSpacerItem *spacerItem1;
|
||||
QPushButton *pushButton_OK;
|
||||
QGroupBox *groupBox;
|
||||
QGridLayout *gridLayout2;
|
||||
QHBoxLayout *hboxLayout2;
|
||||
QLabel *label_3;
|
||||
QComboBox *comboBox_readRT;
|
||||
QLabel *label_4;
|
||||
QComboBox *comboBox_writeRT;
|
||||
QLabel *label_5;
|
||||
QComboBox *comboBox_changeRT;
|
||||
QSpacerItem *spacerItem2;
|
||||
|
||||
void setupUi(QDialog *DialogSG)
|
||||
{
|
||||
if (DialogSG->objectName().isEmpty())
|
||||
DialogSG->setObjectName(QString::fromUtf8("DialogSG"));
|
||||
DialogSG->resize(537, 363);
|
||||
gridLayout = new QGridLayout(DialogSG);
|
||||
#ifndef Q_OS_MAC
|
||||
gridLayout->setSpacing(6);
|
||||
#endif
|
||||
#ifndef Q_OS_MAC
|
||||
gridLayout->setMargin(9);
|
||||
#endif
|
||||
gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
|
||||
groupBox_2 = new QGroupBox(DialogSG);
|
||||
groupBox_2->setObjectName(QString::fromUtf8("groupBox_2"));
|
||||
gridLayout1 = new QGridLayout(groupBox_2);
|
||||
#ifndef Q_OS_MAC
|
||||
gridLayout1->setSpacing(6);
|
||||
#endif
|
||||
#ifndef Q_OS_MAC
|
||||
gridLayout1->setMargin(9);
|
||||
#endif
|
||||
gridLayout1->setObjectName(QString::fromUtf8("gridLayout1"));
|
||||
hboxLayout = new QHBoxLayout();
|
||||
#ifndef Q_OS_MAC
|
||||
hboxLayout->setSpacing(6);
|
||||
#endif
|
||||
#ifndef Q_OS_MAC
|
||||
hboxLayout->setMargin(0);
|
||||
#endif
|
||||
hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
|
||||
label = new QLabel(groupBox_2);
|
||||
label->setObjectName(QString::fromUtf8("label"));
|
||||
label->setLayoutDirection(Qt::LeftToRight);
|
||||
|
||||
hboxLayout->addWidget(label);
|
||||
|
||||
comboBox_LD = new QComboBox(groupBox_2);
|
||||
comboBox_LD->setObjectName(QString::fromUtf8("comboBox_LD"));
|
||||
|
||||
hboxLayout->addWidget(comboBox_LD);
|
||||
|
||||
label_2 = new QLabel(groupBox_2);
|
||||
label_2->setObjectName(QString::fromUtf8("label_2"));
|
||||
label_2->setLayoutDirection(Qt::LeftToRight);
|
||||
|
||||
hboxLayout->addWidget(label_2);
|
||||
|
||||
comboBox_SGNum = new QComboBox(groupBox_2);
|
||||
comboBox_SGNum->setObjectName(QString::fromUtf8("comboBox_SGNum"));
|
||||
|
||||
hboxLayout->addWidget(comboBox_SGNum);
|
||||
|
||||
label_6 = new QLabel(groupBox_2);
|
||||
label_6->setObjectName(QString::fromUtf8("label_6"));
|
||||
label_6->setLayoutDirection(Qt::LeftToRight);
|
||||
|
||||
hboxLayout->addWidget(label_6);
|
||||
|
||||
comboBox_actSG = new QComboBox(groupBox_2);
|
||||
comboBox_actSG->setObjectName(QString::fromUtf8("comboBox_actSG"));
|
||||
|
||||
hboxLayout->addWidget(comboBox_actSG);
|
||||
|
||||
spacerItem = new QSpacerItem(101, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
|
||||
|
||||
hboxLayout->addItem(spacerItem);
|
||||
|
||||
|
||||
gridLayout1->addLayout(hboxLayout, 0, 0, 1, 1);
|
||||
|
||||
tableView = new QTableView(groupBox_2);
|
||||
tableView->setObjectName(QString::fromUtf8("tableView"));
|
||||
|
||||
gridLayout1->addWidget(tableView, 1, 0, 1, 1);
|
||||
|
||||
|
||||
gridLayout->addWidget(groupBox_2, 1, 0, 1, 1);
|
||||
|
||||
hboxLayout1 = new QHBoxLayout();
|
||||
#ifndef Q_OS_MAC
|
||||
hboxLayout1->setSpacing(6);
|
||||
#endif
|
||||
hboxLayout1->setMargin(0);
|
||||
hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
|
||||
spacerItem1 = new QSpacerItem(411, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
|
||||
|
||||
hboxLayout1->addItem(spacerItem1);
|
||||
|
||||
pushButton_OK = new QPushButton(DialogSG);
|
||||
pushButton_OK->setObjectName(QString::fromUtf8("pushButton_OK"));
|
||||
|
||||
hboxLayout1->addWidget(pushButton_OK);
|
||||
|
||||
|
||||
gridLayout->addLayout(hboxLayout1, 2, 0, 1, 1);
|
||||
|
||||
groupBox = new QGroupBox(DialogSG);
|
||||
groupBox->setObjectName(QString::fromUtf8("groupBox"));
|
||||
gridLayout2 = new QGridLayout(groupBox);
|
||||
#ifndef Q_OS_MAC
|
||||
gridLayout2->setSpacing(6);
|
||||
#endif
|
||||
#ifndef Q_OS_MAC
|
||||
gridLayout2->setMargin(9);
|
||||
#endif
|
||||
gridLayout2->setObjectName(QString::fromUtf8("gridLayout2"));
|
||||
hboxLayout2 = new QHBoxLayout();
|
||||
#ifndef Q_OS_MAC
|
||||
hboxLayout2->setSpacing(6);
|
||||
#endif
|
||||
#ifndef Q_OS_MAC
|
||||
hboxLayout2->setMargin(0);
|
||||
#endif
|
||||
hboxLayout2->setObjectName(QString::fromUtf8("hboxLayout2"));
|
||||
label_3 = new QLabel(groupBox);
|
||||
label_3->setObjectName(QString::fromUtf8("label_3"));
|
||||
label_3->setLayoutDirection(Qt::LeftToRight);
|
||||
|
||||
hboxLayout2->addWidget(label_3);
|
||||
|
||||
comboBox_readRT = new QComboBox(groupBox);
|
||||
comboBox_readRT->setObjectName(QString::fromUtf8("comboBox_readRT"));
|
||||
comboBox_readRT->setMinimumSize(QSize(70, 0));
|
||||
comboBox_readRT->setBaseSize(QSize(0, 0));
|
||||
|
||||
hboxLayout2->addWidget(comboBox_readRT);
|
||||
|
||||
label_4 = new QLabel(groupBox);
|
||||
label_4->setObjectName(QString::fromUtf8("label_4"));
|
||||
label_4->setLayoutDirection(Qt::LeftToRight);
|
||||
|
||||
hboxLayout2->addWidget(label_4);
|
||||
|
||||
comboBox_writeRT = new QComboBox(groupBox);
|
||||
comboBox_writeRT->setObjectName(QString::fromUtf8("comboBox_writeRT"));
|
||||
QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(5), static_cast<QSizePolicy::Policy>(0));
|
||||
sizePolicy.setHorizontalStretch(0);
|
||||
sizePolicy.setVerticalStretch(0);
|
||||
sizePolicy.setHeightForWidth(comboBox_writeRT->sizePolicy().hasHeightForWidth());
|
||||
comboBox_writeRT->setSizePolicy(sizePolicy);
|
||||
comboBox_writeRT->setMinimumSize(QSize(70, 0));
|
||||
|
||||
hboxLayout2->addWidget(comboBox_writeRT);
|
||||
|
||||
label_5 = new QLabel(groupBox);
|
||||
label_5->setObjectName(QString::fromUtf8("label_5"));
|
||||
label_5->setLayoutDirection(Qt::LeftToRight);
|
||||
|
||||
hboxLayout2->addWidget(label_5);
|
||||
|
||||
comboBox_changeRT = new QComboBox(groupBox);
|
||||
comboBox_changeRT->setObjectName(QString::fromUtf8("comboBox_changeRT"));
|
||||
sizePolicy.setHeightForWidth(comboBox_changeRT->sizePolicy().hasHeightForWidth());
|
||||
comboBox_changeRT->setSizePolicy(sizePolicy);
|
||||
comboBox_changeRT->setMinimumSize(QSize(70, 0));
|
||||
comboBox_changeRT->setLayoutDirection(Qt::LeftToRight);
|
||||
|
||||
hboxLayout2->addWidget(comboBox_changeRT);
|
||||
|
||||
spacerItem2 = new QSpacerItem(101, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
|
||||
|
||||
hboxLayout2->addItem(spacerItem2);
|
||||
|
||||
|
||||
gridLayout2->addLayout(hboxLayout2, 0, 0, 1, 1);
|
||||
|
||||
|
||||
gridLayout->addWidget(groupBox, 0, 0, 1, 1);
|
||||
|
||||
|
||||
retranslateUi(DialogSG);
|
||||
|
||||
QMetaObject::connectSlotsByName(DialogSG);
|
||||
} // setupUi
|
||||
|
||||
void retranslateUi(QDialog *DialogSG)
|
||||
{
|
||||
DialogSG->setWindowTitle(QApplication::translate("DialogSG", "\345\256\232\345\200\274\346\234\215\345\212\241", 0, QApplication::UnicodeUTF8));
|
||||
groupBox_2->setTitle(QApplication::translate("DialogSG", "\345\256\232\345\200\274\346\223\215\344\275\234", 0, QApplication::UnicodeUTF8));
|
||||
label->setText(QApplication::translate("DialogSG", "LD\345\220\215\347\247\260", 0, QApplication::UnicodeUTF8));
|
||||
label_2->setText(QApplication::translate("DialogSG", "\345\256\232\345\200\274\347\273\204\345\217\267", 0, QApplication::UnicodeUTF8));
|
||||
label_6->setText(QApplication::translate("DialogSG", "\345\275\223\345\211\215\346\277\200\346\264\273\345\214\272", 0, QApplication::UnicodeUTF8));
|
||||
pushButton_OK->setText(QApplication::translate("DialogSG", "\345\205\263\351\227\255", 0, QApplication::UnicodeUTF8));
|
||||
groupBox->setTitle(QApplication::translate("DialogSG", "\345\256\232\345\200\274\350\277\224\345\233\236\350\256\276\347\275\256", 0, QApplication::UnicodeUTF8));
|
||||
label_3->setText(QApplication::translate("DialogSG", "\350\257\273\345\256\232\345\200\274", 0, QApplication::UnicodeUTF8));
|
||||
comboBox_readRT->insertItems(0, QStringList()
|
||||
<< QApplication::translate("DialogSG", "\346\210\220\345\212\237", 0, QApplication::UnicodeUTF8)
|
||||
<< QApplication::translate("DialogSG", "\345\244\261\350\264\245", 0, QApplication::UnicodeUTF8)
|
||||
<< QApplication::translate("DialogSG", "\350\266\205\346\227\266", 0, QApplication::UnicodeUTF8)
|
||||
);
|
||||
label_4->setText(QApplication::translate("DialogSG", "\345\206\231\345\256\232\345\200\274", 0, QApplication::UnicodeUTF8));
|
||||
comboBox_writeRT->insertItems(0, QStringList()
|
||||
<< QApplication::translate("DialogSG", "\346\210\220\345\212\237", 0, QApplication::UnicodeUTF8)
|
||||
<< QApplication::translate("DialogSG", "\345\244\261\350\264\245", 0, QApplication::UnicodeUTF8)
|
||||
<< QApplication::translate("DialogSG", "\350\266\205\346\227\266", 0, QApplication::UnicodeUTF8)
|
||||
);
|
||||
label_5->setText(QApplication::translate("DialogSG", "\345\210\207\346\215\242\346\277\200\346\264\273\345\214\272", 0, QApplication::UnicodeUTF8));
|
||||
comboBox_changeRT->insertItems(0, QStringList()
|
||||
<< QApplication::translate("DialogSG", "\346\210\220\345\212\237", 0, QApplication::UnicodeUTF8)
|
||||
<< QApplication::translate("DialogSG", "\345\244\261\350\264\245", 0, QApplication::UnicodeUTF8)
|
||||
<< QApplication::translate("DialogSG", "\350\266\205\346\227\266", 0, QApplication::UnicodeUTF8)
|
||||
);
|
||||
Q_UNUSED(DialogSG);
|
||||
} // retranslateUi
|
||||
|
||||
};
|
||||
|
||||
namespace Ui {
|
||||
class DialogSG: public Ui_DialogSG {};
|
||||
} // namespace Ui
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // UI_DIALOG_SG_H
|
@ -0,0 +1,63 @@
|
||||
/********************************************************************************
|
||||
** Form generated from reading ui file 'dialog_state.ui'
|
||||
**
|
||||
** Created: Sat Feb 26 19:14:28 2011
|
||||
** by: Qt User Interface Compiler version 4.4.0
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost when recompiling ui file!
|
||||
********************************************************************************/
|
||||
|
||||
#ifndef UI_DIALOG_STATE_H
|
||||
#define UI_DIALOG_STATE_H
|
||||
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtGui/QAction>
|
||||
#include <QtGui/QApplication>
|
||||
#include <QtGui/QButtonGroup>
|
||||
#include <QtGui/QDialog>
|
||||
#include <QtGui/QGridLayout>
|
||||
#include <QtGui/QTableView>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
class Ui_DialogState
|
||||
{
|
||||
public:
|
||||
QGridLayout *gridLayout;
|
||||
QTableView *tableView;
|
||||
|
||||
void setupUi(QDialog *DialogState)
|
||||
{
|
||||
if (DialogState->objectName().isEmpty())
|
||||
DialogState->setObjectName(QString::fromUtf8("DialogState"));
|
||||
DialogState->resize(400, 300);
|
||||
gridLayout = new QGridLayout(DialogState);
|
||||
gridLayout->setSpacing(1);
|
||||
gridLayout->setMargin(1);
|
||||
gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
|
||||
tableView = new QTableView(DialogState);
|
||||
tableView->setObjectName(QString::fromUtf8("tableView"));
|
||||
|
||||
gridLayout->addWidget(tableView, 0, 0, 1, 1);
|
||||
|
||||
|
||||
retranslateUi(DialogState);
|
||||
|
||||
QMetaObject::connectSlotsByName(DialogState);
|
||||
} // setupUi
|
||||
|
||||
void retranslateUi(QDialog *DialogState)
|
||||
{
|
||||
DialogState->setWindowTitle(QApplication::translate("DialogState", "\350\277\236\346\216\245\347\212\266\346\200\201", 0, QApplication::UnicodeUTF8));
|
||||
Q_UNUSED(DialogState);
|
||||
} // retranslateUi
|
||||
|
||||
};
|
||||
|
||||
namespace Ui {
|
||||
class DialogState: public Ui_DialogState {};
|
||||
} // namespace Ui
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // UI_DIALOG_STATE_H
|
@ -0,0 +1,230 @@
|
||||
/********************************************************************************
|
||||
** Form generated from reading UI file 'gui_srv.ui'
|
||||
**
|
||||
** Created by: Qt User Interface Compiler version 4.8.6
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
||||
********************************************************************************/
|
||||
|
||||
#ifndef UI_GUI_SRV_H
|
||||
#define UI_GUI_SRV_H
|
||||
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtGui/QAction>
|
||||
#include <QtGui/QApplication>
|
||||
#include <QtGui/QButtonGroup>
|
||||
#include <QtGui/QGridLayout>
|
||||
#include <QtGui/QHeaderView>
|
||||
#include <QtGui/QMainWindow>
|
||||
#include <QtGui/QMenu>
|
||||
#include <QtGui/QMenuBar>
|
||||
#include <QtGui/QSplitter>
|
||||
#include <QtGui/QStatusBar>
|
||||
#include <QtGui/QTableView>
|
||||
#include <QtGui/QTextEdit>
|
||||
#include <QtGui/QToolBar>
|
||||
#include <QtGui/QTreeView>
|
||||
#include <QtGui/QWidget>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
class Ui_gui_srvClass
|
||||
{
|
||||
public:
|
||||
QAction *action_exit;
|
||||
QAction *action_clear;
|
||||
QAction *action_ctrl;
|
||||
QAction *action_sg;
|
||||
QAction *action_help;
|
||||
QAction *action_about;
|
||||
QAction *action_refresh;
|
||||
QAction *action_connect;
|
||||
QAction *action_disconnect;
|
||||
QAction *action_filetran;
|
||||
QAction *action_paramtodb;
|
||||
QAction *action_clearparam;
|
||||
QWidget *centralWidget;
|
||||
QGridLayout *gridLayout;
|
||||
QSplitter *splitter;
|
||||
QSplitter *splitter1;
|
||||
QTreeView *treeView;
|
||||
QTableView *tableView;
|
||||
QTextEdit *textEdit;
|
||||
QMenuBar *menuBar;
|
||||
QMenu *menu_2;
|
||||
QMenu *menu;
|
||||
QMenu *menu_4;
|
||||
QMenu *menu_3;
|
||||
QToolBar *mainToolBar;
|
||||
QStatusBar *statusBar;
|
||||
QToolBar *toolBar;
|
||||
|
||||
void setupUi(QMainWindow *gui_srvClass)
|
||||
{
|
||||
if (gui_srvClass->objectName().isEmpty())
|
||||
gui_srvClass->setObjectName(QString::fromUtf8("gui_srvClass"));
|
||||
gui_srvClass->resize(1105, 600);
|
||||
QIcon icon;
|
||||
icon.addFile(QString::fromUtf8(":/gui_srv/ResourceFiles/jdlogo.jpg"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
gui_srvClass->setWindowIcon(icon);
|
||||
action_exit = new QAction(gui_srvClass);
|
||||
action_exit->setObjectName(QString::fromUtf8("action_exit"));
|
||||
action_clear = new QAction(gui_srvClass);
|
||||
action_clear->setObjectName(QString::fromUtf8("action_clear"));
|
||||
action_ctrl = new QAction(gui_srvClass);
|
||||
action_ctrl->setObjectName(QString::fromUtf8("action_ctrl"));
|
||||
action_ctrl->setIconVisibleInMenu(true);
|
||||
action_sg = new QAction(gui_srvClass);
|
||||
action_sg->setObjectName(QString::fromUtf8("action_sg"));
|
||||
action_sg->setEnabled(true);
|
||||
action_help = new QAction(gui_srvClass);
|
||||
action_help->setObjectName(QString::fromUtf8("action_help"));
|
||||
action_about = new QAction(gui_srvClass);
|
||||
action_about->setObjectName(QString::fromUtf8("action_about"));
|
||||
action_refresh = new QAction(gui_srvClass);
|
||||
action_refresh->setObjectName(QString::fromUtf8("action_refresh"));
|
||||
action_connect = new QAction(gui_srvClass);
|
||||
action_connect->setObjectName(QString::fromUtf8("action_connect"));
|
||||
action_disconnect = new QAction(gui_srvClass);
|
||||
action_disconnect->setObjectName(QString::fromUtf8("action_disconnect"));
|
||||
action_filetran = new QAction(gui_srvClass);
|
||||
action_filetran->setObjectName(QString::fromUtf8("action_filetran"));
|
||||
action_paramtodb = new QAction(gui_srvClass);
|
||||
action_paramtodb->setObjectName(QString::fromUtf8("action_paramtodb"));
|
||||
action_clearparam = new QAction(gui_srvClass);
|
||||
action_clearparam->setObjectName(QString::fromUtf8("action_clearparam"));
|
||||
centralWidget = new QWidget(gui_srvClass);
|
||||
centralWidget->setObjectName(QString::fromUtf8("centralWidget"));
|
||||
QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
|
||||
sizePolicy.setHorizontalStretch(0);
|
||||
sizePolicy.setVerticalStretch(0);
|
||||
sizePolicy.setHeightForWidth(centralWidget->sizePolicy().hasHeightForWidth());
|
||||
centralWidget->setSizePolicy(sizePolicy);
|
||||
centralWidget->setSizeIncrement(QSize(0, 0));
|
||||
QFont font;
|
||||
font.setFamily(QString::fromUtf8("Ar Pl Ukai Cn"));
|
||||
font.setPointSize(12);
|
||||
centralWidget->setFont(font);
|
||||
gridLayout = new QGridLayout(centralWidget);
|
||||
gridLayout->setSpacing(1);
|
||||
gridLayout->setContentsMargins(0, 0, 0, 0);
|
||||
gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
|
||||
splitter = new QSplitter(centralWidget);
|
||||
splitter->setObjectName(QString::fromUtf8("splitter"));
|
||||
QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Expanding);
|
||||
sizePolicy1.setHorizontalStretch(4);
|
||||
sizePolicy1.setVerticalStretch(1);
|
||||
sizePolicy1.setHeightForWidth(splitter->sizePolicy().hasHeightForWidth());
|
||||
splitter->setSizePolicy(sizePolicy1);
|
||||
splitter->setOrientation(Qt::Vertical);
|
||||
splitter->setHandleWidth(3);
|
||||
splitter1 = new QSplitter(splitter);
|
||||
splitter1->setObjectName(QString::fromUtf8("splitter1"));
|
||||
QSizePolicy sizePolicy2(QSizePolicy::Expanding, QSizePolicy::Preferred);
|
||||
sizePolicy2.setHorizontalStretch(1);
|
||||
sizePolicy2.setVerticalStretch(4);
|
||||
sizePolicy2.setHeightForWidth(splitter1->sizePolicy().hasHeightForWidth());
|
||||
splitter1->setSizePolicy(sizePolicy2);
|
||||
splitter1->setOrientation(Qt::Horizontal);
|
||||
splitter1->setHandleWidth(3);
|
||||
treeView = new QTreeView(splitter1);
|
||||
treeView->setObjectName(QString::fromUtf8("treeView"));
|
||||
splitter1->addWidget(treeView);
|
||||
tableView = new QTableView(splitter1);
|
||||
tableView->setObjectName(QString::fromUtf8("tableView"));
|
||||
splitter1->addWidget(tableView);
|
||||
splitter->addWidget(splitter1);
|
||||
textEdit = new QTextEdit(splitter);
|
||||
textEdit->setObjectName(QString::fromUtf8("textEdit"));
|
||||
textEdit->setTabStopWidth(80);
|
||||
splitter->addWidget(textEdit);
|
||||
|
||||
gridLayout->addWidget(splitter, 0, 0, 1, 1);
|
||||
|
||||
gui_srvClass->setCentralWidget(centralWidget);
|
||||
menuBar = new QMenuBar(gui_srvClass);
|
||||
menuBar->setObjectName(QString::fromUtf8("menuBar"));
|
||||
menuBar->setGeometry(QRect(0, 0, 1105, 24));
|
||||
menu_2 = new QMenu(menuBar);
|
||||
menu_2->setObjectName(QString::fromUtf8("menu_2"));
|
||||
menu = new QMenu(menuBar);
|
||||
menu->setObjectName(QString::fromUtf8("menu"));
|
||||
menu_4 = new QMenu(menuBar);
|
||||
menu_4->setObjectName(QString::fromUtf8("menu_4"));
|
||||
menu_3 = new QMenu(menuBar);
|
||||
menu_3->setObjectName(QString::fromUtf8("menu_3"));
|
||||
gui_srvClass->setMenuBar(menuBar);
|
||||
mainToolBar = new QToolBar(gui_srvClass);
|
||||
mainToolBar->setObjectName(QString::fromUtf8("mainToolBar"));
|
||||
mainToolBar->setOrientation(Qt::Horizontal);
|
||||
gui_srvClass->addToolBar(Qt::TopToolBarArea, mainToolBar);
|
||||
statusBar = new QStatusBar(gui_srvClass);
|
||||
statusBar->setObjectName(QString::fromUtf8("statusBar"));
|
||||
gui_srvClass->setStatusBar(statusBar);
|
||||
toolBar = new QToolBar(gui_srvClass);
|
||||
toolBar->setObjectName(QString::fromUtf8("toolBar"));
|
||||
toolBar->setOrientation(Qt::Horizontal);
|
||||
gui_srvClass->addToolBar(Qt::TopToolBarArea, toolBar);
|
||||
|
||||
menuBar->addAction(menu->menuAction());
|
||||
menuBar->addAction(menu_2->menuAction());
|
||||
menuBar->addAction(menu_3->menuAction());
|
||||
menuBar->addAction(menu_4->menuAction());
|
||||
menu_2->addAction(action_clear);
|
||||
menu->addAction(action_connect);
|
||||
menu->addAction(action_disconnect);
|
||||
menu->addAction(action_filetran);
|
||||
menu->addAction(action_exit);
|
||||
menu_4->addAction(action_help);
|
||||
menu_4->addAction(action_about);
|
||||
menu_3->addAction(action_ctrl);
|
||||
menu_3->addAction(action_sg);
|
||||
menu_3->addSeparator();
|
||||
menu_3->addAction(action_paramtodb);
|
||||
menu_3->addAction(action_clearparam);
|
||||
mainToolBar->addAction(action_refresh);
|
||||
mainToolBar->addAction(action_clear);
|
||||
toolBar->addAction(action_ctrl);
|
||||
toolBar->addAction(action_sg);
|
||||
toolBar->addSeparator();
|
||||
toolBar->addAction(action_paramtodb);
|
||||
toolBar->addAction(action_clearparam);
|
||||
toolBar->addSeparator();
|
||||
toolBar->addSeparator();
|
||||
toolBar->addAction(action_help);
|
||||
|
||||
retranslateUi(gui_srvClass);
|
||||
|
||||
QMetaObject::connectSlotsByName(gui_srvClass);
|
||||
} // setupUi
|
||||
|
||||
void retranslateUi(QMainWindow *gui_srvClass)
|
||||
{
|
||||
gui_srvClass->setWindowTitle(QApplication::translate("gui_srvClass", "gui_srv", 0, QApplication::UnicodeUTF8));
|
||||
action_exit->setText(QApplication::translate("gui_srvClass", "\351\200\200\345\207\272", 0, QApplication::UnicodeUTF8));
|
||||
action_clear->setText(QApplication::translate("gui_srvClass", "\346\270\205\351\231\244\345\221\212\350\255\246", 0, QApplication::UnicodeUTF8));
|
||||
action_ctrl->setText(QApplication::translate("gui_srvClass", "\346\216\247\345\210\266\346\234\215\345\212\241", 0, QApplication::UnicodeUTF8));
|
||||
action_sg->setText(QApplication::translate("gui_srvClass", "\345\256\232\345\200\274\346\234\215\345\212\241", 0, QApplication::UnicodeUTF8));
|
||||
action_help->setText(QApplication::translate("gui_srvClass", "\345\270\256\345\212\251\346\226\207\346\241\243", 0, QApplication::UnicodeUTF8));
|
||||
action_about->setText(QApplication::translate("gui_srvClass", "\345\205\263\344\272\216", 0, QApplication::UnicodeUTF8));
|
||||
action_refresh->setText(QApplication::translate("gui_srvClass", "\345\210\267\346\226\260\346\225\260\346\215\256", 0, QApplication::UnicodeUTF8));
|
||||
action_connect->setText(QApplication::translate("gui_srvClass", "\350\277\236\346\216\245", 0, QApplication::UnicodeUTF8));
|
||||
action_disconnect->setText(QApplication::translate("gui_srvClass", "\346\226\255\345\274\200\350\277\236\346\216\245", 0, QApplication::UnicodeUTF8));
|
||||
action_filetran->setText(QApplication::translate("gui_srvClass", "\346\226\207\344\273\266\344\274\240\350\276\223", 0, QApplication::UnicodeUTF8));
|
||||
action_paramtodb->setText(QApplication::translate("gui_srvClass", "\345\217\202\345\274\225\345\205\245\345\272\223", 0, QApplication::UnicodeUTF8));
|
||||
action_clearparam->setText(QApplication::translate("gui_srvClass", "\346\270\205\351\231\244\345\217\202\345\274\225", 0, QApplication::UnicodeUTF8));
|
||||
menu_2->setTitle(QApplication::translate("gui_srvClass", "\347\274\226\350\276\221", 0, QApplication::UnicodeUTF8));
|
||||
menu->setTitle(QApplication::translate("gui_srvClass", "\346\226\207\344\273\266", 0, QApplication::UnicodeUTF8));
|
||||
menu_4->setTitle(QApplication::translate("gui_srvClass", "\345\270\256\345\212\251", 0, QApplication::UnicodeUTF8));
|
||||
menu_3->setTitle(QApplication::translate("gui_srvClass", "\346\234\215\345\212\241", 0, QApplication::UnicodeUTF8));
|
||||
} // retranslateUi
|
||||
|
||||
};
|
||||
|
||||
namespace Ui {
|
||||
class gui_srvClass: public Ui_gui_srvClass {};
|
||||
} // namespace Ui
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // UI_GUI_SRV_H
|
@ -0,0 +1,98 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'FtpCLient.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.6)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include "FtpCLient.h"
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'FtpCLient.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 63
|
||||
#error "This file was generated using the moc from 4.8.6. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
static const uint qt_meta_data_FtpCLient[] = {
|
||||
|
||||
// content:
|
||||
6, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
3, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
// slots: signature, parameters, type, tag, flags
|
||||
17, 11, 10, 10, 0x09,
|
||||
46, 11, 10, 10, 0x09,
|
||||
75, 10, 10, 10, 0x09,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
static const char qt_meta_stringdata_FtpCLient[] = {
|
||||
"FtpCLient\0\0reply\0finished_get(QNetworkReply*)\0"
|
||||
"finished_put(QNetworkReply*)\0"
|
||||
"loadError(QNetworkReply::NetworkError)\0"
|
||||
};
|
||||
|
||||
void FtpCLient::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
Q_ASSERT(staticMetaObject.cast(_o));
|
||||
FtpCLient *_t = static_cast<FtpCLient *>(_o);
|
||||
switch (_id) {
|
||||
case 0: _t->finished_get((*reinterpret_cast< QNetworkReply*(*)>(_a[1]))); break;
|
||||
case 1: _t->finished_put((*reinterpret_cast< QNetworkReply*(*)>(_a[1]))); break;
|
||||
case 2: _t->loadError((*reinterpret_cast< QNetworkReply::NetworkError(*)>(_a[1]))); break;
|
||||
default: ;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const QMetaObjectExtraData FtpCLient::staticMetaObjectExtraData = {
|
||||
0, qt_static_metacall
|
||||
};
|
||||
|
||||
const QMetaObject FtpCLient::staticMetaObject = {
|
||||
{ &QObject::staticMetaObject, qt_meta_stringdata_FtpCLient,
|
||||
qt_meta_data_FtpCLient, &staticMetaObjectExtraData }
|
||||
};
|
||||
|
||||
#ifdef Q_NO_DATA_RELOCATION
|
||||
const QMetaObject &FtpCLient::getStaticMetaObject() { return staticMetaObject; }
|
||||
#endif //Q_NO_DATA_RELOCATION
|
||||
|
||||
const QMetaObject *FtpCLient::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *FtpCLient::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return 0;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_FtpCLient))
|
||||
return static_cast<void*>(const_cast< FtpCLient*>(this));
|
||||
return QObject::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int FtpCLient::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QObject::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 3)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 3;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
@ -0,0 +1,103 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'dialog_ctrl.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.6)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include "dialog_ctrl.h"
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'dialog_ctrl.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 63
|
||||
#error "This file was generated using the moc from 4.8.6. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
static const uint qt_meta_data_dialog_ctrl[] = {
|
||||
|
||||
// content:
|
||||
6, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
5, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
// slots: signature, parameters, type, tag, flags
|
||||
13, 12, 12, 12, 0x08,
|
||||
33, 12, 12, 12, 0x08,
|
||||
54, 12, 12, 12, 0x08,
|
||||
73, 12, 12, 12, 0x08,
|
||||
96, 12, 12, 12, 0x08,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
static const char qt_meta_stringdata_dialog_ctrl[] = {
|
||||
"dialog_ctrl\0\0on_pB_sel_clicked()\0"
|
||||
"on_pB_selv_clicked()\0on_pB_op_clicked()\0"
|
||||
"on_pB_revoke_clicked()\0on_pB_quit_clicked()\0"
|
||||
};
|
||||
|
||||
void dialog_ctrl::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
Q_ASSERT(staticMetaObject.cast(_o));
|
||||
dialog_ctrl *_t = static_cast<dialog_ctrl *>(_o);
|
||||
switch (_id) {
|
||||
case 0: _t->on_pB_sel_clicked(); break;
|
||||
case 1: _t->on_pB_selv_clicked(); break;
|
||||
case 2: _t->on_pB_op_clicked(); break;
|
||||
case 3: _t->on_pB_revoke_clicked(); break;
|
||||
case 4: _t->on_pB_quit_clicked(); break;
|
||||
default: ;
|
||||
}
|
||||
}
|
||||
Q_UNUSED(_a);
|
||||
}
|
||||
|
||||
const QMetaObjectExtraData dialog_ctrl::staticMetaObjectExtraData = {
|
||||
0, qt_static_metacall
|
||||
};
|
||||
|
||||
const QMetaObject dialog_ctrl::staticMetaObject = {
|
||||
{ &QDialog::staticMetaObject, qt_meta_stringdata_dialog_ctrl,
|
||||
qt_meta_data_dialog_ctrl, &staticMetaObjectExtraData }
|
||||
};
|
||||
|
||||
#ifdef Q_NO_DATA_RELOCATION
|
||||
const QMetaObject &dialog_ctrl::getStaticMetaObject() { return staticMetaObject; }
|
||||
#endif //Q_NO_DATA_RELOCATION
|
||||
|
||||
const QMetaObject *dialog_ctrl::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *dialog_ctrl::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return 0;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_dialog_ctrl))
|
||||
return static_cast<void*>(const_cast< dialog_ctrl*>(this));
|
||||
return QDialog::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int dialog_ctrl::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QDialog::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 5)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 5;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
@ -0,0 +1,105 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'dialog_filetran.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.6)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include "dialog_filetran.h"
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'dialog_filetran.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 63
|
||||
#error "This file was generated using the moc from 4.8.6. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
static const uint qt_meta_data_dialog_filetran[] = {
|
||||
|
||||
// content:
|
||||
6, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
5, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
// slots: signature, parameters, type, tag, flags
|
||||
17, 16, 16, 16, 0x08,
|
||||
41, 16, 16, 16, 0x08,
|
||||
68, 16, 16, 16, 0x08,
|
||||
96, 16, 16, 16, 0x08,
|
||||
124, 16, 16, 16, 0x08,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
static const char qt_meta_stringdata_dialog_filetran[] = {
|
||||
"dialog_filetran\0\0on_pB_filedel_clicked()\0"
|
||||
"on_pB_fileupload_clicked()\0"
|
||||
"on_pB_getfilelist_clicked()\0"
|
||||
"on_pB_filebrowser_clicked()\0"
|
||||
"on_pB_filedown_clicked()\0"
|
||||
};
|
||||
|
||||
void dialog_filetran::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
Q_ASSERT(staticMetaObject.cast(_o));
|
||||
dialog_filetran *_t = static_cast<dialog_filetran *>(_o);
|
||||
switch (_id) {
|
||||
case 0: _t->on_pB_filedel_clicked(); break;
|
||||
case 1: _t->on_pB_fileupload_clicked(); break;
|
||||
case 2: _t->on_pB_getfilelist_clicked(); break;
|
||||
case 3: _t->on_pB_filebrowser_clicked(); break;
|
||||
case 4: _t->on_pB_filedown_clicked(); break;
|
||||
default: ;
|
||||
}
|
||||
}
|
||||
Q_UNUSED(_a);
|
||||
}
|
||||
|
||||
const QMetaObjectExtraData dialog_filetran::staticMetaObjectExtraData = {
|
||||
0, qt_static_metacall
|
||||
};
|
||||
|
||||
const QMetaObject dialog_filetran::staticMetaObject = {
|
||||
{ &QDialog::staticMetaObject, qt_meta_stringdata_dialog_filetran,
|
||||
qt_meta_data_dialog_filetran, &staticMetaObjectExtraData }
|
||||
};
|
||||
|
||||
#ifdef Q_NO_DATA_RELOCATION
|
||||
const QMetaObject &dialog_filetran::getStaticMetaObject() { return staticMetaObject; }
|
||||
#endif //Q_NO_DATA_RELOCATION
|
||||
|
||||
const QMetaObject *dialog_filetran::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *dialog_filetran::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return 0;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_dialog_filetran))
|
||||
return static_cast<void*>(const_cast< dialog_filetran*>(this));
|
||||
return QDialog::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int dialog_filetran::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QDialog::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 5)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 5;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
@ -0,0 +1,80 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'dialog_lcb.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.6)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include "dialog_lcb.h"
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'dialog_lcb.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 63
|
||||
#error "This file was generated using the moc from 4.8.6. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
static const uint qt_meta_data_dialog_lcb[] = {
|
||||
|
||||
// content:
|
||||
6, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
0, 0, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
static const char qt_meta_stringdata_dialog_lcb[] = {
|
||||
"dialog_lcb\0"
|
||||
};
|
||||
|
||||
void dialog_lcb::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
Q_UNUSED(_o);
|
||||
Q_UNUSED(_id);
|
||||
Q_UNUSED(_c);
|
||||
Q_UNUSED(_a);
|
||||
}
|
||||
|
||||
const QMetaObjectExtraData dialog_lcb::staticMetaObjectExtraData = {
|
||||
0, qt_static_metacall
|
||||
};
|
||||
|
||||
const QMetaObject dialog_lcb::staticMetaObject = {
|
||||
{ &QDialog::staticMetaObject, qt_meta_stringdata_dialog_lcb,
|
||||
qt_meta_data_dialog_lcb, &staticMetaObjectExtraData }
|
||||
};
|
||||
|
||||
#ifdef Q_NO_DATA_RELOCATION
|
||||
const QMetaObject &dialog_lcb::getStaticMetaObject() { return staticMetaObject; }
|
||||
#endif //Q_NO_DATA_RELOCATION
|
||||
|
||||
const QMetaObject *dialog_lcb::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *dialog_lcb::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return 0;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_dialog_lcb))
|
||||
return static_cast<void*>(const_cast< dialog_lcb*>(this));
|
||||
return QDialog::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int dialog_lcb::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QDialog::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
return _id;
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
@ -0,0 +1,153 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'dialog_rcb.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.6)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include "dialog_rcb.h"
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'dialog_rcb.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 63
|
||||
#error "This file was generated using the moc from 4.8.6. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
static const uint qt_meta_data_dialog_rcb[] = {
|
||||
|
||||
// content:
|
||||
6, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
21, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
1, // signalCount
|
||||
|
||||
// signals: signature, parameters, type, tag, flags
|
||||
14, 12, 11, 11, 0x05,
|
||||
|
||||
// slots: signature, parameters, type, tag, flags
|
||||
51, 11, 11, 11, 0x08,
|
||||
70, 11, 11, 11, 0x08,
|
||||
89, 11, 11, 11, 0x08,
|
||||
111, 11, 11, 11, 0x08,
|
||||
138, 11, 11, 11, 0x08,
|
||||
162, 11, 11, 11, 0x08,
|
||||
185, 11, 11, 11, 0x08,
|
||||
209, 11, 11, 11, 0x08,
|
||||
233, 11, 11, 11, 0x08,
|
||||
256, 11, 11, 11, 0x08,
|
||||
280, 11, 11, 11, 0x08,
|
||||
302, 11, 11, 11, 0x08,
|
||||
321, 11, 11, 11, 0x08,
|
||||
343, 11, 11, 11, 0x08,
|
||||
366, 11, 11, 11, 0x08,
|
||||
391, 11, 11, 11, 0x08,
|
||||
412, 11, 11, 11, 0x08,
|
||||
441, 11, 11, 11, 0x08,
|
||||
470, 11, 11, 11, 0x08,
|
||||
504, 496, 11, 11, 0x08,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
static const char qt_meta_stringdata_dialog_rcb[] = {
|
||||
"dialog_rcb\0\0,\0s_ShowBRcbValues(ST_INT*,ST_BOOLEAN)\0"
|
||||
"on_rB_BR_clicked()\0on_rB_RP_clicked()\0"
|
||||
"on_pB_RptID_clicked()\0on_pB_DataSetRef_clicked()\0"
|
||||
"on_pB_OptFlds_clicked()\0on_pB_TrgOps_clicked()\0"
|
||||
"on_pB_EntryID_clicked()\0on_pB_EntryTm_clicked()\0"
|
||||
"on_pB_RptEna_clicked()\0on_pB_ConfRev_clicked()\0"
|
||||
"on_pB_SqNum_clicked()\0on_pB_GI_clicked()\0"
|
||||
"on_pB_BufTm_clicked()\0on_pB_IntgPd_clicked()\0"
|
||||
"on_pB_PurgeBuf_clicked()\0on_pB_Resv_clicked()\0"
|
||||
"on_pB_GetRcbValues_clicked()\0"
|
||||
"on_pB_SetRcbValues_clicked()\0"
|
||||
"on_pB_EnableRpt_clicked()\0id,flag\0"
|
||||
"t_ShowBRcbValues(ST_INT*,ST_BOOLEAN)\0"
|
||||
};
|
||||
|
||||
void dialog_rcb::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
Q_ASSERT(staticMetaObject.cast(_o));
|
||||
dialog_rcb *_t = static_cast<dialog_rcb *>(_o);
|
||||
switch (_id) {
|
||||
case 0: _t->s_ShowBRcbValues((*reinterpret_cast< ST_INT*(*)>(_a[1])),(*reinterpret_cast< ST_BOOLEAN(*)>(_a[2]))); break;
|
||||
case 1: _t->on_rB_BR_clicked(); break;
|
||||
case 2: _t->on_rB_RP_clicked(); break;
|
||||
case 3: _t->on_pB_RptID_clicked(); break;
|
||||
case 4: _t->on_pB_DataSetRef_clicked(); break;
|
||||
case 5: _t->on_pB_OptFlds_clicked(); break;
|
||||
case 6: _t->on_pB_TrgOps_clicked(); break;
|
||||
case 7: _t->on_pB_EntryID_clicked(); break;
|
||||
case 8: _t->on_pB_EntryTm_clicked(); break;
|
||||
case 9: _t->on_pB_RptEna_clicked(); break;
|
||||
case 10: _t->on_pB_ConfRev_clicked(); break;
|
||||
case 11: _t->on_pB_SqNum_clicked(); break;
|
||||
case 12: _t->on_pB_GI_clicked(); break;
|
||||
case 13: _t->on_pB_BufTm_clicked(); break;
|
||||
case 14: _t->on_pB_IntgPd_clicked(); break;
|
||||
case 15: _t->on_pB_PurgeBuf_clicked(); break;
|
||||
case 16: _t->on_pB_Resv_clicked(); break;
|
||||
case 17: _t->on_pB_GetRcbValues_clicked(); break;
|
||||
case 18: _t->on_pB_SetRcbValues_clicked(); break;
|
||||
case 19: _t->on_pB_EnableRpt_clicked(); break;
|
||||
case 20: _t->t_ShowBRcbValues((*reinterpret_cast< ST_INT*(*)>(_a[1])),(*reinterpret_cast< ST_BOOLEAN(*)>(_a[2]))); break;
|
||||
default: ;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const QMetaObjectExtraData dialog_rcb::staticMetaObjectExtraData = {
|
||||
0, qt_static_metacall
|
||||
};
|
||||
|
||||
const QMetaObject dialog_rcb::staticMetaObject = {
|
||||
{ &QDialog::staticMetaObject, qt_meta_stringdata_dialog_rcb,
|
||||
qt_meta_data_dialog_rcb, &staticMetaObjectExtraData }
|
||||
};
|
||||
|
||||
#ifdef Q_NO_DATA_RELOCATION
|
||||
const QMetaObject &dialog_rcb::getStaticMetaObject() { return staticMetaObject; }
|
||||
#endif //Q_NO_DATA_RELOCATION
|
||||
|
||||
const QMetaObject *dialog_rcb::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *dialog_rcb::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return 0;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_dialog_rcb))
|
||||
return static_cast<void*>(const_cast< dialog_rcb*>(this));
|
||||
return QDialog::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int dialog_rcb::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QDialog::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 21)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 21;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void dialog_rcb::s_ShowBRcbValues(ST_INT * _t1, ST_BOOLEAN _t2)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
@ -0,0 +1,80 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'dialog_sg.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.6)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include "dialog_sg.h"
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'dialog_sg.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 63
|
||||
#error "This file was generated using the moc from 4.8.6. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
static const uint qt_meta_data_dialog_sg[] = {
|
||||
|
||||
// content:
|
||||
6, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
0, 0, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
static const char qt_meta_stringdata_dialog_sg[] = {
|
||||
"dialog_sg\0"
|
||||
};
|
||||
|
||||
void dialog_sg::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
Q_UNUSED(_o);
|
||||
Q_UNUSED(_id);
|
||||
Q_UNUSED(_c);
|
||||
Q_UNUSED(_a);
|
||||
}
|
||||
|
||||
const QMetaObjectExtraData dialog_sg::staticMetaObjectExtraData = {
|
||||
0, qt_static_metacall
|
||||
};
|
||||
|
||||
const QMetaObject dialog_sg::staticMetaObject = {
|
||||
{ &QDialog::staticMetaObject, qt_meta_stringdata_dialog_sg,
|
||||
qt_meta_data_dialog_sg, &staticMetaObjectExtraData }
|
||||
};
|
||||
|
||||
#ifdef Q_NO_DATA_RELOCATION
|
||||
const QMetaObject &dialog_sg::getStaticMetaObject() { return staticMetaObject; }
|
||||
#endif //Q_NO_DATA_RELOCATION
|
||||
|
||||
const QMetaObject *dialog_sg::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *dialog_sg::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return 0;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_dialog_sg))
|
||||
return static_cast<void*>(const_cast< dialog_sg*>(this));
|
||||
return QDialog::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int dialog_sg::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QDialog::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
return _id;
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
@ -0,0 +1,197 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'gui_srv.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.6)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include "inc/gui_srv.h"
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'gui_srv.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 63
|
||||
#error "This file was generated using the moc from 4.8.6. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
static const uint qt_meta_data_gui_srv[] = {
|
||||
|
||||
// content:
|
||||
6, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
28, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
4, // signalCount
|
||||
|
||||
// signals: signature, parameters, type, tag, flags
|
||||
9, 8, 8, 8, 0x05,
|
||||
35, 33, 8, 8, 0x05,
|
||||
72, 33, 8, 8, 0x05,
|
||||
115, 112, 8, 8, 0x05,
|
||||
|
||||
// slots: signature, parameters, type, tag, flags
|
||||
151, 8, 8, 8, 0x0a,
|
||||
170, 8, 8, 8, 0x08,
|
||||
198, 8, 8, 8, 0x08,
|
||||
225, 8, 8, 8, 0x08,
|
||||
250, 8, 8, 8, 0x08,
|
||||
277, 8, 8, 8, 0x08,
|
||||
307, 8, 8, 8, 0x08,
|
||||
338, 8, 8, 8, 0x08,
|
||||
370, 8, 8, 8, 0x08,
|
||||
415, 403, 8, 8, 0x08,
|
||||
452, 403, 8, 8, 0x08,
|
||||
496, 492, 8, 8, 0x08,
|
||||
528, 520, 8, 8, 0x08,
|
||||
557, 8, 8, 8, 0x08,
|
||||
576, 8, 8, 8, 0x08,
|
||||
596, 8, 8, 8, 0x08,
|
||||
620, 8, 8, 8, 0x08,
|
||||
641, 8, 8, 8, 0x08,
|
||||
659, 8, 8, 8, 0x08,
|
||||
681, 8, 8, 8, 0x08,
|
||||
706, 8, 8, 8, 0x08,
|
||||
726, 8, 8, 8, 0x08,
|
||||
746, 8, 8, 8, 0x08,
|
||||
770, 753, 8, 8, 0x08,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
static const char qt_meta_stringdata_gui_srv[] = {
|
||||
"gui_srv\0\0out_put_signal(QString)\0,\0"
|
||||
"s_connectedToChnl(ST_INT,AC_CHANNEL)\0"
|
||||
"s_disconnectedToChnl(ST_INT,AC_CHANNEL)\0"
|
||||
",,\0s_ftp_filetran(QString,QString,int)\0"
|
||||
"print_log(QString)\0on_action_clear_triggered()\0"
|
||||
"on_action_exit_triggered()\0"
|
||||
"on_action_sg_triggered()\0"
|
||||
"on_action_ctrl_triggered()\0"
|
||||
"on_action_refresh_triggered()\0"
|
||||
"on_action_filetran_triggered()\0"
|
||||
"on_action_paramtodb_triggered()\0"
|
||||
"on_action_clearparam_triggered()\0"
|
||||
"srv_id,chnl\0t_connectedToChnl(ST_INT,AC_CHANNEL)\0"
|
||||
"t_disconnectedToChnl(ST_INT,AC_CHANNEL)\0"
|
||||
"pos\0ShowContextMenu(QPoint)\0qmindex\0"
|
||||
"treeViewclicked(QModelIndex)\0"
|
||||
"act_read_clicked()\0act_write_clicked()\0"
|
||||
"act_directory_clicked()\0act_report_clicked()\0"
|
||||
"act_log_clicked()\0act_control_clicked()\0"
|
||||
"act_fixedValue_clicked()\0act_connA_clicked()\0"
|
||||
"act_connB_clicked()\0test()\0sor,dev,trantype\0"
|
||||
"t_ftp_filetran(QString,QString,int)\0"
|
||||
};
|
||||
|
||||
void gui_srv::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
Q_ASSERT(staticMetaObject.cast(_o));
|
||||
gui_srv *_t = static_cast<gui_srv *>(_o);
|
||||
switch (_id) {
|
||||
case 0: _t->out_put_signal((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 1: _t->s_connectedToChnl((*reinterpret_cast< ST_INT(*)>(_a[1])),(*reinterpret_cast< AC_CHANNEL(*)>(_a[2]))); break;
|
||||
case 2: _t->s_disconnectedToChnl((*reinterpret_cast< ST_INT(*)>(_a[1])),(*reinterpret_cast< AC_CHANNEL(*)>(_a[2]))); break;
|
||||
case 3: _t->s_ftp_filetran((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
|
||||
case 4: _t->print_log((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 5: _t->on_action_clear_triggered(); break;
|
||||
case 6: _t->on_action_exit_triggered(); break;
|
||||
case 7: _t->on_action_sg_triggered(); break;
|
||||
case 8: _t->on_action_ctrl_triggered(); break;
|
||||
case 9: _t->on_action_refresh_triggered(); break;
|
||||
case 10: _t->on_action_filetran_triggered(); break;
|
||||
case 11: _t->on_action_paramtodb_triggered(); break;
|
||||
case 12: _t->on_action_clearparam_triggered(); break;
|
||||
case 13: _t->t_connectedToChnl((*reinterpret_cast< ST_INT(*)>(_a[1])),(*reinterpret_cast< AC_CHANNEL(*)>(_a[2]))); break;
|
||||
case 14: _t->t_disconnectedToChnl((*reinterpret_cast< ST_INT(*)>(_a[1])),(*reinterpret_cast< AC_CHANNEL(*)>(_a[2]))); break;
|
||||
case 15: _t->ShowContextMenu((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
|
||||
case 16: _t->treeViewclicked((*reinterpret_cast< QModelIndex(*)>(_a[1]))); break;
|
||||
case 17: _t->act_read_clicked(); break;
|
||||
case 18: _t->act_write_clicked(); break;
|
||||
case 19: _t->act_directory_clicked(); break;
|
||||
case 20: _t->act_report_clicked(); break;
|
||||
case 21: _t->act_log_clicked(); break;
|
||||
case 22: _t->act_control_clicked(); break;
|
||||
case 23: _t->act_fixedValue_clicked(); break;
|
||||
case 24: _t->act_connA_clicked(); break;
|
||||
case 25: _t->act_connB_clicked(); break;
|
||||
case 26: _t->test(); break;
|
||||
case 27: _t->t_ftp_filetran((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
|
||||
default: ;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const QMetaObjectExtraData gui_srv::staticMetaObjectExtraData = {
|
||||
0, qt_static_metacall
|
||||
};
|
||||
|
||||
const QMetaObject gui_srv::staticMetaObject = {
|
||||
{ &QMainWindow::staticMetaObject, qt_meta_stringdata_gui_srv,
|
||||
qt_meta_data_gui_srv, &staticMetaObjectExtraData }
|
||||
};
|
||||
|
||||
#ifdef Q_NO_DATA_RELOCATION
|
||||
const QMetaObject &gui_srv::getStaticMetaObject() { return staticMetaObject; }
|
||||
#endif //Q_NO_DATA_RELOCATION
|
||||
|
||||
const QMetaObject *gui_srv::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *gui_srv::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return 0;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_gui_srv))
|
||||
return static_cast<void*>(const_cast< gui_srv*>(this));
|
||||
return QMainWindow::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int gui_srv::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QMainWindow::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 28)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 28;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void gui_srv::out_put_signal(QString _t1)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 1
|
||||
void gui_srv::s_connectedToChnl(ST_INT _t1, AC_CHANNEL _t2)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 1, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 2
|
||||
void gui_srv::s_disconnectedToChnl(ST_INT _t1, AC_CHANNEL _t2)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 2, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 3
|
||||
void gui_srv::s_ftp_filetran(QString _t1, QString _t2, int _t3)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 3, _a);
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
@ -0,0 +1,115 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'treeMenu.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.6)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include "treeMenu/treeMenu.h"
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'treeMenu.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 63
|
||||
#error "This file was generated using the moc from 4.8.6. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
static const uint qt_meta_data_treeMenu[] = {
|
||||
|
||||
// content:
|
||||
6, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
9, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
// slots: signature, parameters, type, tag, flags
|
||||
10, 9, 9, 9, 0x08,
|
||||
33, 9, 9, 9, 0x08,
|
||||
57, 9, 9, 9, 0x08,
|
||||
85, 9, 9, 9, 0x08,
|
||||
110, 9, 9, 9, 0x08,
|
||||
132, 9, 9, 9, 0x08,
|
||||
158, 9, 9, 9, 0x08,
|
||||
187, 9, 9, 9, 0x08,
|
||||
211, 9, 9, 9, 0x08,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
static const char qt_meta_stringdata_treeMenu[] = {
|
||||
"treeMenu\0\0on_tBtn_read_clicked()\0"
|
||||
"on_tBtn_write_clicked()\0"
|
||||
"on_tBtn_directory_clicked()\0"
|
||||
"on_tBtn_report_clicked()\0on_tBtn_log_clicked()\0"
|
||||
"on_tBtn_control_clicked()\0"
|
||||
"on_tBtn_fixedValue_clicked()\0"
|
||||
"on_tBtn_connA_clicked()\0on_tBtn_connB_clicked()\0"
|
||||
};
|
||||
|
||||
void treeMenu::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
Q_ASSERT(staticMetaObject.cast(_o));
|
||||
treeMenu *_t = static_cast<treeMenu *>(_o);
|
||||
switch (_id) {
|
||||
case 0: _t->on_tBtn_read_clicked(); break;
|
||||
case 1: _t->on_tBtn_write_clicked(); break;
|
||||
case 2: _t->on_tBtn_directory_clicked(); break;
|
||||
case 3: _t->on_tBtn_report_clicked(); break;
|
||||
case 4: _t->on_tBtn_log_clicked(); break;
|
||||
case 5: _t->on_tBtn_control_clicked(); break;
|
||||
case 6: _t->on_tBtn_fixedValue_clicked(); break;
|
||||
case 7: _t->on_tBtn_connA_clicked(); break;
|
||||
case 8: _t->on_tBtn_connB_clicked(); break;
|
||||
default: ;
|
||||
}
|
||||
}
|
||||
Q_UNUSED(_a);
|
||||
}
|
||||
|
||||
const QMetaObjectExtraData treeMenu::staticMetaObjectExtraData = {
|
||||
0, qt_static_metacall
|
||||
};
|
||||
|
||||
const QMetaObject treeMenu::staticMetaObject = {
|
||||
{ &QDialog::staticMetaObject, qt_meta_stringdata_treeMenu,
|
||||
qt_meta_data_treeMenu, &staticMetaObjectExtraData }
|
||||
};
|
||||
|
||||
#ifdef Q_NO_DATA_RELOCATION
|
||||
const QMetaObject &treeMenu::getStaticMetaObject() { return staticMetaObject; }
|
||||
#endif //Q_NO_DATA_RELOCATION
|
||||
|
||||
const QMetaObject *treeMenu::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *treeMenu::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return 0;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_treeMenu))
|
||||
return static_cast<void*>(const_cast< treeMenu*>(this));
|
||||
return QDialog::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int treeMenu::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QDialog::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 9)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 9;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
@ -0,0 +1,78 @@
|
||||
#
|
||||
# Generated Makefile - do not edit!
|
||||
#
|
||||
# Edit the Makefile in the project folder instead (../Makefile). Each target
|
||||
# has a -pre and a -post target defined where you can add customized code.
|
||||
#
|
||||
# This makefile implements configuration specific macros and targets.
|
||||
|
||||
|
||||
# Environment
|
||||
MKDIR=mkdir
|
||||
CP=cp
|
||||
GREP=grep
|
||||
NM=nm
|
||||
CCADMIN=CCadmin
|
||||
RANLIB=ranlib
|
||||
CC=gcc
|
||||
CCC=g++
|
||||
CXX=g++
|
||||
FC=gfortran
|
||||
AS=as
|
||||
QMAKE=qmake
|
||||
|
||||
# Macros
|
||||
CND_PLATFORM=GNU-Linux
|
||||
CND_DLIB_EXT=so
|
||||
CND_CONF=Debug
|
||||
CND_DISTDIR=dist
|
||||
CND_BUILDDIR=build
|
||||
|
||||
# Include project Makefile
|
||||
include Makefile
|
||||
|
||||
# Object Directory
|
||||
OBJECTDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}
|
||||
|
||||
# Object Files
|
||||
OBJECTFILES=
|
||||
|
||||
|
||||
# C Compiler Flags
|
||||
CFLAGS=
|
||||
|
||||
# CC Compiler Flags
|
||||
CCFLAGS=
|
||||
CXXFLAGS=
|
||||
|
||||
# Fortran Compiler Flags
|
||||
FFLAGS=
|
||||
|
||||
# Assembler Flags
|
||||
ASFLAGS=
|
||||
|
||||
# Link Libraries and Options
|
||||
LDLIBSOPTIONS=-Wl,-rpath,'.' -ldl
|
||||
|
||||
nbproject/qt-${CND_CONF}.mk: nbproject/qt-${CND_CONF}.pro FORCE
|
||||
${QMAKE} VPATH=. -spec /usr/local/Trolltech/Qt-4.8.6/mkspecs/linux-g++-32 -o qttmp-${CND_CONF}.mk nbproject/qt-${CND_CONF}.pro
|
||||
mv -f qttmp-${CND_CONF}.mk nbproject/qt-${CND_CONF}.mk
|
||||
|
||||
FORCE:
|
||||
|
||||
# Build Targets
|
||||
.build-conf: ${BUILD_SUBPROJECTS} nbproject/qt-${CND_CONF}.mk
|
||||
"${MAKE}" -f nbproject/qt-${CND_CONF}.mk ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/61850_ZHENAN
|
||||
|
||||
${CND_BUILDDIR}/Debug/%.o: nbproject/qt-${CND_CONF}.mk
|
||||
${MAKE} -f nbproject/qt-${CND_CONF}.mk "$@"
|
||||
|
||||
# Subprojects
|
||||
.build-subprojects:
|
||||
|
||||
# Clean Targets
|
||||
.clean-conf: ${CLEAN_SUBPROJECTS} nbproject/qt-${CND_CONF}.mk
|
||||
${MAKE} -f nbproject/qt-${CND_CONF}.mk distclean
|
||||
|
||||
# Subprojects
|
||||
.clean-subprojects:
|
@ -0,0 +1,78 @@
|
||||
#
|
||||
# Generated Makefile - do not edit!
|
||||
#
|
||||
# Edit the Makefile in the project folder instead (../Makefile). Each target
|
||||
# has a -pre and a -post target defined where you can add customized code.
|
||||
#
|
||||
# This makefile implements configuration specific macros and targets.
|
||||
|
||||
|
||||
# Environment
|
||||
MKDIR=mkdir
|
||||
CP=cp
|
||||
GREP=grep
|
||||
NM=nm
|
||||
CCADMIN=CCadmin
|
||||
RANLIB=ranlib
|
||||
CC=gcc
|
||||
CCC=g++
|
||||
CXX=g++
|
||||
FC=gfortran
|
||||
AS=as
|
||||
QMAKE=qmake
|
||||
|
||||
# Macros
|
||||
CND_PLATFORM=GNU_copy-Linux
|
||||
CND_DLIB_EXT=so
|
||||
CND_CONF=Debug_qt4_32
|
||||
CND_DISTDIR=dist
|
||||
CND_BUILDDIR=build
|
||||
|
||||
# Include project Makefile
|
||||
include Makefile
|
||||
|
||||
# Object Directory
|
||||
OBJECTDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}
|
||||
|
||||
# Object Files
|
||||
OBJECTFILES=
|
||||
|
||||
|
||||
# C Compiler Flags
|
||||
CFLAGS=
|
||||
|
||||
# CC Compiler Flags
|
||||
CCFLAGS=
|
||||
CXXFLAGS=
|
||||
|
||||
# Fortran Compiler Flags
|
||||
FFLAGS=
|
||||
|
||||
# Assembler Flags
|
||||
ASFLAGS=
|
||||
|
||||
# Link Libraries and Options
|
||||
LDLIBSOPTIONS=-Wl,-rpath,'dist/Debug_qt4_32/GNU_copy-Linux' -ldl
|
||||
|
||||
nbproject/qt-${CND_CONF}.mk: nbproject/qt-${CND_CONF}.pro FORCE
|
||||
${QMAKE} VPATH=. -spec /usr/local/Trolltech/Qt-4.8.6/mkspecs/linux-g++-32 -o qttmp-${CND_CONF}.mk nbproject/qt-${CND_CONF}.pro
|
||||
mv -f qttmp-${CND_CONF}.mk nbproject/qt-${CND_CONF}.mk
|
||||
|
||||
FORCE:
|
||||
|
||||
# Build Targets
|
||||
.build-conf: ${BUILD_SUBPROJECTS} nbproject/qt-${CND_CONF}.mk
|
||||
"${MAKE}" -f nbproject/qt-${CND_CONF}.mk ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/61850Cli_Gui
|
||||
|
||||
${CND_BUILDDIR}/Debug_qt4_32/%.o: nbproject/qt-${CND_CONF}.mk
|
||||
${MAKE} -f nbproject/qt-${CND_CONF}.mk "$@"
|
||||
|
||||
# Subprojects
|
||||
.build-subprojects:
|
||||
|
||||
# Clean Targets
|
||||
.clean-conf: ${CLEAN_SUBPROJECTS} nbproject/qt-${CND_CONF}.mk
|
||||
${MAKE} -f nbproject/qt-${CND_CONF}.mk distclean
|
||||
|
||||
# Subprojects
|
||||
.clean-subprojects:
|
@ -0,0 +1,78 @@
|
||||
#
|
||||
# Generated Makefile - do not edit!
|
||||
#
|
||||
# Edit the Makefile in the project folder instead (../Makefile). Each target
|
||||
# has a -pre and a -post target defined where you can add customized code.
|
||||
#
|
||||
# This makefile implements configuration specific macros and targets.
|
||||
|
||||
|
||||
# Environment
|
||||
MKDIR=mkdir
|
||||
CP=cp
|
||||
GREP=grep
|
||||
NM=nm
|
||||
CCADMIN=CCadmin
|
||||
RANLIB=ranlib
|
||||
CC=gcc
|
||||
CCC=g++
|
||||
CXX=g++
|
||||
FC=gfortran
|
||||
AS=as
|
||||
QMAKE=qmake
|
||||
|
||||
# Macros
|
||||
CND_PLATFORM=GNU-Linux
|
||||
CND_DLIB_EXT=so
|
||||
CND_CONF=Release
|
||||
CND_DISTDIR=dist
|
||||
CND_BUILDDIR=build
|
||||
|
||||
# Include project Makefile
|
||||
include Makefile
|
||||
|
||||
# Object Directory
|
||||
OBJECTDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}
|
||||
|
||||
# Object Files
|
||||
OBJECTFILES=
|
||||
|
||||
|
||||
# C Compiler Flags
|
||||
CFLAGS=
|
||||
|
||||
# CC Compiler Flags
|
||||
CCFLAGS=
|
||||
CXXFLAGS=
|
||||
|
||||
# Fortran Compiler Flags
|
||||
FFLAGS=
|
||||
|
||||
# Assembler Flags
|
||||
ASFLAGS=
|
||||
|
||||
# Link Libraries and Options
|
||||
LDLIBSOPTIONS=-Wl,-rpath,'build/Release/GNU-Linux' -Wl,-rpath,'dist/Release/GNU-Linux' -ldl
|
||||
|
||||
nbproject/qt-${CND_CONF}.mk: nbproject/qt-${CND_CONF}.pro FORCE
|
||||
${QMAKE} VPATH=. -o qttmp-${CND_CONF}.mk nbproject/qt-${CND_CONF}.pro
|
||||
mv -f qttmp-${CND_CONF}.mk nbproject/qt-${CND_CONF}.mk
|
||||
|
||||
FORCE:
|
||||
|
||||
# Build Targets
|
||||
.build-conf: ${BUILD_SUBPROJECTS} nbproject/qt-${CND_CONF}.mk
|
||||
"${MAKE}" -f nbproject/qt-${CND_CONF}.mk ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/61850Cli_Gui
|
||||
|
||||
${CND_BUILDDIR}/Release/%.o: nbproject/qt-${CND_CONF}.mk
|
||||
${MAKE} -f nbproject/qt-${CND_CONF}.mk "$@"
|
||||
|
||||
# Subprojects
|
||||
.build-subprojects:
|
||||
|
||||
# Clean Targets
|
||||
.clean-conf: ${CLEAN_SUBPROJECTS} nbproject/qt-${CND_CONF}.mk
|
||||
${MAKE} -f nbproject/qt-${CND_CONF}.mk distclean
|
||||
|
||||
# Subprojects
|
||||
.clean-subprojects:
|
@ -0,0 +1,133 @@
|
||||
#
|
||||
# Generated Makefile - do not edit!
|
||||
#
|
||||
# Edit the Makefile in the project folder instead (../Makefile). Each target
|
||||
# has a pre- and a post- target defined where you can add customization code.
|
||||
#
|
||||
# This makefile implements macros and targets common to all configurations.
|
||||
#
|
||||
# NOCDDL
|
||||
|
||||
|
||||
# Building and Cleaning subprojects are done by default, but can be controlled with the SUB
|
||||
# macro. If SUB=no, subprojects will not be built or cleaned. The following macro
|
||||
# statements set BUILD_SUB-CONF and CLEAN_SUB-CONF to .build-reqprojects-conf
|
||||
# and .clean-reqprojects-conf unless SUB has the value 'no'
|
||||
SUB_no=NO
|
||||
SUBPROJECTS=${SUB_${SUB}}
|
||||
BUILD_SUBPROJECTS_=.build-subprojects
|
||||
BUILD_SUBPROJECTS_NO=
|
||||
BUILD_SUBPROJECTS=${BUILD_SUBPROJECTS_${SUBPROJECTS}}
|
||||
CLEAN_SUBPROJECTS_=.clean-subprojects
|
||||
CLEAN_SUBPROJECTS_NO=
|
||||
CLEAN_SUBPROJECTS=${CLEAN_SUBPROJECTS_${SUBPROJECTS}}
|
||||
|
||||
|
||||
# Project Name
|
||||
PROJECTNAME=61850GUI_zhenan
|
||||
|
||||
# Active Configuration
|
||||
DEFAULTCONF=Debug
|
||||
CONF=${DEFAULTCONF}
|
||||
|
||||
# All Configurations
|
||||
ALLCONFS=Debug Release Debug_qt4_32
|
||||
|
||||
|
||||
# build
|
||||
.build-impl: .build-pre .validate-impl .depcheck-impl
|
||||
@#echo "=> Running $@... Configuration=$(CONF)"
|
||||
"${MAKE}" -f nbproject/Makefile-${CONF}.mk QMAKE=${QMAKE} SUBPROJECTS=${SUBPROJECTS} .build-conf
|
||||
|
||||
|
||||
# clean
|
||||
.clean-impl: .clean-pre .validate-impl .depcheck-impl
|
||||
@#echo "=> Running $@... Configuration=$(CONF)"
|
||||
"${MAKE}" -f nbproject/Makefile-${CONF}.mk QMAKE=${QMAKE} SUBPROJECTS=${SUBPROJECTS} .clean-conf
|
||||
|
||||
|
||||
# clobber
|
||||
.clobber-impl: .clobber-pre .depcheck-impl
|
||||
@#echo "=> Running $@..."
|
||||
for CONF in ${ALLCONFS}; \
|
||||
do \
|
||||
"${MAKE}" -f nbproject/Makefile-$${CONF}.mk QMAKE=${QMAKE} SUBPROJECTS=${SUBPROJECTS} .clean-conf; \
|
||||
done
|
||||
|
||||
# all
|
||||
.all-impl: .all-pre .depcheck-impl
|
||||
@#echo "=> Running $@..."
|
||||
for CONF in ${ALLCONFS}; \
|
||||
do \
|
||||
"${MAKE}" -f nbproject/Makefile-$${CONF}.mk QMAKE=${QMAKE} SUBPROJECTS=${SUBPROJECTS} .build-conf; \
|
||||
done
|
||||
|
||||
# build tests
|
||||
.build-tests-impl: .build-impl .build-tests-pre
|
||||
@#echo "=> Running $@... Configuration=$(CONF)"
|
||||
"${MAKE}" -f nbproject/Makefile-${CONF}.mk SUBPROJECTS=${SUBPROJECTS} .build-tests-conf
|
||||
|
||||
# run tests
|
||||
.test-impl: .build-tests-impl .test-pre
|
||||
@#echo "=> Running $@... Configuration=$(CONF)"
|
||||
"${MAKE}" -f nbproject/Makefile-${CONF}.mk SUBPROJECTS=${SUBPROJECTS} .test-conf
|
||||
|
||||
# dependency checking support
|
||||
.depcheck-impl:
|
||||
@echo "# This code depends on make tool being used" >.dep.inc
|
||||
@if [ -n "${MAKE_VERSION}" ]; then \
|
||||
echo "DEPFILES=\$$(wildcard \$$(addsuffix .d, \$${OBJECTFILES} \$${TESTOBJECTFILES}))" >>.dep.inc; \
|
||||
echo "ifneq (\$${DEPFILES},)" >>.dep.inc; \
|
||||
echo "include \$${DEPFILES}" >>.dep.inc; \
|
||||
echo "endif" >>.dep.inc; \
|
||||
else \
|
||||
echo ".KEEP_STATE:" >>.dep.inc; \
|
||||
echo ".KEEP_STATE_FILE:.make.state.\$${CONF}" >>.dep.inc; \
|
||||
fi
|
||||
|
||||
# configuration validation
|
||||
.validate-impl:
|
||||
@if [ ! -f nbproject/Makefile-${CONF}.mk ]; \
|
||||
then \
|
||||
echo ""; \
|
||||
echo "Error: can not find the makefile for configuration '${CONF}' in project ${PROJECTNAME}"; \
|
||||
echo "See 'make help' for details."; \
|
||||
echo "Current directory: " `pwd`; \
|
||||
echo ""; \
|
||||
fi
|
||||
@if [ ! -f nbproject/Makefile-${CONF}.mk ]; \
|
||||
then \
|
||||
exit 1; \
|
||||
fi
|
||||
|
||||
|
||||
# help
|
||||
.help-impl: .help-pre
|
||||
@echo "This makefile supports the following configurations:"
|
||||
@echo " ${ALLCONFS}"
|
||||
@echo ""
|
||||
@echo "and the following targets:"
|
||||
@echo " build (default target)"
|
||||
@echo " clean"
|
||||
@echo " clobber"
|
||||
@echo " all"
|
||||
@echo " help"
|
||||
@echo ""
|
||||
@echo "Makefile Usage:"
|
||||
@echo " make [CONF=<CONFIGURATION>] [SUB=no] build"
|
||||
@echo " make [CONF=<CONFIGURATION>] [SUB=no] clean"
|
||||
@echo " make [SUB=no] clobber"
|
||||
@echo " make [SUB=no] all"
|
||||
@echo " make help"
|
||||
@echo ""
|
||||
@echo "Target 'build' will build a specific configuration and, unless 'SUB=no',"
|
||||
@echo " also build subprojects."
|
||||
@echo "Target 'clean' will clean a specific configuration and, unless 'SUB=no',"
|
||||
@echo " also clean subprojects."
|
||||
@echo "Target 'clobber' will remove all built files from all configurations and,"
|
||||
@echo " unless 'SUB=no', also from subprojects."
|
||||
@echo "Target 'all' will will build all configurations and, unless 'SUB=no',"
|
||||
@echo " also build subprojects."
|
||||
@echo "Target 'help' prints this message."
|
||||
@echo ""
|
||||
|
@ -0,0 +1,43 @@
|
||||
#
|
||||
# Generated - do not edit!
|
||||
#
|
||||
# NOCDDL
|
||||
#
|
||||
CND_BASEDIR=`pwd`
|
||||
CND_BUILDDIR=build
|
||||
CND_DISTDIR=dist
|
||||
# Debug configuration
|
||||
CND_PLATFORM_Debug=GNU-Linux
|
||||
CND_ARTIFACT_DIR_Debug=dist/Debug/GNU-Linux
|
||||
CND_ARTIFACT_NAME_Debug=61850_ZHENAN
|
||||
CND_ARTIFACT_PATH_Debug=dist/Debug/GNU-Linux/61850_ZHENAN
|
||||
CND_PACKAGE_DIR_Debug=dist/Debug/GNU-Linux/package
|
||||
CND_PACKAGE_NAME_Debug=61850GUIzhenan.tar
|
||||
CND_PACKAGE_PATH_Debug=dist/Debug/GNU-Linux/package/61850GUIzhenan.tar
|
||||
# Release configuration
|
||||
CND_PLATFORM_Release=GNU-Linux
|
||||
CND_ARTIFACT_DIR_Release=dist/Release/GNU-Linux
|
||||
CND_ARTIFACT_NAME_Release=61850Cli_Gui
|
||||
CND_ARTIFACT_PATH_Release=dist/Release/GNU-Linux/61850Cli_Gui
|
||||
CND_PACKAGE_DIR_Release=dist/Release/GNU-Linux/package
|
||||
CND_PACKAGE_NAME_Release=61850GUIzhenan.tar
|
||||
CND_PACKAGE_PATH_Release=dist/Release/GNU-Linux/package/61850GUIzhenan.tar
|
||||
# Debug_qt4_32 configuration
|
||||
CND_PLATFORM_Debug_qt4_32=GNU_copy-Linux
|
||||
CND_ARTIFACT_DIR_Debug_qt4_32=dist/Debug_qt4_32/GNU_copy-Linux
|
||||
CND_ARTIFACT_NAME_Debug_qt4_32=61850Cli_Gui
|
||||
CND_ARTIFACT_PATH_Debug_qt4_32=dist/Debug_qt4_32/GNU_copy-Linux/61850Cli_Gui
|
||||
CND_PACKAGE_DIR_Debug_qt4_32=dist/Debug_qt4_32/GNU_copy-Linux/package
|
||||
CND_PACKAGE_NAME_Debug_qt4_32=61850CliGui.tar
|
||||
CND_PACKAGE_PATH_Debug_qt4_32=dist/Debug_qt4_32/GNU_copy-Linux/package/61850CliGui.tar
|
||||
#
|
||||
# include compiler specific variables
|
||||
#
|
||||
# dmake command
|
||||
ROOT:sh = test -f nbproject/private/Makefile-variables.mk || \
|
||||
(mkdir -p nbproject/private && touch nbproject/private/Makefile-variables.mk)
|
||||
#
|
||||
# gmake command
|
||||
.PHONY: $(shell test -f nbproject/private/Makefile-variables.mk || (mkdir -p nbproject/private && touch nbproject/private/Makefile-variables.mk))
|
||||
#
|
||||
include nbproject/private/Makefile-variables.mk
|
@ -0,0 +1,76 @@
|
||||
#!/bin/bash -x
|
||||
|
||||
#
|
||||
# Generated - do not edit!
|
||||
#
|
||||
|
||||
# Macros
|
||||
TOP=`pwd`
|
||||
CND_PLATFORM=GNU-Linux
|
||||
CND_CONF=Debug
|
||||
CND_DISTDIR=dist
|
||||
CND_BUILDDIR=build
|
||||
CND_DLIB_EXT=so
|
||||
NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging
|
||||
TMPDIRNAME=tmp-packaging
|
||||
OUTPUT_PATH=${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/61850_ZHENAN
|
||||
OUTPUT_BASENAME=61850_ZHENAN
|
||||
PACKAGE_TOP_DIR=61850GUIzhenan/
|
||||
|
||||
# Functions
|
||||
function checkReturnCode
|
||||
{
|
||||
rc=$?
|
||||
if [ $rc != 0 ]
|
||||
then
|
||||
exit $rc
|
||||
fi
|
||||
}
|
||||
function makeDirectory
|
||||
# $1 directory path
|
||||
# $2 permission (optional)
|
||||
{
|
||||
mkdir -p "$1"
|
||||
checkReturnCode
|
||||
if [ "$2" != "" ]
|
||||
then
|
||||
chmod $2 "$1"
|
||||
checkReturnCode
|
||||
fi
|
||||
}
|
||||
function copyFileToTmpDir
|
||||
# $1 from-file path
|
||||
# $2 to-file path
|
||||
# $3 permission
|
||||
{
|
||||
cp "$1" "$2"
|
||||
checkReturnCode
|
||||
if [ "$3" != "" ]
|
||||
then
|
||||
chmod $3 "$2"
|
||||
checkReturnCode
|
||||
fi
|
||||
}
|
||||
|
||||
# Setup
|
||||
cd "${TOP}"
|
||||
mkdir -p ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package
|
||||
rm -rf ${NBTMPDIR}
|
||||
mkdir -p ${NBTMPDIR}
|
||||
|
||||
# Copy files and create directories and links
|
||||
cd "${TOP}"
|
||||
makeDirectory "${NBTMPDIR}/61850GUIzhenan/bin"
|
||||
copyFileToTmpDir "${OUTPUT_PATH}" "${NBTMPDIR}/${PACKAGE_TOP_DIR}bin/${OUTPUT_BASENAME}" 0755
|
||||
|
||||
|
||||
# Generate tar file
|
||||
cd "${TOP}"
|
||||
rm -f ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package/61850GUIzhenan.tar
|
||||
cd ${NBTMPDIR}
|
||||
tar -vcf ../../../../${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package/61850GUIzhenan.tar *
|
||||
checkReturnCode
|
||||
|
||||
# Cleanup
|
||||
cd "${TOP}"
|
||||
rm -rf ${NBTMPDIR}
|
@ -0,0 +1,76 @@
|
||||
#!/bin/bash -x
|
||||
|
||||
#
|
||||
# Generated - do not edit!
|
||||
#
|
||||
|
||||
# Macros
|
||||
TOP=`pwd`
|
||||
CND_PLATFORM=GNU_copy-Linux
|
||||
CND_CONF=Debug_qt4_32
|
||||
CND_DISTDIR=dist
|
||||
CND_BUILDDIR=build
|
||||
CND_DLIB_EXT=so
|
||||
NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging
|
||||
TMPDIRNAME=tmp-packaging
|
||||
OUTPUT_PATH=${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/61850Cli_Gui
|
||||
OUTPUT_BASENAME=61850Cli_Gui
|
||||
PACKAGE_TOP_DIR=61850CliGui/
|
||||
|
||||
# Functions
|
||||
function checkReturnCode
|
||||
{
|
||||
rc=$?
|
||||
if [ $rc != 0 ]
|
||||
then
|
||||
exit $rc
|
||||
fi
|
||||
}
|
||||
function makeDirectory
|
||||
# $1 directory path
|
||||
# $2 permission (optional)
|
||||
{
|
||||
mkdir -p "$1"
|
||||
checkReturnCode
|
||||
if [ "$2" != "" ]
|
||||
then
|
||||
chmod $2 "$1"
|
||||
checkReturnCode
|
||||
fi
|
||||
}
|
||||
function copyFileToTmpDir
|
||||
# $1 from-file path
|
||||
# $2 to-file path
|
||||
# $3 permission
|
||||
{
|
||||
cp "$1" "$2"
|
||||
checkReturnCode
|
||||
if [ "$3" != "" ]
|
||||
then
|
||||
chmod $3 "$2"
|
||||
checkReturnCode
|
||||
fi
|
||||
}
|
||||
|
||||
# Setup
|
||||
cd "${TOP}"
|
||||
mkdir -p ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package
|
||||
rm -rf ${NBTMPDIR}
|
||||
mkdir -p ${NBTMPDIR}
|
||||
|
||||
# Copy files and create directories and links
|
||||
cd "${TOP}"
|
||||
makeDirectory "${NBTMPDIR}/61850CliGui/bin"
|
||||
copyFileToTmpDir "${OUTPUT_PATH}" "${NBTMPDIR}/${PACKAGE_TOP_DIR}bin/${OUTPUT_BASENAME}" 0755
|
||||
|
||||
|
||||
# Generate tar file
|
||||
cd "${TOP}"
|
||||
rm -f ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package/61850CliGui.tar
|
||||
cd ${NBTMPDIR}
|
||||
tar -vcf ../../../../${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package/61850CliGui.tar *
|
||||
checkReturnCode
|
||||
|
||||
# Cleanup
|
||||
cd "${TOP}"
|
||||
rm -rf ${NBTMPDIR}
|
@ -0,0 +1,76 @@
|
||||
#!/bin/bash -x
|
||||
|
||||
#
|
||||
# Generated - do not edit!
|
||||
#
|
||||
|
||||
# Macros
|
||||
TOP=`pwd`
|
||||
CND_PLATFORM=GNU-Linux
|
||||
CND_CONF=Release
|
||||
CND_DISTDIR=dist
|
||||
CND_BUILDDIR=build
|
||||
CND_DLIB_EXT=so
|
||||
NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging
|
||||
TMPDIRNAME=tmp-packaging
|
||||
OUTPUT_PATH=${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/61850Cli_Gui
|
||||
OUTPUT_BASENAME=61850Cli_Gui
|
||||
PACKAGE_TOP_DIR=61850GUIzhenan/
|
||||
|
||||
# Functions
|
||||
function checkReturnCode
|
||||
{
|
||||
rc=$?
|
||||
if [ $rc != 0 ]
|
||||
then
|
||||
exit $rc
|
||||
fi
|
||||
}
|
||||
function makeDirectory
|
||||
# $1 directory path
|
||||
# $2 permission (optional)
|
||||
{
|
||||
mkdir -p "$1"
|
||||
checkReturnCode
|
||||
if [ "$2" != "" ]
|
||||
then
|
||||
chmod $2 "$1"
|
||||
checkReturnCode
|
||||
fi
|
||||
}
|
||||
function copyFileToTmpDir
|
||||
# $1 from-file path
|
||||
# $2 to-file path
|
||||
# $3 permission
|
||||
{
|
||||
cp "$1" "$2"
|
||||
checkReturnCode
|
||||
if [ "$3" != "" ]
|
||||
then
|
||||
chmod $3 "$2"
|
||||
checkReturnCode
|
||||
fi
|
||||
}
|
||||
|
||||
# Setup
|
||||
cd "${TOP}"
|
||||
mkdir -p ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package
|
||||
rm -rf ${NBTMPDIR}
|
||||
mkdir -p ${NBTMPDIR}
|
||||
|
||||
# Copy files and create directories and links
|
||||
cd "${TOP}"
|
||||
makeDirectory "${NBTMPDIR}/61850GUIzhenan/bin"
|
||||
copyFileToTmpDir "${OUTPUT_PATH}" "${NBTMPDIR}/${PACKAGE_TOP_DIR}bin/${OUTPUT_BASENAME}" 0755
|
||||
|
||||
|
||||
# Generate tar file
|
||||
cd "${TOP}"
|
||||
rm -f ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package/61850GUIzhenan.tar
|
||||
cd ${NBTMPDIR}
|
||||
tar -vcf ../../../../${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package/61850GUIzhenan.tar *
|
||||
checkReturnCode
|
||||
|
||||
# Cleanup
|
||||
cd "${TOP}"
|
||||
rm -rf ${NBTMPDIR}
|
@ -0,0 +1,432 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<configurationDescriptor version="100">
|
||||
<logicalFolder name="root" displayName="root" projectFiles="true" kind="ROOT">
|
||||
<logicalFolder name="f1" displayName="config" projectFiles="true">
|
||||
<itemPath>XY_SCD.SCD</itemPath>
|
||||
<itemPath>acsicfg.xml</itemPath>
|
||||
<itemPath>groupip.xml</itemPath>
|
||||
<itemPath>logcfg.xml</itemPath>
|
||||
<itemPath>osicfg.xml</itemPath>
|
||||
<itemPath>rcbcfg.xml</itemPath>
|
||||
<itemPath>syscfg.ini</itemPath>
|
||||
</logicalFolder>
|
||||
<logicalFolder name="HeaderFiles" displayName="头文件" projectFiles="true">
|
||||
<itemPath>inc/ConnectionPool.h</itemPath>
|
||||
<itemPath>inc/DataDeal.h</itemPath>
|
||||
<itemPath>FtpCLient.h</itemPath>
|
||||
<itemPath>inc/activation_code.h</itemPath>
|
||||
<itemPath>inc/callback.h</itemPath>
|
||||
<itemPath>dialog_ctrl.h</itemPath>
|
||||
<itemPath>dialog_filetran.h</itemPath>
|
||||
<itemPath>dialog_lcb.h</itemPath>
|
||||
<itemPath>dialog_rcb.h</itemPath>
|
||||
<itemPath>dialog_sg.h</itemPath>
|
||||
<itemPath>inc/dlunix.h</itemPath>
|
||||
<itemPath>./inc/gui_srv.h</itemPath>
|
||||
<itemPath>inc/singleton.h</itemPath>
|
||||
<itemPath>./inc/ui_gui_srv.h</itemPath>
|
||||
</logicalFolder>
|
||||
<logicalFolder name="SourceFiles" displayName="源文件" projectFiles="true">
|
||||
<itemPath>src/ConnectionPool.cpp</itemPath>
|
||||
<itemPath>src/DataDeal.cpp</itemPath>
|
||||
<itemPath>FtpCLient.cpp</itemPath>
|
||||
<itemPath>src/callback.cpp</itemPath>
|
||||
<itemPath>dialog_ctrl.cpp</itemPath>
|
||||
<itemPath>dialog_filetran.cpp</itemPath>
|
||||
<itemPath>dialog_lcb.cpp</itemPath>
|
||||
<itemPath>dialog_rcb.cpp</itemPath>
|
||||
<itemPath>dialog_sg.cpp</itemPath>
|
||||
<itemPath>src/dlunix.cpp</itemPath>
|
||||
<itemPath>./src/gui_srv.cpp</itemPath>
|
||||
<itemPath>src/main.cpp</itemPath>
|
||||
</logicalFolder>
|
||||
<logicalFolder name="ResourceFiles" displayName="资源文件" projectFiles="true">
|
||||
<itemPath>dialog_ctrl.ui</itemPath>
|
||||
<itemPath>dialog_filetran.ui</itemPath>
|
||||
<itemPath>dialog_lcb.ui</itemPath>
|
||||
<itemPath>dialog_rcb.ui</itemPath>
|
||||
<itemPath>dialog_sg.ui</itemPath>
|
||||
<itemPath>resources/gui_srv.qrc</itemPath>
|
||||
<itemPath>./resources/gui_srv.ui</itemPath>
|
||||
</logicalFolder>
|
||||
<logicalFolder name="TestFiles"
|
||||
displayName="测试文件"
|
||||
projectFiles="false"
|
||||
kind="TEST_LOGICAL_FOLDER">
|
||||
</logicalFolder>
|
||||
<logicalFolder name="ExternalFiles"
|
||||
displayName="重要文件"
|
||||
projectFiles="false"
|
||||
kind="IMPORTANT_FILES_FOLDER">
|
||||
<itemPath>Makefile</itemPath>
|
||||
</logicalFolder>
|
||||
</logicalFolder>
|
||||
<projectmakefile>Makefile</projectmakefile>
|
||||
<confs>
|
||||
<conf name="Debug" type="4">
|
||||
<toolsSet>
|
||||
<compilerSet>GNU|GNU</compilerSet>
|
||||
<dependencyChecking>true</dependencyChecking>
|
||||
<rebuildPropChanged>false</rebuildPropChanged>
|
||||
</toolsSet>
|
||||
<qt>
|
||||
<destdir>${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}</destdir>
|
||||
<target>61850_ZHENAN</target>
|
||||
<modules>core gui widgets network opengl qt3support sql svg xml</modules>
|
||||
<qmakeSpec>/usr/local/Trolltech/Qt-4.8.6/mkspecs/linux-g++-32</qmakeSpec>
|
||||
</qt>
|
||||
<compileType>
|
||||
<ccTool>
|
||||
<incDir>
|
||||
<pElem>inc</pElem>
|
||||
<pElem>treeMenu</pElem>
|
||||
<pElem>temp/cosmos2010/inc</pElem>
|
||||
<pElem>temp/cosmos2010/mmslite/inc</pElem>
|
||||
</incDir>
|
||||
<preprocessorList>
|
||||
<Elem>DEBUG_SISCO</Elem>
|
||||
<Elem>ETHERNET</Elem>
|
||||
<Elem>LEAN_T</Elem>
|
||||
<Elem>MMS_LITE</Elem>
|
||||
<Elem>MOSI</Elem>
|
||||
<Elem>MVL_UCA</Elem>
|
||||
</preprocessorList>
|
||||
</ccTool>
|
||||
<linkerTool>
|
||||
<linkerDynSerch>
|
||||
<pElem>.</pElem>
|
||||
</linkerDynSerch>
|
||||
<linkerLibItems>
|
||||
<linkerLibLibItem>dl</linkerLibLibItem>
|
||||
</linkerLibItems>
|
||||
</linkerTool>
|
||||
</compileType>
|
||||
<item path="./inc/gui_srv.h" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="./inc/ui_gui_srv.h" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="./resources/gui_srv.ui" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="./src/gui_srv.cpp" ex="false" tool="1" flavor2="0">
|
||||
</item>
|
||||
<item path="FtpCLient.cpp" ex="false" tool="1" flavor2="0">
|
||||
</item>
|
||||
<item path="FtpCLient.h" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="XY_SCD.SCD" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="acsicfg.xml" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="dialog_ctrl.cpp" ex="false" tool="1" flavor2="0">
|
||||
</item>
|
||||
<item path="dialog_ctrl.h" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="dialog_ctrl.ui" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="dialog_filetran.cpp" ex="false" tool="1" flavor2="0">
|
||||
</item>
|
||||
<item path="dialog_filetran.h" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="dialog_filetran.ui" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="dialog_lcb.cpp" ex="false" tool="1" flavor2="0">
|
||||
</item>
|
||||
<item path="dialog_lcb.h" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="dialog_lcb.ui" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="dialog_rcb.cpp" ex="false" tool="1" flavor2="0">
|
||||
</item>
|
||||
<item path="dialog_rcb.h" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="dialog_rcb.ui" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="dialog_sg.cpp" ex="false" tool="1" flavor2="0">
|
||||
</item>
|
||||
<item path="dialog_sg.h" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="dialog_sg.ui" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="groupip.xml" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="inc/ConnectionPool.h" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="inc/DataDeal.h" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="inc/activation_code.h" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="inc/callback.h" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="inc/dlunix.h" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="inc/singleton.h" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="logcfg.xml" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="osicfg.xml" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="rcbcfg.xml" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="resources/gui_srv.qrc" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="src/ConnectionPool.cpp" ex="false" tool="1" flavor2="0">
|
||||
</item>
|
||||
<item path="src/DataDeal.cpp" ex="false" tool="1" flavor2="0">
|
||||
</item>
|
||||
<item path="src/callback.cpp" ex="false" tool="1" flavor2="0">
|
||||
</item>
|
||||
<item path="src/dlunix.cpp" ex="false" tool="1" flavor2="0">
|
||||
</item>
|
||||
<item path="src/main.cpp" ex="false" tool="1" flavor2="0">
|
||||
</item>
|
||||
<item path="syscfg.ini" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
</conf>
|
||||
<conf name="Release" type="4">
|
||||
<toolsSet>
|
||||
<compilerSet>default</compilerSet>
|
||||
<dependencyChecking>true</dependencyChecking>
|
||||
<rebuildPropChanged>false</rebuildPropChanged>
|
||||
</toolsSet>
|
||||
<qt>
|
||||
<target>61850Cli_Gui</target>
|
||||
<buildMode>1</buildMode>
|
||||
<modules>core gui widgets network opengl qt3support sql svg xml</modules>
|
||||
</qt>
|
||||
<compileType>
|
||||
<cTool>
|
||||
<developmentMode>5</developmentMode>
|
||||
</cTool>
|
||||
<ccTool>
|
||||
<developmentMode>5</developmentMode>
|
||||
<incDir>
|
||||
<pElem>inc</pElem>
|
||||
<pElem>../temp/cosmos2010/inc</pElem>
|
||||
<pElem>../temp/cosmos2010/mmslite/inc</pElem>
|
||||
<pElem>treeMenu</pElem>
|
||||
</incDir>
|
||||
<preprocessorList>
|
||||
<Elem>DEBUG_SISCO</Elem>
|
||||
<Elem>ETHERNET</Elem>
|
||||
<Elem>LEAN_T</Elem>
|
||||
<Elem>MMS_LITE</Elem>
|
||||
<Elem>MOSI</Elem>
|
||||
<Elem>MVL_UCA</Elem>
|
||||
</preprocessorList>
|
||||
</ccTool>
|
||||
<fortranCompilerTool>
|
||||
<developmentMode>5</developmentMode>
|
||||
</fortranCompilerTool>
|
||||
<asmTool>
|
||||
<developmentMode>5</developmentMode>
|
||||
</asmTool>
|
||||
<linkerTool>
|
||||
<linkerDynSerch>
|
||||
<pElem>build/Release/GNU-Linux</pElem>
|
||||
<pElem>dist/Release/GNU-Linux</pElem>
|
||||
</linkerDynSerch>
|
||||
<linkerLibItems>
|
||||
<linkerLibLibItem>dl</linkerLibLibItem>
|
||||
</linkerLibItems>
|
||||
</linkerTool>
|
||||
</compileType>
|
||||
<item path="./inc/gui_srv.h" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="./inc/ui_gui_srv.h" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="./resources/gui_srv.ui" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="./src/gui_srv.cpp" ex="false" tool="1" flavor2="0">
|
||||
</item>
|
||||
<item path="FtpCLient.cpp" ex="false" tool="1" flavor2="0">
|
||||
</item>
|
||||
<item path="FtpCLient.h" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="XY_SCD.SCD" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="acsicfg.xml" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="dialog_ctrl.cpp" ex="false" tool="1" flavor2="0">
|
||||
</item>
|
||||
<item path="dialog_ctrl.h" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="dialog_ctrl.ui" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="dialog_filetran.cpp" ex="false" tool="1" flavor2="0">
|
||||
</item>
|
||||
<item path="dialog_filetran.h" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="dialog_filetran.ui" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="dialog_lcb.cpp" ex="false" tool="1" flavor2="0">
|
||||
</item>
|
||||
<item path="dialog_lcb.h" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="dialog_lcb.ui" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="dialog_rcb.cpp" ex="false" tool="1" flavor2="0">
|
||||
</item>
|
||||
<item path="dialog_rcb.h" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="dialog_rcb.ui" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="dialog_sg.cpp" ex="false" tool="1" flavor2="0">
|
||||
</item>
|
||||
<item path="dialog_sg.h" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="dialog_sg.ui" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="groupip.xml" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="inc/ConnectionPool.h" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="inc/DataDeal.h" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="inc/activation_code.h" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="inc/callback.h" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="inc/dlunix.h" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="inc/singleton.h" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="logcfg.xml" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="osicfg.xml" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="rcbcfg.xml" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="resources/gui_srv.qrc" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="src/ConnectionPool.cpp" ex="false" tool="1" flavor2="0">
|
||||
</item>
|
||||
<item path="src/DataDeal.cpp" ex="false" tool="1" flavor2="0">
|
||||
</item>
|
||||
<item path="src/callback.cpp" ex="false" tool="1" flavor2="0">
|
||||
</item>
|
||||
<item path="src/dlunix.cpp" ex="false" tool="1" flavor2="0">
|
||||
</item>
|
||||
<item path="src/main.cpp" ex="false" tool="1" flavor2="0">
|
||||
</item>
|
||||
<item path="syscfg.ini" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
</conf>
|
||||
<conf name="Debug_qt4_32" type="4">
|
||||
<toolsSet>
|
||||
<compilerSet>GNU_copy|GNU</compilerSet>
|
||||
<dependencyChecking>true</dependencyChecking>
|
||||
<rebuildPropChanged>true</rebuildPropChanged>
|
||||
</toolsSet>
|
||||
<qt>
|
||||
<modules>core gui network sql xml</modules>
|
||||
<qmakeSpec>/usr/local/Trolltech/Qt-4.8.6/mkspecs/linux-g++-32</qmakeSpec>
|
||||
</qt>
|
||||
<compileType>
|
||||
<ccTool>
|
||||
<incDir>
|
||||
<pElem>inc</pElem>
|
||||
<pElem>treeMenu</pElem>
|
||||
<pElem>temp/cosmos2010/inc</pElem>
|
||||
<pElem>temp/cosmos2010/mmslite/inc</pElem>
|
||||
</incDir>
|
||||
<preprocessorList>
|
||||
<Elem>DEBUG_SISCO</Elem>
|
||||
<Elem>ETHERNET</Elem>
|
||||
<Elem>LEAN_T</Elem>
|
||||
<Elem>MMS_LITE</Elem>
|
||||
<Elem>MOSI</Elem>
|
||||
<Elem>MVL_UCA</Elem>
|
||||
</preprocessorList>
|
||||
</ccTool>
|
||||
<linkerTool>
|
||||
<linkerDynSerch>
|
||||
<pElem>dist/Debug_qt4_32/GNU_copy-Linux</pElem>
|
||||
</linkerDynSerch>
|
||||
<linkerLibItems>
|
||||
<linkerLibLibItem>dl</linkerLibLibItem>
|
||||
</linkerLibItems>
|
||||
</linkerTool>
|
||||
</compileType>
|
||||
<item path="./inc/gui_srv.h" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="./inc/ui_gui_srv.h" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="./resources/gui_srv.ui" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="./src/gui_srv.cpp" ex="false" tool="1" flavor2="0">
|
||||
</item>
|
||||
<item path="FtpCLient.cpp" ex="false" tool="1" flavor2="0">
|
||||
</item>
|
||||
<item path="FtpCLient.h" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="XY_SCD.SCD" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="acsicfg.xml" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="dialog_ctrl.cpp" ex="false" tool="1" flavor2="0">
|
||||
</item>
|
||||
<item path="dialog_ctrl.h" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="dialog_ctrl.ui" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="dialog_filetran.cpp" ex="false" tool="1" flavor2="0">
|
||||
</item>
|
||||
<item path="dialog_filetran.h" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="dialog_filetran.ui" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="dialog_lcb.cpp" ex="false" tool="1" flavor2="0">
|
||||
</item>
|
||||
<item path="dialog_lcb.h" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="dialog_lcb.ui" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="dialog_rcb.cpp" ex="false" tool="1" flavor2="0">
|
||||
</item>
|
||||
<item path="dialog_rcb.h" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="dialog_rcb.ui" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="dialog_sg.cpp" ex="false" tool="1" flavor2="0">
|
||||
</item>
|
||||
<item path="dialog_sg.h" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="dialog_sg.ui" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="groupip.xml" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="inc/ConnectionPool.h" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="inc/DataDeal.h" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="inc/activation_code.h" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="inc/callback.h" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="inc/dlunix.h" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="inc/singleton.h" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="logcfg.xml" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="osicfg.xml" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="rcbcfg.xml" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="resources/gui_srv.qrc" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
<item path="src/ConnectionPool.cpp" ex="false" tool="1" flavor2="0">
|
||||
</item>
|
||||
<item path="src/DataDeal.cpp" ex="false" tool="1" flavor2="0">
|
||||
</item>
|
||||
<item path="src/callback.cpp" ex="false" tool="1" flavor2="0">
|
||||
</item>
|
||||
<item path="src/dlunix.cpp" ex="false" tool="1" flavor2="0">
|
||||
</item>
|
||||
<item path="src/main.cpp" ex="false" tool="1" flavor2="0">
|
||||
</item>
|
||||
<item path="syscfg.ini" ex="false" tool="3" flavor2="0">
|
||||
</item>
|
||||
</conf>
|
||||
</confs>
|
||||
</configurationDescriptor>
|
@ -0,0 +1,8 @@
|
||||
#
|
||||
# Generated - do not edit!
|
||||
#
|
||||
# NOCDDL
|
||||
#
|
||||
# Debug configuration
|
||||
# Release configuration
|
||||
# Debug_qt4_32 configuration
|
@ -0,0 +1,75 @@
|
||||
/*
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
|
||||
*
|
||||
* Copyright (c) 2016 Oracle and/or its affiliates. All rights reserved.
|
||||
*
|
||||
* Oracle and Java are registered trademarks of Oracle and/or its affiliates.
|
||||
* Other names may be trademarks of their respective owners.
|
||||
*
|
||||
* The contents of this file are subject to the terms of either the GNU
|
||||
* General Public License Version 2 only ("GPL") or the Common
|
||||
* Development and Distribution License("CDDL") (collectively, the
|
||||
* "License"). You may not use this file except in compliance with the
|
||||
* License. You can obtain a copy of the License at
|
||||
* http://www.netbeans.org/cddl-gplv2.html
|
||||
* or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
|
||||
* specific language governing permissions and limitations under the
|
||||
* License. When distributing the software, include this License Header
|
||||
* Notice in each file and include the License file at
|
||||
* nbbuild/licenses/CDDL-GPL-2-CP. Oracle designates this
|
||||
* particular file as subject to the "Classpath" exception as provided
|
||||
* by Oracle in the GPL Version 2 section of the License file that
|
||||
* accompanied this code. If applicable, add the following below the
|
||||
* License Header, with the fields enclosed by brackets [] replaced by
|
||||
* your own identifying information:
|
||||
* "Portions Copyrighted [year] [name of copyright owner]"
|
||||
*
|
||||
* If you wish your version of this file to be governed by only the CDDL
|
||||
* or only the GPL Version 2, indicate your decision by adding
|
||||
* "[Contributor] elects to include this software in this distribution
|
||||
* under the [CDDL or GPL Version 2] license." If you do not indicate a
|
||||
* single choice of license, a recipient has the option to distribute
|
||||
* your version of this file under either the CDDL, the GPL Version 2 or
|
||||
* to extend the choice of license to its licensees as provided above.
|
||||
* However, if you add GPL Version 2 code and therefore, elected the GPL
|
||||
* Version 2 license, then the option applies only if the new code is
|
||||
* made subject to such option by the copyright holder.
|
||||
*
|
||||
* Contributor(s):
|
||||
*/
|
||||
|
||||
// List of standard headers was taken in http://en.cppreference.com/w/c/header
|
||||
|
||||
#include <assert.h> // Conditionally compiled macro that compares its argument to zero
|
||||
#include <ctype.h> // Functions to determine the type contained in character data
|
||||
#include <errno.h> // Macros reporting error conditions
|
||||
#include <float.h> // Limits of float types
|
||||
#include <limits.h> // Sizes of basic types
|
||||
#include <locale.h> // Localization utilities
|
||||
#include <math.h> // Common mathematics functions
|
||||
#include <setjmp.h> // Nonlocal jumps
|
||||
#include <signal.h> // Signal handling
|
||||
#include <stdarg.h> // Variable arguments
|
||||
#include <stddef.h> // Common macro definitions
|
||||
#include <stdio.h> // Input/output
|
||||
#include <string.h> // String handling
|
||||
#include <stdlib.h> // General utilities: memory management, program utilities, string conversions, random numbers
|
||||
#include <time.h> // Time/date utilities
|
||||
#include <iso646.h> // (since C95) Alternative operator spellings
|
||||
#include <wchar.h> // (since C95) Extended multibyte and wide character utilities
|
||||
#include <wctype.h> // (since C95) Wide character classification and mapping utilities
|
||||
#ifdef _STDC_C99
|
||||
#include <complex.h> // (since C99) Complex number arithmetic
|
||||
#include <fenv.h> // (since C99) Floating-point environment
|
||||
#include <inttypes.h> // (since C99) Format conversion of integer types
|
||||
#include <stdbool.h> // (since C99) Boolean type
|
||||
#include <stdint.h> // (since C99) Fixed-width integer types
|
||||
#include <tgmath.h> // (since C99) Type-generic math (macros wrapping math.h and complex.h)
|
||||
#endif
|
||||
#ifdef _STDC_C11
|
||||
#include <stdalign.h> // (since C11) alignas and alignof convenience macros
|
||||
#include <stdatomic.h> // (since C11) Atomic types
|
||||
#include <stdnoreturn.h> // (since C11) noreturn convenience macros
|
||||
#include <threads.h> // (since C11) Thread library
|
||||
#include <uchar.h> // (since C11) UTF-16 and UTF-32 character utilities
|
||||
#endif
|
@ -0,0 +1,123 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<configurationDescriptor version="100">
|
||||
<projectmakefile>Makefile</projectmakefile>
|
||||
<confs>
|
||||
<conf name="Debug" type="4">
|
||||
<toolsSet>
|
||||
<developmentServer>localhost</developmentServer>
|
||||
<platform>2</platform>
|
||||
</toolsSet>
|
||||
<dbx_gdbdebugger version="1">
|
||||
<gdb_pathmaps>
|
||||
</gdb_pathmaps>
|
||||
<gdb_interceptlist>
|
||||
<gdbinterceptoptions gdb_all="false" gdb_unhandled="true" gdb_unexpected="true"/>
|
||||
</gdb_interceptlist>
|
||||
<gdb_signals>
|
||||
</gdb_signals>
|
||||
<gdb_options>
|
||||
<DebugOptions>
|
||||
<option name="debug_dir" value="/home/htdev/newcac/sourceproj/61850GUI_zhenan"/>
|
||||
</DebugOptions>
|
||||
</gdb_options>
|
||||
<gdb_buildfirst gdb_buildfirst_overriden="false" gdb_buildfirst_old="false"/>
|
||||
</dbx_gdbdebugger>
|
||||
<nativedebugger version="1">
|
||||
<engine>gdb</engine>
|
||||
</nativedebugger>
|
||||
<runprofile version="9">
|
||||
<runcommandpicklist>
|
||||
<runcommandpicklistitem></runcommandpicklistitem>
|
||||
<runcommandpicklistitem>"${OUTPUT_PATH}"</runcommandpicklistitem>
|
||||
</runcommandpicklist>
|
||||
<runcommand>"${OUTPUT_PATH}"</runcommand>
|
||||
<rundir>/home/htdev/newcac/sourceproj/61850GUI_zhenan</rundir>
|
||||
<buildfirst>true</buildfirst>
|
||||
<terminal-type>0</terminal-type>
|
||||
<remove-instrumentation>0</remove-instrumentation>
|
||||
<environment>
|
||||
<variable name="LD_LIBRARY_PATH"
|
||||
value="/home/htdev/newcac/sourceproj/61850GUI_zhenan/dist/Debug/GNU-Linux :/usr/lib:/usr/lib/mysql:/usr/local/Trolltech/Qt-4.8.6/plugins/sqldrivers:/home/htdev/cacproc/lib"/>
|
||||
<variable name="PATH"
|
||||
value="/home/htdev/newcac/sourceproj/61850GUI_zhenan/dist/Debug/GNU-Linux:$PATH"/>
|
||||
</environment>
|
||||
</runprofile>
|
||||
</conf>
|
||||
<conf name="Release" type="4">
|
||||
<toolsSet>
|
||||
<developmentServer>localhost</developmentServer>
|
||||
<platform>2</platform>
|
||||
</toolsSet>
|
||||
<dbx_gdbdebugger version="1">
|
||||
<gdb_pathmaps>
|
||||
</gdb_pathmaps>
|
||||
<gdb_interceptlist>
|
||||
<gdbinterceptoptions gdb_all="false" gdb_unhandled="true" gdb_unexpected="true"/>
|
||||
</gdb_interceptlist>
|
||||
<gdb_options>
|
||||
<DebugOptions>
|
||||
<option name="debug_dir" value="/home/htdev/Documents/61850_GUI/61850Cli_Gui/."/>
|
||||
</DebugOptions>
|
||||
</gdb_options>
|
||||
<gdb_buildfirst gdb_buildfirst_overriden="false" gdb_buildfirst_old="false"/>
|
||||
</dbx_gdbdebugger>
|
||||
<nativedebugger version="1">
|
||||
<engine>gdb</engine>
|
||||
</nativedebugger>
|
||||
<runprofile version="9">
|
||||
<runcommandpicklist>
|
||||
<runcommandpicklistitem>"${OUTPUT_PATH}"</runcommandpicklistitem>
|
||||
</runcommandpicklist>
|
||||
<runcommand>"${OUTPUT_PATH}"</runcommand>
|
||||
<rundir>/home/htdev/Documents/61850_GUI/61850Cli_Gui/dist/Release/GNU-Linux</rundir>
|
||||
<buildfirst>false</buildfirst>
|
||||
<terminal-type>0</terminal-type>
|
||||
<remove-instrumentation>0</remove-instrumentation>
|
||||
<environment>
|
||||
<variable name="LD_LIBRARY_PATH"
|
||||
value="/home/htdev/Documents/61850_GUI/61850Cli_Gui/dist/Release/GNU-Linux/"/>
|
||||
<variable name="PATH"
|
||||
value="/home/htdev/Documents/61850_GUI/61850Cli_Gui/dist/Release/GNU-Linux/:$PATH"/>
|
||||
</environment>
|
||||
</runprofile>
|
||||
</conf>
|
||||
<conf name="Debug_qt4_32" type="4">
|
||||
<toolsSet>
|
||||
<developmentServer>localhost</developmentServer>
|
||||
<platform>2</platform>
|
||||
</toolsSet>
|
||||
<dbx_gdbdebugger version="1">
|
||||
<gdb_pathmaps>
|
||||
</gdb_pathmaps>
|
||||
<gdb_interceptlist>
|
||||
<gdbinterceptoptions gdb_all="false" gdb_unhandled="true" gdb_unexpected="true"/>
|
||||
</gdb_interceptlist>
|
||||
<gdb_options>
|
||||
<DebugOptions>
|
||||
<option name="debug_dir" value="/root/Downloads/61850_GUI/61850Cli_Gui"/>
|
||||
</DebugOptions>
|
||||
</gdb_options>
|
||||
<gdb_buildfirst gdb_buildfirst_overriden="false" gdb_buildfirst_old="false"/>
|
||||
</dbx_gdbdebugger>
|
||||
<nativedebugger version="1">
|
||||
<engine>gdb</engine>
|
||||
</nativedebugger>
|
||||
<runprofile version="9">
|
||||
<runcommandpicklist>
|
||||
<runcommandpicklistitem>"${OUTPUT_PATH}"</runcommandpicklistitem>
|
||||
</runcommandpicklist>
|
||||
<runcommand>"${OUTPUT_PATH}"</runcommand>
|
||||
<rundir>/root/Downloads/61850_GUI/61850Cli_Gui/dist/Debug_qt4_32/GNU_copy-Linux</rundir>
|
||||
<buildfirst>false</buildfirst>
|
||||
<terminal-type>0</terminal-type>
|
||||
<remove-instrumentation>0</remove-instrumentation>
|
||||
<environment>
|
||||
<variable name="LD_LIBRARY_PATH"
|
||||
value="/root/Downloads/61850_GUI/61850Cli_Gui/lib"/>
|
||||
<variable name="PATH"
|
||||
value="/root/Downloads/61850_GUI/61850Cli_Gui/dist/Debug_qt4_32/GNU_copy-Linux:$PATH"/>
|
||||
</environment>
|
||||
</runprofile>
|
||||
</conf>
|
||||
</confs>
|
||||
</configurationDescriptor>
|
@ -0,0 +1,135 @@
|
||||
/*
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
|
||||
*
|
||||
* Copyright (c) 2016 Oracle and/or its affiliates. All rights reserved.
|
||||
*
|
||||
* Oracle and Java are registered trademarks of Oracle and/or its affiliates.
|
||||
* Other names may be trademarks of their respective owners.
|
||||
*
|
||||
* The contents of this file are subject to the terms of either the GNU
|
||||
* General Public License Version 2 only ("GPL") or the Common
|
||||
* Development and Distribution License("CDDL") (collectively, the
|
||||
* "License"). You may not use this file except in compliance with the
|
||||
* License. You can obtain a copy of the License at
|
||||
* http://www.netbeans.org/cddl-gplv2.html
|
||||
* or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
|
||||
* specific language governing permissions and limitations under the
|
||||
* License. When distributing the software, include this License Header
|
||||
* Notice in each file and include the License file at
|
||||
* nbbuild/licenses/CDDL-GPL-2-CP. Oracle designates this
|
||||
* particular file as subject to the "Classpath" exception as provided
|
||||
* by Oracle in the GPL Version 2 section of the License file that
|
||||
* accompanied this code. If applicable, add the following below the
|
||||
* License Header, with the fields enclosed by brackets [] replaced by
|
||||
* your own identifying information:
|
||||
* "Portions Copyrighted [year] [name of copyright owner]"
|
||||
*
|
||||
* If you wish your version of this file to be governed by only the CDDL
|
||||
* or only the GPL Version 2, indicate your decision by adding
|
||||
* "[Contributor] elects to include this software in this distribution
|
||||
* under the [CDDL or GPL Version 2] license." If you do not indicate a
|
||||
* single choice of license, a recipient has the option to distribute
|
||||
* your version of this file under either the CDDL, the GPL Version 2 or
|
||||
* to extend the choice of license to its licensees as provided above.
|
||||
* However, if you add GPL Version 2 code and therefore, elected the GPL
|
||||
* Version 2 license, then the option applies only if the new code is
|
||||
* made subject to such option by the copyright holder.
|
||||
*
|
||||
* Contributor(s):
|
||||
*/
|
||||
|
||||
// List of standard headers was taken in http://en.cppreference.com/w/cpp/header
|
||||
|
||||
#include <cstdlib> // General purpose utilities: program control, dynamic memory allocation, random numbers, sort and search
|
||||
#include <csignal> // Functions and macro constants for signal management
|
||||
#include <csetjmp> // Macro (and function) that saves (and jumps) to an execution context
|
||||
#include <cstdarg> // Handling of variable length argument lists
|
||||
#include <typeinfo> // Runtime type information utilities
|
||||
#include <bitset> // std::bitset class template
|
||||
#include <functional> // Function objects, designed for use with the standard algorithms
|
||||
#include <utility> // Various utility components
|
||||
#include <ctime> // C-style time/date utilites
|
||||
#include <cstddef> // typedefs for types such as size_t, NULL and others
|
||||
#include <new> // Low-level memory management utilities
|
||||
#include <memory> // Higher level memory management utilities
|
||||
#include <climits> // limits of integral types
|
||||
#include <cfloat> // limits of float types
|
||||
#include <limits> // standardized way to query properties of arithmetic types
|
||||
#include <exception> // Exception handling utilities
|
||||
#include <stdexcept> // Standard exception objects
|
||||
#include <cassert> // Conditionally compiled macro that compares its argument to zero
|
||||
#include <cerrno> // Macro containing the last error number
|
||||
#include <cctype> // functions to determine the type contained in character data
|
||||
#include <cwctype> // functions for determining the type of wide character data
|
||||
#include <cstring> // various narrow character string handling functions
|
||||
#include <cwchar> // various wide and multibyte string handling functions
|
||||
#include <string> // std::basic_string class template
|
||||
#include <vector> // std::vector container
|
||||
#include <deque> // std::deque container
|
||||
#include <list> // std::list container
|
||||
#include <set> // std::set and std::multiset associative containers
|
||||
#include <map> // std::map and std::multimap associative containers
|
||||
#include <stack> // std::stack container adaptor
|
||||
#include <queue> // std::queue and std::priority_queue container adaptors
|
||||
#include <algorithm> // Algorithms that operate on containers
|
||||
#include <iterator> // Container iterators
|
||||
#include <cmath> // Common mathematics functions
|
||||
#include <complex> // Complex number type
|
||||
#include <valarray> // Class for representing and manipulating arrays of values
|
||||
#include <numeric> // Numeric operations on values in containers
|
||||
#include <iosfwd> // forward declarations of all classes in the input/output library
|
||||
#include <ios> // std::ios_base class, std::basic_ios class template and several typedefs
|
||||
#include <istream> // std::basic_istream class template and several typedefs
|
||||
#include <ostream> // std::basic_ostream, std::basic_iostream class templates and several typedefs
|
||||
#include <iostream> // several standard stream objects
|
||||
#include <fstream> // std::basic_fstream, std::basic_ifstream, std::basic_ofstream class templates and several typedefs
|
||||
#include <sstream> // std::basic_stringstream, std::basic_istringstream, std::basic_ostringstream class templates and several typedefs
|
||||
#include <strstream> // std::strstream, std::istrstream, std::ostrstream(deprecated)
|
||||
#include <iomanip> // Helper functions to control the format or input and output
|
||||
#include <streambuf> // std::basic_streambuf class template
|
||||
#include <cstdio> // C-style input-output functions
|
||||
#include <locale> // Localization utilities
|
||||
#include <clocale> // C localization utilities
|
||||
#include <ciso646> // empty header. The macros that appear in iso646.h in C are keywords in C++
|
||||
#if __cplusplus >= 201103L
|
||||
#include <typeindex> // (since C++11) std::type_index
|
||||
#include <type_traits> // (since C++11) Compile-time type information
|
||||
#include <chrono> // (since C++11) C++ time utilites
|
||||
#include <initializer_list> // (since C++11) std::initializer_list class template
|
||||
#include <tuple> // (since C++11) std::tuple class template
|
||||
#include <scoped_allocator> // (since C++11) Nested allocator class
|
||||
#include <cstdint> // (since C++11) fixed-size types and limits of other types
|
||||
#include <cinttypes> // (since C++11) formatting macros , intmax_t and uintmax_t math and conversions
|
||||
#include <system_error> // (since C++11) defines std::error_code, a platform-dependent error code
|
||||
#include <cuchar> // (since C++11) C-style Unicode character conversion functions
|
||||
#include <array> // (since C++11) std::array container
|
||||
#include <forward_list> // (since C++11) std::forward_list container
|
||||
#include <unordered_set> // (since C++11) std::unordered_set and std::unordered_multiset unordered associative containers
|
||||
#include <unordered_map> // (since C++11) std::unordered_map and std::unordered_multimap unordered associative containers
|
||||
#include <random> // (since C++11) Random number generators and distributions
|
||||
#include <ratio> // (since C++11) Compile-time rational arithmetic
|
||||
#include <cfenv> // (since C++11) Floating-point environment access functions
|
||||
#include <codecvt> // (since C++11) Unicode conversion facilities
|
||||
#include <regex> // (since C++11) Classes, algorithms and iterators to support regular expression processing
|
||||
#include <atomic> // (since C++11) Atomic operations library
|
||||
#include <ccomplex> // (since C++11)(deprecated in C++17) simply includes the header <complex>
|
||||
#include <ctgmath> // (since C++11)(deprecated in C++17) simply includes the headers <ccomplex> (until C++17)<complex> (since C++17) and <cmath>: the overloads equivalent to the contents of the C header tgmath.h are already provided by those headers
|
||||
#include <cstdalign> // (since C++11)(deprecated in C++17) defines one compatibility macro constant
|
||||
#include <cstdbool> // (since C++11)(deprecated in C++17) defines one compatibility macro constant
|
||||
#include <thread> // (since C++11) std::thread class and supporting functions
|
||||
#include <mutex> // (since C++11) mutual exclusion primitives
|
||||
#include <future> // (since C++11) primitives for asynchronous computations
|
||||
#include <condition_variable> // (since C++11) thread waiting conditions
|
||||
#endif
|
||||
#if __cplusplus >= 201300L
|
||||
#include <shared_mutex> // (since C++14) shared mutual exclusion primitives
|
||||
#endif
|
||||
#if __cplusplus >= 201500L
|
||||
#include <any> // (since C++17) std::any class template
|
||||
#include <optional> // (since C++17) std::optional class template
|
||||
#include <variant> // (since C++17) std::variant class template
|
||||
#include <memory_resource> // (since C++17) Polymorphic allocators and memory resources
|
||||
#include <string_view> // (since C++17) std::basic_string_view class template
|
||||
#include <execution> // (since C++17) Predefined execution policies for parallel versions of the algorithms
|
||||
#include <filesystem> // (since C++17) std::path class and supporting functions
|
||||
#endif
|
@ -0,0 +1,41 @@
|
||||
# Launchers File syntax:
|
||||
#
|
||||
# [Must-have property line]
|
||||
# launcher1.runCommand=<Run Command>
|
||||
# [Optional extra properties]
|
||||
# launcher1.displayName=<Display Name, runCommand by default>
|
||||
# launcher1.hide=<true if lancher is not visible in menu, false by default>
|
||||
# launcher1.buildCommand=<Build Command, Build Command specified in project properties by default>
|
||||
# launcher1.runDir=<Run Directory, ${PROJECT_DIR} by default>
|
||||
# launcher1.runInOwnTab=<false if launcher reuse common "Run" output tab, true by default>
|
||||
# launcher1.symbolFiles=<Symbol Files loaded by debugger, ${OUTPUT_PATH} by default>
|
||||
# launcher1.env.<Environment variable KEY>=<Environment variable VALUE>
|
||||
# (If this value is quoted with ` it is handled as a native command which execution result will become the value)
|
||||
# [Common launcher properties]
|
||||
# common.runDir=<Run Directory>
|
||||
# (This value is overwritten by a launcher specific runDir value if the latter exists)
|
||||
# common.env.<Environment variable KEY>=<Environment variable VALUE>
|
||||
# (Environment variables from common launcher are merged with launcher specific variables)
|
||||
# common.symbolFiles=<Symbol Files loaded by debugger>
|
||||
# (This value is overwritten by a launcher specific symbolFiles value if the latter exists)
|
||||
#
|
||||
# In runDir, symbolFiles and env fields you can use these macroses:
|
||||
# ${PROJECT_DIR} - project directory absolute path
|
||||
# ${OUTPUT_PATH} - linker output path (relative to project directory path)
|
||||
# ${OUTPUT_BASENAME}- linker output filename
|
||||
# ${TESTDIR} - test files directory (relative to project directory path)
|
||||
# ${OBJECTDIR} - object files directory (relative to project directory path)
|
||||
# ${CND_DISTDIR} - distribution directory (relative to project directory path)
|
||||
# ${CND_BUILDDIR} - build directory (relative to project directory path)
|
||||
# ${CND_PLATFORM} - platform name
|
||||
# ${CND_CONF} - configuration name
|
||||
# ${CND_DLIB_EXT} - dynamic library extension
|
||||
#
|
||||
# All the project launchers must be listed in the file!
|
||||
#
|
||||
# launcher1.runCommand=...
|
||||
# launcher2.runCommand=...
|
||||
# ...
|
||||
# common.runDir=...
|
||||
# common.env.KEY=VALUE
|
||||
# launcher1.runCommand=<type your run command here>
|
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project-private xmlns="http://www.netbeans.org/ns/project-private/1">
|
||||
<data xmlns="http://www.netbeans.org/ns/make-project-private/1">
|
||||
<activeConfTypeElem>4</activeConfTypeElem>
|
||||
<activeConfIndexElem>0</activeConfIndexElem>
|
||||
</data>
|
||||
<editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/2" lastBookmarkId="0"/>
|
||||
<open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2">
|
||||
<group/>
|
||||
</open-files>
|
||||
</project-private>
|
@ -0,0 +1,95 @@
|
||||
#Mon Jul 02 09:54:27 CST 2018
|
||||
/home/shjd/project/61850Cli_Gui/nbproject/Makefile-variables.mk=c1512961211000
|
||||
/home/shjd/project/61850Cli_Gui/resources/ResourceFiles/br.bmp=c1229419946000
|
||||
/home/shjd/project/61850Cli_Gui/resources/gui_srv.ui=c1514423651000
|
||||
/home/shjd/project/61850Cli_Gui/nbproject/private/c_standard_headers_indexer.c=t1512961212000
|
||||
/home/shjd/project/61850Cli_Gui/inc/ConnectionPool.h=c1522391307000
|
||||
/home/shjd/project/61850Cli_Gui/nbproject/project.xml=t1522205526000
|
||||
/home/shjd/project/61850Cli_Gui/dialog_filetran.h=c1515572958000
|
||||
/home/shjd/project/61850Cli_Gui/dialog_sg.h=c1514515661000
|
||||
/home/shjd/project/61850Cli_Gui/resources/ResourceFiles/rb.gif=c1513670662000
|
||||
/home/shjd/project/61850Cli_Gui/ui_dialog_rcb.h=u1530408580000
|
||||
/home/shjd/project/61850Cli_Gui/inc/service.h=t1512961865000
|
||||
/home/shjd/project/61850Cli_Gui/inc/dlunix.h=c1216266734000
|
||||
/home/shjd/project/61850Cli_Gui/resources/ResourceFiles/ds.bmp=c1229419946000
|
||||
/home/shjd/project/61850Cli_Gui/Makefile=c1512961212000
|
||||
/home/shjd/project/61850Cli_Gui/resources/ResourceFiles/lb.gif=c1513670662000
|
||||
/home/shjd/project/61850Cli_Gui/inc/DataDeal.h=c1522376839000
|
||||
/home/shjd/project/61850Cli_Gui/moc_dialog_rcb.cpp=u1530408602000
|
||||
/home/shjd/project/61850Cli_Gui/resources/ResourceFiles/srv_.png=c1513670662000
|
||||
/home/shjd/project/61850Cli_Gui/nbproject/Makefile-Debug.mk=c1522205526000
|
||||
/home/shjd/project/61850Cli_Gui/resources/ResourceFiles/srvconn.gif=c1513670662000
|
||||
/home/shjd/project/61850Cli_Gui/resources/ResourceFiles/ld.bmp=c1229419946000
|
||||
/home/shjd/project/61850Cli_Gui/src/service.cpp=t1512961813000
|
||||
/home/shjd/project/61850Cli_Gui/dialog_filetran.cpp=c1515573613000
|
||||
/home/shjd/project/61850Cli_Gui/ui_dialog_ctrl.h=u1530408580000
|
||||
/home/shjd/project/61850Cli_Gui/inc/ui_dialog_state.h=t1298718868000
|
||||
/home/shjd/project/61850Cli_Gui/moc_dialog_lcb.cpp=u1530408600000
|
||||
/home/shjd/project/61850Cli_Gui/nbproject/private/launcher.properties=t1512961212000
|
||||
/home/shjd/project/61850Cli_Gui/resources/ResourceFiles/sg.gif=c1513670662000
|
||||
/home/shjd/project/61850Cli_Gui/moc_gui_srv.cpp=u1530408597000
|
||||
/home/shjd/project/61850Cli_Gui/src/gui_srv.cpp=c1529978214000
|
||||
/home/shjd/project/61850Cli_Gui/inc/callback.h=c1214897522000
|
||||
/home/shjd/project/61850Cli_Gui/src/ConnectionPool.cpp=c1522391400000
|
||||
/home/shjd/project/61850Cli_Gui/resources/ResourceFiles/ln.bmp=c1229419946000
|
||||
/home/shjd/project/61850Cli_Gui/resources/ResourceFiles/srvdisconn.gif=c1513670662000
|
||||
/home/shjd/project/61850Cli_Gui/.dep.inc=u1530408580000
|
||||
/home/shjd/project/61850Cli_Gui/ui_dialog_lcb.h=u1530408580000
|
||||
/home/shjd/project/61850Cli_Gui/resources/ResourceFiles/va.bmp=c1229419946000
|
||||
/home/shjd/project/61850Cli_Gui/resources/ResourceFiles/gb.gif=c1513670662000
|
||||
/home/shjd/project/61850Cli_Gui/nbproject/configurations.xml=t1530408537000
|
||||
/home/shjd/project/61850Cli_Gui/dialog_rcb.ui=c1514344620000
|
||||
/home/shjd/project/61850Cli_Gui/nbproject/qt-Release.pro=t1522722321000
|
||||
/home/shjd/project/61850Cli_Gui/ui_dialog_sg.h=u1530408580000
|
||||
/home/shjd/project/61850Cli_Gui/nbproject/Package-Release.bash=t1512961211000
|
||||
/home/shjd/project/61850Cli_Gui/resources/ResourceFiles/srv.bmp=c1229419946000
|
||||
/home/shjd/project/61850Cli_Gui/resources/ResourceFiles/do.gif=c1513670662000
|
||||
/home/shjd/project/61850Cli_Gui/resources/ResourceFiles/srvconnall.png=c1513670662000
|
||||
/home/shjd/project/61850Cli_Gui/dialog_lcb.ui=c1515131884000
|
||||
/home/shjd/project/61850Cli_Gui/src/callback.cpp=c1514429324000
|
||||
/home/shjd/project/61850Cli_Gui/resources/ResourceFiles/fc.bmp=c1229419946000
|
||||
/home/shjd/project/61850Cli_Gui/ui_gui_srv.h=u1530408580000
|
||||
/home/shjd/project/61850Cli_Gui/resources/gui_srv.qrc=c1513735388000
|
||||
/home/shjd/project/61850Cli_Gui/dialog_sg.cpp=c1522724840000
|
||||
/home/shjd/project/61850Cli_Gui/resources/ResourceFiles/ub.gif=c1513670662000
|
||||
/home/shjd/project/61850Cli_Gui/moc_dialog_ctrl.cpp=u1530408598000
|
||||
/home/shjd/project/61850Cli_Gui/inc/ui_gui_srv.h=c1513738780000
|
||||
/home/shjd/project/61850Cli_Gui/src/dlunix.cpp=c1512982985000
|
||||
VERSION=1.3
|
||||
/home/shjd/project/61850Cli_Gui/nbproject/private/configurations.xml=t1530496333000
|
||||
/home/shjd/project/61850Cli_Gui/moc_dialog_sg.cpp=u1530408602000
|
||||
/home/shjd/project/61850Cli_Gui/nbproject/Makefile-impl.mk=c1512961211000
|
||||
/home/shjd/project/61850Cli_Gui/nbproject/private/Makefile-variables.mk=c1512961211000
|
||||
/home/shjd/project/61850Cli_Gui/dialog_ctrl.cpp=c1515553519000
|
||||
/home/shjd/project/61850Cli_Gui/src/client.cpp=t1512969222000
|
||||
/home/shjd/project/61850Cli_Gui/nbproject/private/timestamps-192.168.1.75-root-22=t1530496334000
|
||||
/home/shjd/project/61850Cli_Gui/nbproject/Package-Debug.bash=t1512961211000
|
||||
/home/shjd/project/61850Cli_Gui/dialog_ctrl.ui=c1515390601000
|
||||
/home/shjd/project/61850Cli_Gui/src/main.cpp=c1522725830000
|
||||
/home/shjd/project/61850Cli_Gui/nbproject/project.properties=t1512964407000
|
||||
/home/shjd/project/61850Cli_Gui/dialog_filetran.ui=c1515571679000
|
||||
/home/shjd/project/61850Cli_Gui/nbproject/qt-Debug.pro=c1522722321000
|
||||
/home/shjd/project/61850Cli_Gui/resources/ResourceFiles/msgclear.gif=c1513670662000
|
||||
/home/shjd/project/61850Cli_Gui/nbproject/Makefile-Release.mk=t1512961211000
|
||||
/home/shjd/project/61850Cli_Gui/nbproject/private/cpp_standard_headers_indexer.cpp=t1512961212000
|
||||
/home/shjd/project/61850Cli_Gui/dialog_rcb.h=c1522725723000
|
||||
/home/shjd/project/61850Cli_Gui/inc/ui_dialog_sg.h=t1298718868000
|
||||
/home/shjd/project/61850Cli_Gui/dialog_sg.ui=c1515134030000
|
||||
/home/shjd/project/61850Cli_Gui/ui_treeMenu.h=t1522722269000
|
||||
/home/shjd/project/61850Cli_Gui/qrc_gui_srv.cpp=u1530408604000
|
||||
/home/shjd/project/61850Cli_Gui/treeMenu/treeMenu.cpp=t1522658645000
|
||||
/home/shjd/project/61850Cli_Gui/ui_dialog_filetran.h=u1530408580000
|
||||
/home/shjd/project/61850Cli_Gui/moc_treeMenu.cpp=t1522722288000
|
||||
/home/shjd/project/61850Cli_Gui/dialog_rcb.cpp=c1522726616000
|
||||
/home/shjd/project/61850Cli_Gui/src/DataDeal.cpp=c1522377715000
|
||||
/home/shjd/project/61850Cli_Gui/treeMenu/treeMenu.h=t1522658846000
|
||||
/home/shjd/project/61850Cli_Gui/dialog_lcb.cpp=c1514516063000
|
||||
/home/shjd/project/61850Cli_Gui/dialog_lcb.h=c1514516063000
|
||||
/home/shjd/project/61850Cli_Gui/resources/ResourceFiles/jdlogo.jpg=c1513670662000
|
||||
/home/shjd/project/61850Cli_Gui/moc_dialog_filetran.cpp=u1530408599000
|
||||
/home/shjd/project/61850Cli_Gui/resources/ResourceFiles/srv1.gif=c1513670662000
|
||||
/home/shjd/project/61850Cli_Gui/inc/ui_dialog_ctrl.h=t1298718868000
|
||||
/home/shjd/project/61850Cli_Gui/dialog_ctrl.h=c1515391509000
|
||||
/home/shjd/project/61850Cli_Gui/nbproject/private/private.xml=t1530408537000
|
||||
/home/shjd/project/61850Cli_Gui/inc/gui_srv.h=c1522723246000
|
||||
/home/shjd/project/61850Cli_Gui/treeMenu/treeMenu.ui=t1514169426000
|
@ -0,0 +1 @@
|
||||
#Mon Mar 20 15:49:17 CST 2023
|
@ -0,0 +1,32 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://www.netbeans.org/ns/project/1">
|
||||
<type>org.netbeans.modules.cnd.makeproject</type>
|
||||
<configuration>
|
||||
<data xmlns="http://www.netbeans.org/ns/make-project/1">
|
||||
<name>61850_ZHENAN</name>
|
||||
<c-extensions/>
|
||||
<cpp-extensions>cpp</cpp-extensions>
|
||||
<header-extensions>h</header-extensions>
|
||||
<sourceEncoding>UTF-8</sourceEncoding>
|
||||
<make-dep-projects/>
|
||||
<sourceRootList/>
|
||||
<confList>
|
||||
<confElem>
|
||||
<name>Debug</name>
|
||||
<type>4</type>
|
||||
</confElem>
|
||||
<confElem>
|
||||
<name>Release</name>
|
||||
<type>4</type>
|
||||
</confElem>
|
||||
<confElem>
|
||||
<name>Debug_qt4_32</name>
|
||||
<type>4</type>
|
||||
</confElem>
|
||||
</confList>
|
||||
<formatting>
|
||||
<project-formatting-style>false</project-formatting-style>
|
||||
</formatting>
|
||||
</data>
|
||||
</configuration>
|
||||
</project>
|
@ -0,0 +1,384 @@
|
||||
#############################################################################
|
||||
# Makefile for building: dist/Debug/GNU-Linux/61850_ZHENAN
|
||||
# Generated by qmake (2.01a) (Qt 4.8.6) on: ?? 3? 23 09:32:33 2023
|
||||
# Project: nbproject/qt-Debug.pro
|
||||
# Template: app
|
||||
# Command: /usr/local/Trolltech/Qt-4.8.6/bin/qmake -spec /usr/local/Trolltech/Qt-4.8.6/mkspecs/linux-g++-32 VPATH=. -o qttmp-Debug.mk nbproject/qt-Debug.pro
|
||||
#############################################################################
|
||||
|
||||
####### Compiler, tools and options
|
||||
|
||||
CC = gcc
|
||||
CXX = g++
|
||||
DEFINES = -DDEBUG_SISCO -DETHERNET -DLEAN_T -DMMS_LITE -DMOSI -DMVL_UCA -DQT_SVG_LIB -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_SQL_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED
|
||||
CFLAGS = -m32 -pipe -g -Wall -W -D_REENTRANT $(DEFINES)
|
||||
CXXFLAGS = -m32 -pipe -g -Wall -W -D_REENTRANT $(DEFINES)
|
||||
INCPATH = -I/usr/local/Trolltech/Qt-4.8.6/mkspecs/linux-g++-32 -Inbproject -I/usr/local/Trolltech/Qt-4.8.6/include/QtCore -I/usr/local/Trolltech/Qt-4.8.6/include/QtNetwork -I/usr/local/Trolltech/Qt-4.8.6/include/QtGui -I/usr/local/Trolltech/Qt-4.8.6/include/QtOpenGL -I/usr/local/Trolltech/Qt-4.8.6/include/QtXml -I/usr/local/Trolltech/Qt-4.8.6/include/QtSql -I/usr/local/Trolltech/Qt-4.8.6/include/Qt3Support -I/usr/local/Trolltech/Qt-4.8.6/include/QtSvg -I/usr/local/Trolltech/Qt-4.8.6/include -Iinc -ItreeMenu -Itemp/cosmos2010/inc -Itemp/cosmos2010/mmslite/inc -I/usr/X11R6/include -I. -I. -Inbproject -I.
|
||||
LINK = g++
|
||||
LFLAGS = -m32 -Wl,-rpath,/usr/local/Trolltech/Qt-4.8.6/lib
|
||||
LIBS = $(SUBLIBS) -L/usr/local/Trolltech/Qt-4.8.6/lib -L/usr/X11R6/lib -ldl -Wl,-rpath,. -lQtSvg -L/usr/local/Trolltech/Qt-4.8.6/lib -L/usr/X11R6/lib -lQt3Support -lQtSql -lQtXml -lQtOpenGL -lQtGui -lQtNetwork -lQtCore -lGL -lpthread
|
||||
AR = ar cqs
|
||||
RANLIB =
|
||||
QMAKE = /usr/local/Trolltech/Qt-4.8.6/bin/qmake
|
||||
TAR = tar -cf
|
||||
COMPRESS = gzip -9f
|
||||
COPY = cp -f
|
||||
SED = sed
|
||||
COPY_FILE = $(COPY)
|
||||
COPY_DIR = $(COPY) -r
|
||||
STRIP = strip
|
||||
INSTALL_FILE = install -m 644 -p
|
||||
INSTALL_DIR = $(COPY_DIR)
|
||||
INSTALL_PROGRAM = install -m 755 -p
|
||||
DEL_FILE = rm -f
|
||||
SYMLINK = ln -f -s
|
||||
DEL_DIR = rmdir
|
||||
MOVE = mv -f
|
||||
CHK_DIR_EXISTS= test -d
|
||||
MKDIR = mkdir -p
|
||||
|
||||
####### Output directory
|
||||
|
||||
OBJECTS_DIR = build/Debug/GNU-Linux/
|
||||
|
||||
####### Files
|
||||
|
||||
SOURCES = src/gui_srv.cpp \
|
||||
FtpCLient.cpp \
|
||||
dialog_ctrl.cpp \
|
||||
dialog_filetran.cpp \
|
||||
dialog_lcb.cpp \
|
||||
dialog_rcb.cpp \
|
||||
dialog_sg.cpp \
|
||||
src/ConnectionPool.cpp \
|
||||
src/DataDeal.cpp \
|
||||
src/callback.cpp \
|
||||
src/dlunix.cpp \
|
||||
src/main.cpp moc_gui_srv.cpp \
|
||||
moc_FtpCLient.cpp \
|
||||
moc_dialog_ctrl.cpp \
|
||||
moc_dialog_filetran.cpp \
|
||||
moc_dialog_lcb.cpp \
|
||||
moc_dialog_rcb.cpp \
|
||||
moc_dialog_sg.cpp \
|
||||
qrc_gui_srv.cpp
|
||||
OBJECTS = build/Debug/GNU-Linux/gui_srv.o \
|
||||
build/Debug/GNU-Linux/FtpCLient.o \
|
||||
build/Debug/GNU-Linux/dialog_ctrl.o \
|
||||
build/Debug/GNU-Linux/dialog_filetran.o \
|
||||
build/Debug/GNU-Linux/dialog_lcb.o \
|
||||
build/Debug/GNU-Linux/dialog_rcb.o \
|
||||
build/Debug/GNU-Linux/dialog_sg.o \
|
||||
build/Debug/GNU-Linux/ConnectionPool.o \
|
||||
build/Debug/GNU-Linux/DataDeal.o \
|
||||
build/Debug/GNU-Linux/callback.o \
|
||||
build/Debug/GNU-Linux/dlunix.o \
|
||||
build/Debug/GNU-Linux/main.o \
|
||||
build/Debug/GNU-Linux/moc_gui_srv.o \
|
||||
build/Debug/GNU-Linux/moc_FtpCLient.o \
|
||||
build/Debug/GNU-Linux/moc_dialog_ctrl.o \
|
||||
build/Debug/GNU-Linux/moc_dialog_filetran.o \
|
||||
build/Debug/GNU-Linux/moc_dialog_lcb.o \
|
||||
build/Debug/GNU-Linux/moc_dialog_rcb.o \
|
||||
build/Debug/GNU-Linux/moc_dialog_sg.o \
|
||||
build/Debug/GNU-Linux/qrc_gui_srv.o
|
||||
DIST = /usr/local/Trolltech/Qt-4.8.6/mkspecs/common/unix.conf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/common/linux.conf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/common/gcc-base.conf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/common/gcc-base-unix.conf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/common/g++-base.conf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/common/g++-unix.conf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/qconfig.pri \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/modules/qt_webkit_version.pri \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/qt_functions.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/qt_config.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/exclusive_builds.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/default_pre.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/debug.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/default_post.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/shared.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/unix/gdb_dwarf_index.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/warn_on.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/qt.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/unix/opengl.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/unix/thread.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/moc.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/resources.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/uic.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/yacc.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/lex.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/include_source_dir.prf \
|
||||
nbproject/qt-Debug.pro
|
||||
QMAKE_TARGET = 61850_ZHENAN
|
||||
DESTDIR = dist/Debug/GNU-Linux/
|
||||
TARGET = dist/Debug/GNU-Linux/61850_ZHENAN
|
||||
|
||||
first: all
|
||||
####### Implicit rules
|
||||
|
||||
.SUFFIXES: .o .c .cpp .cc .cxx .C
|
||||
|
||||
.cpp.o:
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
|
||||
|
||||
.cc.o:
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
|
||||
|
||||
.cxx.o:
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
|
||||
|
||||
.C.o:
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
|
||||
|
||||
.c.o:
|
||||
$(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
|
||||
|
||||
####### Build rules
|
||||
|
||||
all: qttmp-Debug.mk $(TARGET)
|
||||
|
||||
$(TARGET): ui_gui_srv.h ui_dialog_ctrl.h ui_dialog_filetran.h ui_dialog_lcb.h ui_dialog_rcb.h ui_dialog_sg.h $(OBJECTS)
|
||||
@$(CHK_DIR_EXISTS) dist/Debug/GNU-Linux/ || $(MKDIR) dist/Debug/GNU-Linux/
|
||||
$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
|
||||
{ test -n "$(DESTDIR)" && DESTDIR="$(DESTDIR)" || DESTDIR=.; } && test $$(gdb --version | sed -e 's,[^0-9][^0-9]*\([0-9]\)\.\([0-9]\).*,\1\2,;q') -gt 72 && gdb --nx --batch --quiet -ex 'set confirm off' -ex "save gdb-index $$DESTDIR" -ex quit '$(TARGET)' && test -f $(TARGET).gdb-index && objcopy --add-section '.gdb_index=$(TARGET).gdb-index' --set-section-flags '.gdb_index=readonly' '$(TARGET)' '$(TARGET)' && rm -f $(TARGET).gdb-index || true
|
||||
|
||||
qttmp-Debug.mk: nbproject/qt-Debug.pro /usr/local/Trolltech/Qt-4.8.6/mkspecs/linux-g++-32/qmake.conf /usr/local/Trolltech/Qt-4.8.6/mkspecs/common/unix.conf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/common/linux.conf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/common/gcc-base.conf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/common/gcc-base-unix.conf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/common/g++-base.conf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/common/g++-unix.conf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/qconfig.pri \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/modules/qt_webkit_version.pri \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/qt_functions.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/qt_config.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/exclusive_builds.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/default_pre.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/debug.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/default_post.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/shared.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/unix/gdb_dwarf_index.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/warn_on.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/qt.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/unix/opengl.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/unix/thread.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/moc.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/resources.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/uic.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/yacc.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/lex.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/include_source_dir.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/lib/libQtSvg.prl \
|
||||
/usr/local/Trolltech/Qt-4.8.6/lib/libQtGui.prl \
|
||||
/usr/local/Trolltech/Qt-4.8.6/lib/libQtCore.prl \
|
||||
/usr/local/Trolltech/Qt-4.8.6/lib/libQt3Support.prl \
|
||||
/usr/local/Trolltech/Qt-4.8.6/lib/libQtSql.prl \
|
||||
/usr/local/Trolltech/Qt-4.8.6/lib/libQtXml.prl \
|
||||
/usr/local/Trolltech/Qt-4.8.6/lib/libQtNetwork.prl \
|
||||
/usr/local/Trolltech/Qt-4.8.6/lib/libQtOpenGL.prl
|
||||
$(QMAKE) -spec /usr/local/Trolltech/Qt-4.8.6/mkspecs/linux-g++-32 VPATH=. -o qttmp-Debug.mk nbproject/qt-Debug.pro
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/common/unix.conf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/common/linux.conf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/common/gcc-base.conf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/common/gcc-base-unix.conf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/common/g++-base.conf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/common/g++-unix.conf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/qconfig.pri:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/modules/qt_webkit_version.pri:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/qt_functions.prf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/qt_config.prf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/exclusive_builds.prf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/default_pre.prf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/debug.prf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/default_post.prf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/shared.prf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/unix/gdb_dwarf_index.prf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/warn_on.prf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/qt.prf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/unix/opengl.prf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/unix/thread.prf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/moc.prf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/resources.prf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/uic.prf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/yacc.prf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/lex.prf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/include_source_dir.prf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/lib/libQtSvg.prl:
|
||||
/usr/local/Trolltech/Qt-4.8.6/lib/libQtGui.prl:
|
||||
/usr/local/Trolltech/Qt-4.8.6/lib/libQtCore.prl:
|
||||
/usr/local/Trolltech/Qt-4.8.6/lib/libQt3Support.prl:
|
||||
/usr/local/Trolltech/Qt-4.8.6/lib/libQtSql.prl:
|
||||
/usr/local/Trolltech/Qt-4.8.6/lib/libQtXml.prl:
|
||||
/usr/local/Trolltech/Qt-4.8.6/lib/libQtNetwork.prl:
|
||||
/usr/local/Trolltech/Qt-4.8.6/lib/libQtOpenGL.prl:
|
||||
qmake: FORCE
|
||||
@$(QMAKE) -spec /usr/local/Trolltech/Qt-4.8.6/mkspecs/linux-g++-32 VPATH=. -o qttmp-Debug.mk nbproject/qt-Debug.pro
|
||||
|
||||
dist:
|
||||
@$(CHK_DIR_EXISTS) build/Debug/GNU-Linux/61850_ZHENAN1.0.0 || $(MKDIR) build/Debug/GNU-Linux/61850_ZHENAN1.0.0
|
||||
$(COPY_FILE) --parents $(SOURCES) $(DIST) build/Debug/GNU-Linux/61850_ZHENAN1.0.0/ && $(COPY_FILE) --parents inc/gui_srv.h inc/ui_gui_srv.h FtpCLient.h dialog_ctrl.h dialog_filetran.h dialog_lcb.h dialog_rcb.h dialog_sg.h inc/ConnectionPool.h inc/DataDeal.h inc/activation_code.h inc/callback.h inc/dlunix.h inc/singleton.h build/Debug/GNU-Linux/61850_ZHENAN1.0.0/ && $(COPY_FILE) --parents resources/gui_srv.qrc build/Debug/GNU-Linux/61850_ZHENAN1.0.0/ && $(COPY_FILE) --parents src/gui_srv.cpp FtpCLient.cpp dialog_ctrl.cpp dialog_filetran.cpp dialog_lcb.cpp dialog_rcb.cpp dialog_sg.cpp src/ConnectionPool.cpp src/DataDeal.cpp src/callback.cpp src/dlunix.cpp src/main.cpp build/Debug/GNU-Linux/61850_ZHENAN1.0.0/ && $(COPY_FILE) --parents resources/gui_srv.ui dialog_ctrl.ui dialog_filetran.ui dialog_lcb.ui dialog_rcb.ui dialog_sg.ui build/Debug/GNU-Linux/61850_ZHENAN1.0.0/ && (cd `dirname build/Debug/GNU-Linux/61850_ZHENAN1.0.0` && $(TAR) 61850_ZHENAN1.0.0.tar 61850_ZHENAN1.0.0 && $(COMPRESS) 61850_ZHENAN1.0.0.tar) && $(MOVE) `dirname build/Debug/GNU-Linux/61850_ZHENAN1.0.0`/61850_ZHENAN1.0.0.tar.gz . && $(DEL_FILE) -r build/Debug/GNU-Linux/61850_ZHENAN1.0.0
|
||||
|
||||
|
||||
clean:compiler_clean
|
||||
-$(DEL_FILE) $(OBJECTS)
|
||||
-$(DEL_FILE) *~ core *.core
|
||||
|
||||
|
||||
####### Sub-libraries
|
||||
|
||||
distclean: clean
|
||||
-$(DEL_FILE) $(TARGET)
|
||||
-$(DEL_FILE) qttmp-Debug.mk
|
||||
|
||||
|
||||
check: first
|
||||
|
||||
mocclean: compiler_moc_header_clean compiler_moc_source_clean
|
||||
|
||||
mocables: compiler_moc_header_make_all compiler_moc_source_make_all
|
||||
|
||||
compiler_moc_header_make_all: moc_gui_srv.cpp moc_FtpCLient.cpp moc_dialog_ctrl.cpp moc_dialog_filetran.cpp moc_dialog_lcb.cpp moc_dialog_rcb.cpp moc_dialog_sg.cpp
|
||||
compiler_moc_header_clean:
|
||||
-$(DEL_FILE) moc_gui_srv.cpp moc_FtpCLient.cpp moc_dialog_ctrl.cpp moc_dialog_filetran.cpp moc_dialog_lcb.cpp moc_dialog_rcb.cpp moc_dialog_sg.cpp
|
||||
moc_gui_srv.cpp: inc/ui_gui_srv.h \
|
||||
inc/gui_srv.h
|
||||
/usr/local/Trolltech/Qt-4.8.6/bin/moc $(DEFINES) $(INCPATH) inc/gui_srv.h -o moc_gui_srv.cpp
|
||||
|
||||
moc_FtpCLient.cpp: FtpCLient.h
|
||||
/usr/local/Trolltech/Qt-4.8.6/bin/moc $(DEFINES) $(INCPATH) FtpCLient.h -o moc_FtpCLient.cpp
|
||||
|
||||
moc_dialog_ctrl.cpp: ui_dialog_ctrl.h \
|
||||
dialog_ctrl.h
|
||||
/usr/local/Trolltech/Qt-4.8.6/bin/moc $(DEFINES) $(INCPATH) dialog_ctrl.h -o moc_dialog_ctrl.cpp
|
||||
|
||||
moc_dialog_filetran.cpp: ui_dialog_filetran.h \
|
||||
dialog_filetran.h
|
||||
/usr/local/Trolltech/Qt-4.8.6/bin/moc $(DEFINES) $(INCPATH) dialog_filetran.h -o moc_dialog_filetran.cpp
|
||||
|
||||
moc_dialog_lcb.cpp: ui_dialog_lcb.h \
|
||||
dialog_lcb.h
|
||||
/usr/local/Trolltech/Qt-4.8.6/bin/moc $(DEFINES) $(INCPATH) dialog_lcb.h -o moc_dialog_lcb.cpp
|
||||
|
||||
moc_dialog_rcb.cpp: ui_dialog_rcb.h \
|
||||
dialog_rcb.h
|
||||
/usr/local/Trolltech/Qt-4.8.6/bin/moc $(DEFINES) $(INCPATH) dialog_rcb.h -o moc_dialog_rcb.cpp
|
||||
|
||||
moc_dialog_sg.cpp: ui_dialog_sg.h \
|
||||
dialog_sg.h
|
||||
/usr/local/Trolltech/Qt-4.8.6/bin/moc $(DEFINES) $(INCPATH) dialog_sg.h -o moc_dialog_sg.cpp
|
||||
|
||||
compiler_rcc_make_all: qrc_gui_srv.cpp
|
||||
compiler_rcc_clean:
|
||||
-$(DEL_FILE) qrc_gui_srv.cpp
|
||||
qrc_gui_srv.cpp: resources/gui_srv.qrc
|
||||
/usr/local/Trolltech/Qt-4.8.6/bin/rcc -name gui_srv resources/gui_srv.qrc -o qrc_gui_srv.cpp
|
||||
|
||||
compiler_image_collection_make_all: qmake_image_collection.cpp
|
||||
compiler_image_collection_clean:
|
||||
-$(DEL_FILE) qmake_image_collection.cpp
|
||||
compiler_moc_source_make_all:
|
||||
compiler_moc_source_clean:
|
||||
compiler_uic_make_all: ui_gui_srv.h ui_dialog_ctrl.h ui_dialog_filetran.h ui_dialog_lcb.h ui_dialog_rcb.h ui_dialog_sg.h
|
||||
compiler_uic_clean:
|
||||
-$(DEL_FILE) ui_gui_srv.h ui_dialog_ctrl.h ui_dialog_filetran.h ui_dialog_lcb.h ui_dialog_rcb.h ui_dialog_sg.h
|
||||
ui_gui_srv.h: resources/gui_srv.ui
|
||||
/usr/local/Trolltech/Qt-4.8.6/bin/uic resources/gui_srv.ui -o ui_gui_srv.h
|
||||
|
||||
ui_dialog_ctrl.h: dialog_ctrl.ui
|
||||
/usr/local/Trolltech/Qt-4.8.6/bin/uic dialog_ctrl.ui -o ui_dialog_ctrl.h
|
||||
|
||||
ui_dialog_filetran.h: dialog_filetran.ui
|
||||
/usr/local/Trolltech/Qt-4.8.6/bin/uic dialog_filetran.ui -o ui_dialog_filetran.h
|
||||
|
||||
ui_dialog_lcb.h: dialog_lcb.ui
|
||||
/usr/local/Trolltech/Qt-4.8.6/bin/uic dialog_lcb.ui -o ui_dialog_lcb.h
|
||||
|
||||
ui_dialog_rcb.h: dialog_rcb.ui
|
||||
/usr/local/Trolltech/Qt-4.8.6/bin/uic dialog_rcb.ui -o ui_dialog_rcb.h
|
||||
|
||||
ui_dialog_sg.h: dialog_sg.ui
|
||||
/usr/local/Trolltech/Qt-4.8.6/bin/uic dialog_sg.ui -o ui_dialog_sg.h
|
||||
|
||||
compiler_yacc_decl_make_all:
|
||||
compiler_yacc_decl_clean:
|
||||
compiler_yacc_impl_make_all:
|
||||
compiler_yacc_impl_clean:
|
||||
compiler_lex_make_all:
|
||||
compiler_lex_clean:
|
||||
compiler_clean: compiler_moc_header_clean compiler_rcc_clean compiler_uic_clean
|
||||
|
||||
####### Compile
|
||||
|
||||
build/Debug/GNU-Linux/gui_srv.o: src/gui_srv.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/Debug/GNU-Linux/gui_srv.o src/gui_srv.cpp
|
||||
|
||||
build/Debug/GNU-Linux/FtpCLient.o: FtpCLient.cpp FtpCLient.h
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/Debug/GNU-Linux/FtpCLient.o FtpCLient.cpp
|
||||
|
||||
build/Debug/GNU-Linux/dialog_ctrl.o: dialog_ctrl.cpp dialog_ctrl.h \
|
||||
ui_dialog_ctrl.h
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/Debug/GNU-Linux/dialog_ctrl.o dialog_ctrl.cpp
|
||||
|
||||
build/Debug/GNU-Linux/dialog_filetran.o: dialog_filetran.cpp dialog_filetran.h \
|
||||
ui_dialog_filetran.h
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/Debug/GNU-Linux/dialog_filetran.o dialog_filetran.cpp
|
||||
|
||||
build/Debug/GNU-Linux/dialog_lcb.o: dialog_lcb.cpp dialog_lcb.h \
|
||||
ui_dialog_lcb.h
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/Debug/GNU-Linux/dialog_lcb.o dialog_lcb.cpp
|
||||
|
||||
build/Debug/GNU-Linux/dialog_rcb.o: dialog_rcb.cpp dialog_rcb.h \
|
||||
ui_dialog_rcb.h
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/Debug/GNU-Linux/dialog_rcb.o dialog_rcb.cpp
|
||||
|
||||
build/Debug/GNU-Linux/dialog_sg.o: dialog_sg.cpp dialog_sg.h \
|
||||
ui_dialog_sg.h
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/Debug/GNU-Linux/dialog_sg.o dialog_sg.cpp
|
||||
|
||||
build/Debug/GNU-Linux/ConnectionPool.o: src/ConnectionPool.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/Debug/GNU-Linux/ConnectionPool.o src/ConnectionPool.cpp
|
||||
|
||||
build/Debug/GNU-Linux/DataDeal.o: src/DataDeal.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/Debug/GNU-Linux/DataDeal.o src/DataDeal.cpp
|
||||
|
||||
build/Debug/GNU-Linux/callback.o: src/callback.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/Debug/GNU-Linux/callback.o src/callback.cpp
|
||||
|
||||
build/Debug/GNU-Linux/dlunix.o: src/dlunix.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/Debug/GNU-Linux/dlunix.o src/dlunix.cpp
|
||||
|
||||
build/Debug/GNU-Linux/main.o: src/main.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/Debug/GNU-Linux/main.o src/main.cpp
|
||||
|
||||
build/Debug/GNU-Linux/moc_gui_srv.o: moc_gui_srv.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/Debug/GNU-Linux/moc_gui_srv.o moc_gui_srv.cpp
|
||||
|
||||
build/Debug/GNU-Linux/moc_FtpCLient.o: moc_FtpCLient.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/Debug/GNU-Linux/moc_FtpCLient.o moc_FtpCLient.cpp
|
||||
|
||||
build/Debug/GNU-Linux/moc_dialog_ctrl.o: moc_dialog_ctrl.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/Debug/GNU-Linux/moc_dialog_ctrl.o moc_dialog_ctrl.cpp
|
||||
|
||||
build/Debug/GNU-Linux/moc_dialog_filetran.o: moc_dialog_filetran.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/Debug/GNU-Linux/moc_dialog_filetran.o moc_dialog_filetran.cpp
|
||||
|
||||
build/Debug/GNU-Linux/moc_dialog_lcb.o: moc_dialog_lcb.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/Debug/GNU-Linux/moc_dialog_lcb.o moc_dialog_lcb.cpp
|
||||
|
||||
build/Debug/GNU-Linux/moc_dialog_rcb.o: moc_dialog_rcb.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/Debug/GNU-Linux/moc_dialog_rcb.o moc_dialog_rcb.cpp
|
||||
|
||||
build/Debug/GNU-Linux/moc_dialog_sg.o: moc_dialog_sg.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/Debug/GNU-Linux/moc_dialog_sg.o moc_dialog_sg.cpp
|
||||
|
||||
build/Debug/GNU-Linux/qrc_gui_srv.o: qrc_gui_srv.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/Debug/GNU-Linux/qrc_gui_srv.o qrc_gui_srv.cpp
|
||||
|
||||
####### Install
|
||||
|
||||
install: FORCE
|
||||
|
||||
uninstall: FORCE
|
||||
|
||||
FORCE:
|
||||
|
@ -0,0 +1,24 @@
|
||||
# This file is generated automatically. Do not edit.
|
||||
# Use project properties -> Build -> Qt -> Expert -> Custom Definitions.
|
||||
TEMPLATE = app
|
||||
DESTDIR = dist/Debug/GNU-Linux
|
||||
TARGET = 61850_ZHENAN
|
||||
VERSION = 1.0.0
|
||||
CONFIG -= debug_and_release app_bundle lib_bundle
|
||||
CONFIG += debug
|
||||
PKGCONFIG +=
|
||||
QT = core gui widgets network opengl qt3support sql svg xml
|
||||
SOURCES += ./src/gui_srv.cpp FtpCLient.cpp dialog_ctrl.cpp dialog_filetran.cpp dialog_lcb.cpp dialog_rcb.cpp dialog_sg.cpp src/ConnectionPool.cpp src/DataDeal.cpp src/callback.cpp src/dlunix.cpp src/main.cpp
|
||||
HEADERS += ./inc/gui_srv.h ./inc/ui_gui_srv.h FtpCLient.h dialog_ctrl.h dialog_filetran.h dialog_lcb.h dialog_rcb.h dialog_sg.h inc/ConnectionPool.h inc/DataDeal.h inc/activation_code.h inc/callback.h inc/dlunix.h inc/singleton.h
|
||||
FORMS += ./resources/gui_srv.ui dialog_ctrl.ui dialog_filetran.ui dialog_lcb.ui dialog_rcb.ui dialog_sg.ui
|
||||
RESOURCES += resources/gui_srv.qrc
|
||||
TRANSLATIONS +=
|
||||
OBJECTS_DIR = build/Debug/GNU-Linux
|
||||
MOC_DIR =
|
||||
RCC_DIR =
|
||||
UI_DIR =
|
||||
QMAKE_CC = gcc
|
||||
QMAKE_CXX = g++
|
||||
DEFINES += DEBUG_SISCO ETHERNET LEAN_T MMS_LITE MOSI MVL_UCA
|
||||
INCLUDEPATH += inc treeMenu temp/cosmos2010/inc temp/cosmos2010/mmslite/inc
|
||||
LIBS += -ldl -Wl,-rpath,.
|
@ -0,0 +1,375 @@
|
||||
#############################################################################
|
||||
# Makefile for building: dist/Debug_qt4_32/GNU_copy-Linux/61850Cli_Gui
|
||||
# Generated by qmake (2.01a) (Qt 4.8.6) on: Tue Jan 5 18:08:54 2021
|
||||
# Project: nbproject/qt-Debug_qt4_32.pro
|
||||
# Template: app
|
||||
# Command: /usr/local/Trolltech/Qt-4.8.6/bin/qmake -spec /usr/local/Trolltech/Qt-4.8.6/mkspecs/linux-g++-32 VPATH=. -o qttmp-Debug_qt4_32.mk nbproject/qt-Debug_qt4_32.pro
|
||||
#############################################################################
|
||||
|
||||
####### Compiler, tools and options
|
||||
|
||||
CC = gcc
|
||||
CXX = g++
|
||||
DEFINES = -DDEBUG_SISCO -DETHERNET -DLEAN_T -DMMS_LITE -DMOSI -DMVL_UCA -DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED
|
||||
CFLAGS = -m32 -pipe -g -Wall -W -D_REENTRANT $(DEFINES)
|
||||
CXXFLAGS = -m32 -pipe -g -Wall -W -D_REENTRANT $(DEFINES)
|
||||
INCPATH = -I/usr/local/Trolltech/Qt-4.8.6/mkspecs/linux-g++-32 -Inbproject -I/usr/local/Trolltech/Qt-4.8.6/include/QtCore -I/usr/local/Trolltech/Qt-4.8.6/include/QtNetwork -I/usr/local/Trolltech/Qt-4.8.6/include/QtGui -I/usr/local/Trolltech/Qt-4.8.6/include/QtXml -I/usr/local/Trolltech/Qt-4.8.6/include/QtSql -I/usr/local/Trolltech/Qt-4.8.6/include -Iinc -ItreeMenu -Itemp/cosmos2010/inc -Itemp/cosmos2010/mmslite/inc -I. -I. -Inbproject -I.
|
||||
LINK = g++
|
||||
LFLAGS = -m32 -Wl,-rpath,/usr/local/Trolltech/Qt-4.8.6/lib
|
||||
LIBS = $(SUBLIBS) -L/usr/local/Trolltech/Qt-4.8.6/lib -ldl -Wl,-rpath,dist/Debug_qt4_32/GNU_copy-Linux -lQtSql -L/usr/local/Trolltech/Qt-4.8.6/lib -lQtXml -lQtGui -L/usr/X11R6/lib -lQtNetwork -lQtCore -lpthread
|
||||
AR = ar cqs
|
||||
RANLIB =
|
||||
QMAKE = /usr/local/Trolltech/Qt-4.8.6/bin/qmake
|
||||
TAR = tar -cf
|
||||
COMPRESS = gzip -9f
|
||||
COPY = cp -f
|
||||
SED = sed
|
||||
COPY_FILE = $(COPY)
|
||||
COPY_DIR = $(COPY) -r
|
||||
STRIP = strip
|
||||
INSTALL_FILE = install -m 644 -p
|
||||
INSTALL_DIR = $(COPY_DIR)
|
||||
INSTALL_PROGRAM = install -m 755 -p
|
||||
DEL_FILE = rm -f
|
||||
SYMLINK = ln -f -s
|
||||
DEL_DIR = rmdir
|
||||
MOVE = mv -f
|
||||
CHK_DIR_EXISTS= test -d
|
||||
MKDIR = mkdir -p
|
||||
|
||||
####### Output directory
|
||||
|
||||
OBJECTS_DIR = build/Debug_qt4_32/GNU_copy-Linux/
|
||||
|
||||
####### Files
|
||||
|
||||
SOURCES = src/gui_srv.cpp \
|
||||
FtpCLient.cpp \
|
||||
dialog_ctrl.cpp \
|
||||
dialog_filetran.cpp \
|
||||
dialog_lcb.cpp \
|
||||
dialog_rcb.cpp \
|
||||
dialog_sg.cpp \
|
||||
src/ConnectionPool.cpp \
|
||||
src/DataDeal.cpp \
|
||||
src/callback.cpp \
|
||||
src/dlunix.cpp \
|
||||
src/main.cpp moc_gui_srv.cpp \
|
||||
moc_FtpCLient.cpp \
|
||||
moc_dialog_ctrl.cpp \
|
||||
moc_dialog_filetran.cpp \
|
||||
moc_dialog_lcb.cpp \
|
||||
moc_dialog_rcb.cpp \
|
||||
moc_dialog_sg.cpp \
|
||||
qrc_gui_srv.cpp
|
||||
OBJECTS = build/Debug_qt4_32/GNU_copy-Linux/gui_srv.o \
|
||||
build/Debug_qt4_32/GNU_copy-Linux/FtpCLient.o \
|
||||
build/Debug_qt4_32/GNU_copy-Linux/dialog_ctrl.o \
|
||||
build/Debug_qt4_32/GNU_copy-Linux/dialog_filetran.o \
|
||||
build/Debug_qt4_32/GNU_copy-Linux/dialog_lcb.o \
|
||||
build/Debug_qt4_32/GNU_copy-Linux/dialog_rcb.o \
|
||||
build/Debug_qt4_32/GNU_copy-Linux/dialog_sg.o \
|
||||
build/Debug_qt4_32/GNU_copy-Linux/ConnectionPool.o \
|
||||
build/Debug_qt4_32/GNU_copy-Linux/DataDeal.o \
|
||||
build/Debug_qt4_32/GNU_copy-Linux/callback.o \
|
||||
build/Debug_qt4_32/GNU_copy-Linux/dlunix.o \
|
||||
build/Debug_qt4_32/GNU_copy-Linux/main.o \
|
||||
build/Debug_qt4_32/GNU_copy-Linux/moc_gui_srv.o \
|
||||
build/Debug_qt4_32/GNU_copy-Linux/moc_FtpCLient.o \
|
||||
build/Debug_qt4_32/GNU_copy-Linux/moc_dialog_ctrl.o \
|
||||
build/Debug_qt4_32/GNU_copy-Linux/moc_dialog_filetran.o \
|
||||
build/Debug_qt4_32/GNU_copy-Linux/moc_dialog_lcb.o \
|
||||
build/Debug_qt4_32/GNU_copy-Linux/moc_dialog_rcb.o \
|
||||
build/Debug_qt4_32/GNU_copy-Linux/moc_dialog_sg.o \
|
||||
build/Debug_qt4_32/GNU_copy-Linux/qrc_gui_srv.o
|
||||
DIST = /usr/local/Trolltech/Qt-4.8.6/mkspecs/common/unix.conf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/common/linux.conf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/common/gcc-base.conf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/common/gcc-base-unix.conf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/common/g++-base.conf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/common/g++-unix.conf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/qconfig.pri \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/modules/qt_webkit_version.pri \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/qt_functions.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/qt_config.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/exclusive_builds.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/default_pre.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/debug.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/default_post.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/shared.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/unix/gdb_dwarf_index.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/warn_on.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/qt.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/unix/thread.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/moc.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/resources.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/uic.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/yacc.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/lex.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/include_source_dir.prf \
|
||||
nbproject/qt-Debug_qt4_32.pro
|
||||
QMAKE_TARGET = 61850Cli_Gui
|
||||
DESTDIR = dist/Debug_qt4_32/GNU_copy-Linux/
|
||||
TARGET = dist/Debug_qt4_32/GNU_copy-Linux/61850Cli_Gui
|
||||
|
||||
first: all
|
||||
####### Implicit rules
|
||||
|
||||
.SUFFIXES: .o .c .cpp .cc .cxx .C
|
||||
|
||||
.cpp.o:
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
|
||||
|
||||
.cc.o:
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
|
||||
|
||||
.cxx.o:
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
|
||||
|
||||
.C.o:
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
|
||||
|
||||
.c.o:
|
||||
$(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
|
||||
|
||||
####### Build rules
|
||||
|
||||
all: qttmp-Debug_qt4_32.mk $(TARGET)
|
||||
|
||||
$(TARGET): ui_gui_srv.h ui_dialog_ctrl.h ui_dialog_filetran.h ui_dialog_lcb.h ui_dialog_rcb.h ui_dialog_sg.h $(OBJECTS)
|
||||
@$(CHK_DIR_EXISTS) dist/Debug_qt4_32/GNU_copy-Linux/ || $(MKDIR) dist/Debug_qt4_32/GNU_copy-Linux/
|
||||
$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
|
||||
{ test -n "$(DESTDIR)" && DESTDIR="$(DESTDIR)" || DESTDIR=.; } && test $$(gdb --version | sed -e 's,[^0-9][^0-9]*\([0-9]\)\.\([0-9]\).*,\1\2,;q') -gt 72 && gdb --nx --batch --quiet -ex 'set confirm off' -ex "save gdb-index $$DESTDIR" -ex quit '$(TARGET)' && test -f $(TARGET).gdb-index && objcopy --add-section '.gdb_index=$(TARGET).gdb-index' --set-section-flags '.gdb_index=readonly' '$(TARGET)' '$(TARGET)' && rm -f $(TARGET).gdb-index || true
|
||||
|
||||
qttmp-Debug_qt4_32.mk: nbproject/qt-Debug_qt4_32.pro /usr/local/Trolltech/Qt-4.8.6/mkspecs/linux-g++-32/qmake.conf /usr/local/Trolltech/Qt-4.8.6/mkspecs/common/unix.conf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/common/linux.conf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/common/gcc-base.conf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/common/gcc-base-unix.conf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/common/g++-base.conf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/common/g++-unix.conf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/qconfig.pri \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/modules/qt_webkit_version.pri \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/qt_functions.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/qt_config.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/exclusive_builds.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/default_pre.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/debug.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/default_post.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/shared.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/unix/gdb_dwarf_index.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/warn_on.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/qt.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/unix/thread.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/moc.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/resources.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/uic.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/yacc.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/lex.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/include_source_dir.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/lib/libQtSql.prl \
|
||||
/usr/local/Trolltech/Qt-4.8.6/lib/libQtCore.prl \
|
||||
/usr/local/Trolltech/Qt-4.8.6/lib/libQtXml.prl \
|
||||
/usr/local/Trolltech/Qt-4.8.6/lib/libQtGui.prl \
|
||||
/usr/local/Trolltech/Qt-4.8.6/lib/libQtNetwork.prl
|
||||
$(QMAKE) -spec /usr/local/Trolltech/Qt-4.8.6/mkspecs/linux-g++-32 VPATH=. -o qttmp-Debug_qt4_32.mk nbproject/qt-Debug_qt4_32.pro
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/common/unix.conf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/common/linux.conf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/common/gcc-base.conf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/common/gcc-base-unix.conf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/common/g++-base.conf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/common/g++-unix.conf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/qconfig.pri:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/modules/qt_webkit_version.pri:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/qt_functions.prf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/qt_config.prf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/exclusive_builds.prf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/default_pre.prf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/debug.prf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/default_post.prf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/shared.prf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/unix/gdb_dwarf_index.prf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/warn_on.prf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/qt.prf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/unix/thread.prf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/moc.prf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/resources.prf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/uic.prf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/yacc.prf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/lex.prf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/include_source_dir.prf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/lib/libQtSql.prl:
|
||||
/usr/local/Trolltech/Qt-4.8.6/lib/libQtCore.prl:
|
||||
/usr/local/Trolltech/Qt-4.8.6/lib/libQtXml.prl:
|
||||
/usr/local/Trolltech/Qt-4.8.6/lib/libQtGui.prl:
|
||||
/usr/local/Trolltech/Qt-4.8.6/lib/libQtNetwork.prl:
|
||||
qmake: FORCE
|
||||
@$(QMAKE) -spec /usr/local/Trolltech/Qt-4.8.6/mkspecs/linux-g++-32 VPATH=. -o qttmp-Debug_qt4_32.mk nbproject/qt-Debug_qt4_32.pro
|
||||
|
||||
dist:
|
||||
@$(CHK_DIR_EXISTS) build/Debug_qt4_32/GNU_copy-Linux/61850Cli_Gui1.0.0 || $(MKDIR) build/Debug_qt4_32/GNU_copy-Linux/61850Cli_Gui1.0.0
|
||||
$(COPY_FILE) --parents $(SOURCES) $(DIST) build/Debug_qt4_32/GNU_copy-Linux/61850Cli_Gui1.0.0/ && $(COPY_FILE) --parents inc/gui_srv.h inc/ui_gui_srv.h FtpCLient.h dialog_ctrl.h dialog_filetran.h dialog_lcb.h dialog_rcb.h dialog_sg.h inc/ConnectionPool.h inc/DataDeal.h inc/activation_code.h inc/callback.h inc/dlunix.h inc/singleton.h build/Debug_qt4_32/GNU_copy-Linux/61850Cli_Gui1.0.0/ && $(COPY_FILE) --parents resources/gui_srv.qrc build/Debug_qt4_32/GNU_copy-Linux/61850Cli_Gui1.0.0/ && $(COPY_FILE) --parents src/gui_srv.cpp FtpCLient.cpp dialog_ctrl.cpp dialog_filetran.cpp dialog_lcb.cpp dialog_rcb.cpp dialog_sg.cpp src/ConnectionPool.cpp src/DataDeal.cpp src/callback.cpp src/dlunix.cpp src/main.cpp build/Debug_qt4_32/GNU_copy-Linux/61850Cli_Gui1.0.0/ && $(COPY_FILE) --parents resources/gui_srv.ui dialog_ctrl.ui dialog_filetran.ui dialog_lcb.ui dialog_rcb.ui dialog_sg.ui build/Debug_qt4_32/GNU_copy-Linux/61850Cli_Gui1.0.0/ && (cd `dirname build/Debug_qt4_32/GNU_copy-Linux/61850Cli_Gui1.0.0` && $(TAR) 61850Cli_Gui1.0.0.tar 61850Cli_Gui1.0.0 && $(COMPRESS) 61850Cli_Gui1.0.0.tar) && $(MOVE) `dirname build/Debug_qt4_32/GNU_copy-Linux/61850Cli_Gui1.0.0`/61850Cli_Gui1.0.0.tar.gz . && $(DEL_FILE) -r build/Debug_qt4_32/GNU_copy-Linux/61850Cli_Gui1.0.0
|
||||
|
||||
|
||||
clean:compiler_clean
|
||||
-$(DEL_FILE) $(OBJECTS)
|
||||
-$(DEL_FILE) *~ core *.core
|
||||
|
||||
|
||||
####### Sub-libraries
|
||||
|
||||
distclean: clean
|
||||
-$(DEL_FILE) $(TARGET)
|
||||
-$(DEL_FILE) qttmp-Debug_qt4_32.mk
|
||||
|
||||
|
||||
check: first
|
||||
|
||||
mocclean: compiler_moc_header_clean compiler_moc_source_clean
|
||||
|
||||
mocables: compiler_moc_header_make_all compiler_moc_source_make_all
|
||||
|
||||
compiler_moc_header_make_all: moc_gui_srv.cpp moc_FtpCLient.cpp moc_dialog_ctrl.cpp moc_dialog_filetran.cpp moc_dialog_lcb.cpp moc_dialog_rcb.cpp moc_dialog_sg.cpp
|
||||
compiler_moc_header_clean:
|
||||
-$(DEL_FILE) moc_gui_srv.cpp moc_FtpCLient.cpp moc_dialog_ctrl.cpp moc_dialog_filetran.cpp moc_dialog_lcb.cpp moc_dialog_rcb.cpp moc_dialog_sg.cpp
|
||||
moc_gui_srv.cpp: inc/ui_gui_srv.h \
|
||||
inc/gui_srv.h
|
||||
/usr/local/Trolltech/Qt-4.8.6/bin/moc $(DEFINES) $(INCPATH) inc/gui_srv.h -o moc_gui_srv.cpp
|
||||
|
||||
moc_FtpCLient.cpp: FtpCLient.h
|
||||
/usr/local/Trolltech/Qt-4.8.6/bin/moc $(DEFINES) $(INCPATH) FtpCLient.h -o moc_FtpCLient.cpp
|
||||
|
||||
moc_dialog_ctrl.cpp: ui_dialog_ctrl.h \
|
||||
dialog_ctrl.h
|
||||
/usr/local/Trolltech/Qt-4.8.6/bin/moc $(DEFINES) $(INCPATH) dialog_ctrl.h -o moc_dialog_ctrl.cpp
|
||||
|
||||
moc_dialog_filetran.cpp: ui_dialog_filetran.h \
|
||||
dialog_filetran.h
|
||||
/usr/local/Trolltech/Qt-4.8.6/bin/moc $(DEFINES) $(INCPATH) dialog_filetran.h -o moc_dialog_filetran.cpp
|
||||
|
||||
moc_dialog_lcb.cpp: ui_dialog_lcb.h \
|
||||
dialog_lcb.h
|
||||
/usr/local/Trolltech/Qt-4.8.6/bin/moc $(DEFINES) $(INCPATH) dialog_lcb.h -o moc_dialog_lcb.cpp
|
||||
|
||||
moc_dialog_rcb.cpp: ui_dialog_rcb.h \
|
||||
dialog_rcb.h
|
||||
/usr/local/Trolltech/Qt-4.8.6/bin/moc $(DEFINES) $(INCPATH) dialog_rcb.h -o moc_dialog_rcb.cpp
|
||||
|
||||
moc_dialog_sg.cpp: ui_dialog_sg.h \
|
||||
dialog_sg.h
|
||||
/usr/local/Trolltech/Qt-4.8.6/bin/moc $(DEFINES) $(INCPATH) dialog_sg.h -o moc_dialog_sg.cpp
|
||||
|
||||
compiler_rcc_make_all: qrc_gui_srv.cpp
|
||||
compiler_rcc_clean:
|
||||
-$(DEL_FILE) qrc_gui_srv.cpp
|
||||
qrc_gui_srv.cpp: resources/gui_srv.qrc
|
||||
/usr/local/Trolltech/Qt-4.8.6/bin/rcc -name gui_srv resources/gui_srv.qrc -o qrc_gui_srv.cpp
|
||||
|
||||
compiler_image_collection_make_all: qmake_image_collection.cpp
|
||||
compiler_image_collection_clean:
|
||||
-$(DEL_FILE) qmake_image_collection.cpp
|
||||
compiler_moc_source_make_all:
|
||||
compiler_moc_source_clean:
|
||||
compiler_uic_make_all: ui_gui_srv.h ui_dialog_ctrl.h ui_dialog_filetran.h ui_dialog_lcb.h ui_dialog_rcb.h ui_dialog_sg.h
|
||||
compiler_uic_clean:
|
||||
-$(DEL_FILE) ui_gui_srv.h ui_dialog_ctrl.h ui_dialog_filetran.h ui_dialog_lcb.h ui_dialog_rcb.h ui_dialog_sg.h
|
||||
ui_gui_srv.h: resources/gui_srv.ui
|
||||
/usr/local/Trolltech/Qt-4.8.6/bin/uic resources/gui_srv.ui -o ui_gui_srv.h
|
||||
|
||||
ui_dialog_ctrl.h: dialog_ctrl.ui
|
||||
/usr/local/Trolltech/Qt-4.8.6/bin/uic dialog_ctrl.ui -o ui_dialog_ctrl.h
|
||||
|
||||
ui_dialog_filetran.h: dialog_filetran.ui
|
||||
/usr/local/Trolltech/Qt-4.8.6/bin/uic dialog_filetran.ui -o ui_dialog_filetran.h
|
||||
|
||||
ui_dialog_lcb.h: dialog_lcb.ui
|
||||
/usr/local/Trolltech/Qt-4.8.6/bin/uic dialog_lcb.ui -o ui_dialog_lcb.h
|
||||
|
||||
ui_dialog_rcb.h: dialog_rcb.ui
|
||||
/usr/local/Trolltech/Qt-4.8.6/bin/uic dialog_rcb.ui -o ui_dialog_rcb.h
|
||||
|
||||
ui_dialog_sg.h: dialog_sg.ui
|
||||
/usr/local/Trolltech/Qt-4.8.6/bin/uic dialog_sg.ui -o ui_dialog_sg.h
|
||||
|
||||
compiler_yacc_decl_make_all:
|
||||
compiler_yacc_decl_clean:
|
||||
compiler_yacc_impl_make_all:
|
||||
compiler_yacc_impl_clean:
|
||||
compiler_lex_make_all:
|
||||
compiler_lex_clean:
|
||||
compiler_clean: compiler_moc_header_clean compiler_rcc_clean compiler_uic_clean
|
||||
|
||||
####### Compile
|
||||
|
||||
build/Debug_qt4_32/GNU_copy-Linux/gui_srv.o: src/gui_srv.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/Debug_qt4_32/GNU_copy-Linux/gui_srv.o src/gui_srv.cpp
|
||||
|
||||
build/Debug_qt4_32/GNU_copy-Linux/FtpCLient.o: FtpCLient.cpp FtpCLient.h
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/Debug_qt4_32/GNU_copy-Linux/FtpCLient.o FtpCLient.cpp
|
||||
|
||||
build/Debug_qt4_32/GNU_copy-Linux/dialog_ctrl.o: dialog_ctrl.cpp dialog_ctrl.h \
|
||||
ui_dialog_ctrl.h
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/Debug_qt4_32/GNU_copy-Linux/dialog_ctrl.o dialog_ctrl.cpp
|
||||
|
||||
build/Debug_qt4_32/GNU_copy-Linux/dialog_filetran.o: dialog_filetran.cpp dialog_filetran.h \
|
||||
ui_dialog_filetran.h
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/Debug_qt4_32/GNU_copy-Linux/dialog_filetran.o dialog_filetran.cpp
|
||||
|
||||
build/Debug_qt4_32/GNU_copy-Linux/dialog_lcb.o: dialog_lcb.cpp dialog_lcb.h \
|
||||
ui_dialog_lcb.h
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/Debug_qt4_32/GNU_copy-Linux/dialog_lcb.o dialog_lcb.cpp
|
||||
|
||||
build/Debug_qt4_32/GNU_copy-Linux/dialog_rcb.o: dialog_rcb.cpp dialog_rcb.h \
|
||||
ui_dialog_rcb.h
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/Debug_qt4_32/GNU_copy-Linux/dialog_rcb.o dialog_rcb.cpp
|
||||
|
||||
build/Debug_qt4_32/GNU_copy-Linux/dialog_sg.o: dialog_sg.cpp dialog_sg.h \
|
||||
ui_dialog_sg.h
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/Debug_qt4_32/GNU_copy-Linux/dialog_sg.o dialog_sg.cpp
|
||||
|
||||
build/Debug_qt4_32/GNU_copy-Linux/ConnectionPool.o: src/ConnectionPool.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/Debug_qt4_32/GNU_copy-Linux/ConnectionPool.o src/ConnectionPool.cpp
|
||||
|
||||
build/Debug_qt4_32/GNU_copy-Linux/DataDeal.o: src/DataDeal.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/Debug_qt4_32/GNU_copy-Linux/DataDeal.o src/DataDeal.cpp
|
||||
|
||||
build/Debug_qt4_32/GNU_copy-Linux/callback.o: src/callback.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/Debug_qt4_32/GNU_copy-Linux/callback.o src/callback.cpp
|
||||
|
||||
build/Debug_qt4_32/GNU_copy-Linux/dlunix.o: src/dlunix.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/Debug_qt4_32/GNU_copy-Linux/dlunix.o src/dlunix.cpp
|
||||
|
||||
build/Debug_qt4_32/GNU_copy-Linux/main.o: src/main.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/Debug_qt4_32/GNU_copy-Linux/main.o src/main.cpp
|
||||
|
||||
build/Debug_qt4_32/GNU_copy-Linux/moc_gui_srv.o: moc_gui_srv.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/Debug_qt4_32/GNU_copy-Linux/moc_gui_srv.o moc_gui_srv.cpp
|
||||
|
||||
build/Debug_qt4_32/GNU_copy-Linux/moc_FtpCLient.o: moc_FtpCLient.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/Debug_qt4_32/GNU_copy-Linux/moc_FtpCLient.o moc_FtpCLient.cpp
|
||||
|
||||
build/Debug_qt4_32/GNU_copy-Linux/moc_dialog_ctrl.o: moc_dialog_ctrl.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/Debug_qt4_32/GNU_copy-Linux/moc_dialog_ctrl.o moc_dialog_ctrl.cpp
|
||||
|
||||
build/Debug_qt4_32/GNU_copy-Linux/moc_dialog_filetran.o: moc_dialog_filetran.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/Debug_qt4_32/GNU_copy-Linux/moc_dialog_filetran.o moc_dialog_filetran.cpp
|
||||
|
||||
build/Debug_qt4_32/GNU_copy-Linux/moc_dialog_lcb.o: moc_dialog_lcb.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/Debug_qt4_32/GNU_copy-Linux/moc_dialog_lcb.o moc_dialog_lcb.cpp
|
||||
|
||||
build/Debug_qt4_32/GNU_copy-Linux/moc_dialog_rcb.o: moc_dialog_rcb.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/Debug_qt4_32/GNU_copy-Linux/moc_dialog_rcb.o moc_dialog_rcb.cpp
|
||||
|
||||
build/Debug_qt4_32/GNU_copy-Linux/moc_dialog_sg.o: moc_dialog_sg.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/Debug_qt4_32/GNU_copy-Linux/moc_dialog_sg.o moc_dialog_sg.cpp
|
||||
|
||||
build/Debug_qt4_32/GNU_copy-Linux/qrc_gui_srv.o: qrc_gui_srv.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/Debug_qt4_32/GNU_copy-Linux/qrc_gui_srv.o qrc_gui_srv.cpp
|
||||
|
||||
####### Install
|
||||
|
||||
install: FORCE
|
||||
|
||||
uninstall: FORCE
|
||||
|
||||
FORCE:
|
||||
|
@ -0,0 +1,24 @@
|
||||
# This file is generated automatically. Do not edit.
|
||||
# Use project properties -> Build -> Qt -> Expert -> Custom Definitions.
|
||||
TEMPLATE = app
|
||||
DESTDIR = dist/Debug_qt4_32/GNU_copy-Linux
|
||||
TARGET = 61850Cli_Gui
|
||||
VERSION = 1.0.0
|
||||
CONFIG -= debug_and_release app_bundle lib_bundle
|
||||
CONFIG += debug
|
||||
PKGCONFIG +=
|
||||
QT = core gui network sql xml
|
||||
SOURCES += ./src/gui_srv.cpp FtpCLient.cpp dialog_ctrl.cpp dialog_filetran.cpp dialog_lcb.cpp dialog_rcb.cpp dialog_sg.cpp src/ConnectionPool.cpp src/DataDeal.cpp src/callback.cpp src/dlunix.cpp src/main.cpp
|
||||
HEADERS += ./inc/gui_srv.h ./inc/ui_gui_srv.h FtpCLient.h dialog_ctrl.h dialog_filetran.h dialog_lcb.h dialog_rcb.h dialog_sg.h inc/ConnectionPool.h inc/DataDeal.h inc/activation_code.h inc/callback.h inc/dlunix.h inc/singleton.h
|
||||
FORMS += ./resources/gui_srv.ui dialog_ctrl.ui dialog_filetran.ui dialog_lcb.ui dialog_rcb.ui dialog_sg.ui
|
||||
RESOURCES += resources/gui_srv.qrc
|
||||
TRANSLATIONS +=
|
||||
OBJECTS_DIR = build/Debug_qt4_32/GNU_copy-Linux
|
||||
MOC_DIR =
|
||||
RCC_DIR =
|
||||
UI_DIR =
|
||||
QMAKE_CC = gcc
|
||||
QMAKE_CXX = g++
|
||||
DEFINES += DEBUG_SISCO ETHERNET LEAN_T MMS_LITE MOSI MVL_UCA
|
||||
INCLUDEPATH += inc treeMenu temp/cosmos2010/inc temp/cosmos2010/mmslite/inc
|
||||
LIBS += -ldl -Wl,-rpath,dist/Debug_qt4_32/GNU_copy-Linux
|
@ -0,0 +1,383 @@
|
||||
#############################################################################
|
||||
# Makefile for building: dist/Release/GNU-Linux/61850Cli_Gui
|
||||
# Generated by qmake (2.01a) (Qt 4.8.6) on: Wed Jan 27 16:43:12 2021
|
||||
# Project: nbproject/qt-Release.pro
|
||||
# Template: app
|
||||
# Command: /usr/local/Trolltech/Qt-4.8.6/bin/qmake VPATH=. -o qttmp-Release.mk nbproject/qt-Release.pro
|
||||
#############################################################################
|
||||
|
||||
####### Compiler, tools and options
|
||||
|
||||
CC = gcc
|
||||
CXX = g++
|
||||
DEFINES = -DDEBUG_SISCO -DETHERNET -DLEAN_T -DMMS_LITE -DMOSI -DMVL_UCA -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_SQL_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED
|
||||
CFLAGS = -m32 -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES)
|
||||
CXXFLAGS = -m32 -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES)
|
||||
INCPATH = -I/usr/local/Trolltech/Qt-4.8.6/mkspecs/linux-g++-32 -Inbproject -I/usr/local/Trolltech/Qt-4.8.6/include/QtCore -I/usr/local/Trolltech/Qt-4.8.6/include/QtNetwork -I/usr/local/Trolltech/Qt-4.8.6/include/QtGui -I/usr/local/Trolltech/Qt-4.8.6/include/QtOpenGL -I/usr/local/Trolltech/Qt-4.8.6/include/QtXml -I/usr/local/Trolltech/Qt-4.8.6/include/QtSql -I/usr/local/Trolltech/Qt-4.8.6/include/Qt3Support -I/usr/local/Trolltech/Qt-4.8.6/include/QtSvg -I/usr/local/Trolltech/Qt-4.8.6/include -Iinc -Itemp/cosmos2010/inc -Itemp/cosmos2010/mmslite/inc -ItreeMenu -I/usr/X11R6/include -I. -I. -Inbproject -I.
|
||||
LINK = g++
|
||||
LFLAGS = -m32 -Wl,-O1 -Wl,-rpath,/usr/local/Trolltech/Qt-4.8.6/lib
|
||||
LIBS = $(SUBLIBS) -L/usr/local/Trolltech/Qt-4.8.6/lib -L/usr/X11R6/lib -ldl -Wl,-rpath,build/Release/GNU-Linux -Wl,-rpath,dist/Release/GNU-Linux -lQtSvg -L/usr/local/Trolltech/Qt-4.8.6/lib -L/usr/X11R6/lib -lQt3Support -lQtSql -lQtXml -lQtOpenGL -lQtGui -lQtNetwork -lQtCore -lGL -lpthread
|
||||
AR = ar cqs
|
||||
RANLIB =
|
||||
QMAKE = /usr/local/Trolltech/Qt-4.8.6/bin/qmake
|
||||
TAR = tar -cf
|
||||
COMPRESS = gzip -9f
|
||||
COPY = cp -f
|
||||
SED = sed
|
||||
COPY_FILE = $(COPY)
|
||||
COPY_DIR = $(COPY) -r
|
||||
STRIP = strip
|
||||
INSTALL_FILE = install -m 644 -p
|
||||
INSTALL_DIR = $(COPY_DIR)
|
||||
INSTALL_PROGRAM = install -m 755 -p
|
||||
DEL_FILE = rm -f
|
||||
SYMLINK = ln -f -s
|
||||
DEL_DIR = rmdir
|
||||
MOVE = mv -f
|
||||
CHK_DIR_EXISTS= test -d
|
||||
MKDIR = mkdir -p
|
||||
|
||||
####### Output directory
|
||||
|
||||
OBJECTS_DIR = build/Release/GNU-Linux/
|
||||
|
||||
####### Files
|
||||
|
||||
SOURCES = src/gui_srv.cpp \
|
||||
FtpCLient.cpp \
|
||||
dialog_ctrl.cpp \
|
||||
dialog_filetran.cpp \
|
||||
dialog_lcb.cpp \
|
||||
dialog_rcb.cpp \
|
||||
dialog_sg.cpp \
|
||||
src/ConnectionPool.cpp \
|
||||
src/DataDeal.cpp \
|
||||
src/callback.cpp \
|
||||
src/dlunix.cpp \
|
||||
src/main.cpp moc_gui_srv.cpp \
|
||||
moc_FtpCLient.cpp \
|
||||
moc_dialog_ctrl.cpp \
|
||||
moc_dialog_filetran.cpp \
|
||||
moc_dialog_lcb.cpp \
|
||||
moc_dialog_rcb.cpp \
|
||||
moc_dialog_sg.cpp \
|
||||
qrc_gui_srv.cpp
|
||||
OBJECTS = build/Release/GNU-Linux/gui_srv.o \
|
||||
build/Release/GNU-Linux/FtpCLient.o \
|
||||
build/Release/GNU-Linux/dialog_ctrl.o \
|
||||
build/Release/GNU-Linux/dialog_filetran.o \
|
||||
build/Release/GNU-Linux/dialog_lcb.o \
|
||||
build/Release/GNU-Linux/dialog_rcb.o \
|
||||
build/Release/GNU-Linux/dialog_sg.o \
|
||||
build/Release/GNU-Linux/ConnectionPool.o \
|
||||
build/Release/GNU-Linux/DataDeal.o \
|
||||
build/Release/GNU-Linux/callback.o \
|
||||
build/Release/GNU-Linux/dlunix.o \
|
||||
build/Release/GNU-Linux/main.o \
|
||||
build/Release/GNU-Linux/moc_gui_srv.o \
|
||||
build/Release/GNU-Linux/moc_FtpCLient.o \
|
||||
build/Release/GNU-Linux/moc_dialog_ctrl.o \
|
||||
build/Release/GNU-Linux/moc_dialog_filetran.o \
|
||||
build/Release/GNU-Linux/moc_dialog_lcb.o \
|
||||
build/Release/GNU-Linux/moc_dialog_rcb.o \
|
||||
build/Release/GNU-Linux/moc_dialog_sg.o \
|
||||
build/Release/GNU-Linux/qrc_gui_srv.o
|
||||
DIST = /usr/local/Trolltech/Qt-4.8.6/mkspecs/common/unix.conf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/common/linux.conf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/common/gcc-base.conf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/common/gcc-base-unix.conf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/common/g++-base.conf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/common/g++-unix.conf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/qconfig.pri \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/modules/qt_webkit_version.pri \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/qt_functions.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/qt_config.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/exclusive_builds.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/default_pre.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/release.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/default_post.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/shared.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/unix/gdb_dwarf_index.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/warn_on.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/qt.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/unix/opengl.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/unix/thread.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/moc.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/resources.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/uic.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/yacc.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/lex.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/include_source_dir.prf \
|
||||
nbproject/qt-Release.pro
|
||||
QMAKE_TARGET = 61850Cli_Gui
|
||||
DESTDIR = dist/Release/GNU-Linux/
|
||||
TARGET = dist/Release/GNU-Linux/61850Cli_Gui
|
||||
|
||||
first: all
|
||||
####### Implicit rules
|
||||
|
||||
.SUFFIXES: .o .c .cpp .cc .cxx .C
|
||||
|
||||
.cpp.o:
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
|
||||
|
||||
.cc.o:
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
|
||||
|
||||
.cxx.o:
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
|
||||
|
||||
.C.o:
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
|
||||
|
||||
.c.o:
|
||||
$(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
|
||||
|
||||
####### Build rules
|
||||
|
||||
all: qttmp-Release.mk $(TARGET)
|
||||
|
||||
$(TARGET): ui_gui_srv.h ui_dialog_ctrl.h ui_dialog_filetran.h ui_dialog_lcb.h ui_dialog_rcb.h ui_dialog_sg.h $(OBJECTS)
|
||||
@$(CHK_DIR_EXISTS) dist/Release/GNU-Linux/ || $(MKDIR) dist/Release/GNU-Linux/
|
||||
$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
|
||||
|
||||
qttmp-Release.mk: nbproject/qt-Release.pro /usr/local/Trolltech/Qt-4.8.6/mkspecs/linux-g++-32/qmake.conf /usr/local/Trolltech/Qt-4.8.6/mkspecs/common/unix.conf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/common/linux.conf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/common/gcc-base.conf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/common/gcc-base-unix.conf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/common/g++-base.conf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/common/g++-unix.conf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/qconfig.pri \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/modules/qt_webkit_version.pri \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/qt_functions.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/qt_config.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/exclusive_builds.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/default_pre.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/release.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/default_post.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/shared.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/unix/gdb_dwarf_index.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/warn_on.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/qt.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/unix/opengl.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/unix/thread.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/moc.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/resources.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/uic.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/yacc.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/lex.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/include_source_dir.prf \
|
||||
/usr/local/Trolltech/Qt-4.8.6/lib/libQtSvg.prl \
|
||||
/usr/local/Trolltech/Qt-4.8.6/lib/libQtGui.prl \
|
||||
/usr/local/Trolltech/Qt-4.8.6/lib/libQtCore.prl \
|
||||
/usr/local/Trolltech/Qt-4.8.6/lib/libQt3Support.prl \
|
||||
/usr/local/Trolltech/Qt-4.8.6/lib/libQtSql.prl \
|
||||
/usr/local/Trolltech/Qt-4.8.6/lib/libQtXml.prl \
|
||||
/usr/local/Trolltech/Qt-4.8.6/lib/libQtNetwork.prl \
|
||||
/usr/local/Trolltech/Qt-4.8.6/lib/libQtOpenGL.prl
|
||||
$(QMAKE) VPATH=. -o qttmp-Release.mk nbproject/qt-Release.pro
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/common/unix.conf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/common/linux.conf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/common/gcc-base.conf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/common/gcc-base-unix.conf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/common/g++-base.conf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/common/g++-unix.conf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/qconfig.pri:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/modules/qt_webkit_version.pri:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/qt_functions.prf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/qt_config.prf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/exclusive_builds.prf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/default_pre.prf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/release.prf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/default_post.prf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/shared.prf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/unix/gdb_dwarf_index.prf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/warn_on.prf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/qt.prf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/unix/opengl.prf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/unix/thread.prf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/moc.prf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/resources.prf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/uic.prf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/yacc.prf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/lex.prf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/mkspecs/features/include_source_dir.prf:
|
||||
/usr/local/Trolltech/Qt-4.8.6/lib/libQtSvg.prl:
|
||||
/usr/local/Trolltech/Qt-4.8.6/lib/libQtGui.prl:
|
||||
/usr/local/Trolltech/Qt-4.8.6/lib/libQtCore.prl:
|
||||
/usr/local/Trolltech/Qt-4.8.6/lib/libQt3Support.prl:
|
||||
/usr/local/Trolltech/Qt-4.8.6/lib/libQtSql.prl:
|
||||
/usr/local/Trolltech/Qt-4.8.6/lib/libQtXml.prl:
|
||||
/usr/local/Trolltech/Qt-4.8.6/lib/libQtNetwork.prl:
|
||||
/usr/local/Trolltech/Qt-4.8.6/lib/libQtOpenGL.prl:
|
||||
qmake: FORCE
|
||||
@$(QMAKE) VPATH=. -o qttmp-Release.mk nbproject/qt-Release.pro
|
||||
|
||||
dist:
|
||||
@$(CHK_DIR_EXISTS) build/Release/GNU-Linux/61850Cli_Gui1.0.0 || $(MKDIR) build/Release/GNU-Linux/61850Cli_Gui1.0.0
|
||||
$(COPY_FILE) --parents $(SOURCES) $(DIST) build/Release/GNU-Linux/61850Cli_Gui1.0.0/ && $(COPY_FILE) --parents inc/gui_srv.h inc/ui_gui_srv.h FtpCLient.h dialog_ctrl.h dialog_filetran.h dialog_lcb.h dialog_rcb.h dialog_sg.h inc/ConnectionPool.h inc/DataDeal.h inc/activation_code.h inc/callback.h inc/dlunix.h inc/singleton.h build/Release/GNU-Linux/61850Cli_Gui1.0.0/ && $(COPY_FILE) --parents resources/gui_srv.qrc build/Release/GNU-Linux/61850Cli_Gui1.0.0/ && $(COPY_FILE) --parents src/gui_srv.cpp FtpCLient.cpp dialog_ctrl.cpp dialog_filetran.cpp dialog_lcb.cpp dialog_rcb.cpp dialog_sg.cpp src/ConnectionPool.cpp src/DataDeal.cpp src/callback.cpp src/dlunix.cpp src/main.cpp build/Release/GNU-Linux/61850Cli_Gui1.0.0/ && $(COPY_FILE) --parents resources/gui_srv.ui dialog_ctrl.ui dialog_filetran.ui dialog_lcb.ui dialog_rcb.ui dialog_sg.ui build/Release/GNU-Linux/61850Cli_Gui1.0.0/ && (cd `dirname build/Release/GNU-Linux/61850Cli_Gui1.0.0` && $(TAR) 61850Cli_Gui1.0.0.tar 61850Cli_Gui1.0.0 && $(COMPRESS) 61850Cli_Gui1.0.0.tar) && $(MOVE) `dirname build/Release/GNU-Linux/61850Cli_Gui1.0.0`/61850Cli_Gui1.0.0.tar.gz . && $(DEL_FILE) -r build/Release/GNU-Linux/61850Cli_Gui1.0.0
|
||||
|
||||
|
||||
clean:compiler_clean
|
||||
-$(DEL_FILE) $(OBJECTS)
|
||||
-$(DEL_FILE) *~ core *.core
|
||||
|
||||
|
||||
####### Sub-libraries
|
||||
|
||||
distclean: clean
|
||||
-$(DEL_FILE) $(TARGET)
|
||||
-$(DEL_FILE) qttmp-Release.mk
|
||||
|
||||
|
||||
check: first
|
||||
|
||||
mocclean: compiler_moc_header_clean compiler_moc_source_clean
|
||||
|
||||
mocables: compiler_moc_header_make_all compiler_moc_source_make_all
|
||||
|
||||
compiler_moc_header_make_all: moc_gui_srv.cpp moc_FtpCLient.cpp moc_dialog_ctrl.cpp moc_dialog_filetran.cpp moc_dialog_lcb.cpp moc_dialog_rcb.cpp moc_dialog_sg.cpp
|
||||
compiler_moc_header_clean:
|
||||
-$(DEL_FILE) moc_gui_srv.cpp moc_FtpCLient.cpp moc_dialog_ctrl.cpp moc_dialog_filetran.cpp moc_dialog_lcb.cpp moc_dialog_rcb.cpp moc_dialog_sg.cpp
|
||||
moc_gui_srv.cpp: inc/ui_gui_srv.h \
|
||||
inc/gui_srv.h
|
||||
/usr/local/Trolltech/Qt-4.8.6/bin/moc $(DEFINES) $(INCPATH) inc/gui_srv.h -o moc_gui_srv.cpp
|
||||
|
||||
moc_FtpCLient.cpp: FtpCLient.h
|
||||
/usr/local/Trolltech/Qt-4.8.6/bin/moc $(DEFINES) $(INCPATH) FtpCLient.h -o moc_FtpCLient.cpp
|
||||
|
||||
moc_dialog_ctrl.cpp: ui_dialog_ctrl.h \
|
||||
dialog_ctrl.h
|
||||
/usr/local/Trolltech/Qt-4.8.6/bin/moc $(DEFINES) $(INCPATH) dialog_ctrl.h -o moc_dialog_ctrl.cpp
|
||||
|
||||
moc_dialog_filetran.cpp: ui_dialog_filetran.h \
|
||||
dialog_filetran.h
|
||||
/usr/local/Trolltech/Qt-4.8.6/bin/moc $(DEFINES) $(INCPATH) dialog_filetran.h -o moc_dialog_filetran.cpp
|
||||
|
||||
moc_dialog_lcb.cpp: ui_dialog_lcb.h \
|
||||
dialog_lcb.h
|
||||
/usr/local/Trolltech/Qt-4.8.6/bin/moc $(DEFINES) $(INCPATH) dialog_lcb.h -o moc_dialog_lcb.cpp
|
||||
|
||||
moc_dialog_rcb.cpp: ui_dialog_rcb.h \
|
||||
dialog_rcb.h
|
||||
/usr/local/Trolltech/Qt-4.8.6/bin/moc $(DEFINES) $(INCPATH) dialog_rcb.h -o moc_dialog_rcb.cpp
|
||||
|
||||
moc_dialog_sg.cpp: ui_dialog_sg.h \
|
||||
dialog_sg.h
|
||||
/usr/local/Trolltech/Qt-4.8.6/bin/moc $(DEFINES) $(INCPATH) dialog_sg.h -o moc_dialog_sg.cpp
|
||||
|
||||
compiler_rcc_make_all: qrc_gui_srv.cpp
|
||||
compiler_rcc_clean:
|
||||
-$(DEL_FILE) qrc_gui_srv.cpp
|
||||
qrc_gui_srv.cpp: resources/gui_srv.qrc
|
||||
/usr/local/Trolltech/Qt-4.8.6/bin/rcc -name gui_srv resources/gui_srv.qrc -o qrc_gui_srv.cpp
|
||||
|
||||
compiler_image_collection_make_all: qmake_image_collection.cpp
|
||||
compiler_image_collection_clean:
|
||||
-$(DEL_FILE) qmake_image_collection.cpp
|
||||
compiler_moc_source_make_all:
|
||||
compiler_moc_source_clean:
|
||||
compiler_uic_make_all: ui_gui_srv.h ui_dialog_ctrl.h ui_dialog_filetran.h ui_dialog_lcb.h ui_dialog_rcb.h ui_dialog_sg.h
|
||||
compiler_uic_clean:
|
||||
-$(DEL_FILE) ui_gui_srv.h ui_dialog_ctrl.h ui_dialog_filetran.h ui_dialog_lcb.h ui_dialog_rcb.h ui_dialog_sg.h
|
||||
ui_gui_srv.h: resources/gui_srv.ui
|
||||
/usr/local/Trolltech/Qt-4.8.6/bin/uic resources/gui_srv.ui -o ui_gui_srv.h
|
||||
|
||||
ui_dialog_ctrl.h: dialog_ctrl.ui
|
||||
/usr/local/Trolltech/Qt-4.8.6/bin/uic dialog_ctrl.ui -o ui_dialog_ctrl.h
|
||||
|
||||
ui_dialog_filetran.h: dialog_filetran.ui
|
||||
/usr/local/Trolltech/Qt-4.8.6/bin/uic dialog_filetran.ui -o ui_dialog_filetran.h
|
||||
|
||||
ui_dialog_lcb.h: dialog_lcb.ui
|
||||
/usr/local/Trolltech/Qt-4.8.6/bin/uic dialog_lcb.ui -o ui_dialog_lcb.h
|
||||
|
||||
ui_dialog_rcb.h: dialog_rcb.ui
|
||||
/usr/local/Trolltech/Qt-4.8.6/bin/uic dialog_rcb.ui -o ui_dialog_rcb.h
|
||||
|
||||
ui_dialog_sg.h: dialog_sg.ui
|
||||
/usr/local/Trolltech/Qt-4.8.6/bin/uic dialog_sg.ui -o ui_dialog_sg.h
|
||||
|
||||
compiler_yacc_decl_make_all:
|
||||
compiler_yacc_decl_clean:
|
||||
compiler_yacc_impl_make_all:
|
||||
compiler_yacc_impl_clean:
|
||||
compiler_lex_make_all:
|
||||
compiler_lex_clean:
|
||||
compiler_clean: compiler_moc_header_clean compiler_rcc_clean compiler_uic_clean
|
||||
|
||||
####### Compile
|
||||
|
||||
build/Release/GNU-Linux/gui_srv.o: src/gui_srv.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/Release/GNU-Linux/gui_srv.o src/gui_srv.cpp
|
||||
|
||||
build/Release/GNU-Linux/FtpCLient.o: FtpCLient.cpp FtpCLient.h
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/Release/GNU-Linux/FtpCLient.o FtpCLient.cpp
|
||||
|
||||
build/Release/GNU-Linux/dialog_ctrl.o: dialog_ctrl.cpp dialog_ctrl.h \
|
||||
ui_dialog_ctrl.h
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/Release/GNU-Linux/dialog_ctrl.o dialog_ctrl.cpp
|
||||
|
||||
build/Release/GNU-Linux/dialog_filetran.o: dialog_filetran.cpp dialog_filetran.h \
|
||||
ui_dialog_filetran.h
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/Release/GNU-Linux/dialog_filetran.o dialog_filetran.cpp
|
||||
|
||||
build/Release/GNU-Linux/dialog_lcb.o: dialog_lcb.cpp dialog_lcb.h \
|
||||
ui_dialog_lcb.h
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/Release/GNU-Linux/dialog_lcb.o dialog_lcb.cpp
|
||||
|
||||
build/Release/GNU-Linux/dialog_rcb.o: dialog_rcb.cpp dialog_rcb.h \
|
||||
ui_dialog_rcb.h
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/Release/GNU-Linux/dialog_rcb.o dialog_rcb.cpp
|
||||
|
||||
build/Release/GNU-Linux/dialog_sg.o: dialog_sg.cpp dialog_sg.h \
|
||||
ui_dialog_sg.h
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/Release/GNU-Linux/dialog_sg.o dialog_sg.cpp
|
||||
|
||||
build/Release/GNU-Linux/ConnectionPool.o: src/ConnectionPool.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/Release/GNU-Linux/ConnectionPool.o src/ConnectionPool.cpp
|
||||
|
||||
build/Release/GNU-Linux/DataDeal.o: src/DataDeal.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/Release/GNU-Linux/DataDeal.o src/DataDeal.cpp
|
||||
|
||||
build/Release/GNU-Linux/callback.o: src/callback.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/Release/GNU-Linux/callback.o src/callback.cpp
|
||||
|
||||
build/Release/GNU-Linux/dlunix.o: src/dlunix.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/Release/GNU-Linux/dlunix.o src/dlunix.cpp
|
||||
|
||||
build/Release/GNU-Linux/main.o: src/main.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/Release/GNU-Linux/main.o src/main.cpp
|
||||
|
||||
build/Release/GNU-Linux/moc_gui_srv.o: moc_gui_srv.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/Release/GNU-Linux/moc_gui_srv.o moc_gui_srv.cpp
|
||||
|
||||
build/Release/GNU-Linux/moc_FtpCLient.o: moc_FtpCLient.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/Release/GNU-Linux/moc_FtpCLient.o moc_FtpCLient.cpp
|
||||
|
||||
build/Release/GNU-Linux/moc_dialog_ctrl.o: moc_dialog_ctrl.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/Release/GNU-Linux/moc_dialog_ctrl.o moc_dialog_ctrl.cpp
|
||||
|
||||
build/Release/GNU-Linux/moc_dialog_filetran.o: moc_dialog_filetran.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/Release/GNU-Linux/moc_dialog_filetran.o moc_dialog_filetran.cpp
|
||||
|
||||
build/Release/GNU-Linux/moc_dialog_lcb.o: moc_dialog_lcb.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/Release/GNU-Linux/moc_dialog_lcb.o moc_dialog_lcb.cpp
|
||||
|
||||
build/Release/GNU-Linux/moc_dialog_rcb.o: moc_dialog_rcb.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/Release/GNU-Linux/moc_dialog_rcb.o moc_dialog_rcb.cpp
|
||||
|
||||
build/Release/GNU-Linux/moc_dialog_sg.o: moc_dialog_sg.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/Release/GNU-Linux/moc_dialog_sg.o moc_dialog_sg.cpp
|
||||
|
||||
build/Release/GNU-Linux/qrc_gui_srv.o: qrc_gui_srv.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/Release/GNU-Linux/qrc_gui_srv.o qrc_gui_srv.cpp
|
||||
|
||||
####### Install
|
||||
|
||||
install: FORCE
|
||||
|
||||
uninstall: FORCE
|
||||
|
||||
FORCE:
|
||||
|
@ -0,0 +1,24 @@
|
||||
# This file is generated automatically. Do not edit.
|
||||
# Use project properties -> Build -> Qt -> Expert -> Custom Definitions.
|
||||
TEMPLATE = app
|
||||
DESTDIR = dist/Release/GNU-Linux
|
||||
TARGET = 61850Cli_Gui
|
||||
VERSION = 1.0.0
|
||||
CONFIG -= debug_and_release app_bundle lib_bundle
|
||||
CONFIG += release
|
||||
PKGCONFIG +=
|
||||
QT = core gui widgets network opengl qt3support sql svg xml
|
||||
SOURCES += ./src/gui_srv.cpp FtpCLient.cpp dialog_ctrl.cpp dialog_filetran.cpp dialog_lcb.cpp dialog_rcb.cpp dialog_sg.cpp src/ConnectionPool.cpp src/DataDeal.cpp src/callback.cpp src/dlunix.cpp src/main.cpp
|
||||
HEADERS += ./inc/gui_srv.h ./inc/ui_gui_srv.h FtpCLient.h dialog_ctrl.h dialog_filetran.h dialog_lcb.h dialog_rcb.h dialog_sg.h inc/ConnectionPool.h inc/DataDeal.h inc/activation_code.h inc/callback.h inc/dlunix.h inc/singleton.h
|
||||
FORMS += ./resources/gui_srv.ui dialog_ctrl.ui dialog_filetran.ui dialog_lcb.ui dialog_rcb.ui dialog_sg.ui
|
||||
RESOURCES += resources/gui_srv.qrc
|
||||
TRANSLATIONS +=
|
||||
OBJECTS_DIR = build/Release/GNU-Linux
|
||||
MOC_DIR =
|
||||
RCC_DIR =
|
||||
UI_DIR =
|
||||
QMAKE_CC = gcc
|
||||
QMAKE_CXX = g++
|
||||
DEFINES += DEBUG_SISCO ETHERNET LEAN_T MMS_LITE MOSI MVL_UCA
|
||||
INCLUDEPATH += inc ../temp/cosmos2010/inc ../temp/cosmos2010/mmslite/inc treeMenu
|
||||
LIBS += -ldl -Wl,-rpath,build/Release/GNU-Linux -Wl,-rpath,dist/Release/GNU-Linux
|
@ -0,0 +1,108 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
|
||||
<STACK_CFG xmlns="http://www.iec.ch/61850/2003/SCL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
|
||||
<MMS>
|
||||
<Max_Mms_Pdu_Length>32000</Max_Mms_Pdu_Length>
|
||||
<Max_Calling_Connections>80</Max_Calling_Connections>
|
||||
<Max_Called_Connections>0</Max_Called_Connections>
|
||||
</MMS>
|
||||
|
||||
<Network>
|
||||
<Clnp>
|
||||
<Lifetime>50</Lifetime>
|
||||
<Lifetime_Decrement>1</Lifetime_Decrement>
|
||||
<Cfg_Timer>120</Cfg_Timer>
|
||||
<Esh_Delay>5</Esh_Delay>
|
||||
<Local_NSAP>49 00 01 53 49 53 43 09 01 01</Local_NSAP>
|
||||
</Clnp>
|
||||
</Network>
|
||||
|
||||
<Transport>
|
||||
<Tp4>
|
||||
<Max_Tpdu_Length>1024</Max_Tpdu_Length>
|
||||
<Max_Remote_Cdt>4</Max_Remote_Cdt>
|
||||
<Local_Cdt>4</Local_Cdt>
|
||||
<Max_Num_Connections>8</Max_Num_Connections>
|
||||
<Max_Spdu_Outstanding>16</Max_Spdu_Outstanding>
|
||||
<Window_Time>10</Window_Time>
|
||||
<Inactivity_Time>120</Inactivity_Time>
|
||||
<Retransmission_Time>10</Retransmission_Time>
|
||||
<Max_Transmissions>2</Max_Transmissions>
|
||||
<Ak_Delay>2</Ak_Delay>
|
||||
</Tp4>
|
||||
<Tcp>
|
||||
<Rfc1006_Max_Tpdu_Len>1024</Rfc1006_Max_Tpdu_Len>
|
||||
<Rfc1006_Max_Num_Conns>8</Rfc1006_Max_Num_Conns>
|
||||
<Rfc1006_Max_Spdu_Outstanding>50</Rfc1006_Max_Spdu_Outstanding>
|
||||
</Tcp>
|
||||
</Transport>
|
||||
|
||||
<Session>
|
||||
<Disconnect_Timeout>60</Disconnect_Timeout>
|
||||
</Session>
|
||||
|
||||
<NetworkAddressing>
|
||||
<LocalAddressList>
|
||||
<LocalAddress>
|
||||
<AR_Name>local1</AR_Name>
|
||||
<AP_Title>1 3 9999 23</AP_Title>
|
||||
<AE_Qualifier>23</AE_Qualifier>
|
||||
<Psel>00 01</Psel>
|
||||
<Ssel>00 00 00 01</Ssel>
|
||||
<Tsel>00 01</Tsel>
|
||||
<TransportType>TCP</TransportType>
|
||||
</LocalAddress>
|
||||
</LocalAddressList>
|
||||
<RemoteAddressList>
|
||||
<RemoteAddress>
|
||||
<AR_Name>xynet_A_TXRX34</AR_Name>
|
||||
<NetAddr Type="IPADDR">192.168.1.102</NetAddr>
|
||||
<AP_Title>1 3 9999 33</AP_Title>
|
||||
<AE_Qualifier>33</AE_Qualifier>
|
||||
<Psel>00 00 00 01</Psel>
|
||||
<Tsel>00 01</Tsel>
|
||||
<Ssel>00 01</Ssel>
|
||||
</RemoteAddress>
|
||||
<RemoteAddress>
|
||||
<AR_Name>xynet_A_TIED1</AR_Name>
|
||||
<NetAddr Type="IPADDR">192.168.115.241</NetAddr>
|
||||
<AP_Title>1 3 9999 33</AP_Title>
|
||||
<AE_Qualifier>33</AE_Qualifier>
|
||||
<Psel>00 00 00 01</Psel>
|
||||
<Tsel>00 01</Tsel>
|
||||
<Ssel>00 01</Ssel>
|
||||
</RemoteAddress>
|
||||
<RemoteAddress>
|
||||
<AR_Name>xynet_A_TIED2</AR_Name>
|
||||
<NetAddr Type="IPADDR">192.168.1.202</NetAddr>
|
||||
<AP_Title>1 3 9999 33</AP_Title>
|
||||
<AE_Qualifier>33</AE_Qualifier>
|
||||
<Psel>00 00 00 01</Psel>
|
||||
<Tsel>00 01</Tsel>
|
||||
<Ssel>00 01</Ssel>
|
||||
</RemoteAddress>
|
||||
</RemoteAddressList>
|
||||
</NetworkAddressing>
|
||||
|
||||
<SCL_PARSER>
|
||||
<ArName>xynet_A_TXRX34</ArName>
|
||||
<FileName>XY_SCD.SCD</FileName>
|
||||
<IEDName>TXRX34</IEDName>
|
||||
<APName>S1</APName>
|
||||
</SCL_PARSER>
|
||||
|
||||
<SCL_PARSER>
|
||||
<ArName>xynet_A_TIED1</ArName>
|
||||
<FileName>XY_SCD.SCD</FileName>
|
||||
<IEDName>TIED1</IEDName>
|
||||
<APName>S1</APName>
|
||||
</SCL_PARSER>
|
||||
|
||||
<SCL_PARSER>
|
||||
<ArName>xynet_A_TIED2</ArName>
|
||||
<FileName>XY_SCD.SCD</FileName>
|
||||
<IEDName>TIED2</IEDName>
|
||||
<APName>S1</APName>
|
||||
</SCL_PARSER>
|
||||
|
||||
</STACK_CFG>
|
Binary file not shown.
@ -0,0 +1,52 @@
|
||||
<ACSI_CFG>
|
||||
<Max_IED_Num>100</Max_IED_Num>
|
||||
<Max_TdlBuf_Len>50000</Max_TdlBuf_Len>
|
||||
<Max_TypeID_Num>5000</Max_TypeID_Num>
|
||||
<DEFAULT_IED_CFG>
|
||||
<Max_Dynamic_DataSet>30</Max_Dynamic_DataSet>
|
||||
<Auto_Acssoc_Time>10</Auto_Acssoc_Time>
|
||||
<SG_Variable_List>false</SG_Variable_List>
|
||||
<IED_Create_Directory>false</IED_Create_Directory>
|
||||
<Keep_Connect_A>true</Keep_Connect_A>
|
||||
<Keep_Connect_B>false</Keep_Connect_B>
|
||||
<BRCB_Many_Instance>true</BRCB_Many_Instance>
|
||||
<BRCB_InstanceNO_A>01</BRCB_InstanceNO_A>
|
||||
<BRCB_InstanceNO_B>02</BRCB_InstanceNO_B>
|
||||
</DEFAULT_IED_CFG>
|
||||
<IED_CFG name = "MGA20209">
|
||||
<Auto_Acssoc_Time>20</Auto_Acssoc_Time>
|
||||
<BRCB_Many_Instance>true</BRCB_Many_Instance>
|
||||
<BRCB_InstanceNO_A>01</BRCB_InstanceNO_A>
|
||||
<BRCB_InstanceNO_B>02</BRCB_InstanceNO_B>
|
||||
</IED_CFG>
|
||||
<IED_CFG name = "MGA20208">
|
||||
<Auto_Acssoc_Time>15</Auto_Acssoc_Time>
|
||||
<BRCB_Many_Instance>false</BRCB_Many_Instance>
|
||||
<BRCB_InstanceNO_A>03</BRCB_InstanceNO_A>
|
||||
<BRCB_InstanceNO_B>04</BRCB_InstanceNO_B>
|
||||
</IED_CFG>
|
||||
<IED_CFG name = "MGA20207">
|
||||
<Auto_Acssoc_Time>15</Auto_Acssoc_Time>
|
||||
<BRCB_Many_Instance>false</BRCB_Many_Instance>
|
||||
<BRCB_InstanceNO_A>05</BRCB_InstanceNO_A>
|
||||
<BRCB_InstanceNO_B>06</BRCB_InstanceNO_B>
|
||||
</IED_CFG>
|
||||
<IED_CFG name = "MGA20206">
|
||||
<Auto_Acssoc_Time>15</Auto_Acssoc_Time>
|
||||
<BRCB_Many_Instance>false</BRCB_Many_Instance>
|
||||
<BRCB_InstanceNO_A>07</BRCB_InstanceNO_A>
|
||||
<BRCB_InstanceNO_B>08</BRCB_InstanceNO_B>
|
||||
</IED_CFG>
|
||||
<IED_CFG name = "MGA20201">
|
||||
<Auto_Acssoc_Time>15</Auto_Acssoc_Time>
|
||||
<BRCB_Many_Instance>false</BRCB_Many_Instance>
|
||||
<BRCB_InstanceNO_A>09</BRCB_InstanceNO_A>
|
||||
<BRCB_InstanceNO_B>10</BRCB_InstanceNO_B>
|
||||
</IED_CFG>
|
||||
<IED_CFG name = "MGA20204">
|
||||
<Auto_Acssoc_Time>15</Auto_Acssoc_Time>
|
||||
<BRCB_Many_Instance>false</BRCB_Many_Instance>
|
||||
<BRCB_InstanceNO_A>11</BRCB_InstanceNO_A>
|
||||
<BRCB_InstanceNO_B>12</BRCB_InstanceNO_B>
|
||||
</IED_CFG>
|
||||
</ACSI_CFG>
|
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
|
||||
<GROUPIP xmlns="http://www.iec.ch/61850/2003/SCL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
|
||||
<GROUP name="TIED1">
|
||||
<IP addr="192.168.135.239" sername="net_A_TIED1"/>
|
||||
</GROUP>
|
||||
|
||||
<GROUP name="TIED10">
|
||||
<IP addr="192.168.115.241" sername="net_A_TIED4"/>
|
||||
</GROUP>
|
||||
|
||||
</GROUPIP>
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,92 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
|
||||
<STACK_CFG xmlns="http://www.iec.ch/61850/2003/SCL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
|
||||
<MMS>
|
||||
<Max_Mms_Pdu_Length>32000</Max_Mms_Pdu_Length>
|
||||
<Max_Calling_Connections>80</Max_Calling_Connections>
|
||||
<Max_Called_Connections>0</Max_Called_Connections>
|
||||
</MMS>
|
||||
|
||||
<Network>
|
||||
<Clnp>
|
||||
<Lifetime>50</Lifetime>
|
||||
<Lifetime_Decrement>1</Lifetime_Decrement>
|
||||
<Cfg_Timer>120</Cfg_Timer>
|
||||
<Esh_Delay>5</Esh_Delay>
|
||||
<Local_NSAP>49 00 01 53 49 53 43 09 01 01</Local_NSAP>
|
||||
</Clnp>
|
||||
</Network>
|
||||
|
||||
<Transport>
|
||||
<Tp4>
|
||||
<Max_Tpdu_Length>1024</Max_Tpdu_Length>
|
||||
<Max_Remote_Cdt>4</Max_Remote_Cdt>
|
||||
<Local_Cdt>4</Local_Cdt>
|
||||
<Max_Num_Connections>8</Max_Num_Connections>
|
||||
<Max_Spdu_Outstanding>16</Max_Spdu_Outstanding>
|
||||
<Window_Time>10</Window_Time>
|
||||
<Inactivity_Time>120</Inactivity_Time>
|
||||
<Retransmission_Time>10</Retransmission_Time>
|
||||
<Max_Transmissions>2</Max_Transmissions>
|
||||
<Ak_Delay>2</Ak_Delay>
|
||||
</Tp4>
|
||||
<Tcp>
|
||||
<Rfc1006_Max_Tpdu_Len>1024</Rfc1006_Max_Tpdu_Len>
|
||||
<Rfc1006_Max_Num_Conns>8</Rfc1006_Max_Num_Conns>
|
||||
<Rfc1006_Max_Spdu_Outstanding>50</Rfc1006_Max_Spdu_Outstanding>
|
||||
</Tcp>
|
||||
</Transport>
|
||||
|
||||
<Session>
|
||||
<Disconnect_Timeout>60</Disconnect_Timeout>
|
||||
</Session>
|
||||
|
||||
<NetworkAddressing>
|
||||
<LocalAddressList>
|
||||
<LocalAddress>
|
||||
<AR_Name>local1</AR_Name>
|
||||
<AP_Title>1 3 9999 23</AP_Title>
|
||||
<AE_Qualifier>23</AE_Qualifier>
|
||||
<Psel>00 00 00 01</Psel>
|
||||
<Ssel>00 01</Ssel>
|
||||
<Tsel>00 01</Tsel>
|
||||
<TransportType>TCP</TransportType>
|
||||
</LocalAddress>
|
||||
</LocalAddressList>
|
||||
<RemoteAddressList>
|
||||
<RemoteAddress>
|
||||
<AR_Name>net_A_TIED1</AR_Name>
|
||||
<NetAddr Type="IPADDR">192.168.135.239</NetAddr>
|
||||
<AP_Title>1 3 9999 33</AP_Title>
|
||||
<AE_Qualifier>33</AE_Qualifier>
|
||||
<Psel>00 00 00 01</Psel>
|
||||
<Tsel>00 01</Tsel>
|
||||
<Ssel>00 01</Ssel>
|
||||
</RemoteAddress>
|
||||
<RemoteAddress>
|
||||
<AR_Name>net_A_TIED4</AR_Name>
|
||||
<NetAddr Type="IPADDR">192.168.115.241</NetAddr>
|
||||
<AP_Title>1 3 9999 33</AP_Title>
|
||||
<AE_Qualifier>33</AE_Qualifier>
|
||||
<Psel>00 00 00 01</Psel>
|
||||
<Tsel>00 01</Tsel>
|
||||
<Ssel>00 01</Ssel>
|
||||
</RemoteAddress>
|
||||
</RemoteAddressList>
|
||||
</NetworkAddressing>
|
||||
|
||||
<SCL_PARSER>
|
||||
<ArName>net_A_TIED1</ArName>
|
||||
<FileName>hmf1.SCD</FileName>
|
||||
<IEDName>TIED1</IEDName>
|
||||
<APName>S1</APName>
|
||||
</SCL_PARSER>
|
||||
|
||||
<SCL_PARSER>
|
||||
<ArName>net_A_TIED4</ArName>
|
||||
<FileName>hmf1.SCD</FileName>
|
||||
<IEDName>TIED4</IEDName>
|
||||
<APName>S1</APName>
|
||||
</SCL_PARSER>
|
||||
|
||||
</STACK_CFG>
|
@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
|
||||
<RPT xmlns="http://www.iec.ch/61850/2003/SCL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
|
||||
<Servers gitime="1800" manufacturer="0" name="TIED1">
|
||||
<RCB IntgPd="60000" enable="true" gi="true" optflds="0011101100" periodtime="1800" ref="TIED1MONT/LLN0.urcbMeasure" trgops="11111"/>
|
||||
<RCB IntgPd="60000" enable="true" gi="true" optflds="0011101100" periodtime="1800" ref="TIED1MONT/LLN0.brcbState" trgops="11111"/>
|
||||
</Servers>
|
||||
|
||||
<Servers gitime="1800" manufacturer="0" name="TIED4">
|
||||
<RCB IntgPd="60000" enable="true" gi="true" optflds="0111111110" periodtime="1800" ref="TIED4MONT/LLN0.urcbMeasure" trgops="11011"/>
|
||||
<RCB IntgPd="60000" enable="true" gi="true" optflds="0111111110" periodtime="1800" ref="TIED4MONT/LLN0.brcbState" trgops="11011"/>
|
||||
</Servers>
|
||||
|
||||
</RPT>
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,26 @@
|
||||
[mysqlcfg]
|
||||
hostname=192.168.128.86
|
||||
dbname=cac_new
|
||||
port=3306
|
||||
usrname=root
|
||||
psw=123456
|
||||
localfilepath=curvefiles
|
||||
remotefilepath=INFO
|
||||
comtradftpip=192.168.128.86
|
||||
comtradftpport=21
|
||||
comtradftpuid=sftp
|
||||
comtradftppsw=sftp
|
||||
comtradfilepath=comtrad/
|
||||
tempmeasureinterval=30 #单位分钟
|
||||
sf6interval=30
|
||||
pdinterval=30
|
||||
microweatherinterval=30
|
||||
ironcoreinterval=30
|
||||
moainterval=30
|
||||
yspinterval=1 #油色谱(载气)
|
||||
yspinterval1=1 #油色谱(油中气
|
||||
yspinterval2=1 #油色谱(光声光谱)
|
||||
jyinterval=30
|
||||
scurinterval=30
|
||||
dlginterval=30
|
||||
jdwinterval=30
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
|
||||
<RPT xmlns="http://www.iec.ch/61850/2003/SCL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
|
||||
<Servers gitime="1800" manufacturer="0" name="TXRX34">
|
||||
<RCB IntgPd="300000" enable="true" gi="true" optflds="0111111110" periodtime="1800" ref="TXRX34MONT/LLN0.urcbMeasure" trgops="11011"/>
|
||||
<RCB IntgPd="60000" enable="true" gi="true" optflds="0111111110" periodtime="1800" ref="TXRX34MONT/LLN0.brcbState" trgops="11011"/>
|
||||
</Servers>
|
||||
|
||||
<Servers gitime="1800" manufacturer="0" name="TIED1">
|
||||
<RCB IntgPd="60000" enable="true" gi="true" optflds="0111111110" periodtime="1800" ref="TIED1MONT/LLN0.urcbMeasure" trgops="11011"/>
|
||||
<RCB IntgPd="60000" enable="true" gi="true" optflds="0111111110" periodtime="1800" ref="TIED1MONT/LLN0.brcbState" trgops="11011"/>
|
||||
</Servers>
|
||||
|
||||
<Servers gitime="1800" manufacturer="0" name="TIED2">
|
||||
<RCB IntgPd="60000" enable="true" gi="true" optflds="0111111110" periodtime="1800" ref="TIED2MONT/LLN0.urcbMeasure" trgops="11011"/>
|
||||
<RCB IntgPd="60000" enable="true" gi="true" optflds="0111111110" periodtime="1800" ref="TIED2MONT/LLN0.brcbState" trgops="11011"/>
|
||||
</Servers>
|
||||
|
||||
</RPT>
|
Binary file not shown.
After Width: | Height: | Size: 834 B |
Binary file not shown.
After Width: | Height: | Size: 1.9 KiB |
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue