e-clearing-net / OCHP

Open Clearing House Protocol
http://ochp.eu
MIT License
47 stars 33 forks source link

chargePointType in CDRInfo #17

Open ahzf opened 7 years ago

ahzf commented 7 years ago

What is the use of the field chargePointType having a string value of either "AC" or "DC" in a CDRInfo? If someone needs this info a lookup via the EVSE Id is sufficient. Additionally an enum having defined values of "AC" and "DC" would be a better way of representation.

mtdern commented 7 years ago

To be honest this is a field I would get rid of entirely, since the distinction is apparent from the connector in any case (even without a lookup). Some parties connected to e-clearing however wish to keep this field, since it makes their implementations easier. Thus, we haven't touched it. I'll try again to get rid of it in the next version.