Добавлены изменения после командировки

This commit is contained in:
cfif 2026-10-19 09:48:55 +03:00
parent cd8a9baa2e
commit 8b1aa1953f
20 changed files with 30217 additions and 35763 deletions

View File

@ -1,3 +1,4 @@
// //
// Created by cfif on 16.03.2024. // Created by cfif on 16.03.2024.
// //
@ -136,8 +137,15 @@ void CanSerialPortFrameXcpInit(
env->access = osMutexNew(NULL); env->access = osMutexNew(NULL);
// InitThreadBlock(env->T_can_Listener_XCP, "CanListenerXCP", osPriorityNormal); // InitThreadBlock(env->T_can_Listener_XCP, "CanListenerXCP", osPriorityNormal);
InitThreadAtrStatic(&env->thread_Listener_XCP.attr, "CanListenerXCP", env->thread_Listener_XCP.controlBlock, env->thread_Listener_XCP.stack, //// InitThreadAtrStatic(&env->thread_Listener_XCP.attr, "CanListenerXCP", env->thread_Listener_XCP.controlBlock, env->thread_Listener_XCP.stack,
osPriorityNormal); //// osPriorityNormal);
env->thread_Listener_XCP.stack = tCanSerialPortFrameXCP_stack;
InitThreadAtr(&env->thread_Listener_XCP.attr,"CanXCP",&env->thread_Listener_XCP.controlBlock,sizeof(env->thread_Listener_XCP.controlBlock),env->thread_Listener_XCP.stack,tCanSerialPortFrameXCP_stack_size,osPriorityNormal);
env->thread_Listener_XCP.id = 0;
} }
static void FREE_DAQ(tCanSerialPortFrameXCP *env) { static void FREE_DAQ(tCanSerialPortFrameXCP *env) {
@ -1907,17 +1915,23 @@ _Noreturn void CanXcpProcessing_ListenerTask(tCanSerialPortFrameXCP *env) {
} }
void CanXcpProcessing_Listener_Start(tCanSerialPortFrameXCP *env) { void CanXcpProcessing_Listener_Start(tCanSerialPortFrameXCP *env) {
// ThreadBlock_Start(env->T_can_Listener_XCP, env, CanXcpProcessing_ListenerTask);
if (!env->thread_Listener_XCP.id) { if (!env->thread_Listener_XCP.id) {
env->thread_Listener_XCP.id = osThreadNew((osThreadFunc_t) (CanXcpProcessing_ListenerTask), (void *) (env), &env->thread_Listener_XCP.attr);
}
// ThreadBlock_Start(env->T_can_Listener_XCP, env, CanXcpProcessing_ListenerTask);
//// if (!env->thread_Listener_XCP.id) {
// env->thread_Listener_XCP.id = osThreadNew((osThreadFunc_t) (CanXcpProcessing_ListenerTask), (void *) (env), &env->thread_Listener_XCP.attr); // env->thread_Listener_XCP.id = osThreadNew((osThreadFunc_t) (CanXcpProcessing_ListenerTask), (void *) (env), &env->thread_Listener_XCP.attr);
env->thread_Listener_XCP.stack = tCanSerialPortFrameXCP_stack; //// env->thread_Listener_XCP.stack = tCanSerialPortFrameXCP_stack;
InitThreadAtr(&env->thread_Listener_XCP.attr,"CanXCP",&env->thread_Listener_XCP.controlBlock,sizeof(env->thread_Listener_XCP.controlBlock),env->thread_Listener_XCP.stack,tCanSerialPortFrameXCP_stack_size,osPriorityNormal); //// InitThreadAtr(&env->thread_Listener_XCP.attr,"CanXCP",&env->thread_Listener_XCP.controlBlock,sizeof(env->thread_Listener_XCP.controlBlock),env->thread_Listener_XCP.stack,tCanSerialPortFrameXCP_stack_size,osPriorityNormal);
env->thread_Listener_XCP.id = 0; //// env->thread_Listener_XCP.id = 0;
} //// }
// CanXcpProcessing_Service_Start(env); // CanXcpProcessing_Service_Start(env);
} }

View File

@ -53,3 +53,30 @@ volatile const char META_FINGER_MONTH __attribute__((section (".meta_finger_mont
volatile const char META_FINGER_DAY __attribute__((section (".meta_finger_day"))) = DEF_FINGER_DAY; volatile const char META_FINGER_DAY __attribute__((section (".meta_finger_day"))) = DEF_FINGER_DAY;
volatile const uint8_t META2_FW_NAME_SIZE __attribute__((section (".meta2_fw_name_size"))) = sizeof(DEF_FINGER_TESTER_SERIAL) - 1;
volatile const char META2_FW_NAME[sizeof(DEF_FINGER_TESTER_SERIAL) - 1] __attribute__((section (".meta2_fw_name"))) = DEF_FINGER_TESTER_SERIAL;
volatile const char META2_INTERNAL_HW_YEAR __attribute__((section (".meta2_internal_hw_year"))) = DEF_INTERNAL_HW_YEAR;
volatile const char META2_INTERNAL_HW_MONTH __attribute__((section (".meta2_internal_hw_month"))) = DEF_INTERNAL_HW_MONTH;
volatile const char META2_INTERNAL_HW_DAY __attribute__((section (".meta2_internal_hw_day"))) = DEF_INTERNAL_HW_DAY;
volatile const char META2_INTERNAL_HW_REV __attribute__((section (".meta2_internal_hw_rev"))) = DEF_INTERNAL_HW_REV;
volatile const char META2_INTERNAL_SW_YEAR __attribute__((section (".meta2_internal_sw_year"))) = DEF_INTERNAL_SW_YEAR;
volatile const char META2_INTERNAL_SW_MONTH __attribute__((section (".meta2_internal_sw_month"))) = DEF_INTERNAL_SW_MONTH;
volatile const char META2_INTERNAL_SW_DAY __attribute__((section (".meta2_internal_sw_day"))) = DEF_INTERNAL_SW_DAY;
volatile const char META2_INTERNAL_SW_REV __attribute__((section (".meta2_internal_sw_rev"))) = DEF_INTERNAL_SW_REV;
volatile const char META2_INTERNAL_MDB_YEAR __attribute__((section (".meta2_internal_mdb_year"))) = DEF_INTERNAL_MDB_YEAR;
volatile const char META2_INTERNAL_MDB_MONTH __attribute__((section (".meta2_internal_mdb_month"))) = DEF_INTERNAL_MDB_MONTH;
volatile const char META2_INTERNAL_MDB_DAY __attribute__((section (".meta2_internal_mdb_day"))) = DEF_INTERNAL_MDB_DAY;
volatile const char META2_INTERNAL_MDB_REV __attribute__((section (".meta2_internal_mdb_rev"))) = DEF_INTERNAL_MDB_REV;
volatile const char META2_FINGER_MODULE __attribute__((section (".meta2_finger_module"))) = DEF_FINGER_MODULE;
volatile const char META2_FINGER[sizeof(DEF_FINGER_TESTER_SERIAL) - 1] __attribute__((section (".meta2_finger_tester_serial"))) = DEF_FINGER_TESTER_SERIAL;
volatile const char META2_FINGER_YEAR __attribute__((section (".meta2_finger_year"))) = DEF_FINGER_YEAR;
volatile const char META2_FINGER_MONTH __attribute__((section (".meta2_finger_month"))) = DEF_FINGER_MONTH;
volatile const char META2_FINGER_DAY __attribute__((section (".meta2_finger_day"))) = DEF_FINGER_DAY;

View File

@ -143,6 +143,8 @@ void CanSpamReceiver_Init(tCanSpamReceiver *env,
env->ccu_candb_rx_DW_STATE = osMessageQueueNew(1, sizeof(rtDW.CCUCAN_DW_STATE_model), NULL); env->ccu_candb_rx_DW_STATE = osMessageQueueNew(1, sizeof(rtDW.CCUCAN_DW_STATE_model), NULL);
osMessageQueuePut(env->ccu_candb_rx_LOCAL_HVAC_UDS_VIN, env->SET_HVAC_UDS_VIN, 0, 0U);
env->thread.stack = tCanSpamReceiver_stack; env->thread.stack = tCanSpamReceiver_stack;
InitThreadAtr(&env->thread.attr, "CanSpamRec", &env->thread.controlBlock, sizeof(env->thread.controlBlock), InitThreadAtr(&env->thread.attr, "CanSpamRec", &env->thread.controlBlock, sizeof(env->thread.controlBlock),
env->thread.stack, tCanSpamReceiver_stack_size, osPriorityNormal); env->thread.stack, tCanSpamReceiver_stack_size, osPriorityNormal);
@ -298,6 +300,7 @@ static void set_CanSpamReceiver(tCanSpamReceiver *env, uint32_t recid) {
countQueue_ccu_candb_rx = osMessageQueueGetSpace(env->ccu_candb_rx_LOCAL_HVAC_VIN); countQueue_ccu_candb_rx = osMessageQueueGetSpace(env->ccu_candb_rx_LOCAL_HVAC_VIN);
if ((countQueue_ccu_candb_rx) && (recid == VEH_VIN_CANID)) { if ((countQueue_ccu_candb_rx) && (recid == VEH_VIN_CANID)) {
if (ccu_candb_rx.VEH_VIN.VIN_Addressing == 0) { if (ccu_candb_rx.VEH_VIN.VIN_Addressing == 0) {
@ -332,18 +335,55 @@ static void set_CanSpamReceiver(tCanSpamReceiver *env, uint32_t recid) {
if ((env->getVIN0) && (env->getVIN1) && (env->getVIN2)) { if ((env->getVIN0) && (env->getVIN1) && (env->getVIN2)) {
status = osMessageQueuePut(env->ccu_candb_rx_LOCAL_HVAC_VIN, env->SET_HVAC_VIN, 0, 0U); status = osMessageQueuePut(env->ccu_candb_rx_LOCAL_HVAC_VIN, env->SET_HVAC_VIN, 0, 0U);
countQueue_ccu_candb_rx = osMessageQueueGetSpace(env->ccu_candb_rx_LOCAL_HVAC_UDS_VIN);
if (countQueue_ccu_candb_rx) {
status = osMessageQueuePut(env->ccu_candb_rx_LOCAL_HVAC_UDS_VIN, env->SET_HVAC_VIN, 0, 0U);
}
env->getVIN0 = false; env->getVIN0 = false;
env->getVIN1 = false; env->getVIN1 = false;
env->getVIN2 = false; env->getVIN2 = false;
} }
return;
}
countQueue_ccu_candb_rx = osMessageQueueGetSpace(env->ccu_candb_rx_LOCAL_HVAC_UDS_VIN);
if ((countQueue_ccu_candb_rx) && (recid == VEH_VIN_CANID)) {
if (ccu_candb_rx.VEH_VIN.VIN_Addressing == 0) {
env->SET_HVAC_UDS_VIN[0] = ccu_candb_rx.VEH_VIN.VIN_Char1;
env->SET_HVAC_UDS_VIN[1] = ccu_candb_rx.VEH_VIN.VIN_Char2;
env->SET_HVAC_UDS_VIN[2] = ccu_candb_rx.VEH_VIN.VIN_Char3;
env->SET_HVAC_UDS_VIN[3] = ccu_candb_rx.VEH_VIN.VIN_Char4;
env->SET_HVAC_UDS_VIN[4] = ccu_candb_rx.VEH_VIN.VIN_Char5;
env->SET_HVAC_UDS_VIN[5] = ccu_candb_rx.VEH_VIN.VIN_Char6;
env->SET_HVAC_UDS_VIN[6] = ccu_candb_rx.VEH_VIN.VIN_Char7;
env->getUDSVIN0 = true;
}
if (ccu_candb_rx.VEH_VIN.VIN_Addressing == 1) {
env->SET_HVAC_UDS_VIN[7] = ccu_candb_rx.VEH_VIN.VIN_Char8;
env->SET_HVAC_UDS_VIN[8] = ccu_candb_rx.VEH_VIN.VIN_Char9;
env->SET_HVAC_UDS_VIN[9] = ccu_candb_rx.VEH_VIN.VIN_Char10;
env->SET_HVAC_UDS_VIN[10] = ccu_candb_rx.VEH_VIN.VIN_Char11;
env->SET_HVAC_UDS_VIN[11] = ccu_candb_rx.VEH_VIN.VIN_Char12;
env->SET_HVAC_UDS_VIN[12] = ccu_candb_rx.VEH_VIN.VIN_Char13;
env->SET_HVAC_UDS_VIN[13] = ccu_candb_rx.VEH_VIN.VIN_Char14;
env->getUDSVIN1 = true;
}
if (ccu_candb_rx.VEH_VIN.VIN_Addressing == 2) {
env->SET_HVAC_UDS_VIN[14] = ccu_candb_rx.VEH_VIN.VIN_Char15;
env->SET_HVAC_UDS_VIN[15] = ccu_candb_rx.VEH_VIN.VIN_Char16;
env->SET_HVAC_UDS_VIN[16] = ccu_candb_rx.VEH_VIN.VIN_Char17;
env->getUDSVIN2 = true;
}
if ((env->getUDSVIN0) && (env->getUDSVIN1) && (env->getUDSVIN2)) {
status = osMessageQueuePut(env->ccu_candb_rx_LOCAL_HVAC_UDS_VIN, env->SET_HVAC_UDS_VIN, 0, 0U);
}
return; return;
} }
@ -600,10 +640,16 @@ bool get_CanSpamReceiverUDS(tCanSpamReceiver *env, char *VIN, func_update_func u
uint32_t u32Time = SystemGetMs() + timeout; uint32_t u32Time = SystemGetMs() + timeout;
env->getUDSVIN0 = false;
env->getUDSVIN1 = false;
env->getUDSVIN2 = false;
osStatus_t status = osMessageQueueReset(env->ccu_candb_rx_LOCAL_HVAC_UDS_VIN);
update_func(update_func_env);
for (uint32_t i = 0; i < count; ++i) { for (uint32_t i = 0; i < count; ++i) {
osStatus_t status = osMessageQueueGet(env->ccu_candb_rx_LOCAL_HVAC_UDS_VIN, VIN, 0, timeout); status = osMessageQueueGet(env->ccu_candb_rx_LOCAL_HVAC_UDS_VIN, VIN, 0, timeout);
if (update_func != NULL) { if (update_func != NULL) {
if (SystemGetMs() > u32Time) { if (SystemGetMs() > u32Time) {

View File

@ -56,10 +56,15 @@ typedef struct {
uint32_t canTimeReceived; uint32_t canTimeReceived;
char SET_HVAC_VIN[17]; char SET_HVAC_VIN[17];
char SET_HVAC_UDS_VIN[17];
bool getVIN0; bool getVIN0;
bool getVIN1; bool getVIN1;
bool getVIN2; bool getVIN2;
bool getUDSVIN0;
bool getUDSVIN1;
bool getUDSVIN2;
osMessageQueueId_t ccu_candb_error_missing_rx; osMessageQueueId_t ccu_candb_error_missing_rx;
osMessageQueueId_t ccu_candb_time_missing_rx; osMessageQueueId_t ccu_candb_time_missing_rx;

View File

@ -17,6 +17,7 @@
#include "InternalFlashPage.h" #include "InternalFlashPage.h"
#include "BootJump.h" #include "BootJump.h"
#include "MainStack.h" #include "MainStack.h"
#include "VIN_DATA.h"
#define LOG_SIGN "CAN_UDS" #define LOG_SIGN "CAN_UDS"
#define LOGGER env->logger #define LOGGER env->logger
@ -985,6 +986,13 @@ static uint16_t ReadDataByIdentifier_22(tCanUds *env) {
} }
statusData.Status_Activated_Cal_Num.Calibration_Num = g_ucCAL_VARIANT;
statusData.Status_Activated_Cal_Num.Internal_Cal_Ver[0] = g_aucCAL_FP_DATE[0];
statusData.Status_Activated_Cal_Num.Internal_Cal_Ver[1] = g_aucCAL_FP_DATE[1];
statusData.Status_Activated_Cal_Num.Internal_Cal_Ver[2] = g_aucCAL_FP_DATE[2];
statusData.Status_Activated_Cal_Num.Internal_Cal_Ver[3] = g_aucCAL_VERSION[1];
uint16_t response_size = uds_ReadDataByIdentifier_22_com_CF[dataIdentifier_lo].size; uint16_t response_size = uds_ReadDataByIdentifier_22_com_CF[dataIdentifier_lo].size;
env->dataResponse[0] = UDS_ReadDataByIdentifier | 0b1000000; env->dataResponse[0] = UDS_ReadDataByIdentifier | 0b1000000;
@ -1700,22 +1708,68 @@ static uint16_t vUDS_check_Programming_Preconditions(tCanUds *env, eUdsRoutineCo
} }
/**
* Функция проверки корректности адреса.
*
* @param address Проверяемый адрес (например, 0x3030)
* @return true, если адрес присутствует в таблице, иначе false
*/
static bool is_valid_address(uint16_t full_address) {
switch (full_address) {
case 0x3030:
case 0x3031:
case 0x3033:
case 0x3034:
case 0x3035:
case 0x3038:
case 0x3039:
case 0x3041:
case 0x3042:
case 0x3043:
case 0x3132:
case 0x3133:
case 0x3230:
case 0x3231:
case 0x3232:
case 0x3233:
case 0x3237:
case 0x3238:
case 0x3239:
return true;
default:
return false;
}
return false;
}
static uint16_t vUDS_routine_VIN_learn(tCanUds *env, eUdsRoutineControlType udsRoutineControlType) { static uint16_t vUDS_routine_VIN_learn(tCanUds *env, eUdsRoutineControlType udsRoutineControlType) {
if (udsRoutineControlType != UDS_routine_StartRoutine) { if (udsRoutineControlType != UDS_routine_StartRoutine) {
return 0xFF00 | UDS_error_sub_functionNotSupported; return 0xFF00 | UDS_error_sub_functionNotSupported;
} }
bool isVIN = get_CanSpamReceiverUDS(env->canSpamReceiver, env->VIN, SendUpdatePendingRoutine, env, 200, 200); bool isVIN = get_CanSpamReceiverUDS(env->canSpamReceiver, env->VIN, SendUpdatePendingRoutine, env, 100, 400);
if (isVIN) { if (isVIN) {
uint16_t full_address = ((uint16_t)env->VIN[3] << 8) | (uint16_t)env->VIN[4];
if (is_valid_address(full_address)) {
memcpy(statusData.ecu.Vehicle_Identification, env->VIN, 17); memcpy(statusData.ecu.Vehicle_Identification, env->VIN, 17);
SendUpdatePendingRoutine(env); SendUpdatePendingRoutine(env);
SaveToStorageFromStatusData(env->deviceStorage, &statusData.ecu); SaveToStorageFromStatusData(env->deviceStorage, &statusData.ecu);
setVehicleTypeFromVinToCalib(env->deviceStorage->dataParam->device.identification.Vehicle_Identification);
env->dataResponse[4] = UDS_routine_RoutineStartStopSuccess; env->dataResponse[4] = UDS_routine_RoutineStartStopSuccess;
} else {
return 0xFF00 | UDS_error_incorrectMessageLengthOrInvalidFormat;
}
} else { } else {
env->dataResponse[4] = UDS_routine_RoutineStartStopFailure; env->dataResponse[4] = UDS_routine_RoutineStartStopFailure;

View File

@ -10,6 +10,8 @@
*****************************************************************************/ *****************************************************************************/
#include "Rs_Cal_Base.h" #include "Rs_Cal_Base.h"
#pragma GCC push_options
#pragma GCC optimize ("O0")
/****************************************************************************** /******************************************************************************
* MACRO DECLARATIONS * MACRO DECLARATIONS
*****************************************************************************/ *****************************************************************************/
@ -1107,3 +1109,4 @@ SECT_SRAM_CAL tU08 g_aucFRONT_CENT_DRS_PERCENT_AF[12] = { 0};
/****************************************************************************** /******************************************************************************
* EOF * EOF
*****************************************************************************/ *****************************************************************************/
#pragma GCC pop_options

View File

@ -1,4 +1,4 @@
#pragma GCC optimize ("O0")
/** Doxygen: File brief /** Doxygen: File brief
****************************************************************************** ******************************************************************************
* @file Rs_Cal_0_SedanL.c * @file Rs_Cal_0_SedanL.c
@ -11,6 +11,9 @@
*****************************************************************************/ *****************************************************************************/
#include "Rs_Cal_0_SedanL.h" #include "Rs_Cal_0_SedanL.h"
#pragma GCC push_options
#pragma GCC optimize ("O0")
/****************************************************************************** /******************************************************************************
* MACRO DECLARATIONS * MACRO DECLARATIONS
*****************************************************************************/ *****************************************************************************/
@ -1078,12 +1081,12 @@ SECT_VEH_CAL_0 const tU16 c_usAromaPwm_Max_SedanL = 700;
/* ------------------------------------------Aroma Limit Pwm: End*/ /* ------------------------------------------Aroma Limit Pwm: End*/
SECT_VEH_CAL_0 const tS16 c_assPID_COMPRESSOR_SedanL[6] = { 60, 1000, 0, 100, 1, 1}; SECT_VEH_CAL_0 const tS16 c_assPID_COMPRESSOR_SedanL[6] = { 60, 1000, 0, 100, 1, 1};
SECT_VEH_CAL_0 const tS16 c_assPID_VALVE_FRONT_UP_SedanL[6] = { 5, 0, 0, 0, 200, -200 }; SECT_VEH_CAL_0 const tS16 c_assPID_VALVE_FRONT_UP_SedanL[6] = { 10, 6, 0, 1000, 0, 0};
SECT_VEH_CAL_0 const tS16 c_assPID_VALVE_FRONT_LOW_SedanL[6] = { 95, 22, 5, 0, 200, -200 }; SECT_VEH_CAL_0 const tS16 c_assPID_VALVE_FRONT_LOW_SedanL[6] = { 10, 10, 0, 1000, 0, 0 };
SECT_VEH_CAL_0 const tS16 c_assPID2_VALVE_FRONT_SedanL[6] = { 20, 1, 0, 100, 0, 0}; SECT_VEH_CAL_0 const tS16 c_assPID2_VALVE_FRONT_SedanL[6] = { -200, -5, 0, 1000, 0, 0};
SECT_VEH_CAL_0 const tS16 c_assPID_VALVE_REAR_SedanL[6] = { 95, 22, 5, 0, 200, -200 }; SECT_VEH_CAL_0 const tS16 c_assPID_VALVE_REAR_SedanL[6] = { 10, 10, 0, 1000, 0, 0 };
SECT_VEH_CAL_0 const tS16 c_assPID2_VALVE_REAR_SedanL[6] = { 20, 1, 0, 100, 0, 0}; SECT_VEH_CAL_0 const tS16 c_assPID2_VALVE_REAR_SedanL[6] = { -200, -5, 0, 1000, 0, 0};
SECT_VEH_CAL_0 const tS16 c_assPID_VALVE_TG_SedanL[15 ] = {0, 0, 0,7,18,20,30,35,40,45, 50,55, 70, 85, 100}; SECT_VEH_CAL_0 const tS16 c_assPID_VALVE_TG_SedanL[15 ] = {0, 5, 10, 15, 20, 25, 30, 45, 50, 60, 65, 70, 75, 80, 100};
SECT_VEH_CAL_0 const tS16 c_assPID_VALVE_SPEED_SedanL[6] = { 0, 5, 15, 30, 50, 100}; SECT_VEH_CAL_0 const tS16 c_assPID_VALVE_SPEED_SedanL[6] = { 0, 5, 15, 30, 50, 100};
/* ------------------------------------------PID: End*/ /* ------------------------------------------PID: End*/
@ -2192,3 +2195,4 @@ void Rs_Cal_0_SedanL(void)
/****************************************************************************** /******************************************************************************
* EOF * EOF
*****************************************************************************/ *****************************************************************************/
#pragma GCC pop_options

View File

@ -1,4 +1,4 @@
#pragma GCC optimize ("O0") //#pragma GCC optimize ("O0")
/** Doxygen: File brief /** Doxygen: File brief
****************************************************************************** ******************************************************************************
* @file Rs_Cal_1_SedanH.c * @file Rs_Cal_1_SedanH.c
@ -10,7 +10,8 @@
* INCLUDE FILES * INCLUDE FILES
*****************************************************************************/ *****************************************************************************/
#include "Rs_Cal_1_SedanH.h" #include "Rs_Cal_1_SedanH.h"
#pragma GCC push_options
#pragma GCC optimize ("O0")
/****************************************************************************** /******************************************************************************
* MACRO DECLARATIONS * MACRO DECLARATIONS
*****************************************************************************/ *****************************************************************************/
@ -2189,3 +2190,4 @@ void Rs_Cal_1_SedanH(void)
/****************************************************************************** /******************************************************************************
* EOF * EOF
*****************************************************************************/ *****************************************************************************/
#pragma GCC pop_options

View File

@ -1,4 +1,4 @@
#pragma GCC optimize ("O0")
/** Doxygen: File brief /** Doxygen: File brief
****************************************************************************** ******************************************************************************
* @file Rs_Cal_2_Limo.c * @file Rs_Cal_2_Limo.c
@ -11,6 +11,8 @@
*****************************************************************************/ *****************************************************************************/
#include "Rs_Cal_2_Limo.h" #include "Rs_Cal_2_Limo.h"
#pragma GCC push_options
#pragma GCC optimize ("O0")
/****************************************************************************** /******************************************************************************
* MACRO DECLARATIONS * MACRO DECLARATIONS
*****************************************************************************/ *****************************************************************************/
@ -2189,3 +2191,4 @@ void Rs_Cal_2_Limo(void)
/****************************************************************************** /******************************************************************************
* EOF * EOF
*****************************************************************************/ *****************************************************************************/
#pragma GCC pop_options

View File

@ -1,4 +1,4 @@
#pragma GCC optimize ("O0")
/** Doxygen: File brief /** Doxygen: File brief
****************************************************************************** ******************************************************************************
* @file Rs_Cal_3_Suv.c * @file Rs_Cal_3_Suv.c
@ -11,6 +11,8 @@
*****************************************************************************/ *****************************************************************************/
#include "Rs_Cal_3_Suv.h" #include "Rs_Cal_3_Suv.h"
#pragma GCC push_options
#pragma GCC optimize ("O0")
/****************************************************************************** /******************************************************************************
* MACRO DECLARATIONS * MACRO DECLARATIONS
*****************************************************************************/ *****************************************************************************/
@ -2189,3 +2191,4 @@ void Rs_Cal_3_Suv(void)
/****************************************************************************** /******************************************************************************
* EOF * EOF
*****************************************************************************/ *****************************************************************************/
#pragma GCC pop_options

View File

@ -1,4 +1,4 @@
#pragma GCC optimize ("O0")
/** Doxygen: File brief /** Doxygen: File brief
****************************************************************************** ******************************************************************************
* @file Rs_Cal_4_Mpv.c * @file Rs_Cal_4_Mpv.c
@ -11,6 +11,8 @@
*****************************************************************************/ *****************************************************************************/
#include "Rs_Cal_4_Mpv.h" #include "Rs_Cal_4_Mpv.h"
#pragma GCC push_options
#pragma GCC optimize ("O0")
/****************************************************************************** /******************************************************************************
* MACRO DECLARATIONS * MACRO DECLARATIONS
*****************************************************************************/ *****************************************************************************/
@ -2189,3 +2191,4 @@ void Rs_Cal_4_Mpv(void)
/****************************************************************************** /******************************************************************************
* EOF * EOF
*****************************************************************************/ *****************************************************************************/
#pragma GCC pop_options

View File

@ -174,11 +174,11 @@ static void Mma_InitSubSystems(tMma *env) {
setVehicleTypeFromVinToCalib(env->storage.dataParam->device.identification.Vehicle_Identification); setVehicleTypeFromVinToCalib(env->storage.dataParam->device.identification.Vehicle_Identification);
statusData.Status_Activated_Cal_Num.Calibration_Num = g_aucCAL_VERSION[1]; statusData.Status_Activated_Cal_Num.Calibration_Num = g_ucCAL_VARIANT;
statusData.Status_Activated_Cal_Num.Internal_Cal_Ver[0] = g_aucCAL_FP_DATE[0]; statusData.Status_Activated_Cal_Num.Internal_Cal_Ver[0] = g_aucCAL_FP_DATE[0];
statusData.Status_Activated_Cal_Num.Internal_Cal_Ver[1] = g_aucCAL_FP_DATE[1]; statusData.Status_Activated_Cal_Num.Internal_Cal_Ver[1] = g_aucCAL_FP_DATE[1];
statusData.Status_Activated_Cal_Num.Internal_Cal_Ver[2] = g_aucCAL_FP_DATE[2]; statusData.Status_Activated_Cal_Num.Internal_Cal_Ver[2] = g_aucCAL_FP_DATE[2];
statusData.Status_Activated_Cal_Num.Internal_Cal_Ver[3] = g_aucCAL_VERSION[0]; statusData.Status_Activated_Cal_Num.Internal_Cal_Ver[3] = g_aucCAL_VERSION[1];
// Rs_Cal_0_SedanL(); // Rs_Cal_0_SedanL();

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -3,9 +3,9 @@
* *
* Code generated for Simulink model 'HVAC_model'. * Code generated for Simulink model 'HVAC_model'.
* *
* Model version : 1.1673 * Model version : 1.1745
* Simulink Coder version : 24.1 (R2024a) 19-Nov-2023 * Simulink Coder version : 24.1 (R2024a) 19-Nov-2023
* C/C++ source code generated on : Mon Oct 5 16:10:02 2026 * C/C++ source code generated on : Wed Oct 14 15:54:54 2026
* *
* Target selection: ert.tlc * Target selection: ert.tlc
* Embedded hardware selection: ARM Compatible->ARM Cortex-M * Embedded hardware selection: ARM Compatible->ARM Cortex-M
@ -19,27 +19,27 @@
/* Invariant block signals (default storage) */ /* Invariant block signals (default storage) */
const ConstB rtConstB = { const ConstB rtConstB = {
/* Start of '<S2865>/If Action Subsystem1' */ /* Start of '<S2369>/If Action Subsystem1' */
{ {
{ 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U }/* '<S2881>/Data Type Conversion' */ { 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U }/* '<S2385>/Data Type Conversion' */
} }
, ,
/* End of '<S2865>/If Action Subsystem1' */ /* End of '<S2369>/If Action Subsystem1' */
/* Start of '<S2794>/If Action Subsystem1' */ /* Start of '<S2298>/If Action Subsystem1' */
{ {
{ 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U }/* '<S2810>/Data Type Conversion' */ { 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U }/* '<S2314>/Data Type Conversion' */
} }
, ,
/* End of '<S2794>/If Action Subsystem1' */ /* End of '<S2298>/If Action Subsystem1' */
/* Start of '<S2724>/If Action Subsystem1' */ /* Start of '<S2228>/If Action Subsystem1' */
{ {
{ 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U }/* '<S2740>/Data Type Conversion' */ { 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U }/* '<S2244>/Data Type Conversion' */
} }
/* End of '<S2724>/If Action Subsystem1' */ /* End of '<S2228>/If Action Subsystem1' */
}; };
/* Constant parameters (default storage) */ /* Constant parameters (default storage) */
@ -91,98 +91,98 @@ const ConstP rtConstP = {
/* Pooled Parameter (Expression: [17 18 19 20 21 22 23 24 25 26 27 28 29]) /* Pooled Parameter (Expression: [17 18 19 20 21 22 23 24 25 26 27 28 29])
* Referenced by: * Referenced by:
* '<S49>/Âûáîð ðåæèìà Left' * '<S47>/Âûáîð ðåæèìà Left'
* '<S49>/Âûáîð ðåæèìà Right' * '<S47>/Âûáîð ðåæèìà Right'
*/ */
{ 5U, 12U }, { 5U, 12U },
/* Computed Parameter: demistLVLdew_point_diff_maxIndex /* Computed Parameter: demistLVLdew_point_diff_maxIndex
* Referenced by: '<S21>/demist LVL (dew_point_diff)' * Referenced by: '<S19>/demist LVL (dew_point_diff)'
*/ */
{ 120U, 100U }, { 120U, 100U },
/* Pooled Parameter (Expression: [170:10:290]) /* Pooled Parameter (Expression: [170:10:290])
* Referenced by: * Referenced by:
* '<S831>/1-D Lookup Table' * '<S309>/1-D Lookup Table'
* '<S831>/1-D Lookup Table1' * '<S309>/1-D Lookup Table1'
* '<S831>/1-D Lookup Table2' * '<S309>/1-D Lookup Table2'
* '<S831>/1-D Lookup Table3' * '<S309>/1-D Lookup Table3'
* '<S831>/1-D Lookup Table4' * '<S309>/1-D Lookup Table4'
* '<S831>/1-D Lookup Table5' * '<S309>/1-D Lookup Table5'
* '<S833>/1-D Lookup Table' * '<S311>/1-D Lookup Table'
* '<S833>/1-D Lookup Table1' * '<S311>/1-D Lookup Table1'
* '<S833>/1-D Lookup Table2' * '<S311>/1-D Lookup Table2'
* '<S833>/1-D Lookup Table3' * '<S311>/1-D Lookup Table3'
* '<S833>/1-D Lookup Table4' * '<S311>/1-D Lookup Table4'
* '<S833>/1-D Lookup Table5' * '<S311>/1-D Lookup Table5'
* '<S865>/1-D Lookup Table' * '<S343>/1-D Lookup Table'
* '<S865>/1-D Lookup Table1' * '<S343>/1-D Lookup Table1'
* '<S865>/1-D Lookup Table2' * '<S343>/1-D Lookup Table2'
* '<S865>/1-D Lookup Table3' * '<S343>/1-D Lookup Table3'
* '<S865>/1-D Lookup Table4' * '<S343>/1-D Lookup Table4'
* '<S865>/1-D Lookup Table5' * '<S343>/1-D Lookup Table5'
* '<S877>/1-D Lookup Table' * '<S355>/1-D Lookup Table'
* '<S877>/1-D Lookup Table1' * '<S355>/1-D Lookup Table1'
* '<S877>/1-D Lookup Table2' * '<S355>/1-D Lookup Table2'
* '<S877>/1-D Lookup Table3' * '<S355>/1-D Lookup Table3'
* '<S877>/1-D Lookup Table4' * '<S355>/1-D Lookup Table4'
* '<S877>/1-D Lookup Table5' * '<S355>/1-D Lookup Table5'
* '<S889>/1-D Lookup Table' * '<S367>/1-D Lookup Table'
* '<S889>/1-D Lookup Table1' * '<S367>/1-D Lookup Table1'
* '<S889>/1-D Lookup Table2' * '<S367>/1-D Lookup Table2'
* '<S889>/1-D Lookup Table3' * '<S367>/1-D Lookup Table3'
* '<S889>/1-D Lookup Table4' * '<S367>/1-D Lookup Table4'
* '<S889>/1-D Lookup Table5' * '<S367>/1-D Lookup Table5'
* '<S901>/1-D Lookup Table' * '<S379>/1-D Lookup Table'
* '<S901>/1-D Lookup Table1' * '<S379>/1-D Lookup Table1'
* '<S901>/1-D Lookup Table2' * '<S379>/1-D Lookup Table2'
* '<S901>/1-D Lookup Table3' * '<S379>/1-D Lookup Table3'
* '<S901>/1-D Lookup Table4' * '<S379>/1-D Lookup Table4'
* '<S901>/1-D Lookup Table5' * '<S379>/1-D Lookup Table5'
* '<S913>/1-D Lookup Table' * '<S391>/1-D Lookup Table'
* '<S913>/1-D Lookup Table1' * '<S391>/1-D Lookup Table1'
* '<S913>/1-D Lookup Table2' * '<S391>/1-D Lookup Table2'
* '<S913>/1-D Lookup Table3' * '<S391>/1-D Lookup Table3'
* '<S913>/1-D Lookup Table4' * '<S391>/1-D Lookup Table4'
* '<S913>/1-D Lookup Table5' * '<S391>/1-D Lookup Table5'
* '<S937>/1-D Lookup Table' * '<S415>/1-D Lookup Table'
* '<S937>/1-D Lookup Table1' * '<S415>/1-D Lookup Table1'
* '<S937>/1-D Lookup Table2' * '<S415>/1-D Lookup Table2'
* '<S937>/1-D Lookup Table3' * '<S415>/1-D Lookup Table3'
* '<S937>/1-D Lookup Table4' * '<S415>/1-D Lookup Table4'
* '<S937>/1-D Lookup Table5' * '<S415>/1-D Lookup Table5'
* '<S1458>/1-D Lookup Table' * '<S933>/1-D Lookup Table'
* '<S1458>/1-D Lookup Table1' * '<S933>/1-D Lookup Table1'
* '<S1458>/1-D Lookup Table2' * '<S933>/1-D Lookup Table2'
* '<S1458>/1-D Lookup Table3' * '<S933>/1-D Lookup Table3'
* '<S1458>/1-D Lookup Table4' * '<S933>/1-D Lookup Table4'
* '<S1458>/1-D Lookup Table5' * '<S933>/1-D Lookup Table5'
* '<S1470>/1-D Lookup Table' * '<S945>/1-D Lookup Table'
* '<S1470>/1-D Lookup Table1' * '<S945>/1-D Lookup Table1'
* '<S1470>/1-D Lookup Table2' * '<S945>/1-D Lookup Table2'
* '<S1470>/1-D Lookup Table3' * '<S945>/1-D Lookup Table3'
* '<S1470>/1-D Lookup Table4' * '<S945>/1-D Lookup Table4'
* '<S1470>/1-D Lookup Table5' * '<S945>/1-D Lookup Table5'
* '<S1500>/1-D Lookup Table' * '<S975>/1-D Lookup Table'
* '<S1500>/1-D Lookup Table1' * '<S975>/1-D Lookup Table1'
* '<S1500>/1-D Lookup Table2' * '<S975>/1-D Lookup Table2'
* '<S1500>/1-D Lookup Table3' * '<S975>/1-D Lookup Table3'
* '<S1500>/1-D Lookup Table4' * '<S975>/1-D Lookup Table4'
* '<S1500>/1-D Lookup Table5' * '<S975>/1-D Lookup Table5'
* '<S1512>/1-D Lookup Table' * '<S987>/1-D Lookup Table'
* '<S1512>/1-D Lookup Table1' * '<S987>/1-D Lookup Table1'
* '<S1512>/1-D Lookup Table2' * '<S987>/1-D Lookup Table2'
* '<S1512>/1-D Lookup Table3' * '<S987>/1-D Lookup Table3'
* '<S1512>/1-D Lookup Table4' * '<S987>/1-D Lookup Table4'
* '<S1512>/1-D Lookup Table5' * '<S987>/1-D Lookup Table5'
*/ */
{ 170, 180, 190, 200, 210, 220, 230, 240, 250, 260, 270, 280, 290 }, { 170, 180, 190, 200, 210, 220, 230, 240, 250, 260, 270, 280, 290 },
/* Pooled Parameter (Expression: int16([850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 836 818 800 784 769 754 740 727 714 702 691 680 670 659 650 640 631 622 614 606 598 590 583 575 568 561 555 548 542 536 530 524 518 512 507 501 496 491 486 481 476 471 466 462 457 453 448 444 440 436 431 427 423 420 416 412 408 405 401 397 394 390 387 384 380 377 374 370 367 364 361 358 355 352 349 346 343 340 338 335 332 329 327 324 321 319 316 314 311 309 306 304 301 299 297 294 292 289 287 285 283 280 278 276 274 272 269 267 265 263 261 259 257 255 253 251 249 247 245 243 241 239 237 235 234 232 230 228 226 224 223 221 219 217 216 214 212 210 209 207 205 204 202 200 199 197 195 194 192 191 189 187 186 184 183 181 180 178 177 175 174 172 171 169 168 166 165 163 162 161 159 158 156 155 153 152 151 149 148 147 145 144 143 141 140 139 137 136 135 133 132 131 129 128 127 126 124 123 122 121 119 118 117 116 115 113 112 111 110 109 107 106 105 104 103 101 100 99 98 97 96 95 93 92 91 90 89 88 87 86 84 83 82 81 80 79 78 77 76 75 74 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 29 28 27 26 25 24 23 22 21 20 19 18 17 17 16 15 14 13 12 11 10 9 8 8 7 6 5 4 3 2 1 0 0 0 -1 -2 -3 -4 -5 -5 -6 -7 -8 -9 -10 -11 -11 -12 -13 -14 -15 -16 -17 -17 -18 -19 -20 -21 -22 -22 -23 -24 -25 -26 -27 -27 -28 -29 -30 -31 -31 -32 -33 -34 -35 -36 -36 -37 -38 -39 -40 -40 -41 -42 -43 -44 -44 -45 -46 -47 -47 -48 -49 -50 -51 -51 -52 -53 -54 -55 -55 -56 -57 -58 -58 -59 -60 -61 -62 -62 -63 -64 -65 -65 -66 -67 -68 -68 -69 -70 -71 -71 -72 -73 -74 -74 -75 -76 -77 -77 -78 -79 -80 -80 -81 -82 -83 -83 -84 -85 -86 -86 -87 -88 -89 -89 -90 -91 -92 -92 -93 -94 -95 -95 -96 -97 -97 -98 -99 -100 -100 -101 -102 -103 -103 -104 -105 -105 -106 -107 -108 -108 -109 -110 -111 -111 -112 -113 -113 -114 -115 -116 -116 -117 -118 -118 -119 -120 -121 -121 -122 -123 -123 -124 -125 -126 -126 -127 -128 -128 -129 -130 -131 -131 -132 -133 -133 -134 -135 -136 -136 -137 -138 -138 -139 -140 -140 -141 -142 -143 -143 -144 -145 -145 -146 -147 -148 -148 -149 -150 -150 -151 -152 -152 -153 -154 -155 -155 -156 -157 -157 -158 -159 -159 -160 -161 -162 -162 -163 -164 -164 -165 -166 -166 -167 -168 -169 -169 -170 -171 -171 -172 -173 -173 -174 -175 -176 -176 -177 -178 -178 -179 -180 -180 -181 -182 -183 -183 -184 -185 -185 -186 -187 -187 -188 -189 -189 -190 -191 -192 -192 -193 -194 -194 -195 -196 -196 -197 -198 -199 -199 -200 -201 -201 -202 -203 -204 -204 -205 -206 -206 -207 -208 -208 -209 -210 -211 -211 -212 -213 -213 -214 -215 -216 -216 -217 -218 -218 -219 -220 -221 -221 -222 -223 -223 -224 -225 -226 -226 -227 -228 -228 -229 -230 -231 -231 -232 -233 -233 -234 -235 -236 -236 -237 -238 -238 -239 -240 -241 -241 -242 -243 -244 -244 -245 -246 -246 -247 -248 -249 -249 -250 -251 -252 -252 -253 -254 -255 -255 -256 -257 -257 -258 -259 -260 -260 -261 -262 -263 -263 -264 -265 -266 -266 -267 -268 -269 -269 -270 -271 -272 -272 -273 -274 -275 -275 -276 -277 -278 -279 -279 -280 -281 -282 -282 -283 -284 -285 -285 -286 -287 -288 -289 -289 -290 -291 -292 -292 -293 -294 -295 -296 -296 -297 -298 -299 -300 -300 -301 -302 -303 -304 -304 -305 -306 -307 -308 -308 -309 -310 -311 -312 -313 -313 -314 -315 -316 -317 -318 -318 -319 -320 -321 -322 -323 -323 -324 -325 -326 -327 -328 -329 -329 -330 -331 -332 -333 -334 -335 -335 -336 -337 -338 -339 -340 -341 -342 -342 -343 -344 -345 -346 -347 -348 -349 -350 -351 -351 -352 -353 -354 -355 -356 -357 -358 -359 -360 -361 -362 -363 -364 -364 -365 -366 -367 -368 -369 -370 -371 -372 -373 -374 -375 -376 -377 -378 -379 -380 -381 -382 -383 -384 -385 -386 -387 -388 -389 -390 -391 -392 -393 -394 -395 -396 -398 -399 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 /* Pooled Parameter (Expression: int16([850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 836 818 800 784 769 754 740 727 714 702 691 680 670 659 650 640 631 622 614 606 598 590 583 575 568 561 555 548 542 536 530 524 518 512 507 501 496 491 486 481 476 471 466 462 457 453 448 444 440 436 431 427 423 420 416 412 408 405 401 397 394 390 387 384 380 377 374 370 367 364 361 358 355 352 349 346 343 340 338 335 332 329 327 324 321 319 316 314 311 309 306 304 301 299 297 294 292 289 287 285 283 280 278 276 274 272 269 267 265 263 261 259 257 255 253 251 249 247 245 243 241 239 237 235 234 232 230 228 226 224 223 221 219 217 216 214 212 210 209 207 205 204 202 200 199 197 195 194 192 191 189 187 186 184 183 181 180 178 177 175 174 172 171 169 168 166 165 163 162 161 159 158 156 155 153 152 151 149 148 147 145 144 143 141 140 139 137 136 135 133 132 131 129 128 127 126 124 123 122 121 119 118 117 116 115 113 112 111 110 109 107 106 105 104 103 101 100 99 98 97 96 95 93 92 91 90 89 88 87 86 84 83 82 81 80 79 78 77 76 75 74 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 29 28 27 26 25 24 23 22 21 20 19 18 17 17 16 15 14 13 12 11 10 9 8 8 7 6 5 4 3 2 1 0 0 0 -1 -2 -3 -4 -5 -5 -6 -7 -8 -9 -10 -11 -11 -12 -13 -14 -15 -16 -17 -17 -18 -19 -20 -21 -22 -22 -23 -24 -25 -26 -27 -27 -28 -29 -30 -31 -31 -32 -33 -34 -35 -36 -36 -37 -38 -39 -40 -40 -41 -42 -43 -44 -44 -45 -46 -47 -47 -48 -49 -50 -51 -51 -52 -53 -54 -55 -55 -56 -57 -58 -58 -59 -60 -61 -62 -62 -63 -64 -65 -65 -66 -67 -68 -68 -69 -70 -71 -71 -72 -73 -74 -74 -75 -76 -77 -77 -78 -79 -80 -80 -81 -82 -83 -83 -84 -85 -86 -86 -87 -88 -89 -89 -90 -91 -92 -92 -93 -94 -95 -95 -96 -97 -97 -98 -99 -100 -100 -101 -102 -103 -103 -104 -105 -105 -106 -107 -108 -108 -109 -110 -111 -111 -112 -113 -113 -114 -115 -116 -116 -117 -118 -118 -119 -120 -121 -121 -122 -123 -123 -124 -125 -126 -126 -127 -128 -128 -129 -130 -131 -131 -132 -133 -133 -134 -135 -136 -136 -137 -138 -138 -139 -140 -140 -141 -142 -143 -143 -144 -145 -145 -146 -147 -148 -148 -149 -150 -150 -151 -152 -152 -153 -154 -155 -155 -156 -157 -157 -158 -159 -159 -160 -161 -162 -162 -163 -164 -164 -165 -166 -166 -167 -168 -169 -169 -170 -171 -171 -172 -173 -173 -174 -175 -176 -176 -177 -178 -178 -179 -180 -180 -181 -182 -183 -183 -184 -185 -185 -186 -187 -187 -188 -189 -189 -190 -191 -192 -192 -193 -194 -194 -195 -196 -196 -197 -198 -199 -199 -200 -201 -201 -202 -203 -204 -204 -205 -206 -206 -207 -208 -208 -209 -210 -211 -211 -212 -213 -213 -214 -215 -216 -216 -217 -218 -218 -219 -220 -221 -221 -222 -223 -223 -224 -225 -226 -226 -227 -228 -228 -229 -230 -231 -231 -232 -233 -233 -234 -235 -236 -236 -237 -238 -238 -239 -240 -241 -241 -242 -243 -244 -244 -245 -246 -246 -247 -248 -249 -249 -250 -251 -252 -252 -253 -254 -255 -255 -256 -257 -257 -258 -259 -260 -260 -261 -262 -263 -263 -264 -265 -266 -266 -267 -268 -269 -269 -270 -271 -272 -272 -273 -274 -275 -275 -276 -277 -278 -279 -279 -280 -281 -282 -282 -283 -284 -285 -285 -286 -287 -288 -289 -289 -290 -291 -292 -292 -293 -294 -295 -296 -296 -297 -298 -299 -300 -300 -301 -302 -303 -304 -304 -305 -306 -307 -308 -308 -309 -310 -311 -312 -313 -313 -314 -315 -316 -317 -318 -318 -319 -320 -321 -322 -323 -323 -324 -325 -326 -327 -328 -329 -329 -330 -331 -332 -333 -334 -335 -335 -336 -337 -338 -339 -340 -341 -342 -342 -343 -344 -345 -346 -347 -348 -349 -350 -351 -351 -352 -353 -354 -355 -356 -357 -358 -359 -360 -361 -362 -363 -364 -364 -365 -366 -367 -368 -369 -370 -371 -372 -373 -374 -375 -376 -377 -378 -379 -380 -381 -382 -383 -384 -385 -386 -387 -388 -389 -390 -391 -392 -393 -394 -395 -396 -398 -399 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400
])) ]))
* Referenced by: * Referenced by:
* '<S1006>/1-D Lookup Table' * '<S484>/1-D Lookup Table'
* '<S1007>/1-D Lookup Table' * '<S485>/1-D Lookup Table'
*/ */
{ 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, { 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850,
850, 850, 836, 818, 800, 784, 769, 754, 740, 727, 714, 702, 691, 680, 670, 850, 850, 836, 818, 800, 784, 769, 754, 740, 727, 714, 702, 691, 680, 670,
@ -260,60 +260,60 @@ const ConstP rtConstP = {
/* Pooled Parameter (Expression: int16([-50 -40 -30 -20 -10 0 10 20 30 40 50])) /* Pooled Parameter (Expression: int16([-50 -40 -30 -20 -10 0 10 20 30 40 50]))
* Referenced by: * Referenced by:
* '<S1389>/AUTODEMIST_OFFSET_LEFT' * '<S867>/AUTODEMIST_OFFSET_LEFT'
* '<S1389>/AUTODEMIST_OFFSET_RIGHT' * '<S867>/AUTODEMIST_OFFSET_RIGHT'
*/ */
{ -50, -40, -30, -20, -10, 0, 10, 20, 30, 40, 50 }, { -50, -40, -30, -20, -10, 0, 10, 20, 30, 40, 50 },
/* Pooled Parameter (Expression: [0, 25, 50, 100]) /* Pooled Parameter (Expression: [0, 25, 50, 100])
* Referenced by: * Referenced by:
* '<S1389>/FL_AUTODEMIST_OFFSET_VENT_TEMP (percentage)' * '<S867>/FL_AUTODEMIST_OFFSET_VENT_TEMP (percentage)'
* '<S1389>/FR_AUTODEMIST_OFFSET_VENT_TEMP (percentage)' * '<S867>/FR_AUTODEMIST_OFFSET_VENT_TEMP (percentage)'
*/ */
{ 0, 25, 50, 100 }, { 0, 25, 50, 100 },
/* Pooled Parameter (Expression: [170, 180, 190, 200]) /* Pooled Parameter (Expression: [170, 180, 190, 200])
* Referenced by: * Referenced by:
* '<S1389>/FL_AUTODEMIST_OFFSET_VENT_TEMP (percentage)' * '<S867>/FL_AUTODEMIST_OFFSET_VENT_TEMP (percentage)'
* '<S1389>/FR_AUTODEMIST_OFFSET_VENT_TEMP (percentage)' * '<S867>/FR_AUTODEMIST_OFFSET_VENT_TEMP (percentage)'
*/ */
{ 170, 180, 190, 200 }, { 170, 180, 190, 200 },
/* Pooled Parameter (Expression: [5, 4, 3, 2, 1, 0]) /* Pooled Parameter (Expression: [5, 4, 3, 2, 1, 0])
* Referenced by: * Referenced by:
* '<S48>/1-D Lookup Table' * '<S46>/1-D Lookup Table'
* '<S2579>/Get LVL for temp' * '<S2056>/Get LVL for temp'
*/ */
{ 5, 4, 3, 2, 1, 0 }, { 5, 4, 3, 2, 1, 0 },
/* Computed Parameter: GetLVLfortemp_bp01Data /* Computed Parameter: GetLVLfortemp_bp01Data
* Referenced by: '<S2579>/Get LVL for temp' * Referenced by: '<S2056>/Get LVL for temp'
*/ */
{ -1000, -50, -10, 5, 20, 65 }, { -1000, -50, -10, 5, 20, 65 },
/* Computed Parameter: Max_Def_U_Dtg_bp01Data /* Computed Parameter: Max_Def_U_Dtg_bp01Data
* Referenced by: '<S2940>/Max_Def_U_Dtg' * Referenced by: '<S2444>/Max_Def_U_Dtg'
*/ */
{ -30, -20, -10, 0, 10, 20, 30, 40, 50, 60 }, { -300, -200, -100, 0, 100, 200, 300, 400, 500, 600 },
/* Expression: int16([-10,0, 20, 50, 60, 70]) /* Expression: int16([-10,0, 20, 50, 60, 70])
* Referenced by: '<S2940>/Max_blower_speed' * Referenced by: '<S2444>/Max_blower_speed'
*/ */
{ -10, 0, 20, 50, 60, 70 }, { -10, 0, 20, 50, 60, 70 },
/* Pooled Parameter (Expression: [0;1;2;3;4;5]) /* Pooled Parameter (Expression: [0;1;2;3;4;5])
* Referenced by: * Referenced by:
* '<S49>/Âûáîð ðåæèìà Left' * '<S47>/Âûáîð ðåæèìà Left'
* '<S49>/Âûáîð ðåæèìà Right' * '<S47>/Âûáîð ðåæèìà Right'
*/ */
{ 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29 }, { 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29 },
/* Pooled Parameter (Expression: Incar_Temp_Table) /* Pooled Parameter (Expression: Incar_Temp_Table)
* Referenced by: * Referenced by:
* '<S1303>/1-D Lookup Table2' * '<S781>/1-D Lookup Table2'
* '<S1304>/1-D Lookup Table4' * '<S782>/1-D Lookup Table4'
* '<S1305>/1-D Lookup Table1' * '<S783>/1-D Lookup Table1'
* '<S1306>/1-D Lookup Table3' * '<S784>/1-D Lookup Table3'
*/ */
{ 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, { 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850,
837, 816, 797, 780, 763, 748, 733, 719, 706, 693, 681, 670, 659, 648, 638, 837, 816, 797, 780, 763, 748, 733, 719, 706, 693, 681, 670, 659, 648, 638,
@ -391,9 +391,9 @@ const ConstP rtConstP = {
/* Pooled Parameter (Mixed Expressions) /* Pooled Parameter (Mixed Expressions)
* Referenced by: * Referenced by:
* '<S1024>/1-D Lookup Table7' * '<S508>/1-D Lookup Table4'
* '<S1031>/1-D Lookup Table4' * '<S509>/1-D Lookup Table7'
* '<S1304>/1-D Lookup Table4' * '<S782>/1-D Lookup Table4'
*/ */
{ 0, 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 48, 52, 56, 60, 64, 68, 72, 76, { 0, 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 48, 52, 56, 60, 64, 68, 72, 76,
80, 84, 88, 92, 96, 100, 104, 108, 112, 116, 120, 124, 128, 132, 136, 140, 80, 84, 88, 92, 96, 100, 104, 108, 112, 116, 120, 124, 128, 132, 136, 140,
@ -474,8 +474,8 @@ const ConstP rtConstP = {
/* Pooled Parameter (Expression: int16([850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 848 845 841 838 834 831 827 824 821 818 814 811 808 805 802 799 796 793 790 787 784 781 778 775 772 769 767 764 761 758 756 753 750 748 745 742 740 737 735 732 730 727 725 722 720 717 715 713 710 708 706 703 701 699 696 694 692 690 688 685 683 681 679 677 675 673 670 668 666 664 662 660 658 656 654 652 650 648 646 644 642 640 638 637 635 633 631 629 627 625 624 622 620 618 616 614 613 611 609 607 606 604 602 600 599 597 595 594 592 590 589 587 585 584 582 580 579 577 576 574 572 571 569 568 566 564 563 561 560 558 557 555 554 552 551 549 548 546 545 543 542 540 539 537 536 534 533 532 530 529 527 526 524 523 522 520 519 517 516 515 513 512 511 509 508 507 505 504 503 501 500 499 497 496 495 493 492 491 489 488 487 485 484 483 482 480 479 478 477 475 474 473 472 470 469 468 467 465 464 463 462 460 459 458 457 456 454 453 452 451 450 448 447 446 445 444 442 441 440 439 438 437 435 434 433 432 431 430 429 427 426 425 424 423 422 421 420 418 417 416 415 414 413 412 411 410 408 407 406 405 404 403 402 401 400 399 398 396 395 394 393 392 391 390 389 388 387 386 385 384 383 382 381 380 378 377 376 375 374 373 372 371 370 369 368 367 366 365 364 363 362 361 360 359 358 357 356 355 354 353 352 351 350 349 348 347 346 345 344 343 342 341 340 339 338 337 336 335 334 333 332 331 330 329 328 327 326 325 324 324 323 322 321 320 319 318 317 316 315 314 313 312 311 310 309 308 307 306 305 305 304 303 302 301 300 299 298 297 296 295 294 293 292 291 291 290 289 288 287 286 285 284 283 282 281 280 279 279 278 277 276 275 274 273 272 271 270 269 268 268 267 266 265 264 263 262 261 260 259 259 258 257 256 255 254 253 252 251 250 250 249 248 247 246 245 244 243 242 241 241 240 239 238 237 236 235 234 233 233 232 231 230 229 228 227 226 225 224 224 223 222 221 220 219 218 217 217 216 215 214 213 212 211 210 209 209 208 207 206 205 204 203 202 201 201 200 199 198 197 196 195 194 194 193 192 191 190 189 188 187 186 186 185 184 183 182 181 180 179 179 178 177 176 175 174 173 172 171 171 170 169 168 167 166 165 164 163 163 162 161 160 159 158 157 156 155 155 154 153 152 151 150 149 148 147 147 146 145 144 143 142 141 140 139 139 138 137 136 135 134 133 132 131 130 130 129 128 127 126 125 124 123 122 121 121 120 119 118 117 116 115 114 113 112 112 111 110 109 108 107 106 105 104 103 102 101 101 100 99 98 97 96 95 94 93 92 91 90 89 88 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 3 2 1 0 0 -1 -2 -3 -4 -5 -6 -7 -9 -10 -11 -12 -13 -14 -15 -16 -17 -19 -20 -21 -22 -23 -24 -25 -26 -28 -29 -30 -31 -32 -33 -34 -36 -37 -38 -39 -40 -42 -43 -44 -45 -46 -47 -49 -50 -51 -52 -54 -55 -56 -57 -58 -60 -61 -62 -63 -65 -66 -67 -68 -70 -71 -72 -74 -75 -76 -77 -79 -80 -81 -83 -84 -85 -87 -88 -89 -91 -92 -93 -95 -96 -98 -99 -100 -102 -103 -105 -106 -108 -109 -110 -112 -113 -115 -116 -118 -119 -121 -122 -124 -125 -127 -128 -130 -131 -133 -134 -136 -138 -139 -141 -142 -144 -146 -147 -149 -151 -152 -154 -156 -157 -159 -161 -162 -164 -166 -168 -169 -171 -173 -175 -177 -179 -180 -182 -184 -186 -188 -190 -192 -194 -196 -198 -200 -202 -204 -206 -208 -210 -212 -214 -216 -218 -221 -223 -225 -227 -229 -232 -234 -236 -239 -241 -243 -246 -248 -251 -253 -256 -258 -261 -264 -266 -269 -272 -275 -277 -280 -283 -286 -289 -292 -295 -298 -301 -304 -308 -311 -314 -318 -321 -325 -328 -332 -336 -339 -343 -347 -351 -355 -359 -364 -368 -373 -377 -382 -387 -392 -397 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400])) /* Pooled Parameter (Expression: int16([850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 848 845 841 838 834 831 827 824 821 818 814 811 808 805 802 799 796 793 790 787 784 781 778 775 772 769 767 764 761 758 756 753 750 748 745 742 740 737 735 732 730 727 725 722 720 717 715 713 710 708 706 703 701 699 696 694 692 690 688 685 683 681 679 677 675 673 670 668 666 664 662 660 658 656 654 652 650 648 646 644 642 640 638 637 635 633 631 629 627 625 624 622 620 618 616 614 613 611 609 607 606 604 602 600 599 597 595 594 592 590 589 587 585 584 582 580 579 577 576 574 572 571 569 568 566 564 563 561 560 558 557 555 554 552 551 549 548 546 545 543 542 540 539 537 536 534 533 532 530 529 527 526 524 523 522 520 519 517 516 515 513 512 511 509 508 507 505 504 503 501 500 499 497 496 495 493 492 491 489 488 487 485 484 483 482 480 479 478 477 475 474 473 472 470 469 468 467 465 464 463 462 460 459 458 457 456 454 453 452 451 450 448 447 446 445 444 442 441 440 439 438 437 435 434 433 432 431 430 429 427 426 425 424 423 422 421 420 418 417 416 415 414 413 412 411 410 408 407 406 405 404 403 402 401 400 399 398 396 395 394 393 392 391 390 389 388 387 386 385 384 383 382 381 380 378 377 376 375 374 373 372 371 370 369 368 367 366 365 364 363 362 361 360 359 358 357 356 355 354 353 352 351 350 349 348 347 346 345 344 343 342 341 340 339 338 337 336 335 334 333 332 331 330 329 328 327 326 325 324 324 323 322 321 320 319 318 317 316 315 314 313 312 311 310 309 308 307 306 305 305 304 303 302 301 300 299 298 297 296 295 294 293 292 291 291 290 289 288 287 286 285 284 283 282 281 280 279 279 278 277 276 275 274 273 272 271 270 269 268 268 267 266 265 264 263 262 261 260 259 259 258 257 256 255 254 253 252 251 250 250 249 248 247 246 245 244 243 242 241 241 240 239 238 237 236 235 234 233 233 232 231 230 229 228 227 226 225 224 224 223 222 221 220 219 218 217 217 216 215 214 213 212 211 210 209 209 208 207 206 205 204 203 202 201 201 200 199 198 197 196 195 194 194 193 192 191 190 189 188 187 186 186 185 184 183 182 181 180 179 179 178 177 176 175 174 173 172 171 171 170 169 168 167 166 165 164 163 163 162 161 160 159 158 157 156 155 155 154 153 152 151 150 149 148 147 147 146 145 144 143 142 141 140 139 139 138 137 136 135 134 133 132 131 130 130 129 128 127 126 125 124 123 122 121 121 120 119 118 117 116 115 114 113 112 112 111 110 109 108 107 106 105 104 103 102 101 101 100 99 98 97 96 95 94 93 92 91 90 89 88 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 3 2 1 0 0 -1 -2 -3 -4 -5 -6 -7 -9 -10 -11 -12 -13 -14 -15 -16 -17 -19 -20 -21 -22 -23 -24 -25 -26 -28 -29 -30 -31 -32 -33 -34 -36 -37 -38 -39 -40 -42 -43 -44 -45 -46 -47 -49 -50 -51 -52 -54 -55 -56 -57 -58 -60 -61 -62 -63 -65 -66 -67 -68 -70 -71 -72 -74 -75 -76 -77 -79 -80 -81 -83 -84 -85 -87 -88 -89 -91 -92 -93 -95 -96 -98 -99 -100 -102 -103 -105 -106 -108 -109 -110 -112 -113 -115 -116 -118 -119 -121 -122 -124 -125 -127 -128 -130 -131 -133 -134 -136 -138 -139 -141 -142 -144 -146 -147 -149 -151 -152 -154 -156 -157 -159 -161 -162 -164 -166 -168 -169 -171 -173 -175 -177 -179 -180 -182 -184 -186 -188 -190 -192 -194 -196 -198 -200 -202 -204 -206 -208 -210 -212 -214 -216 -218 -221 -223 -225 -227 -229 -232 -234 -236 -239 -241 -243 -246 -248 -251 -253 -256 -258 -261 -264 -266 -269 -272 -275 -277 -280 -283 -286 -289 -292 -295 -298 -301 -304 -308 -311 -314 -318 -321 -325 -328 -332 -336 -339 -343 -347 -351 -355 -359 -364 -368 -373 -377 -382 -387 -392 -397 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400]))
* Referenced by: * Referenced by:
* '<S1024>/1-D Lookup Table7' * '<S508>/1-D Lookup Table4'
* '<S1031>/1-D Lookup Table4' * '<S509>/1-D Lookup Table7'
*/ */
{ 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, { 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850,
850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850,
@ -548,7 +548,7 @@ const ConstP rtConstP = {
-400, -400, -400 }, -400, -400, -400 },
/* Expression: dewpoint_diff_table /* Expression: dewpoint_diff_table
* Referenced by: '<S21>/demist LVL (dew_point_diff)' * Referenced by: '<S19>/demist LVL (dew_point_diff)'
*/ */
{ 74, 75, 75, 76, 77, 77, 78, 79, 80, 80, 81, 82, 83, 83, 84, 85, 86, 87, 87, { 74, 75, 75, 76, 77, 77, 78, 79, 80, 80, 81, 82, 83, 83, 84, 85, 86, 87, 87,
88, 89, 90, 91, 91, 92, 93, 94, 95, 95, 96, 97, 98, 99, 99, 100, 101, 102, 88, 89, 90, 91, 91, 92, 93, 94, 95, 95, 96, 97, 98, 99, 99, 100, 101, 102,
@ -1253,7 +1253,7 @@ const ConstP rtConstP = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
/* Expression: temp_values /* Expression: temp_values
* Referenced by: '<S21>/demist LVL (dew_point_diff)' * Referenced by: '<S19>/demist LVL (dew_point_diff)'
*/ */
{ -40, -39, -38, -37, -36, -35, -34, -33, -32, -31, -30, -29, -28, -27, -26, { -40, -39, -38, -37, -36, -35, -34, -33, -32, -31, -30, -29, -28, -27, -26,
-25, -24, -23, -22, -21, -20, -19, -18, -17, -16, -15, -14, -13, -12, -11, -25, -24, -23, -22, -21, -20, -19, -18, -17, -16, -15, -14, -13, -12, -11,
@ -1264,7 +1264,7 @@ const ConstP rtConstP = {
68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80 }, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80 },
/* Expression: hum_values /* Expression: hum_values
* Referenced by: '<S21>/demist LVL (dew_point_diff)' * Referenced by: '<S19>/demist LVL (dew_point_diff)'
*/ */
{ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21,
22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40,
@ -1275,67 +1275,67 @@ const ConstP rtConstP = {
/* Pooled Parameter (Expression: [170:10:290]) /* Pooled Parameter (Expression: [170:10:290])
* Referenced by: * Referenced by:
* '<S832>/1-D Lookup Table' * '<S310>/1-D Lookup Table'
* '<S832>/1-D Lookup Table1' * '<S310>/1-D Lookup Table1'
* '<S832>/1-D Lookup Table2' * '<S310>/1-D Lookup Table2'
* '<S832>/1-D Lookup Table3' * '<S310>/1-D Lookup Table3'
* '<S832>/1-D Lookup Table4' * '<S310>/1-D Lookup Table4'
* '<S832>/1-D Lookup Table5' * '<S310>/1-D Lookup Table5'
* '<S834>/1-D Lookup Table' * '<S312>/1-D Lookup Table'
* '<S834>/1-D Lookup Table1' * '<S312>/1-D Lookup Table1'
* '<S834>/1-D Lookup Table2' * '<S312>/1-D Lookup Table2'
* '<S834>/1-D Lookup Table3' * '<S312>/1-D Lookup Table3'
* '<S834>/1-D Lookup Table4' * '<S312>/1-D Lookup Table4'
* '<S834>/1-D Lookup Table5' * '<S312>/1-D Lookup Table5'
* '<S835>/1-D Lookup Table' * '<S313>/1-D Lookup Table'
* '<S835>/1-D Lookup Table1' * '<S313>/1-D Lookup Table1'
* '<S835>/1-D Lookup Table2' * '<S313>/1-D Lookup Table2'
* '<S835>/1-D Lookup Table3' * '<S313>/1-D Lookup Table3'
* '<S835>/1-D Lookup Table4' * '<S313>/1-D Lookup Table4'
* '<S835>/1-D Lookup Table5' * '<S313>/1-D Lookup Table5'
* '<S844>/1-D Lookup Table' * '<S322>/1-D Lookup Table'
* '<S844>/1-D Lookup Table1' * '<S322>/1-D Lookup Table1'
* '<S844>/1-D Lookup Table2' * '<S322>/1-D Lookup Table2'
* '<S844>/1-D Lookup Table3' * '<S322>/1-D Lookup Table3'
* '<S844>/1-D Lookup Table4' * '<S322>/1-D Lookup Table4'
* '<S844>/1-D Lookup Table5' * '<S322>/1-D Lookup Table5'
* '<S2690>/1-D Lookup Table' * '<S2193>/1-D Lookup Table'
* '<S2692>/1-D Lookup Table1' * '<S2195>/1-D Lookup Table1'
* '<S1454>/1-D Lookup Table10' * '<S929>/1-D Lookup Table10'
* '<S1454>/1-D Lookup Table11' * '<S929>/1-D Lookup Table11'
* '<S1454>/1-D Lookup Table6' * '<S929>/1-D Lookup Table6'
* '<S1454>/1-D Lookup Table7' * '<S929>/1-D Lookup Table7'
* '<S1454>/1-D Lookup Table8' * '<S929>/1-D Lookup Table8'
* '<S1454>/1-D Lookup Table9' * '<S929>/1-D Lookup Table9'
* '<S1455>/1-D Lookup Table10' * '<S930>/1-D Lookup Table10'
* '<S1455>/1-D Lookup Table11' * '<S930>/1-D Lookup Table11'
* '<S1455>/1-D Lookup Table6' * '<S930>/1-D Lookup Table6'
* '<S1455>/1-D Lookup Table7' * '<S930>/1-D Lookup Table7'
* '<S1455>/1-D Lookup Table8' * '<S930>/1-D Lookup Table8'
* '<S1455>/1-D Lookup Table9' * '<S930>/1-D Lookup Table9'
* '<S1498>/1-D Lookup Table10' * '<S973>/1-D Lookup Table10'
* '<S1498>/1-D Lookup Table11' * '<S973>/1-D Lookup Table11'
* '<S1498>/1-D Lookup Table6' * '<S973>/1-D Lookup Table6'
* '<S1498>/1-D Lookup Table7' * '<S973>/1-D Lookup Table7'
* '<S1498>/1-D Lookup Table8' * '<S973>/1-D Lookup Table8'
* '<S1498>/1-D Lookup Table9' * '<S973>/1-D Lookup Table9'
* '<S1499>/1-D Lookup Table1' * '<S974>/1-D Lookup Table1'
* '<S1499>/1-D Lookup Table12' * '<S974>/1-D Lookup Table12'
* '<S1499>/1-D Lookup Table2' * '<S974>/1-D Lookup Table2'
* '<S1499>/1-D Lookup Table3' * '<S974>/1-D Lookup Table3'
* '<S1499>/1-D Lookup Table4' * '<S974>/1-D Lookup Table4'
* '<S1499>/1-D Lookup Table5' * '<S974>/1-D Lookup Table5'
*/ */
{ 170U, 180U, 190U, 200U, 210U, 220U, 230U, 240U, 250U, 260U, 270U, 280U, 290U { 170U, 180U, 190U, 200U, 210U, 220U, 230U, 240U, 250U, 260U, 270U, 280U, 290U
}, },
/* Pooled Parameter (Expression: int16([0:4:4092])) /* Pooled Parameter (Expression: int16([0:4:4092]))
* Referenced by: * Referenced by:
* '<S1006>/1-D Lookup Table' * '<S484>/1-D Lookup Table'
* '<S1007>/1-D Lookup Table' * '<S485>/1-D Lookup Table'
* '<S1303>/1-D Lookup Table2' * '<S781>/1-D Lookup Table2'
* '<S1305>/1-D Lookup Table1' * '<S783>/1-D Lookup Table1'
* '<S1306>/1-D Lookup Table3' * '<S784>/1-D Lookup Table3'
*/ */
{ 0U, 4U, 8U, 12U, 16U, 20U, 24U, 28U, 32U, 36U, 40U, 44U, 48U, 52U, 56U, 60U, { 0U, 4U, 8U, 12U, 16U, 20U, 24U, 28U, 32U, 36U, 40U, 44U, 48U, 52U, 56U, 60U,
64U, 68U, 72U, 76U, 80U, 84U, 88U, 92U, 96U, 100U, 104U, 108U, 112U, 116U, 64U, 68U, 72U, 76U, 80U, 84U, 88U, 92U, 96U, 100U, 104U, 108U, 112U, 116U,
@ -1428,130 +1428,130 @@ const ConstP rtConstP = {
4036U, 4040U, 4044U, 4048U, 4052U, 4056U, 4060U, 4064U, 4068U, 4072U, 4076U, 4036U, 4040U, 4044U, 4048U, 4052U, 4056U, 4060U, 4064U, 4068U, 4072U, 4076U,
4080U, 4084U, 4088U, 4092U }, 4080U, 4084U, 4088U, 4092U },
/* Computed Parameter: FRONT_HVAC_LIMITED_tableData
* Referenced by: '<S1395>/FRONT_HVAC_LIMITED'
*/
{ 1000U, 1000U, 800U, 600U, 400U, 200U },
/* Pooled Parameter (Expression: [0, 1, 2, 3, 4, 5])
* Referenced by:
* '<S1395>/FRONT_HVAC_LIMITED'
* '<S1395>/REAR_HVAC_LIMITED'
*/
{ 0U, 1U, 2U, 3U, 4U, 5U },
/* Computed Parameter: REAR_HVAC_LIMITED_tableData
* Referenced by: '<S1395>/REAR_HVAC_LIMITED'
*/
{ 1000U, 1000U, 800U, 600U, 400U, 0U },
/* Computed Parameter: uDLookupTable1_bp01Data /* Computed Parameter: uDLookupTable1_bp01Data
* Referenced by: '<S2646>/1-D Lookup Table1' * Referenced by: '<S2123>/1-D Lookup Table1'
*/ */
{ 10U, 50U }, { 10U, 50U },
/* Pooled Parameter (Expression: [1050 1250 1175 1195 1315 1300 1485 1440 1195]) /* Pooled Parameter (Expression: [1050 1250 1175 1195 1315 1300 1485 1440 1195])
* Referenced by: * Referenced by:
* '<Root>/Data Store Memory121' * '<Root>/Data Store Memory121'
* '<S2720>/ACT1' * '<S2224>/ACT1'
*/ */
{ 1050U, 1250U, 1175U, 1195U, 1315U, 1300U, 1485U, 1440U, 1195U }, { 1050U, 1250U, 1175U, 1195U, 1315U, 1300U, 1485U, 1440U, 1195U },
/* Computed Parameter: ACT1_Value /* Computed Parameter: ACT1_Value
* Referenced by: '<S2790>/ACT1' * Referenced by: '<S2294>/ACT1'
*/ */
{ 1225U, 1320U, 1270U, 1540U, 1480U, 1175U }, { 1225U, 1320U, 1270U, 1540U, 1480U, 1175U },
/* Computed Parameter: ACT1_Value_m /* Computed Parameter: ACT1_Value_m
* Referenced by: '<S2861>/ACT1' * Referenced by: '<S2365>/ACT1'
*/ */
{ 3075U, 3075U, 1605U, 1840U, 1650U, 1635U, 1820U, 1650U }, { 3075U, 3075U, 1605U, 1840U, 1650U, 1635U, 1820U, 1650U },
/* Computed Parameter: FRONT_HVAC_LIMITED_tableData
* Referenced by: '<S2476>/FRONT_HVAC_LIMITED'
*/
{ 1000U, 1000U, 800U, 600U, 400U, 200U },
/* Pooled Parameter (Expression: [0, 1, 2, 3, 4, 5])
* Referenced by:
* '<S2476>/FRONT_HVAC_LIMITED'
* '<S2476>/REAR_HVAC_LIMITED'
*/
{ 0U, 1U, 2U, 3U, 4U, 5U },
/* Computed Parameter: REAR_HVAC_LIMITED_tableData
* Referenced by: '<S2476>/REAR_HVAC_LIMITED'
*/
{ 1000U, 1000U, 800U, 600U, 400U, 0U },
/* Pooled Parameter (Expression: [60 60 60 60 100 100 100 100 0]) /* Pooled Parameter (Expression: [60 60 60 60 100 100 100 100 0])
* Referenced by: * Referenced by:
* '<S3011>/Constant' * '<S2528>/Constant'
* '<S3106>/Constant' * '<S2623>/Constant'
*/ */
{ 60U, 60U, 60U, 60U, 100U, 100U, 100U, 100U, 0U }, { 60U, 60U, 60U, 60U, 100U, 100U, 100U, 100U, 0U },
/* Pooled Parameter (Expression: [60 60 60 60 100 0 100 0 0]) /* Pooled Parameter (Expression: [60 60 60 60 100 0 100 0 0])
* Referenced by: * Referenced by:
* '<S3012>/Constant' * '<S2529>/Constant'
* '<S3107>/Constant' * '<S2624>/Constant'
*/ */
{ 60U, 60U, 60U, 60U, 100U, 0U, 100U, 0U, 0U }, { 60U, 60U, 60U, 60U, 100U, 0U, 100U, 0U, 0U },
/* Pooled Parameter (Expression: [60 60 60 60 100 100 100 100 100]) /* Pooled Parameter (Expression: [60 60 60 60 100 100 100 100 100])
* Referenced by: * Referenced by:
* '<S3020>/Constant' * '<S2537>/Constant'
* '<S3029>/Constant' * '<S2546>/Constant'
* '<S3115>/Constant' * '<S2632>/Constant'
* '<S3124>/Constant' * '<S2641>/Constant'
*/ */
{ 60U, 60U, 60U, 60U, 100U, 100U, 100U, 100U, 100U }, { 60U, 60U, 60U, 60U, 100U, 100U, 100U, 100U, 100U },
/* Pooled Parameter (Expression: [60 60 60 60 100 0 100 0 50]) /* Pooled Parameter (Expression: [60 60 60 60 100 0 100 0 50])
* Referenced by: * Referenced by:
* '<S3021>/Constant' * '<S2538>/Constant'
* '<S3116>/Constant' * '<S2633>/Constant'
*/ */
{ 60U, 60U, 60U, 60U, 100U, 0U, 100U, 0U, 50U }, { 60U, 60U, 60U, 60U, 100U, 0U, 100U, 0U, 50U },
/* Pooled Parameter (Expression: [60 60 60 60 100 0 100 0 100]) /* Pooled Parameter (Expression: [60 60 60 60 100 0 100 0 100])
* Referenced by: * Referenced by:
* '<S3030>/Constant' * '<S2547>/Constant'
* '<S3125>/Constant' * '<S2642>/Constant'
*/ */
{ 60U, 60U, 60U, 60U, 100U, 0U, 100U, 0U, 100U }, { 60U, 60U, 60U, 60U, 100U, 0U, 100U, 0U, 100U },
/* Pooled Parameter (Expression: [100 100 100 100 20 0 20 0]) /* Pooled Parameter (Expression: [100 100 100 100 20 0 20 0])
* Referenced by: * Referenced by:
* '<S3057>/Constant' * '<S2574>/Constant'
* '<S3066>/Constant' * '<S2583>/Constant'
* '<S3075>/Constant' * '<S2592>/Constant'
* '<S3152>/Constant' * '<S2669>/Constant'
* '<S3161>/Constant' * '<S2678>/Constant'
* '<S3170>/Constant' * '<S2687>/Constant'
*/ */
{ 100U, 100U, 100U, 100U, 20U, 0U, 20U, 0U }, { 100U, 100U, 100U, 100U, 20U, 0U, 20U, 0U },
/* Pooled Parameter (Expression: [100 100 100 100 20 20]) /* Pooled Parameter (Expression: [100 100 100 100 20 20])
* Referenced by: * Referenced by:
* '<S3058>/Constant' * '<S2575>/Constant'
* '<S3067>/Constant' * '<S2584>/Constant'
* '<S3076>/Constant' * '<S2593>/Constant'
* '<S3153>/Constant' * '<S2670>/Constant'
* '<S3162>/Constant' * '<S2679>/Constant'
* '<S3171>/Constant' * '<S2688>/Constant'
*/ */
{ 100U, 100U, 100U, 100U, 20U, 20U }, { 100U, 100U, 100U, 100U, 20U, 20U },
/* Pooled Parameter (Expression: [70 40 40 70 100 100]) /* Pooled Parameter (Expression: [70 40 40 70 100 100])
* Referenced by: * Referenced by:
* '<S3199>/Constant' * '<S2716>/Constant'
* '<S3205>/Constant' * '<S2722>/Constant'
* '<S3211>/Constant' * '<S2728>/Constant'
* '<S3245>/Constant' * '<S2762>/Constant'
* '<S3251>/Constant' * '<S2768>/Constant'
* '<S3257>/Constant' * '<S2774>/Constant'
*/ */
{ 70U, 40U, 40U, 70U, 100U, 100U }, { 70U, 40U, 40U, 70U, 100U, 100U },
/* Pooled Parameter (Expression: [100 100 100 100 0 0]) /* Pooled Parameter (Expression: [100 100 100 100 0 0])
* Referenced by: * Referenced by:
* '<S3221>/Constant' * '<S2738>/Constant'
* '<S3227>/Constant' * '<S2744>/Constant'
* '<S3233>/Constant' * '<S2750>/Constant'
* '<S3267>/Constant' * '<S2784>/Constant'
* '<S3273>/Constant' * '<S2790>/Constant'
* '<S3279>/Constant' * '<S2796>/Constant'
*/ */
{ 100U, 100U, 100U, 100U, 0U, 0U }, { 100U, 100U, 100U, 100U, 0U, 0U },
/* Pooled Parameter (Expression: [0 0 100 100 0]) /* Pooled Parameter (Expression: [0 0 100 100 0])
* Referenced by: * Referenced by:
* '<S3235>/Constant' * '<S2752>/Constant'
* '<S3281>/Constant' * '<S2798>/Constant'
*/ */
{ 0U, 0U, 100U, 100U, 0U }, { 0U, 0U, 100U, 100U, 0U },
@ -1567,82 +1567,82 @@ const ConstP rtConstP = {
/* Pooled Parameter (Expression: [1:7]) /* Pooled Parameter (Expression: [1:7])
* Referenced by: * Referenced by:
* '<S290>/1-D Lookup Table3' * '<S288>/1-D Lookup Table3'
* '<S290>/1-D Lookup Table4' * '<S288>/1-D Lookup Table4'
* '<S290>/1-D Lookup Table5' * '<S288>/1-D Lookup Table5'
*/ */
{ 1U, 2U, 3U, 4U, 5U, 6U, 7U }, { 1U, 2U, 3U, 4U, 5U, 6U, 7U },
/* Pooled Parameter (Expression: [0:7]) /* Pooled Parameter (Expression: [0:7])
* Referenced by: * Referenced by:
* '<S290>/1-D Lookup Table' * '<S288>/1-D Lookup Table'
* '<S290>/1-D Lookup Table1' * '<S288>/1-D Lookup Table1'
* '<S290>/1-D Lookup Table2' * '<S288>/1-D Lookup Table2'
*/ */
{ 0U, 1U, 2U, 3U, 4U, 5U, 6U, 7U }, { 0U, 1U, 2U, 3U, 4U, 5U, 6U, 7U },
/* Pooled Parameter (Expression: [0:6]) /* Pooled Parameter (Expression: [0:6])
* Referenced by: * Referenced by:
* '<S293>/1-D Lookup Table' * '<S291>/1-D Lookup Table'
* '<S294>/1-D Lookup Table' * '<S292>/1-D Lookup Table'
*/ */
{ 0U, 1U, 2U, 3U, 4U, 5U, 6U }, { 0U, 1U, 2U, 3U, 4U, 5U, 6U },
/* Pooled Parameter (Expression: [10:10:110]) /* Pooled Parameter (Expression: [10:10:110])
* Referenced by: * Referenced by:
* '<S294>/1-D Lookup Table1'
* '<S294>/1-D Lookup Table2'
* '<S295>/1-D Lookup Table1'
* '<S295>/1-D Lookup Table2'
* '<S296>/1-D Lookup Table1' * '<S296>/1-D Lookup Table1'
* '<S296>/1-D Lookup Table2' * '<S296>/1-D Lookup Table2'
* '<S297>/1-D Lookup Table1'
* '<S297>/1-D Lookup Table2'
* '<S298>/1-D Lookup Table1' * '<S298>/1-D Lookup Table1'
* '<S298>/1-D Lookup Table2' * '<S298>/1-D Lookup Table2'
* '<S299>/1-D Lookup Table1'
* '<S299>/1-D Lookup Table2'
* '<S300>/1-D Lookup Table1' * '<S300>/1-D Lookup Table1'
* '<S300>/1-D Lookup Table2' * '<S300>/1-D Lookup Table2'
* '<S301>/1-D Lookup Table1'
* '<S301>/1-D Lookup Table2'
* '<S302>/1-D Lookup Table1' * '<S302>/1-D Lookup Table1'
* '<S302>/1-D Lookup Table2' * '<S302>/1-D Lookup Table2'
* '<S303>/1-D Lookup Table1'
* '<S303>/1-D Lookup Table2'
* '<S304>/1-D Lookup Table1' * '<S304>/1-D Lookup Table1'
* '<S304>/1-D Lookup Table2' * '<S304>/1-D Lookup Table2'
* '<S305>/1-D Lookup Table1'
* '<S305>/1-D Lookup Table2'
* '<S306>/1-D Lookup Table1' * '<S306>/1-D Lookup Table1'
* '<S306>/1-D Lookup Table2' * '<S306>/1-D Lookup Table2'
* '<S307>/1-D Lookup Table1'
* '<S307>/1-D Lookup Table2'
* '<S308>/1-D Lookup Table1' * '<S308>/1-D Lookup Table1'
* '<S308>/1-D Lookup Table2' * '<S308>/1-D Lookup Table2'
* '<S309>/1-D Lookup Table1'
* '<S309>/1-D Lookup Table2'
* '<S310>/1-D Lookup Table1'
* '<S310>/1-D Lookup Table2'
*/ */
{ 10U, 20U, 30U, 40U, 50U, 60U, 70U, 80U, 90U, 100U, 110U }, { 10U, 20U, 30U, 40U, 50U, 60U, 70U, 80U, 90U, 100U, 110U },
/* Pooled Parameter (Expression: [1 2 3 4 5 6 7 8 9]) /* Pooled Parameter (Expression: [1 2 3 4 5 6 7 8 9])
* Referenced by: * Referenced by:
* '<S2702>/Constant3' * '<S2206>/Constant3'
* '<S2751>/Constant5' * '<S2255>/Constant5'
* '<S2822>/Constant5' * '<S2326>/Constant5'
* '<S2893>/Constant5' * '<S2397>/Constant5'
* '<S2746>/Constant5' * '<S2250>/Constant5'
* '<S2816>/Constant5' * '<S2320>/Constant5'
* '<S2887>/Constant5' * '<S2391>/Constant5'
*/ */
{ 1U, 2U, 3U, 4U, 5U, 6U, 7U, 8U, 9U }, { 1U, 2U, 3U, 4U, 5U, 6U, 7U, 8U, 9U },
/* Computed Parameter: Constant3_Value /* Computed Parameter: Constant3_Value
* Referenced by: '<S2772>/Constant3' * Referenced by: '<S2276>/Constant3'
*/ */
{ 1U, 2U, 3U, 4U, 5U, 6U }, { 1U, 2U, 3U, 4U, 5U, 6U },
/* Computed Parameter: Constant3_Value_d /* Computed Parameter: Constant3_Value_d
* Referenced by: '<S2843>/Constant3' * Referenced by: '<S2347>/Constant3'
*/ */
{ 1U, 2U, 3U, 4U, 5U, 6U, 7U, 8U }, { 1U, 2U, 3U, 4U, 5U, 6U, 7U, 8U },
/* Pooled Parameter (Expression: ) /* Pooled Parameter (Expression: )
* Referenced by: * Referenced by:
* '<S49>/Âûáîð ðåæèìà Left' * '<S47>/Âûáîð ðåæèìà Left'
* '<S49>/Âûáîð ðåæèìà Right' * '<S47>/Âûáîð ðåæèìà Right'
*/ */
{ 0U, 1U, 2U, 3U, 4U, 5U } { 0U, 1U, 2U, 3U, 4U, 5U }
}; };

View File

@ -3,9 +3,9 @@
* *
* Code generated for Simulink model 'HVAC_model'. * Code generated for Simulink model 'HVAC_model'.
* *
* Model version : 1.1673 * Model version : 1.1745
* Simulink Coder version : 24.1 (R2024a) 19-Nov-2023 * Simulink Coder version : 24.1 (R2024a) 19-Nov-2023
* C/C++ source code generated on : Mon Oct 5 16:10:02 2026 * C/C++ source code generated on : Wed Oct 14 15:54:54 2026
* *
* Target selection: ert.tlc * Target selection: ert.tlc
* Embedded hardware selection: ARM Compatible->ARM Cortex-M * Embedded hardware selection: ARM Compatible->ARM Cortex-M
@ -78,10 +78,6 @@ extern int8_t look1_iu8lu64n56ts8Ds16_binlcs(uint8_t u0, const uint8_t bp0[],
const int8_t table[], uint32_t maxIndex); const int8_t table[], uint32_t maxIndex);
extern int16_t look1_iu8lu64n48ts16Ds32_binlcs(uint8_t u0, const uint8_t bp0[], extern int16_t look1_iu8lu64n48ts16Ds32_binlcs(uint8_t u0, const uint8_t bp0[],
const int16_t table[], uint32_t maxIndex); const int16_t table[], uint32_t maxIndex);
extern int16_t look1_is16lu64n32tu16Ds32Is16_binlcs(int16_t u0, const int16_t
bp0[], const uint16_t table[], uint32_t maxIndex);
extern uint32_t binsearch_u32s16(int16_t u_7, const int16_t bp[], uint32_t
startIndex, uint32_t maxIndex);
extern int16_t look1_is16lu64n32Ds32_binlcs(int16_t u0, const int16_t bp0[], extern int16_t look1_is16lu64n32Ds32_binlcs(int16_t u0, const int16_t bp0[],
const int16_t table[], uint32_t maxIndex); const int16_t table[], uint32_t maxIndex);
extern int16_t look1_is16lu64n32tu8Ds16Is16_binlcs(int16_t u0, const int16_t extern int16_t look1_is16lu64n32tu8Ds16Is16_binlcs(int16_t u0, const int16_t
@ -102,22 +98,30 @@ extern int16_t look1_iu16lu64n48ts16Ds32_binlcs(uint16_t u0, const uint16_t bp0[
extern int16_t look2_bs16ts16Dddd_binlc(double u0, double u1, const int16_t bp0[], extern int16_t look2_bs16ts16Dddd_binlc(double u0, double u1, const int16_t bp0[],
const int16_t bp1[], const int16_t table[], const uint32_t maxIndex[], const int16_t bp1[], const int16_t table[], const uint32_t maxIndex[],
uint32_t stride); uint32_t stride);
extern uint16_t look1_iu8bu16lu64n32tu16_binlcse(uint8_t u0, const uint16_t bp0[],
const uint16_t table[], uint32_t maxIndex);
extern int16_t look1_iu16lu64n48Ds32Is16_binlcs(uint16_t u0, const uint16_t bp0[], extern int16_t look1_iu16lu64n48Ds32Is16_binlcs(uint16_t u0, const uint16_t bp0[],
const uint16_t table[], uint32_t maxIndex); const uint16_t table[], uint32_t maxIndex);
extern uint16_t look1_iu16lu64n48_binlcse(uint16_t u0, const uint16_t bp0[], extern uint16_t look1_iu16lu64n48_binlcse(uint16_t u0, const uint16_t bp0[],
const uint16_t table[], uint32_t maxIndex); const uint16_t table[], uint32_t maxIndex);
extern uint16_t look1_is16lu64n32tu16_binlcse(int16_t u0, const int16_t bp0[], extern uint16_t look1_is16lu64n32tu16_binlcse(int16_t u0, const int16_t bp0[],
const uint16_t table[], uint32_t maxIndex); const uint16_t table[], uint32_t maxIndex);
extern uint16_t look1_iu8bu16lu64n32tu16_binlcse(uint8_t u0, const uint16_t bp0[],
const uint16_t table[], uint32_t maxIndex);
extern double look1_bs16ts16DdId_binlc(double u0, const int16_t bp0[], const extern double look1_bs16ts16DdId_binlc(double u0, const int16_t bp0[], const
int16_t table[], uint32_t maxIndex); int16_t table[], uint32_t maxIndex);
extern double look1_iu16td_binlc(uint16_t u0, const uint16_t bp0[], const double extern double look1_iu16td_binlc(uint16_t u0, const uint16_t bp0[], const double
table[], uint32_t maxIndex); table[], uint32_t maxIndex);
extern uint8_t look1_iu8lu64n56_binlcse(uint8_t u0, const uint8_t bp0[], const extern uint8_t look1_iu8lu64n56_binlcse(uint8_t u0, const uint8_t bp0[], const
uint8_t table[], uint32_t maxIndex); uint8_t table[], uint32_t maxIndex);
extern uint32_t plook_u32s16_bincka(int16_t u_8, const int16_t bp[], uint32_t extern uint32_t plook_u32s16_bincka(int16_t u_5, const int16_t bp[], uint32_t
maxIndex); maxIndex);
extern uint32_t plook_u32d_bincka(double u_6, const double bp[], uint32_t
maxIndex);
extern uint32_t plook_u32d_binckan(double u_7, const double bp[], uint32_t
maxIndex);
extern uint32_t binsearch_u32s16(int16_t u_8, const int16_t bp[], uint32_t
startIndex, uint32_t maxIndex);
extern uint32_t binsearch_u32d(double u_9, const double bp[], uint32_t
startIndex, uint32_t maxIndex);
extern int32_t div_nzp_s32_round(int32_t numerator, int32_t denominator); extern int32_t div_nzp_s32_round(int32_t numerator, int32_t denominator);
extern void get_tg_FLL_for_LVL(uint8_t rtu_ambient_Lvl, uint8_t rtu_set_tmp, extern void get_tg_FLL_for_LVL(uint8_t rtu_ambient_Lvl, uint8_t rtu_set_tmp,
int16_t *rty_vals); int16_t *rty_vals);
@ -155,130 +159,6 @@ extern void SwitchCaseActionSubsystem5(uint8_t rtu_valveindex, int8_t *rty_valve
int16_t *rty_blower); int16_t *rty_blower);
extern void SwitchCaseActionSubsystem6(uint8_t rtu_valveindex, int8_t *rty_valve, extern void SwitchCaseActionSubsystem6(uint8_t rtu_valveindex, int8_t *rty_valve,
int16_t *rty_blower); int16_t *rty_blower);
extern void g_assSTART_ENTER_INCAR_n(uint8_t rtu_LVL, int16_t *rty_out);
extern void Level2(int8_t *rty_step);
extern void g_assSTART_ENTER_COOLANT_m(uint8_t rtu_LVL, int16_t *rty_out);
extern void Level4(int8_t *rty_step1, const uint8_t *rtd_CCU_MODE_FL, const
int16_t *rtd_ECT, const uint8_t *rtd_LEVEL, const uint8_t
*rtd_LO_HI_MODE_FL);
extern void Level0(int8_t *rty_step);
extern void incarfilterdown(uint8_t rtu_LVL, uint8_t *rty_out);
extern void incarfilterup(uint8_t rtu_LVL, uint8_t *rty_out);
extern void g_assSTART_COOLANT_STEP0_TO_1_c(uint8_t rtu_LVL, int16_t *rty_out);
extern void uwayvalvestatus(uint8_t rtu_LVL, uint8_t *rty_out);
extern void Dtg_FrontLower_X(uint8_t rtu_LVL, uint8_t *rty_out);
extern void Dtg_FrontUpper_X(uint8_t rtu_LVL, uint8_t *rty_out);
extern void Incartempgotofromstep1tostep2(uint8_t rtu_LVL, int16_t *rty_out);
extern void MATLABFunction1_Init(DW_MATLABFunction1 *localDW);
extern void MATLABFunction1(uint32_t rtu_t_now, uint16_t rtu_time_delta, bool
*rty_timer_out, DW_MATLABFunction1 *localDW);
extern void blowerFR(uint8_t rtu_LVL, uint16_t *rty_out);
extern void modeFRstep1(uint8_t rtu_LVL, uint8_t *rty_out);
extern void windowheating(uint8_t rtu_LVL, uint8_t *rty_out);
extern void MATLABFunction1_a_Init(DW_MATLABFunction1_f *localDW);
extern void MATLABFunction1_j(uint32_t rtu_t_now, uint32_t rtu_time_delta, bool *
rty_timer_out, DW_MATLABFunction1_f *localDW);
extern void Timegotofromstep1tostep2(uint8_t rtu_LVL, int16_t *rty_out);
extern void ECTminmax(uint8_t rtu_LVL, int16_t rty_out[2]);
extern void blowerminmax(uint8_t rtu_LVL, uint16_t rty_out[2]);
extern void uwayvalvestatus_m(uint8_t rtu_LVL, uint8_t *rty_out);
extern void timeforstep(uint8_t rtu_LVL, uint8_t *rty_out);
extern void timeforstep_d(uint8_t rtu_LVL, uint8_t *rty_out);
extern void Timegotofromstep2tostep3(uint8_t rtu_LVL, int16_t *rty_out);
extern void blowerstep(uint8_t rtu_LVL, uint16_t *rty_out);
extern void blowertimeforstep(uint8_t rtu_LVL, uint16_t *rty_out);
extern void step_g(uint8_t rtu_LVL, uint8_t *rty_out);
extern void timeforstep_f(uint8_t rtu_LVL, uint8_t *rty_out);
extern void windowheating_o(uint8_t rtu_LVL, uint8_t *rty_out);
extern void autodemistautodefog(uint8_t rtu_LVL, uint8_t *rty_out);
extern void Level3_Init(DW_Level3 *localDW);
extern void Level3(int8_t *rty_step, uint8_t *rtd_Autodefog, uint8_t
*rtd_Blower_FL, uint8_t *rtd_Blower_FR, const uint8_t
*rtd_Blower_logic_FL, const uint8_t *rtd_CCU_MODE_FL,
uint16_t *rtd_Dtg_FLL, uint16_t *rtd_Dtg_FLR, uint16_t
*rtd_Dtg_FUL, uint16_t *rtd_Dtg_FUR, const int16_t
*rtd_Dtg_logic_FLL, const int16_t *rtd_Dtg_logic_FUL, uint8_t
*rtd_El_window_heating, const bool *rtd_HI_logic_on, uint8_t *
rtd_Incar_filter_down_value, uint8_t
*rtd_Incar_filter_up_value, const uint8_t *rtd_LEVEL, const
uint8_t *rtd_LO_HI_MODE_FL, uint8_t *rtd_Mode_FL, uint8_t
*rtd_Mode_FR, const uint8_t *rtd_Mode_logic_FL, double
*rtd_Recirculation, uint8_t *rtd_Valve_3_way, const uint32_t *
rtd_t_now, DW_Level3 *localDW);
extern void Step3F(int8_t *rty_step, int8_t *rtd_start_control_finished_front);
extern void g_ausSTART_ENTER_SETTEMP_i(uint8_t rtu_LVL, int16_t *rty_out);
extern void g_assSTART_ENTER_INCAR_f(uint8_t rtu_LVL, int16_t *rty_out);
extern void g_assSTART_ENTER_COOLANT_m1(uint8_t rtu_LVL, int16_t *rty_out);
extern void Level4_j(int8_t *rty_step1, const uint8_t *rtd_CCU_MODE_RR, const
int16_t *rtd_ECT, const int16_t *rtd_Incar_RR, const
uint8_t *rtd_LEVEL, const uint8_t *rtd_LO_HI_MODE_RR);
extern void incarfilterdown_m(uint8_t rtu_LVL, uint8_t *rty_out);
extern void incarfilterup_j(uint8_t rtu_LVL, uint8_t *rty_out);
extern void g_assSTART_COOLANT_STEP0_TO_1_j(uint8_t rtu_LVL, int16_t *rty_out);
extern void Level4_h(int8_t *rty_step1, uint8_t *rtd_Blower_RL, uint8_t
*rtd_Blower_RR, const uint8_t *rtd_CCU_MODE_RR, uint16_t
*rtd_Dtg_RL, uint16_t *rtd_Dtg_RR, const int16_t *rtd_ECT,
uint8_t *rtd_Incar_filter_down_value, uint8_t
*rtd_Incar_filter_up_value, const uint8_t *rtd_LEVEL, const
uint8_t *rtd_LO_HI_MODE_RR, uint8_t *rtd_Mode_RL, uint8_t
*rtd_Mode_RR, uint8_t *rtd_Valve_2_way, uint8_t
*rtd_Valve_3_way);
extern void uwayvalve(uint8_t rtu_LVL, uint8_t *rty_out);
extern void Dtg_rear(uint8_t rtu_LVL, uint8_t *rty_out);
extern void Incartempgotofromstep1tostep2_m(uint8_t rtu_LVL, int16_t *rty_out);
extern void Timegotofromstep1tostep2_n(uint8_t rtu_LVL, int16_t *rty_out);
extern void moderearstep1(uint8_t rtu_LVL, uint8_t *rty_out);
extern void Level0_c_Init(DW_Level0_h *localDW);
extern void Level0_g(int8_t *rty_step, uint8_t *rtd_Blower_RL, uint8_t
*rtd_Blower_RR, const uint8_t *rtd_CCU_MODE_RR, uint16_t
*rtd_Dtg_RL, uint16_t *rtd_Dtg_RR, const int16_t
*rtd_Incar_RR, uint8_t *rtd_Incar_filter_down_value,
uint8_t *rtd_Incar_filter_up_value, const uint8_t
*rtd_LEVEL, const uint8_t *rtd_LO_HI_MODE_RR, uint8_t
*rtd_Mode_RL, uint8_t *rtd_Mode_RR, double
*rtd_Recirculation, uint8_t *rtd_Valve_2_way, const
uint32_t *rtd_t_now, DW_Level0_h *localDW);
extern void blowerstartfinish(uint8_t rtu_LVL, uint16_t rty_out[2]);
extern void ECTminmax_j(uint8_t rtu_LVL, int16_t rty_out[2]);
extern void Level4_b_Init(DW_Level4_h *localDW);
extern void Level4_m(int8_t *rty_step, uint8_t *rtd_Blower_RL, uint8_t
*rtd_Blower_RR, const uint8_t *rtd_CCU_MODE_RR, uint16_t
*rtd_Dtg_RL, uint16_t *rtd_Dtg_RR, const int16_t *rtd_ECT,
const int16_t *rtd_Incar_RR, uint8_t
*rtd_Incar_filter_down_value, uint8_t
*rtd_Incar_filter_up_value, const uint8_t *rtd_LEVEL, const
uint8_t *rtd_LO_HI_MODE_RR, uint8_t *rtd_Mode_RL, uint8_t
*rtd_Mode_RR, double *rtd_Recirculation, uint8_t
*rtd_Valve_2_way, const uint32_t *rtd_t_now, DW_Level4_h
*localDW);
extern void timeforstep_k(uint8_t rtu_LVL, uint8_t *rty_out);
extern void blowerstep_c(uint8_t rtu_LVL, uint16_t *rty_out);
extern void blowertimeforstep_k(uint8_t rtu_LVL, uint16_t *rty_out);
extern void step_a(uint8_t rtu_LVL, uint8_t *rty_out);
extern void timeforstep_dm(uint8_t rtu_LVL, uint8_t *rty_out);
extern void Level0_h_Init(DW_Level0_hr *localDW);
extern void Level0_a(int8_t *rty_step, uint8_t *rtd_Blower_RL, uint8_t
*rtd_Blower_RR, const uint16_t *rtd_Blower_logic_RR, const
uint8_t *rtd_CCU_MODE_FL, uint16_t *rtd_Dtg_RL, uint16_t
*rtd_Dtg_RR, const int16_t *rtd_Dtg_logic_RR, uint8_t
*rtd_Incar_filter_down_value, uint8_t
*rtd_Incar_filter_up_value, const uint8_t *rtd_LEVEL, const
uint8_t *rtd_LO_HI_MODE_FL, uint8_t *rtd_Mode_RL, uint8_t
*rtd_Mode_RR, const uint8_t *rtd_Mode_logic_RR, double
*rtd_Recirculation, uint8_t *rtd_Valve_2_way, const
uint32_t *rtd_t_now, DW_Level0_hr *localDW);
extern void Level2_j_Init(DW_Level2_j *localDW);
extern void Level2_f(int8_t *rty_step, uint8_t *rtd_Blower_RL, uint8_t
*rtd_Blower_RR, const uint16_t *rtd_Blower_logic_RR, const
uint8_t *rtd_CCU_MODE_FL, uint16_t *rtd_Dtg_RL, uint16_t
*rtd_Dtg_RR, const int16_t *rtd_Dtg_logic_RR, const bool
*rtd_HI_logic_on, uint8_t *rtd_Incar_filter_down_value,
uint8_t *rtd_Incar_filter_up_value, const uint8_t
*rtd_LEVEL, const uint8_t *rtd_LO_HI_MODE_FL, uint8_t
*rtd_Mode_RL, uint8_t *rtd_Mode_RR, const uint8_t
*rtd_Mode_logic_RR, double *rtd_Recirculation, uint8_t
*rtd_Valve_2_way, const uint32_t *rtd_t_now, DW_Level2_j
*localDW);
extern void funcg_assAUTO_STEP_DUCT_TG_U(uint8_t rtu_LVL, double rtu_AF_STEP, extern void funcg_assAUTO_STEP_DUCT_TG_U(uint8_t rtu_LVL, double rtu_AF_STEP,
int16_t *rty_y); int16_t *rty_y);
extern void funcg_assAUTO_STEP_DUCT_TG_L(uint8_t rtu_LVL, double rtu_AF_STEP, extern void funcg_assAUTO_STEP_DUCT_TG_L(uint8_t rtu_LVL, double rtu_AF_STEP,
@ -381,6 +261,10 @@ extern void u_p(int16_t rtu_amb_raw, int16_t rtu_lvl, uint8_t *rty_out, const
extern void u_g2(int16_t rtu_amb_raw, int16_t rtu_lvl, uint8_t extern void u_g2(int16_t rtu_amb_raw, int16_t rtu_lvl, uint8_t
*rty_riseperminute, const double *rtd_AMB_store, double *rty_riseperminute, const double *rtd_AMB_store, double
*rtd_KEEP_RISING_UNTIL_LIMIT); *rtd_KEEP_RISING_UNTIL_LIMIT);
extern void MATLABFunction2(double rty_y[11]);
extern void MATLABFunction3(double rty_y[11]);
extern void MATLABFunction4(double rty_y[11]);
extern void valves_rear(uint8_t rtu_MODE, uint16_t rty_get_valves[6]);
extern void IfActionSubsystem2(int16_t *rty_Out1); extern void IfActionSubsystem2(int16_t *rty_Out1);
extern void IfActionSubsystem(int8_t *rty_Out1, double *rtd_ErrorHomming_private, extern void IfActionSubsystem(int8_t *rty_Out1, double *rtd_ErrorHomming_private,
double *rtd_Start_timer_n, int8_t *rtd_stepSig_private); double *rtd_Start_timer_n, int8_t *rtd_stepSig_private);
@ -392,19 +276,25 @@ extern void IfActionSubsystem1(int8_t *rty_Output, uint8_t
rtd_ErrorActuator[9], uint8_t rtd_ErrorCalibration_private[9], const double rtd_ErrorActuator[9], uint8_t rtd_ErrorCalibration_private[9], const double
*rtd_LOGGER_LIN, uint8_t rtd_MODE_private[9], uint8_t *rtd_LOGGER_LIN, uint8_t rtd_MODE_private[9], uint8_t
rtd_dtc_state_error_model[127]); rtd_dtc_state_error_model[127]);
extern void choosesensorFLL(int16_t rtu_sensor_duct_foot1, int16_t
rtu_sensor_duct_foot2, bool rtu_duct_error_foot1, bool rtu_duct_error_foot2,
uint8_t rtu_algorithm_configuration, uint16_t rtu_foot1_actuator_pos, uint16_t
rtu_foot2_actuator_pos, int16_t *rty_sensor, double *rty_duct_select_index_dbg);
extern void MATLABFunction_k_Init(DW_MATLABFunction_n *localDW); extern void MATLABFunction_k_Init(DW_MATLABFunction_n *localDW);
extern void MATLABFunction_m(double rtu_setpoint, double rtu_input, double extern void MATLABFunction_m(double rtu_setpoint, double rtu_input, double
rtu_dt, double rtu_Kp, double rtu_Ki, double rtu_Kd, double rtu_max_speed, rtu_dt, double rtu_Kp, double rtu_Ki, double rtu_Kd, double rtu_max_speed,
double rtu_deadband, double *rty_output, double *rty_P, double *rty_I, double * double rtu_deadband, double *rty_output, double *rty_P, double *rty_I, double *
rty_D, DW_MATLABFunction_n *localDW); rty_D, DW_MATLABFunction_n *localDW);
extern void valves_rear_left(uint8_t rtu_MODE, uint16_t rty_get_valves[6]); extern void filterPWMfront_Init(DW_filterPWMfront *localDW);
extern void filterPWMfront(uint8_t rtu_PWM_in, uint32_t rtu_dt_ms, uint8_t
*rty_PWM_out, DW_filterPWMfront *localDW);
extern void MODE_for_set_and_lvl(uint8_t rtu_LVL, int16_t rtu_SET, uint8_t extern void MODE_for_set_and_lvl(uint8_t rtu_LVL, int16_t rtu_SET, uint8_t
*rty_get_mode); *rty_get_mode);
extern void increase(int16_t rtu_duct_tg, const uint16_t rtu_mode_array[7], extern void increase(int16_t rtu_duct_tg, const uint16_t rtu_mode_array[7],
uint16_t *rty_y); uint16_t *rty_y);
extern void decrease(int16_t rtu_duct_tg, const uint16_t rtu_mode_array[7], extern void decrease(int16_t rtu_duct_tg, const uint16_t rtu_mode_array[7],
uint16_t *rty_y); uint16_t *rty_y);
extern void valves_rear_left_e(uint16_t rtu_MODE, uint16_t rty_get_valves[6]); extern void valves_rear_left(uint16_t rtu_MODE, uint16_t rty_get_valves[6]);
extern void ValvesforBiLevel(uint16_t rty_out[9]); extern void ValvesforBiLevel(uint16_t rty_out[9]);
extern void ValvesforFootDef(uint16_t rty_out[9]); extern void ValvesforFootDef(uint16_t rty_out[9]);
extern void ValvesforHi_Level(uint16_t rty_out[9]); extern void ValvesforHi_Level(uint16_t rty_out[9]);

View File

@ -3,9 +3,9 @@
* *
* Code generated for Simulink model 'HVAC_model'. * Code generated for Simulink model 'HVAC_model'.
* *
* Model version : 1.1673 * Model version : 1.1745
* Simulink Coder version : 24.1 (R2024a) 19-Nov-2023 * Simulink Coder version : 24.1 (R2024a) 19-Nov-2023
* C/C++ source code generated on : Mon Oct 5 16:10:02 2026 * C/C++ source code generated on : Wed Oct 14 15:54:54 2026
* *
* Target selection: ert.tlc * Target selection: ert.tlc
* Embedded hardware selection: ARM Compatible->ARM Cortex-M * Embedded hardware selection: ARM Compatible->ARM Cortex-M
@ -913,6 +913,15 @@ typedef struct {
#endif #endif
#ifndef DEFINED_TYPEDEF_FOR_tModelPowerDown_Bus_
#define DEFINED_TYPEDEF_FOR_tModelPowerDown_Bus_
typedef struct {
uint8_t PowerDownStatus;
} tModelPowerDown_Bus;
#endif
#ifndef DEFINED_TYPEDEF_FOR_dbg_Logic_Valve_Plus_Bus_ #ifndef DEFINED_TYPEDEF_FOR_dbg_Logic_Valve_Plus_Bus_
#define DEFINED_TYPEDEF_FOR_dbg_Logic_Valve_Plus_Bus_ #define DEFINED_TYPEDEF_FOR_dbg_Logic_Valve_Plus_Bus_

View File

@ -660,7 +660,7 @@ static _Noreturn void ModelTask_Thread(tModelTask *env) {
getCmdBusADCData(env->adc0Task, &rtDW.ADC_Data_Model); getCmdBusADCData(env->adc0Task, &rtDW.ADC_Data_Model);
getCmdBusADC2Data(env->adc1Task, getCmdBusADC2Data(env->adc1Task,
(CmdBusADC2Data *) &rtDW.ADC_Data_Model.VN7008AJ_DIAG_FrontLINActuatorPowerDriverAB); (CmdBusADC2Data *) &rtDW.ADC_Data_Model.VN7008AJ_DIAG_FrontLINActuatorPowerDriverAB);
rtDW.ADC_Data_Model.PBATT_CHECK = 1400;
uint16_t PBATT_CHECK_16 = (uint16_t) ((rtDW.ADC_Data_Model.PBATT_CHECK * 33.4375f / 4095.0f) * 10.0); uint16_t PBATT_CHECK_16 = (uint16_t) ((rtDW.ADC_Data_Model.PBATT_CHECK * 33.4375f / 4095.0f) * 10.0);
//конец--------------------------------------------------ВХОД МОДЕЛИ ADC------------------------------------------------ //конец--------------------------------------------------ВХОД МОДЕЛИ ADC------------------------------------------------
@ -873,6 +873,7 @@ static _Noreturn void ModelTask_Thread(tModelTask *env) {
//начало--------------------------------------------------ВЫХОД МОДЕЛИ ДЛЯ PWM------------------------------------------ //начало--------------------------------------------------ВЫХОД МОДЕЛИ ДЛЯ PWM------------------------------------------
// Для UDS (подмена)
if (model_Status_Set_For_Model_output.Pwm == 1) { if (model_Status_Set_For_Model_output.Pwm == 1) {
env->pwms->pwmFrontIo.setActivePercent(env->pwms->pwmFrontIo.env, env->pwms->pwmFrontIo.setActivePercent(env->pwms->pwmFrontIo.env,
@ -982,6 +983,7 @@ static _Noreturn void ModelTask_Thread(tModelTask *env) {
memcpy(&env->ccu_candb_dbg_tx.dbg_Logic_Blower, &rtY.dbgCAN_dbg_Logic_Blower_model, sizeof(env->ccu_candb_dbg_tx.dbg_Logic_Blower)); memcpy(&env->ccu_candb_dbg_tx.dbg_Logic_Blower, &rtY.dbgCAN_dbg_Logic_Blower_model, sizeof(env->ccu_candb_dbg_tx.dbg_Logic_Blower));
// Подмена дебажного сообщения для UDS
if (model_Status_Set_For_Model_output.Pwm == 1) { if (model_Status_Set_For_Model_output.Pwm == 1) {
env->ccu_candb_dbg_tx.dbg_Logic_Blower.Logic_Blower_Pwm_Front = model_Status_Pwm_For_Model_output.Pwm_Front / 10; env->ccu_candb_dbg_tx.dbg_Logic_Blower.Logic_Blower_Pwm_Front = model_Status_Pwm_For_Model_output.Pwm_Front / 10;
@ -1008,6 +1010,8 @@ static _Noreturn void ModelTask_Thread(tModelTask *env) {
memcpy(&env->ccu_candb_dbg_tx.dbg_LIN_Ionizer_Stat, &rtY.dbg_LIN_Ionizer_Stat_t_model, sizeof(env->ccu_candb_dbg_tx.dbg_LIN_Ionizer_Stat)); memcpy(&env->ccu_candb_dbg_tx.dbg_LIN_Ionizer_Stat, &rtY.dbg_LIN_Ionizer_Stat_t_model, sizeof(env->ccu_candb_dbg_tx.dbg_LIN_Ionizer_Stat));
memcpy(&env->ccu_candb_dbg_tx.dbg_LIN_Aroma_Stat, &rtY.dbg_LIN_Aroma_Stat_t_model, sizeof(env->ccu_candb_dbg_tx.dbg_LIN_Aroma_Stat)); memcpy(&env->ccu_candb_dbg_tx.dbg_LIN_Aroma_Stat, &rtY.dbg_LIN_Aroma_Stat_t_model, sizeof(env->ccu_candb_dbg_tx.dbg_LIN_Aroma_Stat));
memcpy(&env->ccu_candb_dbg_tx.dbg_Sen_Demist, &rtY.dbg_Sen_Demist_model_out, sizeof(env->ccu_candb_dbg_tx.dbg_Sen_Demist));
memcpy(&env->ccu_candb_dbg_tx.dbg_stat_PID, &rtY.dbg_PID_valve_model_out, sizeof(env->ccu_candb_dbg_tx.dbg_stat_PID));
//конец--------------------------------------------------ВЫХОД МОДЕЛИ ДЛЯ CAN------------------------------------------- //конец--------------------------------------------------ВЫХОД МОДЕЛИ ДЛЯ CAN-------------------------------------------

View File

@ -1645,8 +1645,8 @@ void setDefaultStatus() {
// memset(statusData.ecu.Serial_Number, 0xFF, sizeof(statusData.ecu.Serial_Number)); // memset(statusData.ecu.Serial_Number, 0xFF, sizeof(statusData.ecu.Serial_Number));
// memset(statusData.ecu.Vehicle_Identification, 0x20, sizeof(statusData.ecu.Vehicle_Identification)); // memset(statusData.ecu.Vehicle_Identification, 0x20, sizeof(statusData.ecu.Vehicle_Identification));
reverse_copy(statusData.ecu.ECU_hardware_number_ECU_supplier, "170400 ", sizeof(statusData.ecu.ECU_hardware_number_ECU_supplier)); reverse_copy(statusData.ecu.ECU_hardware_number_ECU_supplier, "170400 ", sizeof(statusData.ecu.ECU_hardware_number_ECU_supplier));
reverse_copy(statusData.ecu.ECU_software_number_ECU_supplier, "11", sizeof(statusData.ecu.ECU_software_number_ECU_supplier)); reverse_copy(statusData.ecu.ECU_software_number_ECU_supplier, "22", sizeof(statusData.ecu.ECU_software_number_ECU_supplier));
reverse_copy(statusData.ecu.ECU_boot_software_identification_ECU_supplier, "11", sizeof(statusData.ecu.ECU_boot_software_identification_ECU_supplier)); reverse_copy(statusData.ecu.ECU_boot_software_identification_ECU_supplier, "22", sizeof(statusData.ecu.ECU_boot_software_identification_ECU_supplier));
reverse_copy(statusData.ecu.ECU_hardware_number_NAMI, "412300-3868100-30-011-0-00 ", sizeof(statusData.ecu.ECU_hardware_number_NAMI)); reverse_copy(statusData.ecu.ECU_hardware_number_NAMI, "412300-3868100-30-011-0-00 ", sizeof(statusData.ecu.ECU_hardware_number_NAMI));