////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
// All rights reserved.
// Confidential and Proprietary - Qualcomm Technologies, Inc.
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// THIS IS AUTO-GENERATED CODE.  PLEASE DO NOT EDIT (File bug reports against tools).
///
/// Auto-generated by: Parameter Parser V7.4.1 (8cca6579792b9fcef3bc725ff070c5ec453c7c85)
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// @file  aecxflash.cpp
/// @brief Auto-generated Chromatix parameter file
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

#include "aecxflash.h"
#include "parametersetmanager.h"

AECXFLASH_NAMESPACE_BEGIN

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// SetValue/GetValue Functions
/// Gets or sets the requested value
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool preflashFDHandleType::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "enable") == 0)
    {
        ParameterUtils::DoubleToString((double)enable, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "waitCntThres") == 0)
    {
        ParameterUtils::DoubleToString((double)waitCntThres, __value, __size, 0);
        __result = true;
    }

    return __result;
}

bool preflashFDHandleType::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "enable") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            enable = (BOOL)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "waitCntThres") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            waitCntThres = (UINT32)dblValue; 
        }
    }

    return __result;
}

bool preflashFDHandleType::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // enable
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("enable", ParameterParserDataType::Boolean, (double)enable, 0));
    }
    else if (PARAMETER_STRCMP(__name, "enable") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Boolean, (double)enable, 0));
    }

    // waitCntThres
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("waitCntThres", ParameterParserDataType::UInt32, (double)waitCntThres, 0));
    }
    else if (PARAMETER_STRCMP(__name, "waitCntThres") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::UInt32, (double)waitCntThres, 0));
    }

    return __result;
}

bool FlashEndLevelDataType::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "trigger2") == 0)
    {
        __result = trigger2.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "triggerData") == 0)
    {
        __result = triggerData.GetValue(&__path[__pos], __value, __size);
    }

    return __result;
}

bool FlashEndLevelDataType::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "trigger2") == 0)
    {
        __result = trigger2.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "triggerData") == 0)
    {
        __result = triggerData.SetValue(&__path[__pos], __value);
    }

    return __result;
}

bool FlashEndLevelDataType::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // trigger2
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("trigger2", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "trigger2") == 0)
    {
        __result = trigger2.GetInfo(&__path[__pos], __info);
    }

    // triggerData
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("triggerData", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "triggerData") == 0)
    {
        __result = triggerData.GetInfo(&__path[__pos], __info);
    }

    return __result;
}

bool FlashTwoLevelTriggerSystemType::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "trigger1Lux") == 0)
    {
        __result = trigger1Lux.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "trigger2Data") == 0)
    {
        if (__index < trigger2DataCount)
        {
            __result = trigger2Data[__index].GetValue(&__path[__pos], __value, __size);
        }
    }

    return __result;
}

bool FlashTwoLevelTriggerSystemType::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "trigger1Lux") == 0)
    {
        __result = trigger1Lux.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "trigger2Data") == 0)
    {
        if (__index < trigger2DataCount)
        {
            __result = trigger2Data[__index].SetValue(&__path[__pos], __value);
        }
    }

    return __result;
}

bool FlashTwoLevelTriggerSystemType::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // trigger1Lux
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("trigger1Lux", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "trigger1Lux") == 0)
    {
        __result = trigger1Lux.GetInfo(&__path[__pos], __info);
    }

    // trigger2Data
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("trigger2Data", ParameterParserDataType::Structure, true, false, trigger2DataCount));
    }
    else if (PARAMETER_STRCMP(__name, "trigger2Data") == 0)
    {
        if (__index < trigger2DataCount)
        {
            __result = trigger2Data[__index].GetInfo(&__path[__pos], __info);
        }
        else
        {
            __result = true;
            __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Structure, true, false, trigger2DataCount));
        }
    }

    return __result;
}

bool FlashTriggerSystemType::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "trigger1Data") == 0)
    {
        if (__index < trigger1DataCount)
        {
            __result = trigger1Data[__index].GetValue(&__path[__pos], __value, __size);
        }
    }

    return __result;
}

bool FlashTriggerSystemType::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "trigger1Data") == 0)
    {
        if (__index < trigger1DataCount)
        {
            __result = trigger1Data[__index].SetValue(&__path[__pos], __value);
        }
    }

    return __result;
}

bool FlashTriggerSystemType::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // trigger1Data
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("trigger1Data", ParameterParserDataType::Structure, true, false, trigger1DataCount));
    }
    else if (PARAMETER_STRCMP(__name, "trigger1Data") == 0)
    {
        if (__index < trigger1DataCount)
        {
            __result = trigger1Data[__index].GetInfo(&__path[__pos], __info);
        }
        else
        {
            __result = true;
            __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Structure, true, false, trigger1DataCount));
        }
    }

    return __result;
}

bool DepthAssistedFlashOutputIDType::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "backGround") == 0)
    {
        ParameterUtils::DoubleToString((double)backGround, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "foreGround") == 0)
    {
        ParameterUtils::DoubleToString((double)foreGround, __value, __size, 0);
        __result = true;
    }

    return __result;
}

bool DepthAssistedFlashOutputIDType::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "backGround") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            backGround = (INT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "foreGround") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            foreGround = (INT32)dblValue; 
        }
    }

    return __result;
}

bool DepthAssistedFlashOutputIDType::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // backGround
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("backGround", ParameterParserDataType::Int32, (double)backGround, 0));
    }
    else if (PARAMETER_STRCMP(__name, "backGround") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Int32, (double)backGround, 0));
    }

    // foreGround
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("foreGround", ParameterParserDataType::Int32, (double)foreGround, 0));
    }
    else if (PARAMETER_STRCMP(__name, "foreGround") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Int32, (double)foreGround, 0));
    }

    return __result;
}

bool DepthAssistedFlashWeightType::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "smartFlash") == 0)
    {
        ParameterUtils::DoubleToString((double)smartFlash, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "precisionFlash") == 0)
    {
        ParameterUtils::DoubleToString((double)precisionFlash, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "preFlash") == 0)
    {
        ParameterUtils::DoubleToString((double)preFlash, __value, __size);
        __result = true;
    }

    return __result;
}

bool DepthAssistedFlashWeightType::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "smartFlash") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            smartFlash = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "precisionFlash") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            precisionFlash = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "preFlash") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            preFlash = (float)dblValue; 
        }
    }

    return __result;
}

bool DepthAssistedFlashWeightType::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // smartFlash
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("smartFlash", ParameterParserDataType::Float, (double)smartFlash));
    }
    else if (PARAMETER_STRCMP(__name, "smartFlash") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Float, (double)smartFlash));
    }

    // precisionFlash
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("precisionFlash", ParameterParserDataType::Float, (double)precisionFlash));
    }
    else if (PARAMETER_STRCMP(__name, "precisionFlash") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Float, (double)precisionFlash));
    }

    // preFlash
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("preFlash", ParameterParserDataType::Float, (double)preFlash));
    }
    else if (PARAMETER_STRCMP(__name, "preFlash") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Float, (double)preFlash));
    }

    return __result;
}

bool DepthAssistedFlashType::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "enable") == 0)
    {
        ParameterUtils::DoubleToString((double)enable, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "depthAssistWeight") == 0)
    {
        __result = depthAssistWeight.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "outputID") == 0)
    {
        __result = outputID.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "backGroundWeight") == 0)
    {
        __result = backGroundWeight.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "foreGroundWeight") == 0)
    {
        __result = foreGroundWeight.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "confidenceWeight") == 0)
    {
        __result = confidenceWeight.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "usingSnapshotDistanceWeight") == 0)
    {
        ParameterUtils::DoubleToString((double)usingSnapshotDistanceWeight, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "smartflashKDepthFloorPct") == 0)
    {
        ParameterUtils::DoubleToString((double)smartflashKDepthFloorPct, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "preflashSatCntChName") == 0)
    {
        PARAMETER_STRCPY(__value, __size, preflashSatCntChName);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "preflashFrGrdTh") == 0)
    {
        ParameterUtils::DoubleToString((double)preflashFrGrdTh, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "preflashSatCntTh") == 0)
    {
        ParameterUtils::DoubleToString((double)preflashSatCntTh, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "preflashMinFrGrdCnt") == 0)
    {
        ParameterUtils::DoubleToString((double)preflashMinFrGrdCnt, __value, __size, 0);
        __result = true;
    }

    return __result;
}

bool DepthAssistedFlashType::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "enable") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            enable = (BOOL)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "depthAssistWeight") == 0)
    {
        __result = depthAssistWeight.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "outputID") == 0)
    {
        __result = outputID.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "backGroundWeight") == 0)
    {
        __result = backGroundWeight.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "foreGroundWeight") == 0)
    {
        __result = foreGroundWeight.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "confidenceWeight") == 0)
    {
        __result = confidenceWeight.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "usingSnapshotDistanceWeight") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            usingSnapshotDistanceWeight = (BOOL)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "smartflashKDepthFloorPct") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            smartflashKDepthFloorPct = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "preflashSatCntChName") == 0)
    {
        // Cannot modify strings, risk of memory leaks or corruption
    }
    else if (PARAMETER_STRCMP(__name, "preflashFrGrdTh") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            preflashFrGrdTh = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "preflashSatCntTh") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            preflashSatCntTh = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "preflashMinFrGrdCnt") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            preflashMinFrGrdCnt = (INT32)dblValue; 
        }
    }

    return __result;
}

