Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 

44 wiersze
1.0 KiB

  1. #ifndef TESTREPORT_H
  2. #define TESTREPORT_H
  3. #include "GlobalDefine.h"
  4. #include "VisualInspectionResult.h"
  5. #include "CableParametersData.h"
  6. #include "TestBenchVersion.h"
  7. #include "AutomatedTestReport.h"
  8. #include <QObject>
  9. class CTestReport : public QObject
  10. {
  11. Q_OBJECT
  12. public:
  13. CTestReport();
  14. CVisualInspectionResult* GetInspectionResult();
  15. CCableParametersData *GetReportCableParameters();
  16. CAutomatedTestReport *GetAutomatedTestReport();
  17. int CreateNewTestReport();
  18. int AddLogEntry(QString NewEntry,bool IncludeTime = true,bool Propagate = true);
  19. bool IsAutoTestReportReady();
  20. bool GetGlobalAutoTestResult();
  21. int SaveReportToFile();
  22. QString GetLastReportFileName();
  23. private:
  24. CVisualInspectionResult mVisualInspectionResultReport;
  25. CCableParametersData mCableParameters;
  26. CAutomatedTestReport mAutomatedTestReport;
  27. QString mSoftwareVersion;
  28. QString mTestLog;
  29. QString mReportFileDirectory;
  30. QString mLastReportName;
  31. signals:
  32. void NewTestLogEntry(QString NewEntry);
  33. };
  34. #endif // TESTREPORT_H