Addresses #4615, wrap OutputControl:Table:Style and Output:SQLite#4625
Merged
Addresses #4615, wrap OutputControl:Table:Style and Output:SQLite#4625
Conversation
19 tasks
jmarrec
requested changes
Jul 25, 2022
Collaborator
jmarrec
left a comment
There was a problem hiding this comment.
This is looking really good. I added a couple of minor suggestions.
src/energyplus/ForwardTranslator/ForwardTranslateOutputControlTableStyle.cpp
Outdated
Show resolved
Hide resolved
src/energyplus/ForwardTranslator/ForwardTranslateOutputControlTableStyle.cpp
Outdated
Show resolved
Hide resolved
src/energyplus/ForwardTranslator/ForwardTranslateOutputControlTableStyle.cpp
Outdated
Show resolved
Hide resolved
src/energyplus/ForwardTranslator.cpp
Outdated
| tableStyle.setString(OutputControl_Table_StyleFields::ColumnSeparator, "HTML"); | ||
| if (m_ipTabularOutput) { | ||
| tableStyle.setString(OutputControl_Table_StyleFields::UnitConversion, "InchPound"); | ||
| boost::optional<model::OutputControlTableStyle> _tableStyle = model.getOptionalUniqueModelObject<model::OutputControlTableStyle>(); |
Collaborator
There was a problem hiding this comment.
(No changes needed, but FYI if we end up making our IDD (or Ctor) use the same defaults as the FT, you could just call model.getUniqueModelObject() to instantiate the object as we operate on a copy of our model to begin with. This is maybe clearer this way though.)
jmarrec
approved these changes
Jul 26, 2022
Comment on lines
+66
to
+67
| Model m; | ||
| ForwardTranslator ft; |
Collaborator
There was a problem hiding this comment.
(could use the same ft and model).
Collaborator
|
CI Results for 979cc26:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull request overview
OutputControlReportingTolerancesPull Request Author
src/model/test)src/energyplus/Test)src/osversion/VersionTranslator.cpp)Labels:
IDDChangeAPIChangePull Request - Ready for CIso that CI builds your PRReview Checklist
This will not be exhaustively relevant to every PR.