bool DepthAssistedFlashType::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // enable
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("enable", ParameterParserDataType::Boolean, (double)enable, 0));
    }
    else if (PARAMETER_STRCMP(__name, "enable") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Boolean, (double)enable, 0));
    }

    // depthAssistWeight
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("depthAssistWeight", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "depthAssistWeight") == 0)
    {
        __result = depthAssistWeight.GetInfo(&__path[__pos], __info);
    }

    // outputID
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("outputID", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "outputID") == 0)
    {
        __result = outputID.GetInfo(&__path[__pos], __info);
    }

    // backGroundWeight
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("backGroundWeight", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "backGroundWeight") == 0)
    {
        __result = backGroundWeight.GetInfo(&__path[__pos], __info);
    }

    // foreGroundWeight
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("foreGroundWeight", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "foreGroundWeight") == 0)
    {
        __result = foreGroundWeight.GetInfo(&__path[__pos], __info);
    }

    // confidenceWeight
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("confidenceWeight", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "confidenceWeight") == 0)
    {
        __result = confidenceWeight.GetInfo(&__path[__pos], __info);
    }

    // usingSnapshotDistanceWeight
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("usingSnapshotDistanceWeight", ParameterParserDataType::Boolean, (double)usingSnapshotDistanceWeight, 0));
    }
    else if (PARAMETER_STRCMP(__name, "usingSnapshotDistanceWeight") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Boolean, (double)usingSnapshotDistanceWeight, 0));
    }

    // smartflashKDepthFloorPct
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("smartflashKDepthFloorPct", ParameterParserDataType::Float, (double)smartflashKDepthFloorPct));
    }
    else if (PARAMETER_STRCMP(__name, "smartflashKDepthFloorPct") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Float, (double)smartflashKDepthFloorPct));
    }

    // preflashSatCntChName
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("preflashSatCntChName", ParameterParserDataType::String, preflashSatCntChName));
    }
    else if (PARAMETER_STRCMP(__name, "preflashSatCntChName") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::String, preflashSatCntChName));
    }

    // preflashFrGrdTh
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("preflashFrGrdTh", ParameterParserDataType::Float, (double)preflashFrGrdTh));
    }
    else if (PARAMETER_STRCMP(__name, "preflashFrGrdTh") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Float, (double)preflashFrGrdTh));
    }

    // preflashSatCntTh
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("preflashSatCntTh", ParameterParserDataType::Float, (double)preflashSatCntTh));
    }
    else if (PARAMETER_STRCMP(__name, "preflashSatCntTh") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Float, (double)preflashSatCntTh));
    }

    // preflashMinFrGrdCnt
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("preflashMinFrGrdCnt", ParameterParserDataType::Int32, (double)preflashMinFrGrdCnt, 0));
    }
    else if (PARAMETER_STRCMP(__name, "preflashMinFrGrdCnt") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Int32, (double)preflashMinFrGrdCnt, 0));
    }

    return __result;
}

bool LEDInlineCalibTargetDataType::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "distancePCT") == 0)
    {
        ParameterUtils::DoubleToString((double)distancePCT, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "angleShiftPCT") == 0)
    {
        ParameterUtils::DoubleToString((double)angleShiftPCT, __value, __size);
        __result = true;
    }

    return __result;
}

bool LEDInlineCalibTargetDataType::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "distancePCT") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            distancePCT = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "angleShiftPCT") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            angleShiftPCT = (float)dblValue; 
        }
    }

    return __result;
}

bool LEDInlineCalibTargetDataType::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // distancePCT
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("distancePCT", ParameterParserDataType::Float, (double)distancePCT));
    }
    else if (PARAMETER_STRCMP(__name, "distancePCT") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Float, (double)distancePCT));
    }

    // angleShiftPCT
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("angleShiftPCT", ParameterParserDataType::Float, (double)angleShiftPCT));
    }
    else if (PARAMETER_STRCMP(__name, "angleShiftPCT") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Float, (double)angleShiftPCT));
    }

    return __result;
}

bool LEDInlineCalibTargetZoneType::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "zoneTrigger") == 0)
    {
        __result = zoneTrigger.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "zoneData") == 0)
    {
        __result = zoneData.GetValue(&__path[__pos], __value, __size);
    }

    return __result;
}

bool LEDInlineCalibTargetZoneType::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "zoneTrigger") == 0)
    {
        __result = zoneTrigger.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "zoneData") == 0)
    {
        __result = zoneData.SetValue(&__path[__pos], __value);
    }

    return __result;
}

bool LEDInlineCalibTargetZoneType::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // zoneTrigger
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("zoneTrigger", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "zoneTrigger") == 0)
    {
        __result = zoneTrigger.GetInfo(&__path[__pos], __info);
    }

    // zoneData
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("zoneData", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "zoneData") == 0)
    {
        __result = zoneData.GetInfo(&__path[__pos], __info);
    }

    return __result;
}

bool LEDInlineCalibTargetType::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "LEDInlineCalibTargetZone") == 0)
    {
        if (__index < LEDInlineCalibTargetZoneCount)
        {
            __result = LEDInlineCalibTargetZone[__index].GetValue(&__path[__pos], __value, __size);
        }
    }

    return __result;
}

bool LEDInlineCalibTargetType::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "LEDInlineCalibTargetZone") == 0)
    {
        if (__index < LEDInlineCalibTargetZoneCount)
        {
            __result = LEDInlineCalibTargetZone[__index].SetValue(&__path[__pos], __value);
        }
    }

    return __result;
}

bool LEDInlineCalibTargetType::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // LEDInlineCalibTargetZone
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("LEDInlineCalibTargetZone", ParameterParserDataType::Structure, true, false, LEDInlineCalibTargetZoneCount));
    }
    else if (PARAMETER_STRCMP(__name, "LEDInlineCalibTargetZone") == 0)
    {
        if (__index < LEDInlineCalibTargetZoneCount)
        {
            __result = LEDInlineCalibTargetZone[__index].GetInfo(&__path[__pos], __info);
        }
        else
        {
            __result = true;
            __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Structure, true, false, LEDInlineCalibTargetZoneCount));
        }
    }

    return __result;
}

bool LEDInlineCalibType::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "triggerIndex") == 0)
    {
        ParameterUtils::DoubleToString((double)triggerIndex, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "refRange") == 0)
    {
        ParameterUtils::DoubleToString((double)refRange, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "refRegionPCT") == 0)
    {
        ParameterUtils::DoubleToString((double)refRegionPCT, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "validRefCount") == 0)
    {
        ParameterUtils::DoubleToString((double)validRefCount, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "distanceRatioMin") == 0)
    {
        ParameterUtils::DoubleToString((double)distanceRatioMin, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "distanceRatioMax") == 0)
    {
        ParameterUtils::DoubleToString((double)distanceRatioMax, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "angleShiftMax") == 0)
    {
        ParameterUtils::DoubleToString((double)angleShiftMax, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "minKneeCnt") == 0)
    {
        ParameterUtils::DoubleToString((double)minKneeCnt, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "maxZoneCnt") == 0)
    {
        ParameterUtils::DoubleToString((double)maxZoneCnt, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "confidencePctThr") == 0)
    {
        ParameterUtils::DoubleToString((double)confidencePctThr, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "numOfFactoringRegions") == 0)
    {
        ParameterUtils::DoubleToString((double)numOfFactoringRegions, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "LEDInlineCalibTarget") == 0)
    {
        __result = LEDInlineCalibTarget.GetValue(&__path[__pos], __value, __size);
    }

    return __result;
}

bool LEDInlineCalibType::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "triggerIndex") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            triggerIndex = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "refRange") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            refRange = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "refRegionPCT") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            refRegionPCT = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "validRefCount") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            validRefCount = (INT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "distanceRatioMin") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            distanceRatioMin = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "distanceRatioMax") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            distanceRatioMax = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "angleShiftMax") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            angleShiftMax = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "minKneeCnt") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            minKneeCnt = (INT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "maxZoneCnt") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            maxZoneCnt = (INT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "confidencePctThr") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            confidencePctThr = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "numOfFactoringRegions") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            numOfFactoringRegions = (INT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "LEDInlineCalibTarget") == 0)
    {
        __result = LEDInlineCalibTarget.SetValue(&__path[__pos], __value);
    }

    return __result;
}

bool LEDInlineCalibType::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // triggerIndex
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("triggerIndex", ParameterParserDataType::Float, (double)triggerIndex));
    }
    else if (PARAMETER_STRCMP(__name, "triggerIndex") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Float, (double)triggerIndex));
    }

    // refRange
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("refRange", ParameterParserDataType::Float, (double)refRange));
    }
    else if (PARAMETER_STRCMP(__name, "refRange") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Float, (double)refRange));
    }

    // refRegionPCT
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("refRegionPCT", ParameterParserDataType::Float, (double)refRegionPCT));
    }
    else if (PARAMETER_STRCMP(__name, "refRegionPCT") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Float, (double)refRegionPCT));
    }

    // validRefCount
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("validRefCount", ParameterParserDataType::Int32, (double)validRefCount, 0));
    }
    else if (PARAMETER_STRCMP(__name, "validRefCount") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Int32, (double)validRefCount, 0));
    }

    // distanceRatioMin
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("distanceRatioMin", ParameterParserDataType::Float, (double)distanceRatioMin));
    }
    else if (PARAMETER_STRCMP(__name, "distanceRatioMin") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Float, (double)distanceRatioMin));
    }

    // distanceRatioMax
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("distanceRatioMax", ParameterParserDataType::Float, (double)distanceRatioMax));
    }
    else if (PARAMETER_STRCMP(__name, "distanceRatioMax") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Float, (double)distanceRatioMax));
    }

    // angleShiftMax
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("angleShiftMax", ParameterParserDataType::Float, (double)angleShiftMax));
    }
    else if (PARAMETER_STRCMP(__name, "angleShiftMax") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Float, (double)angleShiftMax));
    }

    // minKneeCnt
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("minKneeCnt", ParameterParserDataType::Int32, (double)minKneeCnt, 0));
    }
    else if (PARAMETER_STRCMP(__name, "minKneeCnt") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Int32, (double)minKneeCnt, 0));
    }

    // maxZoneCnt
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("maxZoneCnt", ParameterParserDataType::Int32, (double)maxZoneCnt, 0));
    }
    else if (PARAMETER_STRCMP(__name, "maxZoneCnt") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Int32, (double)maxZoneCnt, 0));
    }

    // confidencePctThr
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("confidencePctThr", ParameterParserDataType::Float, (double)confidencePctThr));
    }
    else if (PARAMETER_STRCMP(__name, "confidencePctThr") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Float, (double)confidencePctThr));
    }

    // numOfFactoringRegions
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("numOfFactoringRegions", ParameterParserDataType::Int32, (double)numOfFactoringRegions, 0));
    }
    else if (PARAMETER_STRCMP(__name, "numOfFactoringRegions") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Int32, (double)numOfFactoringRegions, 0));
    }

    // LEDInlineCalibTarget
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("LEDInlineCalibTarget", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "LEDInlineCalibTarget") == 0)
    {
        __result = LEDInlineCalibTarget.GetInfo(&__path[__pos], __info);
    }

    return __result;
}

bool PreflashEvControlType::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "enable") == 0)
    {
        ParameterUtils::DoubleToString((double)enable, __value, __size, 0);
        __result = true;
    }

    return __result;
}

bool PreflashEvControlType::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "enable") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            enable = (BOOL)dblValue; 
        }
    }

    return __result;
}

