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

Commit 51591bc

Browse files
committed
Update naming of UCEVCC event type
1 parent 126daaf commit 51591bc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ucevcc/events.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ func (e *UCEVCC) evConfigurationDataUpdate(payload spineapi.EventPayload) {
140140

141141
// Scenario 3
142142
if _, err := evDeviceConfiguration.GetKeyValueForKeyName(model.DeviceConfigurationKeyNameTypeAsymmetricChargingSupported, model.DeviceConfigurationKeyValueTypeTypeString); err == nil {
143-
e.eventCB(payload.Ski, payload.Device, payload.Entity, AsymmetricChargingSupportDataUpdate)
143+
e.eventCB(payload.Ski, payload.Device, payload.Entity, DataUpdateAsymmetricChargingSupport)
144144
}
145145
}
146146

ucevcc/types.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ const (
5656
// - the entity of the EV
5757
//
5858
// Note: the referred data may be updated together with all other configuration items of this use case
59-
AsymmetricChargingSupportDataUpdate api.EventType = "AsymmetricChargingSupportDataUpdate"
59+
DataUpdateAsymmetricChargingSupport api.EventType = "DataUpdateAsymmetricChargingSupport"
6060

6161
// EV identificationdata was updated
6262
//

0 commit comments

Comments
 (0)