opencv_mv/QPlugins/CommunicateTools/PlcCommunicate/PlcCommunicate.cpp

33 lines
482 B
C++
Raw Normal View History

2023-05-22 09:27:46 +00:00
#include "PlcCommunicate.h"
#include "frmPlcCommunicate.h"
PlcCommunicate::PlcCommunicate()
{
}
QString PlcCommunicate::name()
{
return "PLCͨ<EFBFBD><EFBFBD>";
}
QString PlcCommunicate::information()
{
return "ͨѶ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>";
}
QDialog* showDialog(QString toolName, QToolBase* toolBase)
{
frmPlcCommunicate* ss = new frmPlcCommunicate(toolName, toolBase);
return ss;
}
int ShowFormState()
{
return QConfig::nFormState;
}
void SetFormState()
{
QConfig::nFormState = 0;
}