File tree Expand file tree Collapse file tree
src/main/java/de/rwth/idsg/steve/repository/dto Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11package de .rwth .idsg .steve .repository .dto ;
22
33import lombok .Getter ;
4- import ocpp .cs ._2012 ._06 .ChargePointErrorCode ;
5- import ocpp .cs ._2012 ._06 .ChargePointStatus ;
6-
7- import static ocpp .cs ._2012 ._06 .ChargePointStatus .AVAILABLE ;
8- import static ocpp .cs ._2012 ._06 .ChargePointStatus .OCCUPIED ;
4+ import ocpp .cs ._2015 ._10 .ChargePointErrorCode ;
5+ import ocpp .cs ._2015 ._10 .ChargePointStatus ;
96
107/**
11- * 1) Exists only to ensure type safety
12- * 2) Does not matter, whether we use ChargePointStatus and ChargePointErrorCode from OCPP 1.2 or 1.5
8+ * Exists only to ensure type safety
139 *
1410 * @author Sevket Goekay <goekay@dbis.rwth-aachen.de>
1511 * @since 17.03.2016
1612 */
1713@ Getter
1814public enum TransactionStatusUpdate {
19- AfterStart (OCCUPIED ),
20- AfterStop (AVAILABLE );
15+
16+ // From OCPP 1.6: When the contactor of a Connector closes, allowing the vehicle to charge
17+ AfterStart (ChargePointStatus .CHARGING ),
18+
19+ // From OCPP 1.6: When a charging session has stopped at a Connector, but the Connector is not yet available
20+ // for a new user, e.g. the cable has not been removed or the vehicle has not left the parking bay
21+ AfterStop (ChargePointStatus .FINISHING );
2122
2223 private final String status ;
2324 private final String errorCode = ChargePointErrorCode .NO_ERROR .value ();
You can’t perform that action at this time.
0 commit comments