@@ -14,8 +14,8 @@ namespace utils {
14
14
// / \brief std::vector<MeasurandEnum> of the configured AlignedDataMeasurands
15
15
std::vector<MeasurandEnum> get_measurands_vec (const std::string& measurands_csv);
16
16
17
- // /\brief This function determines if any of the \p measurands is present in the \p _meter_value at all
18
- // /\return True if any measurand is found, false otherwise
17
+ // / \brief This function determines if any of the \p measurands is present in the \p _meter_value at all
18
+ // / \return True if any measurand is found, false otherwise
19
19
bool meter_value_has_any_measurand (const MeterValue& _meter_value, const std::vector<MeasurandEnum>& measurands);
20
20
21
21
// / \brief Applies the given \p measurands to the given \p _meter_value . The returned meter value will only contain
@@ -27,12 +27,12 @@ bool meter_value_has_any_measurand(const MeterValue& _meter_value, const std::ve
27
27
MeterValue get_meter_value_with_measurands_applied (const MeterValue& _meter_value,
28
28
const std::vector<MeasurandEnum>& measurands);
29
29
30
- // /\brief Applies the given measurands to \p meter_values based on their ReadingContext.
30
+ // / \brief Applies the given measurands to \p meter_values based on their ReadingContext.
31
31
// / Transaction_Begin, Interruption_Begin, Transaction_End, Interruption_End and Sample_Periodic will be filtered using
32
32
// / \p sampled_tx_ended_measurands.
33
33
// / Sample_Clock will be filtered using \p aligned_tx_ended_measurands
34
34
// / Any metervalue after \p max_timestamp will also be removed.
35
- // /\retval filtered meter values
35
+ // / \retval filtered meter values
36
36
std::vector<MeterValue> get_meter_values_with_measurands_applied (
37
37
const std::vector<MeterValue>& meter_values, const std::vector<MeasurandEnum>& sampled_tx_ended_measurands,
38
38
const std::vector<MeasurandEnum>& aligned_tx_ended_measurands, ocpp::DateTime max_timestamp);
@@ -47,15 +47,15 @@ TriggerReasonEnum stop_reason_to_trigger_reason_enum(const ReasonEnum& stop_reas
47
47
// / \return
48
48
std::string sha256 (const std::string& str);
49
49
50
- // / @ brief Return a SHA256 hash generated from a combination of the \p token type and id
51
- // / @ param token the token to generate the hash for
52
- // / @ return A SHA256 hash string
50
+ // / \ brief Return a SHA256 hash generated from a combination of the \p token type and id
51
+ // / \ param token the token to generate the hash for
52
+ // / \ return A SHA256 hash string
53
53
std::string generate_token_hash (const IdToken& token);
54
54
55
- // / @ brief Align the clock aligned timestamps to the interval values
56
- // / @ param timestamp the timestamp to align
57
- // / @ param align_interval the clock aligned interval to align to since midnight 00:00
58
- // / @ return DateTime type timestamp
55
+ // / \ brief Align the clock aligned timestamps to the interval values
56
+ // / \ param timestamp the timestamp to align
57
+ // / \ param align_interval the clock aligned interval to align to since midnight 00:00
58
+ // / \ return DateTime type timestamp
59
59
ocpp::DateTime align_timestamp (const DateTime timestamp, std::chrono::seconds align_interval);
60
60
61
61
} // namespace utils
0 commit comments