Commit 14b6fbf
authored
AER-3873 - Make heat content validation more specific (#353)
* Implement heat content validation in OPSSourceCharacteristics class
Added a new method to validate heat content based on its type, ensuring that for non-forced heat content types, the heat content is present and falls within the defined limits. Removed the previous min/max annotations from the getHeatContent method to streamline validation logic.
* Make comment more specific1 parent e21e2f7 commit 14b6fbf
1 file changed
Lines changed: 16 additions & 2 deletions
File tree
Lines changed: 16 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
96 | 97 | | |
97 | 98 | | |
98 | 99 | | |
99 | | - | |
100 | | - | |
101 | 100 | | |
102 | 101 | | |
103 | 102 | | |
| |||
106 | 105 | | |
107 | 106 | | |
108 | 107 | | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
109 | 123 | | |
110 | 124 | | |
111 | 125 | | |
| |||
0 commit comments