gccDppConsole Test C++ SDK
20170920
DPP C++ Console Demonstration
|
#include <DP5Status.h>
Public Member Functions | |
CDP5Status (void) | |
~CDP5Status (void) | |
void | Process_Status (DP4_FORMAT_STATUS *m_DP5_Status) |
Convert a DPP status packet into DP4_FORMAT_STATUS data. | |
string | DP5_Dx_OptionFlags (unsigned char DP5_Dx_Options) |
string | ShowStatusValueStrings (DP4_FORMAT_STATUS m_DP5_Status) |
Convert DP4_FORMAT_STATUS data into a status display string. | |
string | PX5_OptionsString (DP4_FORMAT_STATUS m_DP5_Status) |
string | GetStatusValueStrings (DP4_FORMAT_STATUS m_DP5_Status) |
void | Process_Diagnostics (Packet_In PIN, DiagDataType *dd, int device_type) |
Convert a DPP diagnostic data packet into DiagDataType data. | |
string | DiagnosticsToString (DiagDataType dd, int device_type) |
Convert DiagDataType data into a diagnostic display string. | |
string | DiagStrPX5Option (DiagDataType dd, int device_type) |
Convert PX5 Options into a display string. | |
string | FmtHvPwr (float fVal) |
Format a high voltage power value. | |
string | FmtPc5Pwr (float fVal) |
Format a pc5 power value. | |
string | FmtPc5Temp (float fVal) |
Format a pc5 temperature value. | |
string | FmtHex (long FmtHex, long HexDig) |
Format a hexadecimal value. | |
string | FmtLng (long lVal) |
Format a long value. | |
string | VersionToStr (unsigned char bVersion) |
Format a version number value. | |
string | OnOffStr (bool bOn) |
Format an OnOFF indicator value. | |
string | IsAorB (bool bIsA, string strA, string strB) |
Format a boolean indicator value. | |
string | GetDeviceNameFromVal (int DeviceTypeVal) |
Format a device type indicator as a device name string. | |
string | DisplayBufferArray (unsigned char buffer[], unsigned long bufSizeIn) |
Format an string array from a data byte array of values. | |
void | SaveStringDataToFile (string strData) |
Saves a data string to a default file (vcDP5_Data.txt). | |
Public Attributes | |
CDppUtilities | DppUtil |
Utilities to help data processing. | |
DP4_FORMAT_STATUS | m_DP5_Status |
DPP status storage. | |
DiagDataType | DiagData |
DPP diagnostic data storage. |
Definition at line 104 of file DP5Status.h.
CDP5Status::CDP5Status | ( | void | ) |
Definition at line 9 of file DP5Status.cpp.
CDP5Status::~CDP5Status | ( | void | ) |
Definition at line 13 of file DP5Status.cpp.
string CDP5Status::DiagnosticsToString | ( | DiagDataType | dd, |
int | device_type | ||
) |
Convert DiagDataType data into a diagnostic display string.
Definition at line 447 of file DP5Status.cpp.
string CDP5Status::DiagStrPX5Option | ( | DiagDataType | dd, |
int | device_type | ||
) |
Convert PX5 Options into a display string.
Definition at line 535 of file DP5Status.cpp.
string CDP5Status::DisplayBufferArray | ( | unsigned char | buffer[], |
unsigned long | bufSizeIn | ||
) |
Format an string array from a data byte array of values.
Definition at line 683 of file DP5Status.cpp.
string CDP5Status::DP5_Dx_OptionFlags | ( | unsigned char | DP5_Dx_Options | ) |
string CDP5Status::FmtHex | ( | long | FmtHex, |
long | HexDig | ||
) |
Format a hexadecimal value.
Definition at line 605 of file DP5Status.cpp.
string CDP5Status::FmtHvPwr | ( | float | fVal | ) |
Format a high voltage power value.
Definition at line 581 of file DP5Status.cpp.
string CDP5Status::FmtLng | ( | long | lVal | ) |
Format a long value.
Definition at line 616 of file DP5Status.cpp.
string CDP5Status::FmtPc5Pwr | ( | float | fVal | ) |
Format a pc5 power value.
Definition at line 589 of file DP5Status.cpp.
string CDP5Status::FmtPc5Temp | ( | float | fVal | ) |
Format a pc5 temperature value.
Definition at line 597 of file DP5Status.cpp.
string CDP5Status::GetDeviceNameFromVal | ( | int | DeviceTypeVal | ) |
Format a device type indicator as a device name string.
Definition at line 654 of file DP5Status.cpp.
string CDP5Status::GetStatusValueStrings | ( | DP4_FORMAT_STATUS | m_DP5_Status | ) |
string CDP5Status::IsAorB | ( | bool | bIsA, |
string | strA, | ||
string | strB | ||
) |
Format a boolean indicator value.
Definition at line 645 of file DP5Status.cpp.
string CDP5Status::OnOffStr | ( | bool | bOn | ) |
Format an OnOFF indicator value.
Definition at line 636 of file DP5Status.cpp.
void CDP5Status::Process_Diagnostics | ( | Packet_In | PIN, |
DiagDataType * | dd, | ||
int | device_type | ||
) |
Convert a DPP diagnostic data packet into DiagDataType data.
Definition at line 332 of file DP5Status.cpp.
void CDP5Status::Process_Status | ( | DP4_FORMAT_STATUS * | m_DP5_Status | ) |
Convert a DPP status packet into DP4_FORMAT_STATUS data.
Definition at line 17 of file DP5Status.cpp.
string CDP5Status::PX5_OptionsString | ( | DP4_FORMAT_STATUS | m_DP5_Status | ) |
void CDP5Status::SaveStringDataToFile | ( | string | strData | ) |
Saves a data string to a default file (vcDP5_Data.txt).
Definition at line 705 of file DP5Status.cpp.
string CDP5Status::ShowStatusValueStrings | ( | DP4_FORMAT_STATUS | m_DP5_Status | ) |
Convert DP4_FORMAT_STATUS data into a status display string.
Definition at line 174 of file DP5Status.cpp.
string CDP5Status::VersionToStr | ( | unsigned char | bVersion | ) |
Format a version number value.
Definition at line 624 of file DP5Status.cpp.
DPP diagnostic data storage.
Definition at line 116 of file DP5Status.h.
Utilities to help data processing.
Definition at line 111 of file DP5Status.h.
DPP status storage.
Definition at line 114 of file DP5Status.h.