Index: sources/view/VGeneralEvent.cpp =================================================================== diff -u -r9abc1790bb39fb52bf5a2bd113bc8957e4a1fc30 -r2ef03b2ce51b4dc507f66e9671953a8e0824bde9 --- sources/view/VGeneralEvent.cpp (.../VGeneralEvent.cpp) (revision 9abc1790bb39fb52bf5a2bd113bc8957e4a1fc30) +++ sources/view/VGeneralEvent.cpp (.../VGeneralEvent.cpp) (revision 2ef03b2ce51b4dc507f66e9671953a8e0824bde9) @@ -1,15 +1,15 @@ /*! * - * Copyright (c) 2020-2022 Diality Inc. - All Rights Reserved. + * Copyright (c) 2022-2024 Diality Inc. - All Rights Reserved. * \copyright * THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN * WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. * * \file VGeneralEvent.cpp * \author (last) Behrouz NematiPour - * \date (last) 07-Mar-2022 + * \date (last) 04-Apr-2023 * \author (original) Behrouz NematiPour - * \date (original) 07-Mar-2022 + * \date (original) 10-Mar-2022 * */ #include "VGeneralEvent.h" @@ -63,11 +63,12 @@ GET_VALUE(hdValue) - if( vData.mEventID == eReset ) + if( vData.mEventID == eReset ) { hdReset(QString("%1,%2") - .arg(dateTime.toString(_resetFormat)) - .arg(_hdValue.toString()) - ); + .arg(dateTime.toString(_resetFormat)) + .arg(Format::toHexString(_hdValue.toUInt(), true, 4)) + ); + } } /*! @@ -96,6 +97,6 @@ if( vData.mEventID == eReset ) dgReset(QString("%1,%2") .arg(dateTime.toString(_resetFormat)) - .arg(_dgValue.toString()) + .arg(Format::toHexString(_dgValue.toUInt(), true, 4)) ); }