bool PreflashEvControlType::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // enable
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("enable", ParameterParserDataType::Boolean, (double)enable, 0));
    }
    else if (PARAMETER_STRCMP(__name, "enable") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Boolean, (double)enable, 0));
    }

    return __result;
}

bool PreflashLumaAdjustType::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "saturationRatioThreshold") == 0)
    {
        __result = saturationRatioThreshold.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "adjustmentFactor") == 0)
    {
        __result = adjustmentFactor.GetValue(&__path[__pos], __value, __size);
    }

    return __result;
}

bool PreflashLumaAdjustType::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "saturationRatioThreshold") == 0)
    {
        __result = saturationRatioThreshold.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "adjustmentFactor") == 0)
    {
        __result = adjustmentFactor.SetValue(&__path[__pos], __value);
    }

    return __result;
}

bool PreflashLumaAdjustType::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // saturationRatioThreshold
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("saturationRatioThreshold", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "saturationRatioThreshold") == 0)
    {
        __result = saturationRatioThreshold.GetInfo(&__path[__pos], __info);
    }

    // adjustmentFactor
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("adjustmentFactor", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "adjustmentFactor") == 0)
    {
        __result = adjustmentFactor.GetInfo(&__path[__pos], __info);
    }

    return __result;
}

bool PreflashYThresholds::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "statsNameOff") == 0)
    {
        PARAMETER_STRCPY(__value, __size, statsNameOff);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "statsNameLow") == 0)
    {
        PARAMETER_STRCPY(__value, __size, statsNameLow);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "absoluteThreshold") == 0)
    {
        ParameterUtils::DoubleToString((double)absoluteThreshold, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "differenceThreshold") == 0)
    {
        ParameterUtils::DoubleToString((double)differenceThreshold, __value, __size);
        __result = true;
    }

    return __result;
}

bool PreflashYThresholds::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "statsNameOff") == 0)
    {
        // Cannot modify strings, risk of memory leaks or corruption
    }
    else if (PARAMETER_STRCMP(__name, "statsNameLow") == 0)
    {
        // Cannot modify strings, risk of memory leaks or corruption
    }
    else if (PARAMETER_STRCMP(__name, "absoluteThreshold") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            absoluteThreshold = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "differenceThreshold") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            differenceThreshold = (float)dblValue; 
        }
    }

    return __result;
}

bool PreflashYThresholds::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // statsNameOff
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("statsNameOff", ParameterParserDataType::String, statsNameOff));
    }
    else if (PARAMETER_STRCMP(__name, "statsNameOff") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::String, statsNameOff));
    }

    // statsNameLow
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("statsNameLow", ParameterParserDataType::String, statsNameLow));
    }
    else if (PARAMETER_STRCMP(__name, "statsNameLow") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::String, statsNameLow));
    }

    // absoluteThreshold
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("absoluteThreshold", ParameterParserDataType::Float, (double)absoluteThreshold));
    }
    else if (PARAMETER_STRCMP(__name, "absoluteThreshold") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Float, (double)absoluteThreshold));
    }

    // differenceThreshold
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("differenceThreshold", ParameterParserDataType::Float, (double)differenceThreshold));
    }
    else if (PARAMETER_STRCMP(__name, "differenceThreshold") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Float, (double)differenceThreshold));
    }

    return __result;
}

bool FlashStatsPreprocessingType::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "stopMeteringYLevel") == 0)
    {
        __result = stopMeteringYLevel.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "stopMeteringYSaturation") == 0)
    {
        __result = stopMeteringYSaturation.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "minLumaSource") == 0)
    {
        ParameterUtils::DoubleToString((double)minLumaSource, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "minLumaThreshold") == 0)
    {
        ParameterUtils::DoubleToString((double)minLumaThreshold, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "minLumaAdjust") == 0)
    {
        __result = minLumaAdjust.GetValue(&__path[__pos], __value, __size);
    }

    return __result;
}

bool FlashStatsPreprocessingType::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "stopMeteringYLevel") == 0)
    {
        __result = stopMeteringYLevel.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "stopMeteringYSaturation") == 0)
    {
        __result = stopMeteringYSaturation.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "minLumaSource") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            minLumaSource = (INT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "minLumaThreshold") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            minLumaThreshold = (INT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "minLumaAdjust") == 0)
    {
        __result = minLumaAdjust.SetValue(&__path[__pos], __value);
    }

    return __result;
}

bool FlashStatsPreprocessingType::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // stopMeteringYLevel
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("stopMeteringYLevel", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "stopMeteringYLevel") == 0)
    {
        __result = stopMeteringYLevel.GetInfo(&__path[__pos], __info);
    }

    // stopMeteringYSaturation
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("stopMeteringYSaturation", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "stopMeteringYSaturation") == 0)
    {
        __result = stopMeteringYSaturation.GetInfo(&__path[__pos], __info);
    }

    // minLumaSource
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("minLumaSource", ParameterParserDataType::Int32, (double)minLumaSource, 0));
    }
    else if (PARAMETER_STRCMP(__name, "minLumaSource") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Int32, (double)minLumaSource, 0));
    }

    // minLumaThreshold
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("minLumaThreshold", ParameterParserDataType::Int32, (double)minLumaThreshold, 0));
    }
    else if (PARAMETER_STRCMP(__name, "minLumaThreshold") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Int32, (double)minLumaThreshold, 0));
    }

    // minLumaAdjust
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("minLumaAdjust", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "minLumaAdjust") == 0)
    {
        __result = minLumaAdjust.GetInfo(&__path[__pos], __info);
    }

    return __result;
}

bool DynamicSkip::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "minFrameSkip") == 0)
    {
        __result = minFrameSkip.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "maxFrameSkip") == 0)
    {
        __result = maxFrameSkip.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "FPSRange") == 0)
    {
        __result = FPSRange.GetValue(&__path[__pos], __value, __size);
    }

    return __result;
}

bool DynamicSkip::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "minFrameSkip") == 0)
    {
        __result = minFrameSkip.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "maxFrameSkip") == 0)
    {
        __result = maxFrameSkip.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "FPSRange") == 0)
    {
        __result = FPSRange.SetValue(&__path[__pos], __value);
    }

    return __result;
}

bool DynamicSkip::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // minFrameSkip
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("minFrameSkip", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "minFrameSkip") == 0)
    {
        __result = minFrameSkip.GetInfo(&__path[__pos], __info);
    }

    // maxFrameSkip
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("maxFrameSkip", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "maxFrameSkip") == 0)
    {
        __result = maxFrameSkip.GetInfo(&__path[__pos], __info);
    }

    // FPSRange
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("FPSRange", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "FPSRange") == 0)
    {
        __result = FPSRange.GetInfo(&__path[__pos], __info);
    }

    return __result;
}

bool FlashEnterExitType::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "dynamicEnterSkip") == 0)
    {
        __result = dynamicEnterSkip.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "dynamicExitSkip") == 0)
    {
        __result = dynamicExitSkip.GetValue(&__path[__pos], __value, __size);
    }

    return __result;
}

bool FlashEnterExitType::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "dynamicEnterSkip") == 0)
    {
        __result = dynamicEnterSkip.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "dynamicExitSkip") == 0)
    {
        __result = dynamicExitSkip.SetValue(&__path[__pos], __value);
    }

    return __result;
}

bool FlashEnterExitType::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // dynamicEnterSkip
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("dynamicEnterSkip", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "dynamicEnterSkip") == 0)
    {
        __result = dynamicEnterSkip.GetInfo(&__path[__pos], __info);
    }

    // dynamicExitSkip
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("dynamicExitSkip", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "dynamicExitSkip") == 0)
    {
        __result = dynamicExitSkip.GetInfo(&__path[__pos], __info);
    }

    return __result;
}

bool AECXLEDMixCalibType::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "indexMix") == 0)
    {
        ParameterUtils::DoubleToString((double)indexMix, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "indexPower") == 0)
    {
        ParameterUtils::DoubleToString((double)indexPower, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "enableScreening") == 0)
    {
        ParameterUtils::DoubleToString((double)enableScreening, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "RGOKRange") == 0)
    {
        __result = RGOKRange.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "BGOKRange") == 0)
    {
        __result = BGOKRange.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "fixedExposure") == 0)
    {
        ParameterUtils::DoubleToString((double)fixedExposure, __value, __size, 0);
        __result = true;
    }

    return __result;
}

bool AECXLEDMixCalibType::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "indexMix") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            indexMix = (INT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "indexPower") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            indexPower = (INT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "enableScreening") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            enableScreening = (BOOL)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "RGOKRange") == 0)
    {
        __result = RGOKRange.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "BGOKRange") == 0)
    {
        __result = BGOKRange.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "fixedExposure") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            fixedExposure = (UINT64)dblValue; 
        }
    }

    return __result;
}

bool AECXLEDMixCalibType::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // indexMix
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("indexMix", ParameterParserDataType::Int32, (double)indexMix, 0));
    }
    else if (PARAMETER_STRCMP(__name, "indexMix") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Int32, (double)indexMix, 0));
    }

    // indexPower
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("indexPower", ParameterParserDataType::Int32, (double)indexPower, 0));
    }
    else if (PARAMETER_STRCMP(__name, "indexPower") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Int32, (double)indexPower, 0));
    }

    // enableScreening
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("enableScreening", ParameterParserDataType::Boolean, (double)enableScreening, 0));
    }
    else if (PARAMETER_STRCMP(__name, "enableScreening") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Boolean, (double)enableScreening, 0));
    }

    // RGOKRange
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("RGOKRange", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "RGOKRange") == 0)
    {
        __result = RGOKRange.GetInfo(&__path[__pos], __info);
    }

    // BGOKRange
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("BGOKRange", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "BGOKRange") == 0)
    {
        __result = BGOKRange.GetInfo(&__path[__pos], __info);
    }

    // fixedExposure
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("fixedExposure", ParameterParserDataType::UInt64, (double)fixedExposure, 0));
    }
    else if (PARAMETER_STRCMP(__name, "fixedExposure") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::UInt64, (double)fixedExposure, 0));
    }

    return __result;
}

bool LEDMixType::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "LED1Setting") == 0)
    {
        ParameterUtils::DoubleToString((double)LED1Setting, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "LED2Setting") == 0)
    {
        ParameterUtils::DoubleToString((double)LED2Setting, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "RGRatio") == 0)
    {
        ParameterUtils::DoubleToString((double)RGRatio, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "BGRatio") == 0)
    {
        ParameterUtils::DoubleToString((double)BGRatio, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "flux") == 0)
    {
        ParameterUtils::DoubleToString((double)flux, __value, __size);
        __result = true;
    }

    return __result;
}

