Skip to content

Commit

Permalink
Merge pull request SwitchEV#45 from mrbig/master
Browse files Browse the repository at this point in the history
Replaced DummyEVController in ClientState with the appropriate interface
  • Loading branch information
Marc Mültin authored Mar 26, 2020
2 parents bc1bdfd + 0909d42 commit f9fce08
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
import javax.xml.bind.JAXBElement;
import javax.xml.namespace.QName;

import com.v2gclarity.risev2g.evcc.evController.DummyEVController;
import com.v2gclarity.risev2g.evcc.evController.IACEVController;
import com.v2gclarity.risev2g.evcc.evController.IDCEVController;
import com.v2gclarity.risev2g.evcc.session.V2GCommunicationSessionEVCC;
Expand Down Expand Up @@ -293,7 +292,7 @@ protected AuthorizationReqType getAuthorizationReq(byte[] genChallenge) {
*/
protected CableCheckReqType getCableCheckReq() {
CableCheckReqType cableCheckReq = new CableCheckReqType();
cableCheckReq.setDCEVStatus(((DummyEVController) getCommSessionContext().getEvController()).getDCEVStatus());
cableCheckReq.setDCEVStatus(((IDCEVController) getCommSessionContext().getEvController()).getDCEVStatus());

return cableCheckReq;
}
Expand Down

0 comments on commit f9fce08

Please sign in to comment.