Index: sources/model/dg/data/MDGDrainPumpData.cpp =================================================================== diff -u -rf498a8439de814de93748f2f20315ce69900378e -r26433c42f2efa2cb18af95f523581c7eeeff049d --- sources/model/dg/data/MDGDrainPumpData.cpp (.../MDGDrainPumpData.cpp) (revision f498a8439de814de93748f2f20315ce69900378e) +++ sources/model/dg/data/MDGDrainPumpData.cpp (.../MDGDrainPumpData.cpp) (revision 26433c42f2efa2cb18af95f523581c7eeeff049d) @@ -1,13 +1,13 @@ /*! * - * Copyright (c) 2020-2023 Diality Inc. - All Rights Reserved. + * Copyright (c) 2020-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 MDGDrainPumpData.cpp - * \author (last) Behrouz NematiPour - * \date (last) 12-Feb-2021 + * \author (last) Dara Navaei + * \date (last) 05-Mar-2024 * \author (original) Behrouz NemaiPour * \date (original) 02-Jul-2020 * @@ -25,6 +25,7 @@ _data.mTargetFLPMO .value, _data.mCurrentA .value, _data.mDirection .value, + _data.mMaxonRPM .value, }; } @@ -37,6 +38,7 @@ if (GetValue(vByteArray, index, _data.mTargetFLPMO )) if (GetValue(vByteArray, index, _data.mCurrentA )) if (GetValue(vByteArray, index, _data.mDirection )) + if (GetValue(vByteArray, index, _data.mMaxonRPM )) return true ; else { if(vIndex) *vIndex = index; return false; } else { if(vIndex) *vIndex = index; return false; } @@ -45,6 +47,7 @@ else { if(vIndex) *vIndex = index; return false; } else { if(vIndex) *vIndex = index; return false; } else { if(vIndex) *vIndex = index; return false; } + else { if(vIndex) *vIndex = index; return false; } } /*! @@ -61,5 +64,6 @@ data.mTargetFLPMO = _data.mTargetFLPMO .value; data.mCurrentA = _data.mCurrentA .value; data.mDirection = _data.mDirection .value; + data.mMaxonRPM = _data.mMaxonRPM .value; return data; }