00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036 #if !defined(_FEDM_ISC_REPORT_0x6E_H_INCLUDED_)
00037 #define _FEDM_ISC_REPORT_0x6E_H_INCLUDED_
00038
00039
00040 #include <string>
00041 #include "../../FEDM.h"
00042 #include "../FEDM_ISCReaderDiagnostic.h"
00043
00044
00045
00046 using namespace std;
00047
00048 class FEDM_ISCReader;
00049
00050
00051 class _FEDM_ISC_CORE_EXT_CLASS FedmIscReport_ReaderDiagnostic
00052 {
00053 public:
00054 FedmIscReport_ReaderDiagnostic(FEDM_ISCReader* pReader);
00055 ~FedmIscReport_ReaderDiagnostic();
00056
00057
00058 public:
00059 string BuildReport(unsigned char ucMode);
00060 string BuildReport(unsigned char ucMode, FEDM_ISC_READER_DIAGNOSTIC* pInfo);
00061
00062 virtual int BuildReport(unsigned char ucMode, string& sReport);
00063 virtual int BuildReport(unsigned char ucMode, string& sReport, FEDM_ISC_READER_DIAGNOSTIC* pInfo);
00064
00065 protected:
00066 virtual void Add0x01InfoText(string& sReport, FEDM_ISC_READER_DIAGNOSTIC* pInfo, bool bSingle=true);
00067 virtual void Add0x01InfoText_MR102(string& sReport, FEDM_ISC_READER_DIAGNOSTIC* pInfo, bool bSingle=true);
00068 virtual void Add0x01InfoText_MR200(string& sReport, FEDM_ISC_READER_DIAGNOSTIC* pInfo, bool bSingle=true);
00069 virtual void Add0x01InfoText_PRH200(string& sReport, FEDM_ISC_READER_DIAGNOSTIC* pInfo, bool bSingle=true);
00070 virtual void Add0x01InfoText_LR200(string& sReport, FEDM_ISC_READER_DIAGNOSTIC* pInfo, bool bSingle=true);
00071 virtual void Add0x01InfoText_LR1002(string& sReport, FEDM_ISC_READER_DIAGNOSTIC* pInfo, bool bSingle=true);
00072 virtual void Add0x01InfoText_LR2000(string& sReport, FEDM_ISC_READER_DIAGNOSTIC* pInfo, bool bSingle=true);
00073 virtual void Add0x01InfoText_LRU1000(string& sReport, FEDM_ISC_READER_DIAGNOSTIC* pInfo, bool bSingle=true);
00074 virtual void Add0x02InfoText(string& sReport, FEDM_ISC_READER_DIAGNOSTIC* pInfo, bool bSingle=true);
00075 virtual void Add0x03InfoText(string& sReport, FEDM_ISC_READER_DIAGNOSTIC* pInfo, bool bSingle=true);
00076 virtual void Add0x04InfoText(string& sReport, FEDM_ISC_READER_DIAGNOSTIC* pInfo, bool bSingle=true);
00077 virtual void Add0x05InfoText(string& sReport, FEDM_ISC_READER_DIAGNOSTIC* pInfo, bool bSingle=true);
00078 virtual void Add0x06InfoText(string& sReport, FEDM_ISC_READER_DIAGNOSTIC* pInfo, bool bSingle=true);
00079 virtual void Add0x07InfoText(string& sReport, FEDM_ISC_READER_DIAGNOSTIC* pInfo, bool bSingle=true);
00080 virtual void Add0x20InfoText(string& sReport, FEDM_ISC_READER_DIAGNOSTIC* pInfo, bool bSingle=true);
00081 virtual void Add0x21InfoText(string& sReport, FEDM_ISC_READER_DIAGNOSTIC* pInfo, bool bSingle=true);
00082
00083 virtual void AddAllInfoText(string& sReport, FEDM_ISC_READER_DIAGNOSTIC* pInfo);
00084
00085 virtual void Add0x01InfoText(string& sReport, bool bSingle=true);
00086 virtual void Add0x01InfoText_MR102(string& sReport, bool bSingle=true);
00087 virtual void Add0x01InfoText_MR200(string& sReport, bool bSingle=true);
00088 virtual void Add0x01InfoText_PRH200(string& sReport, bool bSingle=true);
00089 virtual void Add0x01InfoText_LR200(string& sReport, bool bSingle=true);
00090 virtual void Add0x01InfoText_LR1002(string& sReport, bool bSingle=true);
00091 virtual void Add0x01InfoText_LR2000(string& sReport, bool bSingle=true);
00092 virtual void Add0x01InfoText_LRU1000(string& sReport, bool bSingle=true);
00093 virtual void Add0x02InfoText(string& sReport, bool bSingle=true);
00094 virtual void Add0x03InfoText(string& sReport, bool bSingle=true);
00095 virtual void Add0x04InfoText(string& sReport, bool bSingle=true);
00096 virtual void Add0x05InfoText(string& sReport, bool bSingle=true);
00097 virtual void Add0x06InfoText(string& sReport, bool bSingle=true);
00098 virtual void Add0x07InfoText(string& sReport, bool bSingle=true);
00099 virtual void Add0x20InfoText(string& sReport, bool bSingle=true);
00100 virtual void Add0x21InfoText(string& sReport, bool bSingle=true);
00101
00102 virtual void AddAllInfoText(string& sReport);
00103
00104 FEDM_ISCReader* m_pReader;
00105
00106 string m_sReport;
00107 };
00108
00109 #endif // _FEDM_ISC_REPORT_0x6E_H_INCLUDED_