@@ -2239,34 +2239,6 @@ void from_json(const json& j, Firmware& k);
2239
2239
// / \brief Writes the string representation of the given Firmware \p k to the given output stream \p os
2240
2240
// / \returns an output stream with the Firmware written to
2241
2241
std::ostream& operator <<(std::ostream& os, const Firmware& k);
2242
-
2243
- // /
2244
- // / \brief Required ComponentVariable.
2245
- // /
2246
- struct RequiredComponentVariable : ComponentVariable {
2247
- // / \brief Constructor
2248
- RequiredComponentVariable () : required_for({OcppProtocolVersion::v201, OcppProtocolVersion::v21}) {};
2249
-
2250
- // /
2251
- // / \brief RequiredComponentVariable
2252
- // / \param component Component
2253
- // / \param variable Variable
2254
- // / \param custom_data Custom data (default nullopt)
2255
- // / \param required_for Required for which version. Multiple versions can be given.
2256
- // /
2257
- RequiredComponentVariable (const Component component, const std::optional<Variable> variable,
2258
- const std::optional<CustomData> custom_data = std::nullopt,
2259
- const std::set<OcppProtocolVersion> required_for = {OcppProtocolVersion::v201,
2260
- OcppProtocolVersion::v21}) :
2261
- ComponentVariable (), required_for(required_for) {
2262
- this ->component = component;
2263
- this ->variable = variable;
2264
- this ->customData = custom_data;
2265
- };
2266
-
2267
- // / \brief For which ocpp protocol version(s) this component variable is required.
2268
- std::set<OcppProtocolVersion> required_for;
2269
- };
2270
2242
} // namespace v201
2271
2243
} // namespace ocpp
2272
2244
0 commit comments