bool LEDMixType::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "LED1Setting") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            LED1Setting = (INT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "LED2Setting") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            LED2Setting = (INT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "RGRatio") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            RGRatio = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "BGRatio") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            BGRatio = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "flux") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            flux = (float)dblValue; 
        }
    }

    return __result;
}

bool LEDMixType::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // LED1Setting
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("LED1Setting", ParameterParserDataType::Int32, (double)LED1Setting, 0));
    }
    else if (PARAMETER_STRCMP(__name, "LED1Setting") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Int32, (double)LED1Setting, 0));
    }

    // LED2Setting
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("LED2Setting", ParameterParserDataType::Int32, (double)LED2Setting, 0));
    }
    else if (PARAMETER_STRCMP(__name, "LED2Setting") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Int32, (double)LED2Setting, 0));
    }

    // RGRatio
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("RGRatio", ParameterParserDataType::Float, (double)RGRatio));
    }
    else if (PARAMETER_STRCMP(__name, "RGRatio") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Float, (double)RGRatio));
    }

    // BGRatio
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("BGRatio", ParameterParserDataType::Float, (double)BGRatio));
    }
    else if (PARAMETER_STRCMP(__name, "BGRatio") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Float, (double)BGRatio));
    }

    // flux
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("flux", ParameterParserDataType::Float, (double)flux));
    }
    else if (PARAMETER_STRCMP(__name, "flux") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Float, (double)flux));
    }

    return __result;
}

bool RefCalculatorIDType::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "RG") == 0)
    {
        ParameterUtils::DoubleToString((double)RG, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "BG") == 0)
    {
        ParameterUtils::DoubleToString((double)BG, __value, __size, 0);
        __result = true;
    }

    return __result;
}

bool RefCalculatorIDType::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "RG") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            RG = (INT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "BG") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            BG = (INT32)dblValue; 
        }
    }

    return __result;
}

bool RefCalculatorIDType::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // RG
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("RG", ParameterParserDataType::Int32, (double)RG, 0));
    }
    else if (PARAMETER_STRCMP(__name, "RG") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Int32, (double)RG, 0));
    }

    // BG
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("BG", ParameterParserDataType::Int32, (double)BG, 0));
    }
    else if (PARAMETER_STRCMP(__name, "BG") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Int32, (double)BG, 0));
    }

    return __result;
}

bool AECXLEDMeasurementType::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "startExposure") == 0)
    {
        ParameterUtils::DoubleToString((double)startExposure, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "frameErrAllowance") == 0)
    {
        ParameterUtils::DoubleToString((double)frameErrAllowance, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "numOfFrames") == 0)
    {
        ParameterUtils::DoubleToString((double)numOfFrames, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "maxNumOfFrames") == 0)
    {
        ParameterUtils::DoubleToString((double)maxNumOfFrames, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "maxNumOfExtraAttempts") == 0)
    {
        ParameterUtils::DoubleToString((double)maxNumOfExtraAttempts, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "maxFrameConvTimeOut") == 0)
    {
        ParameterUtils::DoubleToString((double)maxFrameConvTimeOut, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "enableCornerSampleScreen") == 0)
    {
        ParameterUtils::DoubleToString((double)enableCornerSampleScreen, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "refStatsCalculatorID") == 0)
    {
        __result = refStatsCalculatorID.GetValue(&__path[__pos], __value, __size);
    }

    return __result;
}

bool AECXLEDMeasurementType::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "startExposure") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            startExposure = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "frameErrAllowance") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            frameErrAllowance = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "numOfFrames") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            numOfFrames = (INT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "maxNumOfFrames") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            maxNumOfFrames = (INT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "maxNumOfExtraAttempts") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            maxNumOfExtraAttempts = (INT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "maxFrameConvTimeOut") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            maxFrameConvTimeOut = (INT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "enableCornerSampleScreen") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            enableCornerSampleScreen = (BOOL)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "refStatsCalculatorID") == 0)
    {
        __result = refStatsCalculatorID.SetValue(&__path[__pos], __value);
    }

    return __result;
}

bool AECXLEDMeasurementType::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // startExposure
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("startExposure", ParameterParserDataType::Float, (double)startExposure));
    }
    else if (PARAMETER_STRCMP(__name, "startExposure") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Float, (double)startExposure));
    }

    // frameErrAllowance
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("frameErrAllowance", ParameterParserDataType::Float, (double)frameErrAllowance));
    }
    else if (PARAMETER_STRCMP(__name, "frameErrAllowance") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Float, (double)frameErrAllowance));
    }

    // numOfFrames
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("numOfFrames", ParameterParserDataType::Int32, (double)numOfFrames, 0));
    }
    else if (PARAMETER_STRCMP(__name, "numOfFrames") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Int32, (double)numOfFrames, 0));
    }

    // maxNumOfFrames
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("maxNumOfFrames", ParameterParserDataType::Int32, (double)maxNumOfFrames, 0));
    }
    else if (PARAMETER_STRCMP(__name, "maxNumOfFrames") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Int32, (double)maxNumOfFrames, 0));
    }

    // maxNumOfExtraAttempts
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("maxNumOfExtraAttempts", ParameterParserDataType::Int32, (double)maxNumOfExtraAttempts, 0));
    }
    else if (PARAMETER_STRCMP(__name, "maxNumOfExtraAttempts") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Int32, (double)maxNumOfExtraAttempts, 0));
    }

    // maxFrameConvTimeOut
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("maxFrameConvTimeOut", ParameterParserDataType::Int32, (double)maxFrameConvTimeOut, 0));
    }
    else if (PARAMETER_STRCMP(__name, "maxFrameConvTimeOut") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Int32, (double)maxFrameConvTimeOut, 0));
    }

    // enableCornerSampleScreen
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("enableCornerSampleScreen", ParameterParserDataType::Boolean, (double)enableCornerSampleScreen, 0));
    }
    else if (PARAMETER_STRCMP(__name, "enableCornerSampleScreen") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Boolean, (double)enableCornerSampleScreen, 0));
    }

    // refStatsCalculatorID
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("refStatsCalculatorID", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "refStatsCalculatorID") == 0)
    {
        __result = refStatsCalculatorID.GetInfo(&__path[__pos], __info);
    }

    return __result;
}

bool LEDMatchTableType::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "enableDerating") == 0)
    {
        ParameterUtils::DoubleToString((double)enableDerating, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "dualLEDIntersectSlope") == 0)
    {
        ParameterUtils::DoubleToString((double)dualLEDIntersectSlope, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "countPower") == 0)
    {
        ParameterUtils::DoubleToString((double)countPower, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "countMix") == 0)
    {
        ParameterUtils::DoubleToString((double)countMix, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "LEDMeasConfig") == 0)
    {
        __result = LEDMeasConfig.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "table") == 0)
    {
        if (__index < tableCount)
        {
            __result = table[__index].GetValue(&__path[__pos], __value, __size);
        }
    }
    else if (PARAMETER_STRCMP(__name, "tableCalibration") == 0)
    {
        if (__index < tableCalibrationCount)
        {
            __result = tableCalibration[__index].GetValue(&__path[__pos], __value, __size);
        }
    }

    return __result;
}

bool LEDMatchTableType::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "enableDerating") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            enableDerating = (BOOL)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "dualLEDIntersectSlope") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            dualLEDIntersectSlope = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "countPower") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            countPower = (INT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "countMix") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            countMix = (INT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "LEDMeasConfig") == 0)
    {
        __result = LEDMeasConfig.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "table") == 0)
    {
        if (__index < tableCount)
        {
            __result = table[__index].SetValue(&__path[__pos], __value);
        }
    }
    else if (PARAMETER_STRCMP(__name, "tableCalibration") == 0)
    {
        if (__index < tableCalibrationCount)
        {
            __result = tableCalibration[__index].SetValue(&__path[__pos], __value);
        }
    }

    return __result;
}

bool LEDMatchTableType::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // enableDerating
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("enableDerating", ParameterParserDataType::Boolean, (double)enableDerating, 0));
    }
    else if (PARAMETER_STRCMP(__name, "enableDerating") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Boolean, (double)enableDerating, 0));
    }

    // dualLEDIntersectSlope
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("dualLEDIntersectSlope", ParameterParserDataType::Float, (double)dualLEDIntersectSlope));
    }
    else if (PARAMETER_STRCMP(__name, "dualLEDIntersectSlope") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Float, (double)dualLEDIntersectSlope));
    }

    // countPower
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("countPower", ParameterParserDataType::Int32, (double)countPower, 0));
    }
    else if (PARAMETER_STRCMP(__name, "countPower") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Int32, (double)countPower, 0));
    }

    // countMix
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("countMix", ParameterParserDataType::Int32, (double)countMix, 0));
    }
    else if (PARAMETER_STRCMP(__name, "countMix") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Int32, (double)countMix, 0));
    }

    // LEDMeasConfig
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("LEDMeasConfig", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "LEDMeasConfig") == 0)
    {
        __result = LEDMeasConfig.GetInfo(&__path[__pos], __info);
    }

    // table
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("table", ParameterParserDataType::Structure, true, false, tableCount));
    }
    else if (PARAMETER_STRCMP(__name, "table") == 0)
    {
        if (__index < tableCount)
        {
            __result = table[__index].GetInfo(&__path[__pos], __info);
        }
        else
        {
            __result = true;
            __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Structure, true, false, tableCount));
        }
    }

    // tableCalibration
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("tableCalibration", ParameterParserDataType::Structure, true, false, tableCalibrationCount));
    }
    else if (PARAMETER_STRCMP(__name, "tableCalibration") == 0)
    {
        if (__index < tableCalibrationCount)
        {
            __result = tableCalibration[__index].GetInfo(&__path[__pos], __info);
        }
        else
        {
            __result = true;
            __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Structure, true, false, tableCalibrationCount));
        }
    }

    return __result;
}

bool AECXFlashType::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "module_version") == 0)
    {
        __result = module_version.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "parameter_version") == 0)
    {
        __result = parameter_version.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "LEDMatching") == 0)
    {
        __result = LEDMatching.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "preflashEnterExit") == 0)
    {
        __result = preflashEnterExit.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "preflashStatsPreProcessing") == 0)
    {
        __result = preflashStatsPreProcessing.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "preflashEvControl") == 0)
    {
        __result = preflashEvControl.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "LEDInlineCalibration") == 0)
    {
        __result = LEDInlineCalibration.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "depthAssistedFlash") == 0)
    {
        __result = depthAssistedFlash.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "preflashFDHandle") == 0)
    {
        __result = preflashFDHandle.GetValue(&__path[__pos], __value, __size);
    }

    return __result;
}

