-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Schedule Validation Follow-Ups (#537)
* evse: Add get_current_phase_type() Reports whether the EVSE is of type AC, DC, or unknown. Signed-off-by: Christopher Davis <[email protected]> * smart_charging: Implement ostream operator for ProfileValidationResultEnum Makes it a little bit easier to reason about test logs dealing with this enum. Signed-off-by: Christopher Davis <[email protected]> * smart_charging: Implement K01.FR.44 for EVSEs Signed-off-by: Christopher Davis <[email protected]> * smart_charging: Handle K01.FR.45 for EVSEs We reject profiles that provide invalid data here. Signed-off-by: Christopher Davis <[email protected]> * smart_charging: Handle K01.FR.49 for EVSEs `SmartChargingHandler::validate_profile_schedules()` no longer takes a constant reference to the profile, as we make modifications to the profile. Also adjusts the code to ensure we aren't copying instead of using references. Signed-off-by: Christopher Davis <[email protected]> * smart_charging: Fix K01.FR.35 implementation Refactoring this code when implementing FR.49 allowed a bug to be spotted. Previously we weren't checking that values were increasing after period 0. Signed-off-by: Christopher Davis <[email protected]> --------- Signed-off-by: Christopher Davis <[email protected]>
- Loading branch information
1 parent
76e2301
commit b693a78
Showing
7 changed files
with
196 additions
and
20 deletions.
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
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