38 lines
889 B
C++
38 lines
889 B
C++
#include "CableParametersData.h"
|
|
#include "GlobalDefine.h"
|
|
|
|
CCableParametersData::CCableParametersData()
|
|
{
|
|
ResetData();
|
|
}
|
|
|
|
int CCableParametersData::ResetData()
|
|
{
|
|
mStationName.clear();
|
|
mCableIdentification.clear();
|
|
mCableType.clear();
|
|
mTestOperatorName.clear();
|
|
|
|
mInputConnectorType.clear();
|
|
mOutputConnectorType.clear();
|
|
|
|
return RET_OK;
|
|
}
|
|
|
|
int CCableParametersData::SetCableParams(QString StationName, QString CableIdentification, QString CableType, QString OperatorName)
|
|
{
|
|
mStationName = StationName;
|
|
mCableIdentification = CableIdentification;
|
|
mCableType = CableType;
|
|
mTestOperatorName = OperatorName;
|
|
|
|
return RET_OK;
|
|
}
|
|
|
|
int CCableParametersData::SetCableType(QString InputConnectortype, QString OutputConnectorType)
|
|
{
|
|
mInputConnectorType = InputConnectortype;
|
|
mOutputConnectorType = OutputConnectorType;
|
|
return RET_OK;
|
|
}
|