bool AECXFlashType::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "module_version") == 0)
    {
        __result = module_version.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "parameter_version") == 0)
    {
        __result = parameter_version.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "LEDMatching") == 0)
    {
        __result = LEDMatching.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "preflashEnterExit") == 0)
    {
        __result = preflashEnterExit.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "preflashStatsPreProcessing") == 0)
    {
        __result = preflashStatsPreProcessing.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "preflashEvControl") == 0)
    {
        __result = preflashEvControl.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "LEDInlineCalibration") == 0)
    {
        __result = LEDInlineCalibration.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "depthAssistedFlash") == 0)
    {
        __result = depthAssistedFlash.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "preflashFDHandle") == 0)
    {
        __result = preflashFDHandle.SetValue(&__path[__pos], __value);
    }

    return __result;
}

bool AECXFlashType::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // module_version
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("module_version", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "module_version") == 0)
    {
        __result = module_version.GetInfo(&__path[__pos], __info);
    }

    // parameter_version
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("parameter_version", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "parameter_version") == 0)
    {
        __result = parameter_version.GetInfo(&__path[__pos], __info);
    }

    // LEDMatching
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("LEDMatching", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "LEDMatching") == 0)
    {
        __result = LEDMatching.GetInfo(&__path[__pos], __info);
    }

    // preflashEnterExit
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("preflashEnterExit", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "preflashEnterExit") == 0)
    {
        __result = preflashEnterExit.GetInfo(&__path[__pos], __info);
    }

    // preflashStatsPreProcessing
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("preflashStatsPreProcessing", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "preflashStatsPreProcessing") == 0)
    {
        __result = preflashStatsPreProcessing.GetInfo(&__path[__pos], __info);
    }

    // preflashEvControl
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("preflashEvControl", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "preflashEvControl") == 0)
    {
        __result = preflashEvControl.GetInfo(&__path[__pos], __info);
    }

    // LEDInlineCalibration
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("LEDInlineCalibration", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "LEDInlineCalibration") == 0)
    {
        __result = LEDInlineCalibration.GetInfo(&__path[__pos], __info);
    }

    // depthAssistedFlash
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("depthAssistedFlash", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "depthAssistedFlash") == 0)
    {
        __result = depthAssistedFlash.GetInfo(&__path[__pos], __info);
    }

    // preflashFDHandle
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("preflashFDHandle", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "preflashFDHandle") == 0)
    {
        __result = preflashFDHandle.GetInfo(&__path[__pos], __info);
    }

    return __result;
}

bool AECXFlashType::module_versionStruct::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "major_revision") == 0)
    {
        ParameterUtils::DoubleToString((double)major_revision, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "minor_revision") == 0)
    {
        ParameterUtils::DoubleToString((double)minor_revision, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "incr_revision") == 0)
    {
        ParameterUtils::DoubleToString((double)incr_revision, __value, __size, 0);
        __result = true;
    }

    return __result;
}

bool AECXFlashType::module_versionStruct::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "major_revision") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            major_revision = (INT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "minor_revision") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            minor_revision = (INT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "incr_revision") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            incr_revision = (INT32)dblValue; 
        }
    }

    return __result;
}

bool AECXFlashType::module_versionStruct::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // major_revision
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("major_revision", ParameterParserDataType::Int32, (double)major_revision, 0));
    }
    else if (PARAMETER_STRCMP(__name, "major_revision") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Int32, (double)major_revision, 0));
    }

    // minor_revision
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("minor_revision", ParameterParserDataType::Int32, (double)minor_revision, 0));
    }
    else if (PARAMETER_STRCMP(__name, "minor_revision") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Int32, (double)minor_revision, 0));
    }

    // incr_revision
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("incr_revision", ParameterParserDataType::Int32, (double)incr_revision, 0));
    }
    else if (PARAMETER_STRCMP(__name, "incr_revision") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Int32, (double)incr_revision, 0));
    }

    return __result;
}

bool AECXFlashType::parameter_versionStruct::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "revision") == 0)
    {
        PARAMETER_STRCPY(__value, __size, revision);
        __result = true;
    }

    return __result;
}

bool AECXFlashType::parameter_versionStruct::SetValue(
    const CHAR* const __path,
    const CHAR* const /*__value*/)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "revision") == 0)
    {
        // Cannot modify strings, risk of memory leaks or corruption
    }

    return __result;
}

