-
Notifications
You must be signed in to change notification settings - Fork 389
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversion to enum class - DataPlant::PlantEquipmentType #9053
Merged
Merged
Changes from all commits
Commits
Show all changes
141 commits
Select commit
Hold shift + click to select a range
03bfbec
[won't compile] Checkpoint commit
jmythms e4126db
E+ compiles
jmythms 4a8617d
Compiling + clangFormatted + fixed EnergyPlusTest
jmythms 9ec87a5
Change function arguments to enums
jmythms a9703a4
clangFormat tests
jmythms 102019f
merge develop + clangFormat
jmythms f4a4f8d
removed PlantEquipmentType::Other
jmythms 4de7fbb
PlantEquipmentType start from 0, ccSimPlantEquipTypes to string_view …
jmythms 413f409
fixed EnergyPlus_tests
jmythms 566bf33
removed unused variable
jmythms 2181f61
enum: Added num to PlantEquipmentType
jmythms f22f9ce
TypeOf_enum to Type
jmythms dce2bcf
ThisTypeOfNum to ThisType
jmythms 13452de
Merge branch 'develop' into enumsDataPlant
jmythms db3fde3
CoilTypeNum to CoilType
jmythms 2d1a2f7
removed NumSimPlantEquipTypes
jmythms a6187a0
actually removed NumSimPlantEquipTypes
jmythms cd6335d
clangFormat tests
jmythms 42cb504
fix arrays
jmythms 82f4f34
fixed findItem
jmythms 4fb4cbc
int to uint
jmythms 6887fe7
[decent_ci_skip] merged develop + fixed conflicts
jmythms a829baa
fix array names SimPlantEquipTypes
jmythms c2ecc11
FindItemInStdArray
jmythms 2df032b
Merge branch 'develop' into enumsDataPlant
jmythms 63d6b60
constexpr ValidLoopEquipTypes
jmythms 90711c0
Merge branch 'develop' into enumsDataPlant
jmythms aee8afd
u_int to size_t to fix VS problems
jmythms 7985c0f
Merge branch 'develop' into enumsDataPlant
jmythms c7a35a4
merge develop and fix conflicts
jmythms 55e40c2
Merge branch 'enumsDataPlant' of https://github.com/NREL/EnergyPlus i…
jmythms 50e3685
Merge branch 'develop' into enumsDataPlant
jmythms 2b0eb7c
Fix CurOpSchemeType bug
jmythms 967d76f
convert EXPECT_EQ to EXPECT_TRUE(compare_enums)
jmythms afe9b4e
[decent_ci_skip] rename WAHPPlantType
jmythms 32cc521
merge develop and fix conflicts
jmythms e868ee8
rename nCondenserType to CondenserType
jmythms 9eb2ada
TowerType_Num to switch/case
jmythms bfb6f70
checkpoint - removed TowerType_Num
jmythms 6ae2395
fix CoolingTower calculate function call
jmythms 83113f0
fix error message
jmythms 9d53015
Merge branch 'develop' into enumsDataPlant
jmythms b5d0343
compPlantTypeOf to compPlantType
jmythms 618866a
TypeOf_enum to Type, removed static_cast
jmythms cb38c46
CCoilPlantTypeOf to CCoilPlantType
jmythms 12af802
FouledCoiled to FouledCoilType
jmythms ed20149
FluidCoolerType_enum to FluidCoolerType
jmythms eab7367
WWHPPlantTypeOfNum to WWHPPlantType
jmythms fc25a13
removed most of static_cast<DataPlant::PlantEquipment>
jmythms 0b11314
removed WatertoWaterHPType
jmythms 0bc104f
OES.* string to string_view
jmythms 9058e6d
typenum -> type
jmythms 879a40d
TypeNum to Type, ComponentTypeOfNum to ComponentType, ThisType to Type
jmythms ae581a7
PHT.* TypeOf to to Type
jmythms fc163c9
Pipes.* TypeOf to to Type
jmythms cd67f8c
FCEG.* TypeOf to to Type
jmythms fae2151
Merge branch 'develop' into enumsDataPlant
jmythms ac8ef5e
PLP.* TypeNum to Type
jmythms 657c2a4
Boilers.* TypeNum to Type
jmythms a3eaad9
SolarCollectors.* TypeNum to Type
jmythms c8113bf
SetPointManager.* TypeNum to Type
jmythms e9871bb
SetPointManager.* TypeNum to Type-2
jmythms c818641
SetPointManager.* TypeNum to Type-3
jmythms 06c1f09
[unfinished] WTT.* TypeNum to Type conversion
jmythms caa8a5f
Revert "[unfinished] WTT.* TypeNum to Type conversion"
jmythms f56fc11
IHP.* switch case tanktype
jmythms 48ce6ac
OAU.* switch case coiltype
jmythms 85043ff
LS.* ComponentType to switch case
jmythms a042f78
SPM.* ifelse to switchCase
jmythms ccd6e0d
removed isPump()
jmythms dbbf26b
fix SPM unit test
jmythms 35f11e5
merge develop + fix conflicts
jmythms 9075093
removed unnecessary default errors
jmythms 5e45e8b
PlantEquipmentType starts at -1
jmythms b52429f
Merge branch 'develop' into enumsDataPlant
jmythms 73bc58e
Rename enum classes + start at -1
jmythms 6336f95
Fix CompType limits
jmythms b82197e
EPSM.* array+getEnumValue
jmythms 1568586
combine compGenTypeOf_Num and generatorType
jmythms 38fd163
EPSM.* removed typeOfName
jmythms 2cd065e
Merge branch 'develop' into enumsDataPlant
jmythms b9c2bf2
fix enum starting values
jmythms 82cdead
Merge branch 'develop' into enumsDataPlant
jmythms 58bf0ab
fixed OpSchemeType order
jmythms 585c0a2
preserve comments
jmythms 222e393
fix OpSchemeType enums
jmythms e91ac33
removed extra brackets
jmythms 12f2141
fix generatorType switch + unitTest
jmythms 287ccc7
getEnumeration OAU.*
jmythms c735686
OpSchemeType enum to enum class
jmythms 4df145e
OpSchemeType to OpScheme
jmythms 6ca36dd
switch case CurSchemeType
jmythms f384c36
switch case this_comp_type
jmythms ab9e2c1
PCLO.cc using getEnumerationValue
jmythms 5ebcc1a
clangformat
jmythms 33f0755
PIU.* getEnumerationValue
jmythms 410a9d4
proof of concept - case sensitive Enums
jmythms 3b1ac52
fix getEnumerationValue generatorType
jmythms c6218c7
PC.* getEnumertionValue
jmythms 81e0585
PC.* rename plantTypeOfNum to ChillerType
jmythms 48ea59c
UH.* enum class HCoilType
jmythms 1de70c1
UH.* if-else to switch
jmythms 8249b3c
LoopSide.cc clean up SELECT_CASE_var
jmythms f736ca6
merge develop + fix conflicts
jmythms c8e006d
fix HCoilTypeNamesUC
jmythms a0ad048
rename HCoilType, HCoil_PlantType
jmythms 04cc9ad
initialized SchemeType
jmythms d048b27
removed cPressureSimType
jmythms c56f48b
Enums.* add Num + removed specific numbers
jmythms 42636ac
EAO.hh removed unused var + CtrlTypeNum to CtrlType
jmythms 9adbe4a
changed if condition to use PlantEquipmentType enum class
jmythms a6f2218
Rename GeneratorTypeNames, GeneratorTypeNamesUC
jmythms b01004d
PLHPEIR.cc processInputForEIRPLHP remove thisType, unnecessary static…
jmythms fb0e1eb
PU.cc rename TypeOfNum to Type
jmythms ca86434
BS.cc SELECT_CASE_var to switch/case
jmythms b9cf905
OAU.cc remove static_cast + change CoilType usage to Type
jmythms 8d1efb7
WaterToAirHeatPump.hh rename WAHPType
jmythms 03bc961
WaterCoils.hh rename WaterCoilType
jmythms 615f4e7
VS.hh rename HeatingCoilType and CoolingCoilType
jmythms 5266038
VS.cc rename HeatingCoilType and CoolingCoilType
jmythms c37952b
VSC.cc rename CoilVSWAHPType
jmythms b7e1abc
UV.hh rename HeatingCoilType and CoolingCoilType
jmythms 2359f9f
UH.hh rename HeatingCoilType
jmythms df480d2
SC.hh rename CoilType
jmythms 236b113
SBR.hh rename BaseboardType
jmythms bade78a
PU.hh rename variables
jmythms a610dc1
PHEFTF.hh ComponentTypeOfNum to ComponentType
jmythms 87afdd4
OES.hh rename typeOf
jmythms 08f6071
HVACVRF.hh rename VRFPlantTypeOfNum
jmythms a9f0ed5
HVACSDI.hh rename HCoil_PlantTypeNum and CCoil_PlantTypeNum
jmythms bcb310b
PlantUtilities.cc fix error(help) string
jmythms ff38def
clangFormat
jmythms 73d36ae
WTT.cc removed SELECT_CASE_var1
jmythms 5af8cab
WTT.* implement switch/case:setupZoneInternalGains
jmythms 3719483
added default for switch in WaterThermalTankData::setupZoneInternalGa…
jmythms ed36c88
WTT.hh rename TypeNum to WaterThermalTankType
jmythms 6ec48fd
Revert "WTT.hh rename TypeNum to WaterThermalTankType": Need more inf…
jmythms b5e8409
rename WaterThermalTankType HPWHTankType HPWHType, add array HCoilNames
jmythms 48f2c30
clangFormat
jmythms cd3acdc
revert changes in documents
jmythms 7ca2499
rename PlantEquipTypeNames and PlantEquipTypeNamesUC
jmythms File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Renamed variables that were not
int
s anymore.