Documentation ¶
Index ¶
- Constants
- type ConfigMap
- type Core
- func (s *Core) OnChangeAvailability(request *core.ChangeAvailabilityRequest) (confirmation *core.ChangeAvailabilityConfirmation, err error)
- func (s *Core) OnChangeConfiguration(request *core.ChangeConfigurationRequest) (confirmation *core.ChangeConfigurationConfirmation, err error)
- func (s *Core) OnClearCache(request *core.ClearCacheRequest) (confirmation *core.ClearCacheConfirmation, err error)
- func (s *Core) OnDataTransfer(request *core.DataTransferRequest) (confirmation *core.DataTransferConfirmation, err error)
- func (s *Core) OnGetConfiguration(request *core.GetConfigurationRequest) (confirmation *core.GetConfigurationConfirmation, err error)
- func (s *Core) OnRemoteStartTransaction(request *core.RemoteStartTransactionRequest) (confirmation *core.RemoteStartTransactionConfirmation, err error)
- func (s *Core) OnRemoteStopTransaction(request *core.RemoteStopTransactionRequest) (confirmation *core.RemoteStopTransactionConfirmation, err error)
- func (s *Core) OnReset(request *core.ResetRequest) (confirmation *core.ResetConfirmation, err error)
- func (s *Core) OnUnlockConnector(request *core.UnlockConnectorRequest) (confirmation *core.UnlockConnectorConfirmation, err error)
- type SmartCharging
- func (s *SmartCharging) OnClearChargingProfile(request *sc.ClearChargingProfileRequest) (confirmation *sc.ClearChargingProfileConfirmation, err error)
- func (s *SmartCharging) OnGetCompositeSchedule(request *sc.GetCompositeScheduleRequest) (confirmation *sc.GetCompositeScheduleConfirmation, err error)
- func (s *SmartCharging) OnSetChargingProfile(request *sc.SetChargingProfileRequest) (confirmation *sc.SetChargingProfileConfirmation, err error)
Constants ¶
View Source
const ( AuthorizeRemoteTxRequests string = "AuthorizeRemoteTxRequests" ClockAlignedDataInterval string = "ClockAlignedDataInterval" ConnectionTimeOut string = "ConnectionTimeOut" ConnectorPhaseRotation string = "ConnectorPhaseRotation" GetConfigurationMaxKeys string = "GetConfigurationMaxKeys" HeartbeatInterval string = "HeartbeatInterval" LocalAuthorizeOffline string = "LocalAuthorizeOffline" LocalPreAuthorize string = "LocalPreAuthorize" MeterValuesAlignedData string = "MeterValuesAlignedData" MeterValuesSampledData string = "MeterValuesSampledData" MeterValueSampleInterval string = "MeterValueSampleInterval" NumberOfConnectors string = "NumberOfConnectors" ResetRetries string = "ResetRetries" StopTransactionOnEVSideDisconnect string = "StopTransactionOnEVSideDisconnect" StopTransactionOnInvalidID string = "StopTransactionOnInvalidId" StopTxnAlignedData string = "StopTxnAlignedData" StopTxnSampledData string = "StopTxnSampledData" SupportedFeatureProfiles string = "SupportedFeatureProfiles" TransactionMessageAttempts string = "TransactionMessageAttempts" TransactionMessageRetryInterval string = "TransactionMessageRetryInterval" UnlockConnectorOnEVSideDisconnect string = "UnlockConnectorOnEVSideDisconnect" WebSocketPingInterval string = "WebSocketPingInterval" LocalAuthListEnabled string = "LocalAuthListEnabled" LocalAuthListMaxLength string = "LocalAuthListMaxLength" SendLocalListMaxLength string = "SendLocalListMaxLength" ChargeProfileMaxStackLevel string = "ChargeProfileMaxStackLevel" ChargingScheduleAllowedChargingRateUnit string = "ChargingScheduleAllowedChargingRateUnit" ChargingScheduleMaxPeriods string = "ChargingScheduleMaxPeriods" MaxChargingProfilesInstalled string = "MaxChargingProfilesInstalled" )
configuration options
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigMap ¶
type ConfigMap map[string]core.ConfigurationKey
ConfigMap defines the active configuration settings
func GetDefaultConfig ¶
func GetDefaultConfig() ConfigMap
type Core ¶
type Core struct {
// contains filtered or unexported fields
}
func (*Core) OnChangeAvailability ¶
func (s *Core) OnChangeAvailability(request *core.ChangeAvailabilityRequest) (confirmation *core.ChangeAvailabilityConfirmation, err error)
OnChangeAvailability handles the CS message
func (*Core) OnChangeConfiguration ¶
func (s *Core) OnChangeConfiguration(request *core.ChangeConfigurationRequest) (confirmation *core.ChangeConfigurationConfirmation, err error)
OnChangeConfiguration handles the CS message
func (*Core) OnClearCache ¶
func (s *Core) OnClearCache(request *core.ClearCacheRequest) (confirmation *core.ClearCacheConfirmation, err error)
OnClearCache handles the CS message
func (*Core) OnDataTransfer ¶
func (s *Core) OnDataTransfer(request *core.DataTransferRequest) (confirmation *core.DataTransferConfirmation, err error)
OnDataTransfer handles the CS message
func (*Core) OnGetConfiguration ¶
func (s *Core) OnGetConfiguration(request *core.GetConfigurationRequest) (confirmation *core.GetConfigurationConfirmation, err error)
OnGetConfiguration handles the CS message
func (*Core) OnRemoteStartTransaction ¶
func (s *Core) OnRemoteStartTransaction(request *core.RemoteStartTransactionRequest) (confirmation *core.RemoteStartTransactionConfirmation, err error)
OnRemoteStartTransaction handles the CS message
func (*Core) OnRemoteStopTransaction ¶
func (s *Core) OnRemoteStopTransaction(request *core.RemoteStopTransactionRequest) (confirmation *core.RemoteStopTransactionConfirmation, err error)
OnRemoteStopTransaction handles the CS message
func (*Core) OnReset ¶
func (s *Core) OnReset(request *core.ResetRequest) (confirmation *core.ResetConfirmation, err error)
OnReset handles the CS message
func (*Core) OnUnlockConnector ¶
func (s *Core) OnUnlockConnector(request *core.UnlockConnectorRequest) (confirmation *core.UnlockConnectorConfirmation, err error)
OnUnlockConnector handles the CS message
type SmartCharging ¶
type SmartCharging struct {
// contains filtered or unexported fields
}
func NewSmartCharging ¶
func NewSmartCharging(log *util.Logger) *SmartCharging
func (*SmartCharging) OnClearChargingProfile ¶
func (s *SmartCharging) OnClearChargingProfile(request *sc.ClearChargingProfileRequest) (confirmation *sc.ClearChargingProfileConfirmation, err error)
OnClearChargingProfile handles the CS message
func (*SmartCharging) OnGetCompositeSchedule ¶
func (s *SmartCharging) OnGetCompositeSchedule(request *sc.GetCompositeScheduleRequest) (confirmation *sc.GetCompositeScheduleConfirmation, err error)
OnGetCompositeSchedule handles the CS message
func (*SmartCharging) OnSetChargingProfile ¶
func (s *SmartCharging) OnSetChargingProfile(request *sc.SetChargingProfileRequest) (confirmation *sc.SetChargingProfileConfirmation, err error)
OnSetChargingProfile handles the CS message
Click to show internal directories.
Click to hide internal directories.