bool AECXFlashType::parameter_versionStruct::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // revision
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("revision", ParameterParserDataType::String, revision));
    }
    else if (PARAMETER_STRCMP(__name, "revision") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::String, revision));
    }

    return __result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Default Constructor
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
AECXFlashTypeClass::AECXFlashTypeClass(
    const CHAR* name)
    : ParameterModule(name, MAJOR, MINOR, PATCH, nullptr)
{
    PARAMETER_INITIALIZE(SymbolTableID);
    PARAMETER_INITIALIZE(module_version);
    PARAMETER_INITIALIZE(parameter_version);
    PARAMETER_INITIALIZE(LEDMatching);
    PARAMETER_INITIALIZE(preflashEnterExit);
    PARAMETER_INITIALIZE(preflashStatsPreProcessing);
    PARAMETER_INITIALIZE(preflashEvControl);
    PARAMETER_INITIALIZE(LEDInlineCalibration);
    PARAMETER_INITIALIZE(depthAssistedFlash);
    PARAMETER_INITIALIZE(preflashFDHandle);
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Constructor
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
AECXFlashTypeClass::AECXFlashTypeClass(
    const CHAR*       name,
    ModuleData* const moduleData)
    : ParameterModule(name, MAJOR, MINOR, PATCH, moduleData)
{
    PARAMETER_INITIALIZE(SymbolTableID);
    PARAMETER_INITIALIZE(module_version);
    PARAMETER_INITIALIZE(parameter_version);
    PARAMETER_INITIALIZE(LEDMatching);
    PARAMETER_INITIALIZE(preflashEnterExit);
    PARAMETER_INITIALIZE(preflashStatsPreProcessing);
    PARAMETER_INITIALIZE(preflashEvControl);
    PARAMETER_INITIALIZE(LEDInlineCalibration);
    PARAMETER_INITIALIZE(depthAssistedFlash);
    PARAMETER_INITIALIZE(preflashFDHandle);
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Destructor
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
AECXFlashTypeClass::~AECXFlashTypeClass()
{
    if (Loaded)
    {
        UnloadModule();
    }
}


////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load preflashFDHandleType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void preflashFDHandleType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(enable);
    PARAMETER_INITIALIZE(waitCntThres);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.NameHash = 0xb3c00adf8e304e57;
        entry->ReadSimpleTypeFixedArray(&enable, 1, localParams);
        localParams.NameHash = 0x90aa523e1a14b22a;
        entry->ReadSimpleTypeFixedArray(&waitCntThres, 1, localParams);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void preflashFDHandleType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        preflashFDHandleType* arrayPtr = (preflashFDHandleType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* preflashFDHandleType::AllocArray(
    UINT32 __count)
{
    preflashFDHandleType* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW preflashFDHandleType[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load FlashEndLevelDataType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void FlashEndLevelDataType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(trigger2);
    PARAMETER_INITIALIZE(triggerData);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.UseParent       = false;
        localParams.UseParentOffset = true;
        localParams.NameHash        = 0xdfca2f5f5ff45926;
        trigger2.Load(localParams);
        localParams.NameHash        = 0xd5dc9fcb428af073;
        triggerData.Load(localParams);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void FlashEndLevelDataType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        FlashEndLevelDataType* arrayPtr = (FlashEndLevelDataType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* FlashEndLevelDataType::AllocArray(
    UINT32 __count)
{
    FlashEndLevelDataType* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW FlashEndLevelDataType[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load FlashTwoLevelTriggerSystemType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void FlashTwoLevelTriggerSystemType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(trigger1Lux);
    PARAMETER_INITIALIZE(trigger2DataCount);
    PARAMETER_INITIALIZE(trigger2Data);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.UseParent       = false;
        localParams.UseParentOffset = true;
        localParams.NameHash        = 0x8e4d082e1e53933d;
        trigger1Lux.Load(localParams);
        localParams.NameHash = 0xd09490da41e43a8b;
        entry->ReadStructureArray(trigger2Data, trigger2DataCount, trigger2DataID, 1, localParams, __COUNTER__);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void FlashTwoLevelTriggerSystemType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        FlashTwoLevelTriggerSystemType* arrayPtr = (FlashTwoLevelTriggerSystemType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* FlashTwoLevelTriggerSystemType::AllocArray(
    UINT32 __count)
{
    FlashTwoLevelTriggerSystemType* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW FlashTwoLevelTriggerSystemType[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load FlashTriggerSystemType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void FlashTriggerSystemType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(trigger1DataCount);
    PARAMETER_INITIALIZE(trigger1Data);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.NameHash = 0xb64c9b874efc3775;
        entry->ReadStructureArray(trigger1Data, trigger1DataCount, trigger1DataID, 1, localParams, __COUNTER__);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void FlashTriggerSystemType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        FlashTriggerSystemType* arrayPtr = (FlashTriggerSystemType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* FlashTriggerSystemType::AllocArray(
    UINT32 __count)
{
    FlashTriggerSystemType* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW FlashTriggerSystemType[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load DepthAssistedFlashOutputIDType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void DepthAssistedFlashOutputIDType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(backGround);
    PARAMETER_INITIALIZE(foreGround);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.NameHash = 0xf9331f492e529a98;
        entry->ReadSimpleTypeFixedArray(&backGround, 1, localParams);
        localParams.NameHash = 0x98117e673d634b17;
        entry->ReadSimpleTypeFixedArray(&foreGround, 1, localParams);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void DepthAssistedFlashOutputIDType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        DepthAssistedFlashOutputIDType* arrayPtr = (DepthAssistedFlashOutputIDType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* DepthAssistedFlashOutputIDType::AllocArray(
    UINT32 __count)
{
    DepthAssistedFlashOutputIDType* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW DepthAssistedFlashOutputIDType[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load DepthAssistedFlashWeightType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void DepthAssistedFlashWeightType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(smartFlash);
    PARAMETER_INITIALIZE(precisionFlash);
    PARAMETER_INITIALIZE(preFlash);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.NameHash = 0xafbe22f2698ee4e2;
        entry->ReadSimpleTypeFixedArray(&smartFlash, 1, localParams);
        localParams.NameHash = 0xa590477208ffd24f;
        entry->ReadSimpleTypeFixedArray(&precisionFlash, 1, localParams);
        localParams.NameHash = 0xb09fc1e6b6840e1c;
        entry->ReadSimpleTypeFixedArray(&preFlash, 1, localParams);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void DepthAssistedFlashWeightType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        DepthAssistedFlashWeightType* arrayPtr = (DepthAssistedFlashWeightType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* DepthAssistedFlashWeightType::AllocArray(
    UINT32 __count)
{
    DepthAssistedFlashWeightType* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW DepthAssistedFlashWeightType[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load DepthAssistedFlashType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void DepthAssistedFlashType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(enable);
    PARAMETER_INITIALIZE(depthAssistWeight);
    PARAMETER_INITIALIZE(outputID);
    PARAMETER_INITIALIZE(backGroundWeight);
    PARAMETER_INITIALIZE(foreGroundWeight);
    PARAMETER_INITIALIZE(confidenceWeight);
    PARAMETER_INITIALIZE(usingSnapshotDistanceWeight);
    PARAMETER_INITIALIZE(smartflashKDepthFloorPct);
    PARAMETER_INITIALIZE(preflashSatCntChName);
    PARAMETER_INITIALIZE(preflashFrGrdTh);
    PARAMETER_INITIALIZE(preflashSatCntTh);
    PARAMETER_INITIALIZE(preflashMinFrGrdCnt);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.NameHash = 0xb3c00adf8e304e57;
        entry->ReadSimpleTypeFixedArray(&enable, 1, localParams);
        localParams.UseParent       = false;
        localParams.UseParentOffset = true;
        localParams.NameHash        = 0xef3e26b3d6b32fe2;
        depthAssistWeight.Load(localParams);
        localParams.NameHash        = 0xaca7b95cfc08094b;
        outputID.Load(localParams);
        localParams.NameHash        = 0xfc9645937aa6d02c;
        backGroundWeight.Load(localParams);
        localParams.NameHash        = 0xb8c601ffd9e3bf1f;
        foreGroundWeight.Load(localParams);
        localParams.NameHash        = 0xf01009fb7e5d1778;
        confidenceWeight.Load(localParams);
        localParams.NameHash = 0xeafa011139d2ab03;
        entry->ReadSimpleTypeFixedArray(&usingSnapshotDistanceWeight, 1, localParams);
        localParams.NameHash = 0xfedcfe7f7b665df9;
        entry->ReadSimpleTypeFixedArray(&smartflashKDepthFloorPct, 1, localParams);
        localParams.NameHash = 0xeb1964285b060090;
        entry->ReadStringFixedArray(&preflashSatCntChName, 1, localParams, __COUNTER__);
        localParams.NameHash = 0xf569e45bdf752452;
        entry->ReadSimpleTypeFixedArray(&preflashFrGrdTh, 1, localParams);
        localParams.NameHash = 0xc3a02be4b46c2529;
        entry->ReadSimpleTypeFixedArray(&preflashSatCntTh, 1, localParams);
        localParams.NameHash = 0xfd2a2acdea488996;
        entry->ReadSimpleTypeFixedArray(&preflashMinFrGrdCnt, 1, localParams);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void DepthAssistedFlashType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        DepthAssistedFlashType* arrayPtr = (DepthAssistedFlashType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* DepthAssistedFlashType::AllocArray(
    UINT32 __count)
{
    DepthAssistedFlashType* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW DepthAssistedFlashType[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load LEDInlineCalibTargetDataType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void LEDInlineCalibTargetDataType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(distancePCT);
    PARAMETER_INITIALIZE(angleShiftPCT);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.NameHash = 0x8137493e44fc1d53;
        entry->ReadSimpleTypeFixedArray(&distancePCT, 1, localParams);
        localParams.NameHash = 0x922469ebc5467fd8;
        entry->ReadSimpleTypeFixedArray(&angleShiftPCT, 1, localParams);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void LEDInlineCalibTargetDataType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        LEDInlineCalibTargetDataType* arrayPtr = (LEDInlineCalibTargetDataType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* LEDInlineCalibTargetDataType::AllocArray(
    UINT32 __count)
{
    LEDInlineCalibTargetDataType* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW LEDInlineCalibTargetDataType[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load LEDInlineCalibTargetZoneType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void LEDInlineCalibTargetZoneType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(zoneTrigger);
    PARAMETER_INITIALIZE(zoneData);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.UseParent       = false;
        localParams.UseParentOffset = true;
        localParams.NameHash        = 0x9d49dd7376f3949b;
        zoneTrigger.Load(localParams);
        localParams.NameHash        = 0xd47d0038091ab64b;
        zoneData.Load(localParams);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void LEDInlineCalibTargetZoneType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        LEDInlineCalibTargetZoneType* arrayPtr = (LEDInlineCalibTargetZoneType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* LEDInlineCalibTargetZoneType::AllocArray(
    UINT32 __count)
{
    LEDInlineCalibTargetZoneType* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW LEDInlineCalibTargetZoneType[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load LEDInlineCalibTargetType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void LEDInlineCalibTargetType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(LEDInlineCalibTargetZoneCount);
    PARAMETER_INITIALIZE(LEDInlineCalibTargetZone);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.NameHash = 0xb56355af0833c86b;
        entry->ReadStructureArray(LEDInlineCalibTargetZone, LEDInlineCalibTargetZoneCount, LEDInlineCalibTargetZoneID, 1, localParams, __COUNTER__);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void LEDInlineCalibTargetType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        LEDInlineCalibTargetType* arrayPtr = (LEDInlineCalibTargetType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* LEDInlineCalibTargetType::AllocArray(
    UINT32 __count)
{
    LEDInlineCalibTargetType* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW LEDInlineCalibTargetType[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load LEDInlineCalibType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void LEDInlineCalibType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(triggerIndex);
    PARAMETER_INITIALIZE(refRange);
    PARAMETER_INITIALIZE(refRegionPCT);
    PARAMETER_INITIALIZE(validRefCount);
    PARAMETER_INITIALIZE(distanceRatioMin);
    PARAMETER_INITIALIZE(distanceRatioMax);
    PARAMETER_INITIALIZE(angleShiftMax);
    PARAMETER_INITIALIZE(minKneeCnt);
    PARAMETER_INITIALIZE(maxZoneCnt);
    PARAMETER_INITIALIZE(confidencePctThr);
    PARAMETER_INITIALIZE(numOfFactoringRegions);
    PARAMETER_INITIALIZE(LEDInlineCalibTarget);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.NameHash = 0x987d62ba4ac24e74;
        entry->ReadSimpleTypeFixedArray(&triggerIndex, 1, localParams);
        localParams.NameHash = 0xe8fbb9f30af874db;
        entry->ReadSimpleTypeFixedArray(&refRange, 1, localParams);
        localParams.NameHash = 0xa783de2e7b61d8a0;
        entry->ReadSimpleTypeFixedArray(&refRegionPCT, 1, localParams);
        localParams.NameHash = 0xbcf7b9951daa79c3;
        entry->ReadSimpleTypeFixedArray(&validRefCount, 1, localParams);
        localParams.NameHash = 0x8121cdc4417616eb;
        entry->ReadSimpleTypeFixedArray(&distanceRatioMin, 1, localParams);
        localParams.NameHash = 0xfbd7000a3aad0476;
        entry->ReadSimpleTypeFixedArray(&distanceRatioMax, 1, localParams);
        localParams.NameHash = 0xafd4c2264c733f06;
        entry->ReadSimpleTypeFixedArray(&angleShiftMax, 1, localParams);
        localParams.NameHash = 0xbc0b0ea7a2c5b54a;
        entry->ReadSimpleTypeFixedArray(&minKneeCnt, 1, localParams);
        localParams.NameHash = 0xd1d37788f1df6936;
        entry->ReadSimpleTypeFixedArray(&maxZoneCnt, 1, localParams);
        localParams.NameHash = 0xce996a1add32377d;
        entry->ReadSimpleTypeFixedArray(&confidencePctThr, 1, localParams);
        localParams.NameHash = 0xc6c549dfdb93ddc4;
        entry->ReadSimpleTypeFixedArray(&numOfFactoringRegions, 1, localParams);
        localParams.UseParent       = false;
        localParams.UseParentOffset = true;
        localParams.NameHash        = 0xc3feb26abca471a0;
        LEDInlineCalibTarget.Load(localParams);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void LEDInlineCalibType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        LEDInlineCalibType* arrayPtr = (LEDInlineCalibType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* LEDInlineCalibType::AllocArray(
    UINT32 __count)
{
    LEDInlineCalibType* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW LEDInlineCalibType[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load PreflashEvControlType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void PreflashEvControlType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(enable);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.NameHash = 0xb3c00adf8e304e57;
        entry->ReadSimpleTypeFixedArray(&enable, 1, localParams);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void PreflashEvControlType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        PreflashEvControlType* arrayPtr = (PreflashEvControlType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* PreflashEvControlType::AllocArray(
    UINT32 __count)
{
    PreflashEvControlType* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW PreflashEvControlType[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load PreflashLumaAdjustType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void PreflashLumaAdjustType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(saturationRatioThreshold);
    PARAMETER_INITIALIZE(adjustmentFactor);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.UseParent       = false;
        localParams.UseParentOffset = true;
        localParams.NameHash        = 0xeb8294b424331df1;
        saturationRatioThreshold.Load(localParams);
        localParams.NameHash        = 0xb7026599c432c681;
        adjustmentFactor.Load(localParams);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void PreflashLumaAdjustType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        PreflashLumaAdjustType* arrayPtr = (PreflashLumaAdjustType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* PreflashLumaAdjustType::AllocArray(
    UINT32 __count)
{
    PreflashLumaAdjustType* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW PreflashLumaAdjustType[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load PreflashYThresholds
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void PreflashYThresholds::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(statsNameOff);
    PARAMETER_INITIALIZE(statsNameLow);
    PARAMETER_INITIALIZE(absoluteThreshold);
    PARAMETER_INITIALIZE(differenceThreshold);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.NameHash = 0xbd8853379379cb2a;
        entry->ReadStringFixedArray(&statsNameOff, 1, localParams, __COUNTER__);
        localParams.NameHash = 0xe502b68312693475;
        entry->ReadStringFixedArray(&statsNameLow, 1, localParams, __COUNTER__);
        localParams.NameHash = 0xce76a55cd9d15ddf;
        entry->ReadSimpleTypeFixedArray(&absoluteThreshold, 1, localParams);
        localParams.NameHash = 0xb6893ceae187ef2d;
        entry->ReadSimpleTypeFixedArray(&differenceThreshold, 1, localParams);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void PreflashYThresholds::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        PreflashYThresholds* arrayPtr = (PreflashYThresholds*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* PreflashYThresholds::AllocArray(
    UINT32 __count)
{
    PreflashYThresholds* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW PreflashYThresholds[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load FlashStatsPreprocessingType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void FlashStatsPreprocessingType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(stopMeteringYLevel);
    PARAMETER_INITIALIZE(stopMeteringYSaturation);
    PARAMETER_INITIALIZE(minLumaSource);
    PARAMETER_INITIALIZE(minLumaThreshold);
    PARAMETER_INITIALIZE(minLumaAdjust);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.UseParent       = false;
        localParams.UseParentOffset = true;
        localParams.NameHash        = 0xff37601ed173c83b;
        stopMeteringYLevel.Load(localParams);
        localParams.NameHash        = 0xd8e12b7bbdf27a88;
        stopMeteringYSaturation.Load(localParams);
        localParams.NameHash = 0x9c90949045d16801;
        entry->ReadSimpleTypeFixedArray(&minLumaSource, 1, localParams);
        localParams.NameHash = 0xe86444d14bf7dbd1;
        entry->ReadSimpleTypeFixedArray(&minLumaThreshold, 1, localParams);
        localParams.NameHash        = 0xee5640a06fa39847;
        minLumaAdjust.Load(localParams);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void FlashStatsPreprocessingType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        FlashStatsPreprocessingType* arrayPtr = (FlashStatsPreprocessingType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* FlashStatsPreprocessingType::AllocArray(
    UINT32 __count)
{
    FlashStatsPreprocessingType* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW FlashStatsPreprocessingType[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load DynamicSkip
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void DynamicSkip::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(minFrameSkip);
    PARAMETER_INITIALIZE(maxFrameSkip);
    PARAMETER_INITIALIZE(FPSRange);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.UseParent       = false;
        localParams.UseParentOffset = true;
        localParams.NameHash        = 0x88519e295aedd1b2;
        minFrameSkip.Load(localParams);
        localParams.NameHash        = 0xa2d03b2802213c80;
        maxFrameSkip.Load(localParams);
        localParams.NameHash        = 0xecc415ee9f5179bc;
        FPSRange.Load(localParams);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void DynamicSkip::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        DynamicSkip* arrayPtr = (DynamicSkip*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* DynamicSkip::AllocArray(
    UINT32 __count)
{
    DynamicSkip* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW DynamicSkip[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load FlashEnterExitType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void FlashEnterExitType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(dynamicEnterSkip);
    PARAMETER_INITIALIZE(dynamicExitSkip);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.UseParent       = false;
        localParams.UseParentOffset = true;
        localParams.NameHash        = 0xd6b5487bc8b78df1;
        dynamicEnterSkip.Load(localParams);
        localParams.NameHash        = 0xa8366e82025bc5f9;
        dynamicExitSkip.Load(localParams);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void FlashEnterExitType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        FlashEnterExitType* arrayPtr = (FlashEnterExitType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* FlashEnterExitType::AllocArray(
    UINT32 __count)
{
    FlashEnterExitType* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW FlashEnterExitType[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load AECXLEDMixCalibType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void AECXLEDMixCalibType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(indexMix);
    PARAMETER_INITIALIZE(indexPower);
    PARAMETER_INITIALIZE(enableScreening);
    PARAMETER_INITIALIZE(RGOKRange);
    PARAMETER_INITIALIZE(BGOKRange);
    PARAMETER_INITIALIZE(fixedExposure);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.NameHash = 0xf4f79df9ba18daa0;
        entry->ReadSimpleTypeFixedArray(&indexMix, 1, localParams);
        localParams.NameHash = 0xd2a145c3aded1378;
        entry->ReadSimpleTypeFixedArray(&indexPower, 1, localParams);
        localParams.NameHash = 0xcf72ae0f7cf09254;
        entry->ReadSimpleTypeFixedArray(&enableScreening, 1, localParams);
        localParams.UseParent       = false;
        localParams.UseParentOffset = true;
        localParams.NameHash        = 0xe4e2f0b84d7429bf;
        RGOKRange.Load(localParams);
        localParams.NameHash        = 0xb92fc401b701146f;
        BGOKRange.Load(localParams);
        localParams.NameHash = 0xcb35b4a93b9ed996;
        entry->ReadSimpleTypeFixedArray(&fixedExposure, 1, localParams);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void AECXLEDMixCalibType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        AECXLEDMixCalibType* arrayPtr = (AECXLEDMixCalibType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* AECXLEDMixCalibType::AllocArray(
    UINT32 __count)
{
    AECXLEDMixCalibType* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW AECXLEDMixCalibType[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load LEDMixType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void LEDMixType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(LED1Setting);
    PARAMETER_INITIALIZE(LED2Setting);
    PARAMETER_INITIALIZE(RGRatio);
    PARAMETER_INITIALIZE(BGRatio);
    PARAMETER_INITIALIZE(flux);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.NameHash = 0xecdaf9bdd37e3478;
        entry->ReadSimpleTypeFixedArray(&LED1Setting, 1, localParams);
        localParams.NameHash = 0xef3a098fd63e5cac;
        entry->ReadSimpleTypeFixedArray(&LED2Setting, 1, localParams);
        localParams.NameHash = 0xb66d4272636fe689;
        entry->ReadSimpleTypeFixedArray(&RGRatio, 1, localParams);
        localParams.NameHash = 0xa8c6ff0d13deea02;
        entry->ReadSimpleTypeFixedArray(&BGRatio, 1, localParams);
        localParams.NameHash = 0x94db863463e4b088;
        entry->ReadSimpleTypeFixedArray(&flux, 1, localParams);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void LEDMixType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        LEDMixType* arrayPtr = (LEDMixType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* LEDMixType::AllocArray(
    UINT32 __count)
{
    LEDMixType* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW LEDMixType[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load RefCalculatorIDType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void RefCalculatorIDType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(RG);
    PARAMETER_INITIALIZE(BG);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.NameHash = 0xaac13cf0fe21a0b2;
        entry->ReadSimpleTypeFixedArray(&RG, 1, localParams);
        localParams.NameHash = 0xda7bd33999f7ba73;
        entry->ReadSimpleTypeFixedArray(&BG, 1, localParams);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void RefCalculatorIDType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        RefCalculatorIDType* arrayPtr = (RefCalculatorIDType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* RefCalculatorIDType::AllocArray(
    UINT32 __count)
{
    RefCalculatorIDType* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW RefCalculatorIDType[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load AECXLEDMeasurementType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void AECXLEDMeasurementType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(startExposure);
    PARAMETER_INITIALIZE(frameErrAllowance);
    PARAMETER_INITIALIZE(numOfFrames);
    PARAMETER_INITIALIZE(maxNumOfFrames);
    PARAMETER_INITIALIZE(maxNumOfExtraAttempts);
    PARAMETER_INITIALIZE(maxFrameConvTimeOut);
    PARAMETER_INITIALIZE(enableCornerSampleScreen);
    PARAMETER_INITIALIZE(refStatsCalculatorID);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.NameHash = 0x85ab0026a073835f;
        entry->ReadSimpleTypeFixedArray(&startExposure, 1, localParams);
        localParams.NameHash = 0xfa9fb5e33bdaab50;
        entry->ReadSimpleTypeFixedArray(&frameErrAllowance, 1, localParams);
        localParams.NameHash = 0xd4fe99e8df5dadbc;
        entry->ReadSimpleTypeFixedArray(&numOfFrames, 1, localParams);
        localParams.NameHash = 0xfd276d7b3dab0cde;
        entry->ReadSimpleTypeFixedArray(&maxNumOfFrames, 1, localParams);
        localParams.NameHash = 0xd496d4e883a5074f;
        entry->ReadSimpleTypeFixedArray(&maxNumOfExtraAttempts, 1, localParams);
        localParams.NameHash = 0xd291c9870909eca1;
        entry->ReadSimpleTypeFixedArray(&maxFrameConvTimeOut, 1, localParams);
        localParams.NameHash = 0x8d351cd27df0acf3;
        entry->ReadSimpleTypeFixedArray(&enableCornerSampleScreen, 1, localParams);
        localParams.UseParent       = false;
        localParams.UseParentOffset = true;
        localParams.NameHash        = 0xc38b645b26132498;
        refStatsCalculatorID.Load(localParams);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void AECXLEDMeasurementType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        AECXLEDMeasurementType* arrayPtr = (AECXLEDMeasurementType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* AECXLEDMeasurementType::AllocArray(
    UINT32 __count)
{
    AECXLEDMeasurementType* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW AECXLEDMeasurementType[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load LEDMatchTableType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void LEDMatchTableType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(enableDerating);
    PARAMETER_INITIALIZE(dualLEDIntersectSlope);
    PARAMETER_INITIALIZE(countPower);
    PARAMETER_INITIALIZE(countMix);
    PARAMETER_INITIALIZE(LEDMeasConfig);
    PARAMETER_INITIALIZE(tableCount);
    PARAMETER_INITIALIZE(table);
    PARAMETER_INITIALIZE(tableCalibrationCount);
    PARAMETER_INITIALIZE(tableCalibration);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.NameHash = 0x8d5893d37b7e5cfd;
        entry->ReadSimpleTypeFixedArray(&enableDerating, 1, localParams);
        localParams.NameHash = 0xc4ca073ac79ee800;
        entry->ReadSimpleTypeFixedArray(&dualLEDIntersectSlope, 1, localParams);
        localParams.NameHash = 0x922d656a63e818d9;
        entry->ReadSimpleTypeFixedArray(&countPower, 1, localParams);
        localParams.NameHash = 0xe1d64786a721a3b7;
        entry->ReadSimpleTypeFixedArray(&countMix, 1, localParams);
        localParams.UseParent       = false;
        localParams.UseParentOffset = true;
        localParams.NameHash        = 0xd2330c840a39465e;
        LEDMeasConfig.Load(localParams);
        localParams.NameHash = 0xa17d4c271f7d3d4e;
        entry->ReadStructureArray(table, tableCount, tableID, 1, localParams, __COUNTER__);
        localParams.NameHash = 0xa8edfd4fe333833d;
        entry->ReadStructureArray(tableCalibration, tableCalibrationCount, tableCalibrationID, 1, localParams, __COUNTER__);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void LEDMatchTableType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        LEDMatchTableType* arrayPtr = (LEDMatchTableType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* LEDMatchTableType::AllocArray(
    UINT32 __count)
{
    LEDMatchTableType* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW LEDMatchTableType[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load AECXFlashType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void AECXFlashType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(module_version);
    PARAMETER_INITIALIZE(parameter_version);
    PARAMETER_INITIALIZE(LEDMatching);
    PARAMETER_INITIALIZE(preflashEnterExit);
    PARAMETER_INITIALIZE(preflashStatsPreProcessing);
    PARAMETER_INITIALIZE(preflashEvControl);
    PARAMETER_INITIALIZE(LEDInlineCalibration);
    PARAMETER_INITIALIZE(depthAssistedFlash);
    PARAMETER_INITIALIZE(preflashFDHandle);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.UseParent       = false;
        localParams.UseParentOffset = true;
        localParams.NameHash        = 0xe11cd9f365a2599f;
        module_version.Load(localParams);
        localParams.NameHash        = 0xca3106e199a12935;
        parameter_version.Load(localParams);
        localParams.NameHash        = 0xc6df9f5f6e326dc4;
        LEDMatching.Load(localParams);
        localParams.NameHash        = 0xacaaee061613f5fe;
        preflashEnterExit.Load(localParams);
        localParams.NameHash        = 0x9300e8553c26d5f1;
        preflashStatsPreProcessing.Load(localParams);
        localParams.NameHash        = 0xb7ecc7cc40bb1201;
        preflashEvControl.Load(localParams);
        localParams.NameHash        = 0xd8b82bc2f8c63a88;
        LEDInlineCalibration.Load(localParams);
        localParams.NameHash        = 0xa9788b8801d69504;
        depthAssistedFlash.Load(localParams);
        localParams.NameHash        = 0xe934e26a41b0d54f;
        preflashFDHandle.Load(localParams);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void AECXFlashType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        AECXFlashType* arrayPtr = (AECXFlashType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* AECXFlashType::AllocArray(
    UINT32 __count)
{
    AECXFlashType* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW AECXFlashType[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load module_versionStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void AECXFlashType::module_versionStruct::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(major_revision);
    PARAMETER_INITIALIZE(minor_revision);
    PARAMETER_INITIALIZE(incr_revision);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.NameHash = 0xcd66249477636693;
        entry->ReadSimpleTypeFixedArray(&major_revision, 1, localParams);
        localParams.NameHash = 0xc5497493137a9c25;
        entry->ReadSimpleTypeFixedArray(&minor_revision, 1, localParams);
        localParams.NameHash = 0xb27b8a668efb2a56;
        entry->ReadSimpleTypeFixedArray(&incr_revision, 1, localParams);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void AECXFlashType::module_versionStruct::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        module_versionStruct* arrayPtr = (module_versionStruct*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* AECXFlashType::module_versionStruct::AllocArray(
    UINT32 __count)
{
    module_versionStruct* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW module_versionStruct[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load parameter_versionStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void AECXFlashType::parameter_versionStruct::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(revision);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.NameHash = 0xd594eed07a5650c5;
        entry->ReadStringFixedArray(&revision, 1, localParams, __COUNTER__);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void AECXFlashType::parameter_versionStruct::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        parameter_versionStruct* arrayPtr = (parameter_versionStruct*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* AECXFlashType::parameter_versionStruct::AllocArray(
    UINT32 __count)
{
    parameter_versionStruct* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW parameter_versionStruct[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload FlashTwoLevelTriggerSystemType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void FlashTwoLevelTriggerSystemType::Unload(ParameterFileSymbolTable* const __table)
{
    ParameterFileSymbolTable::ReleaseObject(__table, trigger2Data);
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload FlashTriggerSystemType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void FlashTriggerSystemType::Unload(ParameterFileSymbolTable* const __table)
{
    for (UINT32 i = 0; trigger1Data != nullptr && i < trigger1DataCount; i++)
    {
        trigger1Data[i].Unload(__table);
    }
    ParameterFileSymbolTable::ReleaseObject(__table, trigger1Data);
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload DepthAssistedFlashType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void DepthAssistedFlashType::Unload(ParameterFileSymbolTable* const __table)
{
    backGroundWeight.Unload(__table);
    foreGroundWeight.Unload(__table);
    confidenceWeight.Unload(__table);
    ParameterFileSymbolTable::ReleaseObject(__table, preflashSatCntChName);
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload LEDInlineCalibTargetType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void LEDInlineCalibTargetType::Unload(ParameterFileSymbolTable* const __table)
{
    ParameterFileSymbolTable::ReleaseObject(__table, LEDInlineCalibTargetZone);
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload LEDInlineCalibType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void LEDInlineCalibType::Unload(ParameterFileSymbolTable* const __table)
{
    LEDInlineCalibTarget.Unload(__table);
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload PreflashYThresholds
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void PreflashYThresholds::Unload(ParameterFileSymbolTable* const __table)
{
    ParameterFileSymbolTable::ReleaseObject(__table, statsNameOff);
    ParameterFileSymbolTable::ReleaseObject(__table, statsNameLow);
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload FlashStatsPreprocessingType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void FlashStatsPreprocessingType::Unload(ParameterFileSymbolTable* const __table)
{
    stopMeteringYLevel.Unload(__table);
    stopMeteringYSaturation.Unload(__table);
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload LEDMatchTableType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void LEDMatchTableType::Unload(ParameterFileSymbolTable* const __table)
{
    ParameterFileSymbolTable::ReleaseObject(__table, table);
    ParameterFileSymbolTable::ReleaseObject(__table, tableCalibration);
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload AECXFlashType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void AECXFlashType::Unload(ParameterFileSymbolTable* const __table)
{
    parameter_version.Unload(__table);
    LEDMatching.Unload(__table);
    preflashStatsPreProcessing.Unload(__table);
    LEDInlineCalibration.Unload(__table);
    depthAssistedFlash.Unload(__table);
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload parameter_versionStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void AECXFlashType::parameter_versionStruct::Unload(ParameterFileSymbolTable* const __table)
{
    ParameterFileSymbolTable::ReleaseObject(__table, revision);
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Release the ParameterModule object
/// Requires that this object was created via a ParameterSetManager::GetModule call
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void AECXFlashType::Release()
{
    ((AECXFlashTypeClass*)this)->Release();
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Returns the ParameterModule::Modified value
/// The Modified value is incremented when the module's data or pointer values change
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
UINT32 AECXFlashType::GetModified()
{
    return ((AECXFlashTypeClass*)this)->Modified;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// GetModuleName: Returns ParameterModule::Name variable
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
const CHAR* AECXFlashType::GetModuleName()
{
    return ((AECXFlashTypeClass*)this)->Name;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// GetModuleName: Returns ParameterModule::NameHash variable
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
UINT64 AECXFlashType::GetModuleNameHash()
{
    return ((AECXFlashTypeClass*)this)->NameHash;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Create module, and return a new object
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
ParameterModule* AECXFlashTypeClass::Create(
    ModuleData* const    moduleData,
    DefaultModule* const defModule) const
{
    AECXFlashTypeClass* cls = nullptr;

    if (IsModuleMatch(moduleData) && Version.Value == moduleData->Version.Value)
    {
        const UINT32 id = moduleData->DuplicateID > 0 ? moduleData->DuplicateID : moduleData->ID;

        ParameterModule* const module = defModule->Find(id);
        if (module != nullptr)
        {
            cls = (AECXFlashTypeClass*)module;
        }
        else
        {
            cls = PARAMETER_NEW AECXFlashTypeClass(Name, moduleData);
            cls->SymbolTableID = id;
            defModule->AddModule((ParameterModule*)cls);
        }
    }
    else if (Version.Value != moduleData->Version.Value)
    {
        PARAMETER_LOG_ERROR(moduleData->SetManager, "Unable to create AECXFlashTypeClass, binary version (%lld) does not match source version (%lld)\n",
            moduleData->Version.Value, Version.Value);
    }
    else
    {
        PARAMETER_LOG_ERROR(moduleData->SetManager, "Unable to create AECXFlashTypeClass, binary name hash (0x%016llx) does not match source name hash (0x%016llx)\n",
            moduleData->NameHash, NameHash);
    }

    return (ParameterModule*)cls;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load module data, return true is successful
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool AECXFlashTypeClass::LoadModule(
    ParameterFileSymbolTable* const table)
{
    bool result = true;

#ifdef PARAMETER_USE_MUTEX
    ParameterMutexLocker lock(Mutex); // Unique LOCK
#endif

    if (!Loaded)
    {
        AECXFlashTypeClass* const cls = this;

        ParameterFileSymbolTableEntry  entryObj;
        ParameterFileSymbolTableEntry* const entry = &entryObj;
        // With EzTune enabled, the unused upper byte of SymbolTableID value can change, so clear it
        result = table->Find(entryObj, SymbolTableID & 0x00ffffffU);

        if (!result)
        {
            PARAMETER_LOG_ERROR(entry->Table->SetManager, "AECXFlashTypeClass::LoadModule Failed to find module ID (%d) in Symbol Table\n", SymbolTableID);
        }


        ParameterDefinitionElement* _element = nullptr;
        if (table->ModuleDefinitions != nullptr && !table->ModuleDefinitions->empty())
        {
            _element = table->BuildModuleElement(NameHash);
        }

        ParameterLoadParameters parentParams(entry, NameHash, true, true, _element, entry->Position, 0, ParameterFileSymbolTableEntry::LOAD_LIMIT_MAX);
        cls->Load(parentParams);
        PARAMETER_DELETE _element;
        Modified++;
        Loaded = true;
    }

    if (!result)
    {
        /// Module failed to fully load, unload it
        UnloadModule();
    }

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload module data
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void AECXFlashTypeClass::UnloadModule()
{
#ifdef PARAMETER_USE_MUTEX
    ParameterMutexLocker lock(Mutex); // Unique LOCK
#endif

    if (Loaded)
    {
        if (Data != nullptr && Data->SymbolTable != nullptr)
        {
            Unload(Data->SymbolTable);
        }
        else
        {
            PARAMETER_LOG_ERROR(Data != nullptr ? Data->SetManager : nullptr, "UnloadModule %s called with nullptr "
                "Data->SymbolTable object\n", Name);
            Unload(nullptr);
        }
        Loaded = false;
    }
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// /// Release the ParameterModule object
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void AECXFlashTypeClass::Release()
{
    ParameterModule::Release();
}

AECXFLASH_NAMESPACE_END
