Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed order of closing contactor and reformated the code #65

Merged
merged 2 commits into from
Jun 20, 2022

Conversation

tropxy
Copy link
Contributor

@tropxy tropxy commented Jun 20, 2022

No description provided.

@tropxy tropxy requested review from shalinnijel2 and ikaratass June 20, 2022 01:54
Copy link
Collaborator

@ikaratass ikaratass left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is ok for me

Copy link
Contributor

@shalinnijel2 shalinnijel2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just that close_contactor is missing in din_spec. Else lgtm.
Also set_hlc_charging(True/False) is missing in -20.
So, to summarise, the order of events for all protocols would be:

  1. Start/Stop HLC
  2. Stop charger (only if ChargeProgress equals stop charging)
  3. Open/Close contactor

iso15118/secc/states/din_spec_states.py Outdated Show resolved Hide resolved
…it to -20 and DIN spec; added tests and refactored them as well
@tropxy tropxy requested review from shalinnijel2 and ikaratass June 20, 2022 12:47
Copy link
Contributor

@shalinnijel2 shalinnijel2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okie dokie...all lgtm...

@tropxy tropxy merged commit 9852d54 into master Jun 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants