From 0cc24530fbad978e9abc36ccef8eda4265c6deee Mon Sep 17 00:00:00 2001 From: cfif Date: Fri, 17 Apr 2026 17:24:01 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HVAC_model.c | 9 ++++++++- HVAC_model.h | 2 +- HVAC_model_data.c | 2 +- HVAC_model_private.h | 2 +- HVAC_model_types.h | 2 +- 5 files changed, 12 insertions(+), 5 deletions(-) diff --git a/HVAC_model.c b/HVAC_model.c index 6a4ebbe..b427f2d 100755 --- a/HVAC_model.c +++ b/HVAC_model.c @@ -5,7 +5,7 @@ * * Model version : 1.815 * Simulink Coder version : 24.1 (R2024a) 19-Nov-2023 - * C/C++ source code generated on : Fri Apr 17 14:51:19 2026 + * C/C++ source code generated on : Fri Apr 17 15:57:38 2026 * * Target selection: ert.tlc * Embedded hardware selection: ARM Compatible->ARM Cortex-M @@ -8170,11 +8170,18 @@ void HVAC_model_step(void) * Logic: '/AND' * Logic: '/Logical Operator3' * Logic: '/Logical Operator4' + * Switch: '/Switch' * UnitDelay: '/Cond_prev_private ' * UnitDelay: '/t_start_delay_private ' */ if (rtb_LogicalOperator1 && (!rtDW.Cond_prev_private_DSTATE_d)) { rtDW.t_start_delay_private_DSTATE_h = 0U; + } else if (rtb_LogicalOperator1) { + /* Switch: '/Switch' incorporates: + * DataStoreRead: '/Data Store Read' + * UnitDelay: '/t_start_delay_private ' + */ + rtDW.t_start_delay_private_DSTATE_h = rtDW.t_now; } /* End of Switch: '/Switch1' */ diff --git a/HVAC_model.h b/HVAC_model.h index 3271ba3..fb908c5 100755 --- a/HVAC_model.h +++ b/HVAC_model.h @@ -5,7 +5,7 @@ * * Model version : 1.815 * Simulink Coder version : 24.1 (R2024a) 19-Nov-2023 - * C/C++ source code generated on : Fri Apr 17 14:51:19 2026 + * C/C++ source code generated on : Fri Apr 17 15:57:38 2026 * * Target selection: ert.tlc * Embedded hardware selection: ARM Compatible->ARM Cortex-M diff --git a/HVAC_model_data.c b/HVAC_model_data.c index 6afb4f9..a65b04c 100755 --- a/HVAC_model_data.c +++ b/HVAC_model_data.c @@ -5,7 +5,7 @@ * * Model version : 1.815 * Simulink Coder version : 24.1 (R2024a) 19-Nov-2023 - * C/C++ source code generated on : Fri Apr 17 14:51:19 2026 + * C/C++ source code generated on : Fri Apr 17 15:57:38 2026 * * Target selection: ert.tlc * Embedded hardware selection: ARM Compatible->ARM Cortex-M diff --git a/HVAC_model_private.h b/HVAC_model_private.h index 9e96888..521b3dc 100755 --- a/HVAC_model_private.h +++ b/HVAC_model_private.h @@ -5,7 +5,7 @@ * * Model version : 1.815 * Simulink Coder version : 24.1 (R2024a) 19-Nov-2023 - * C/C++ source code generated on : Fri Apr 17 14:51:19 2026 + * C/C++ source code generated on : Fri Apr 17 15:57:38 2026 * * Target selection: ert.tlc * Embedded hardware selection: ARM Compatible->ARM Cortex-M diff --git a/HVAC_model_types.h b/HVAC_model_types.h index 6283c77..6e150bc 100755 --- a/HVAC_model_types.h +++ b/HVAC_model_types.h @@ -5,7 +5,7 @@ * * Model version : 1.815 * Simulink Coder version : 24.1 (R2024a) 19-Nov-2023 - * C/C++ source code generated on : Fri Apr 17 14:51:19 2026 + * C/C++ source code generated on : Fri Apr 17 15:57:38 2026 * * Target selection: ert.tlc * Embedded hardware selection: ARM Compatible->ARM Cortex-M