Skip to content
This repository has been archived by the owner on Jun 29, 2024. It is now read-only.

Commit

Permalink
Update naming of UCEVCC event type
Browse files Browse the repository at this point in the history
  • Loading branch information
DerAndereAndi committed Apr 5, 2024
1 parent 126daaf commit 51591bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ucevcc/events.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ func (e *UCEVCC) evConfigurationDataUpdate(payload spineapi.EventPayload) {

// Scenario 3
if _, err := evDeviceConfiguration.GetKeyValueForKeyName(model.DeviceConfigurationKeyNameTypeAsymmetricChargingSupported, model.DeviceConfigurationKeyValueTypeTypeString); err == nil {
e.eventCB(payload.Ski, payload.Device, payload.Entity, AsymmetricChargingSupportDataUpdate)
e.eventCB(payload.Ski, payload.Device, payload.Entity, DataUpdateAsymmetricChargingSupport)
}
}

Expand Down
2 changes: 1 addition & 1 deletion ucevcc/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const (
// - the entity of the EV
//
// Note: the referred data may be updated together with all other configuration items of this use case
AsymmetricChargingSupportDataUpdate api.EventType = "AsymmetricChargingSupportDataUpdate"
DataUpdateAsymmetricChargingSupport api.EventType = "DataUpdateAsymmetricChargingSupport"

// EV identificationdata was updated
//
Expand Down

0 comments on commit 51591bc

Please sign in to comment.