33 lines
482 B
C++
33 lines
482 B
C++
|
#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;
|
|||
|
}
|