Skip to content

Fix #792 - Add support for HotWaterEquipment and HotWaterEquipmentDefinition#793

Merged
jmarrec merged 3 commits intodevelopfrom
792-HotWaterEquipment
Jul 4, 2025
Merged

Fix #792 - Add support for HotWaterEquipment and HotWaterEquipmentDefinition#793
jmarrec merged 3 commits intodevelopfrom
792-HotWaterEquipment

Conversation

@jmarrec
Copy link
Collaborator

@jmarrec jmarrec commented Feb 27, 2025

@jmarrec jmarrec requested a review from macumber February 27, 2025 15:10
@jmarrec jmarrec self-assigned this Feb 27, 2025
@jmarrec jmarrec requested a review from Copilot April 24, 2025 12:36
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds support for HotWaterEquipment and HotWaterEquipmentDefinition by updating test cases, controller logic, icon mappings, and the user interface inspector views.

  • Added HotWaterEquipment and HotWaterEquipmentDefinition to the test suite and icon library.
  • Updated LoadsView and LoadsController to handle the new equipment definition.
  • Introduced a new HotWaterEquipmentInspectorView for detailed inspection of Hot Water Equipment definitions.

Reviewed Changes

Copilot reviewed 11 out of 13 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/openstudio_lib/test/IconLibrary_GTest.cpp Added test cases for the HotWater equipment types.
src/openstudio_lib/LoadsView.hpp Declared a new inspector method for HotWaterEquipment definitions.
src/openstudio_lib/LoadsView.cpp Updated type mappings and logic to display HotWaterEquipment inspectors.
src/openstudio_lib/LoadsController.cpp Added a new case to create HotWaterEquipmentDefinition objects.
src/openstudio_lib/IconLibrary.cpp Added icon mappings for HotWaterEquipment and its definition.
src/openstudio_lib/HotWaterEquipmentInspectorView.hpp Added declaration for the new inspector view.
src/openstudio_lib/HotWaterEquipmentInspectorView.cpp Implemented the new inspector view with bindings for UI elements.
Files not reviewed (2)
  • src/openstudio_lib/CMakeLists.txt: Language not supported
  • src/openstudio_lib/openstudio.qrc: Language not supported

@jmarrec jmarrec force-pushed the 792-HotWaterEquipment branch from b5e439b to 75d0dbf Compare June 13, 2025 08:38
@jmarrec jmarrec force-pushed the 792-HotWaterEquipment branch from 75d0dbf to 4357a24 Compare June 19, 2025 07:10
Copy link
Collaborator

@macumber macumber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, I think we can bypass CI checks on Mac since that is just an issue with code signing

@jmarrec jmarrec merged commit 33cc729 into develop Jul 4, 2025
8 of 10 checks passed
@jmarrec jmarrec deleted the 792-HotWaterEquipment branch July 4, 2025 07:20
@github-actions github-actions bot locked and limited conversation to collaborators Jul 4, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for HotWaterEquipment and HotWaterEquipmentDefinition

2 participants