HRESULT CMsgContainerJ1939::GetSignalInfoArray(__int64 nMapIndex, SSignalInfoArray& SigInfoArray, bool formatInHex) { STJ1939_MSG sJ1939Msg; HRESULT hResult = hReadFromOWBuffer(&sJ1939Msg, nMapIndex); if (hResult == S_OK) { return GetInterPretedSignalList(sJ1939Msg, SigInfoArray, formatInHex); } return S_OK; }
HRESULT CMsgContainerCAN::GetSignalInfoArray(__int64 nMapIndex, SSignalInfoArray& SigInfoArray, bool formatInHex) { STCANDATA sCANMsg; SigInfoArray.RemoveAll(); HRESULT hResult = hReadFromOWBuffer(&sCANMsg, nMapIndex); if (hResult == S_OK) { return GetInterPretedSignalList(sCANMsg.m_uDataInfo.m_sCANMsg, SigInfoArray, formatInHex); } return S_OK; }