Documentation
¶
Index ¶
- type CemCEVCInterface
- func (_m *CemCEVCInterface) AddFeatures()
- func (_m *CemCEVCInterface) AddUseCase()
- func (_m *CemCEVCInterface) AvailableScenariosForEntity(entity spine_goapi.EntityRemoteInterface) []uint
- func (_m *CemCEVCInterface) ChargePlan(entity spine_goapi.EntityRemoteInterface) (api.ChargePlan, error)
- func (_m *CemCEVCInterface) ChargePlanConstraints(entity spine_goapi.EntityRemoteInterface) ([]api.DurationSlotValue, error)
- func (_m *CemCEVCInterface) ChargeStrategy(remoteEntity spine_goapi.EntityRemoteInterface) api.EVChargeStrategyType
- func (_m *CemCEVCInterface) EXPECT() *CemCEVCInterface_Expecter
- func (_m *CemCEVCInterface) EnergyDemand(remoteEntity spine_goapi.EntityRemoteInterface) (api.Demand, error)
- func (_m *CemCEVCInterface) IncentiveConstraints(entity spine_goapi.EntityRemoteInterface) (api.IncentiveSlotConstraints, error)
- func (_m *CemCEVCInterface) IsCompatibleEntityType(entity spine_goapi.EntityRemoteInterface) bool
- func (_m *CemCEVCInterface) IsScenarioAvailableAtEntity(entity spine_goapi.EntityRemoteInterface, scenario uint) bool
- func (_m *CemCEVCInterface) RemoteEntitiesScenarios() []eebus_goapi.RemoteEntityScenarios
- func (_m *CemCEVCInterface) RemoveUseCase()
- func (_m *CemCEVCInterface) TimeSlotConstraints(entity spine_goapi.EntityRemoteInterface) (api.TimeSlotConstraints, error)
- func (_m *CemCEVCInterface) UpdateUseCaseAvailability(available bool)
- func (_m *CemCEVCInterface) WriteIncentiveTableDescriptions(entity spine_goapi.EntityRemoteInterface, ...) error
- func (_m *CemCEVCInterface) WriteIncentives(entity spine_goapi.EntityRemoteInterface, data []api.DurationSlotValue) error
- func (_m *CemCEVCInterface) WritePowerLimits(entity spine_goapi.EntityRemoteInterface, data []api.DurationSlotValue) error
- type CemCEVCInterface_AddFeatures_Call
- type CemCEVCInterface_AddUseCase_Call
- type CemCEVCInterface_AvailableScenariosForEntity_Call
- func (_c *CemCEVCInterface_AvailableScenariosForEntity_Call) Return(_a0 []uint) *CemCEVCInterface_AvailableScenariosForEntity_Call
- func (_c *CemCEVCInterface_AvailableScenariosForEntity_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemCEVCInterface_AvailableScenariosForEntity_Call
- func (_c *CemCEVCInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) []uint) *CemCEVCInterface_AvailableScenariosForEntity_Call
- type CemCEVCInterface_ChargePlanConstraints_Call
- func (_c *CemCEVCInterface_ChargePlanConstraints_Call) Return(_a0 []api.DurationSlotValue, _a1 error) *CemCEVCInterface_ChargePlanConstraints_Call
- func (_c *CemCEVCInterface_ChargePlanConstraints_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemCEVCInterface_ChargePlanConstraints_Call
- func (_c *CemCEVCInterface_ChargePlanConstraints_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) ([]api.DurationSlotValue, error)) *CemCEVCInterface_ChargePlanConstraints_Call
- type CemCEVCInterface_ChargePlan_Call
- func (_c *CemCEVCInterface_ChargePlan_Call) Return(_a0 api.ChargePlan, _a1 error) *CemCEVCInterface_ChargePlan_Call
- func (_c *CemCEVCInterface_ChargePlan_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemCEVCInterface_ChargePlan_Call
- func (_c *CemCEVCInterface_ChargePlan_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (api.ChargePlan, error)) *CemCEVCInterface_ChargePlan_Call
- type CemCEVCInterface_ChargeStrategy_Call
- func (_c *CemCEVCInterface_ChargeStrategy_Call) Return(_a0 api.EVChargeStrategyType) *CemCEVCInterface_ChargeStrategy_Call
- func (_c *CemCEVCInterface_ChargeStrategy_Call) Run(run func(remoteEntity spine_goapi.EntityRemoteInterface)) *CemCEVCInterface_ChargeStrategy_Call
- func (_c *CemCEVCInterface_ChargeStrategy_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) api.EVChargeStrategyType) *CemCEVCInterface_ChargeStrategy_Call
- type CemCEVCInterface_EnergyDemand_Call
- func (_c *CemCEVCInterface_EnergyDemand_Call) Return(_a0 api.Demand, _a1 error) *CemCEVCInterface_EnergyDemand_Call
- func (_c *CemCEVCInterface_EnergyDemand_Call) Run(run func(remoteEntity spine_goapi.EntityRemoteInterface)) *CemCEVCInterface_EnergyDemand_Call
- func (_c *CemCEVCInterface_EnergyDemand_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (api.Demand, error)) *CemCEVCInterface_EnergyDemand_Call
- type CemCEVCInterface_Expecter
- func (_e *CemCEVCInterface_Expecter) AddFeatures() *CemCEVCInterface_AddFeatures_Call
- func (_e *CemCEVCInterface_Expecter) AddUseCase() *CemCEVCInterface_AddUseCase_Call
- func (_e *CemCEVCInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *CemCEVCInterface_AvailableScenariosForEntity_Call
- func (_e *CemCEVCInterface_Expecter) ChargePlan(entity interface{}) *CemCEVCInterface_ChargePlan_Call
- func (_e *CemCEVCInterface_Expecter) ChargePlanConstraints(entity interface{}) *CemCEVCInterface_ChargePlanConstraints_Call
- func (_e *CemCEVCInterface_Expecter) ChargeStrategy(remoteEntity interface{}) *CemCEVCInterface_ChargeStrategy_Call
- func (_e *CemCEVCInterface_Expecter) EnergyDemand(remoteEntity interface{}) *CemCEVCInterface_EnergyDemand_Call
- func (_e *CemCEVCInterface_Expecter) IncentiveConstraints(entity interface{}) *CemCEVCInterface_IncentiveConstraints_Call
- func (_e *CemCEVCInterface_Expecter) IsCompatibleEntityType(entity interface{}) *CemCEVCInterface_IsCompatibleEntityType_Call
- func (_e *CemCEVCInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *CemCEVCInterface_IsScenarioAvailableAtEntity_Call
- func (_e *CemCEVCInterface_Expecter) RemoteEntitiesScenarios() *CemCEVCInterface_RemoteEntitiesScenarios_Call
- func (_e *CemCEVCInterface_Expecter) RemoveUseCase() *CemCEVCInterface_RemoveUseCase_Call
- func (_e *CemCEVCInterface_Expecter) TimeSlotConstraints(entity interface{}) *CemCEVCInterface_TimeSlotConstraints_Call
- func (_e *CemCEVCInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *CemCEVCInterface_UpdateUseCaseAvailability_Call
- func (_e *CemCEVCInterface_Expecter) WriteIncentiveTableDescriptions(entity interface{}, data interface{}) *CemCEVCInterface_WriteIncentiveTableDescriptions_Call
- func (_e *CemCEVCInterface_Expecter) WriteIncentives(entity interface{}, data interface{}) *CemCEVCInterface_WriteIncentives_Call
- func (_e *CemCEVCInterface_Expecter) WritePowerLimits(entity interface{}, data interface{}) *CemCEVCInterface_WritePowerLimits_Call
- type CemCEVCInterface_IncentiveConstraints_Call
- func (_c *CemCEVCInterface_IncentiveConstraints_Call) Return(_a0 api.IncentiveSlotConstraints, _a1 error) *CemCEVCInterface_IncentiveConstraints_Call
- func (_c *CemCEVCInterface_IncentiveConstraints_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemCEVCInterface_IncentiveConstraints_Call
- func (_c *CemCEVCInterface_IncentiveConstraints_Call) RunAndReturn(...) *CemCEVCInterface_IncentiveConstraints_Call
- type CemCEVCInterface_IsCompatibleEntityType_Call
- func (_c *CemCEVCInterface_IsCompatibleEntityType_Call) Return(_a0 bool) *CemCEVCInterface_IsCompatibleEntityType_Call
- func (_c *CemCEVCInterface_IsCompatibleEntityType_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemCEVCInterface_IsCompatibleEntityType_Call
- func (_c *CemCEVCInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) bool) *CemCEVCInterface_IsCompatibleEntityType_Call
- type CemCEVCInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CemCEVCInterface_IsScenarioAvailableAtEntity_Call) Return(_a0 bool) *CemCEVCInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CemCEVCInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity spine_goapi.EntityRemoteInterface, scenario uint)) *CemCEVCInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CemCEVCInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface, uint) bool) *CemCEVCInterface_IsScenarioAvailableAtEntity_Call
- type CemCEVCInterface_RemoteEntitiesScenarios_Call
- func (_c *CemCEVCInterface_RemoteEntitiesScenarios_Call) Return(_a0 []eebus_goapi.RemoteEntityScenarios) *CemCEVCInterface_RemoteEntitiesScenarios_Call
- func (_c *CemCEVCInterface_RemoteEntitiesScenarios_Call) Run(run func()) *CemCEVCInterface_RemoteEntitiesScenarios_Call
- func (_c *CemCEVCInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []eebus_goapi.RemoteEntityScenarios) *CemCEVCInterface_RemoteEntitiesScenarios_Call
- type CemCEVCInterface_RemoveUseCase_Call
- func (_c *CemCEVCInterface_RemoveUseCase_Call) Return() *CemCEVCInterface_RemoveUseCase_Call
- func (_c *CemCEVCInterface_RemoveUseCase_Call) Run(run func()) *CemCEVCInterface_RemoveUseCase_Call
- func (_c *CemCEVCInterface_RemoveUseCase_Call) RunAndReturn(run func()) *CemCEVCInterface_RemoveUseCase_Call
- type CemCEVCInterface_TimeSlotConstraints_Call
- func (_c *CemCEVCInterface_TimeSlotConstraints_Call) Return(_a0 api.TimeSlotConstraints, _a1 error) *CemCEVCInterface_TimeSlotConstraints_Call
- func (_c *CemCEVCInterface_TimeSlotConstraints_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemCEVCInterface_TimeSlotConstraints_Call
- func (_c *CemCEVCInterface_TimeSlotConstraints_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (api.TimeSlotConstraints, error)) *CemCEVCInterface_TimeSlotConstraints_Call
- type CemCEVCInterface_UpdateUseCaseAvailability_Call
- func (_c *CemCEVCInterface_UpdateUseCaseAvailability_Call) Return() *CemCEVCInterface_UpdateUseCaseAvailability_Call
- func (_c *CemCEVCInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *CemCEVCInterface_UpdateUseCaseAvailability_Call
- func (_c *CemCEVCInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(bool)) *CemCEVCInterface_UpdateUseCaseAvailability_Call
- type CemCEVCInterface_WriteIncentiveTableDescriptions_Call
- func (_c *CemCEVCInterface_WriteIncentiveTableDescriptions_Call) Return(_a0 error) *CemCEVCInterface_WriteIncentiveTableDescriptions_Call
- func (_c *CemCEVCInterface_WriteIncentiveTableDescriptions_Call) Run(run func(entity spine_goapi.EntityRemoteInterface, ...)) *CemCEVCInterface_WriteIncentiveTableDescriptions_Call
- func (_c *CemCEVCInterface_WriteIncentiveTableDescriptions_Call) RunAndReturn(...) *CemCEVCInterface_WriteIncentiveTableDescriptions_Call
- type CemCEVCInterface_WriteIncentives_Call
- func (_c *CemCEVCInterface_WriteIncentives_Call) Return(_a0 error) *CemCEVCInterface_WriteIncentives_Call
- func (_c *CemCEVCInterface_WriteIncentives_Call) Run(...) *CemCEVCInterface_WriteIncentives_Call
- func (_c *CemCEVCInterface_WriteIncentives_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface, []api.DurationSlotValue) error) *CemCEVCInterface_WriteIncentives_Call
- type CemCEVCInterface_WritePowerLimits_Call
- func (_c *CemCEVCInterface_WritePowerLimits_Call) Return(_a0 error) *CemCEVCInterface_WritePowerLimits_Call
- func (_c *CemCEVCInterface_WritePowerLimits_Call) Run(...) *CemCEVCInterface_WritePowerLimits_Call
- func (_c *CemCEVCInterface_WritePowerLimits_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface, []api.DurationSlotValue) error) *CemCEVCInterface_WritePowerLimits_Call
- type CemEVCCInterface
- func (_m *CemEVCCInterface) AddFeatures()
- func (_m *CemEVCCInterface) AddUseCase()
- func (_m *CemEVCCInterface) AsymmetricChargingSupport(entity spine_goapi.EntityRemoteInterface) (bool, error)
- func (_m *CemEVCCInterface) AvailableScenariosForEntity(entity spine_goapi.EntityRemoteInterface) []uint
- func (_m *CemEVCCInterface) ChargeState(entity spine_goapi.EntityRemoteInterface) (api.EVChargeStateType, error)
- func (_m *CemEVCCInterface) ChargingPowerLimits(entity spine_goapi.EntityRemoteInterface) (float64, float64, float64, error)
- func (_m *CemEVCCInterface) CommunicationStandard(entity spine_goapi.EntityRemoteInterface) (model.DeviceConfigurationKeyValueStringType, error)
- func (_m *CemEVCCInterface) EVConnected(entity spine_goapi.EntityRemoteInterface) bool
- func (_m *CemEVCCInterface) EXPECT() *CemEVCCInterface_Expecter
- func (_m *CemEVCCInterface) Identifications(entity spine_goapi.EntityRemoteInterface) ([]api.IdentificationItem, error)
- func (_m *CemEVCCInterface) IsCompatibleEntityType(entity spine_goapi.EntityRemoteInterface) bool
- func (_m *CemEVCCInterface) IsInSleepMode(entity spine_goapi.EntityRemoteInterface) (bool, error)
- func (_m *CemEVCCInterface) IsScenarioAvailableAtEntity(entity spine_goapi.EntityRemoteInterface, scenario uint) bool
- func (_m *CemEVCCInterface) ManufacturerData(entity spine_goapi.EntityRemoteInterface) (eebus_goapi.ManufacturerData, error)
- func (_m *CemEVCCInterface) RemoteEntitiesScenarios() []eebus_goapi.RemoteEntityScenarios
- func (_m *CemEVCCInterface) RemoveUseCase()
- func (_m *CemEVCCInterface) UpdateUseCaseAvailability(available bool)
- type CemEVCCInterface_AddFeatures_Call
- type CemEVCCInterface_AddUseCase_Call
- type CemEVCCInterface_AsymmetricChargingSupport_Call
- func (_c *CemEVCCInterface_AsymmetricChargingSupport_Call) Return(_a0 bool, _a1 error) *CemEVCCInterface_AsymmetricChargingSupport_Call
- func (_c *CemEVCCInterface_AsymmetricChargingSupport_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemEVCCInterface_AsymmetricChargingSupport_Call
- func (_c *CemEVCCInterface_AsymmetricChargingSupport_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (bool, error)) *CemEVCCInterface_AsymmetricChargingSupport_Call
- type CemEVCCInterface_AvailableScenariosForEntity_Call
- func (_c *CemEVCCInterface_AvailableScenariosForEntity_Call) Return(_a0 []uint) *CemEVCCInterface_AvailableScenariosForEntity_Call
- func (_c *CemEVCCInterface_AvailableScenariosForEntity_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemEVCCInterface_AvailableScenariosForEntity_Call
- func (_c *CemEVCCInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) []uint) *CemEVCCInterface_AvailableScenariosForEntity_Call
- type CemEVCCInterface_ChargeState_Call
- func (_c *CemEVCCInterface_ChargeState_Call) Return(_a0 api.EVChargeStateType, _a1 error) *CemEVCCInterface_ChargeState_Call
- func (_c *CemEVCCInterface_ChargeState_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemEVCCInterface_ChargeState_Call
- func (_c *CemEVCCInterface_ChargeState_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (api.EVChargeStateType, error)) *CemEVCCInterface_ChargeState_Call
- type CemEVCCInterface_ChargingPowerLimits_Call
- func (_c *CemEVCCInterface_ChargingPowerLimits_Call) Return(_a0 float64, _a1 float64, _a2 float64, _a3 error) *CemEVCCInterface_ChargingPowerLimits_Call
- func (_c *CemEVCCInterface_ChargingPowerLimits_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemEVCCInterface_ChargingPowerLimits_Call
- func (_c *CemEVCCInterface_ChargingPowerLimits_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (float64, float64, float64, error)) *CemEVCCInterface_ChargingPowerLimits_Call
- type CemEVCCInterface_CommunicationStandard_Call
- func (_c *CemEVCCInterface_CommunicationStandard_Call) Return(_a0 model.DeviceConfigurationKeyValueStringType, _a1 error) *CemEVCCInterface_CommunicationStandard_Call
- func (_c *CemEVCCInterface_CommunicationStandard_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemEVCCInterface_CommunicationStandard_Call
- func (_c *CemEVCCInterface_CommunicationStandard_Call) RunAndReturn(...) *CemEVCCInterface_CommunicationStandard_Call
- type CemEVCCInterface_EVConnected_Call
- func (_c *CemEVCCInterface_EVConnected_Call) Return(_a0 bool) *CemEVCCInterface_EVConnected_Call
- func (_c *CemEVCCInterface_EVConnected_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemEVCCInterface_EVConnected_Call
- func (_c *CemEVCCInterface_EVConnected_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) bool) *CemEVCCInterface_EVConnected_Call
- type CemEVCCInterface_Expecter
- func (_e *CemEVCCInterface_Expecter) AddFeatures() *CemEVCCInterface_AddFeatures_Call
- func (_e *CemEVCCInterface_Expecter) AddUseCase() *CemEVCCInterface_AddUseCase_Call
- func (_e *CemEVCCInterface_Expecter) AsymmetricChargingSupport(entity interface{}) *CemEVCCInterface_AsymmetricChargingSupport_Call
- func (_e *CemEVCCInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *CemEVCCInterface_AvailableScenariosForEntity_Call
- func (_e *CemEVCCInterface_Expecter) ChargeState(entity interface{}) *CemEVCCInterface_ChargeState_Call
- func (_e *CemEVCCInterface_Expecter) ChargingPowerLimits(entity interface{}) *CemEVCCInterface_ChargingPowerLimits_Call
- func (_e *CemEVCCInterface_Expecter) CommunicationStandard(entity interface{}) *CemEVCCInterface_CommunicationStandard_Call
- func (_e *CemEVCCInterface_Expecter) EVConnected(entity interface{}) *CemEVCCInterface_EVConnected_Call
- func (_e *CemEVCCInterface_Expecter) Identifications(entity interface{}) *CemEVCCInterface_Identifications_Call
- func (_e *CemEVCCInterface_Expecter) IsCompatibleEntityType(entity interface{}) *CemEVCCInterface_IsCompatibleEntityType_Call
- func (_e *CemEVCCInterface_Expecter) IsInSleepMode(entity interface{}) *CemEVCCInterface_IsInSleepMode_Call
- func (_e *CemEVCCInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *CemEVCCInterface_IsScenarioAvailableAtEntity_Call
- func (_e *CemEVCCInterface_Expecter) ManufacturerData(entity interface{}) *CemEVCCInterface_ManufacturerData_Call
- func (_e *CemEVCCInterface_Expecter) RemoteEntitiesScenarios() *CemEVCCInterface_RemoteEntitiesScenarios_Call
- func (_e *CemEVCCInterface_Expecter) RemoveUseCase() *CemEVCCInterface_RemoveUseCase_Call
- func (_e *CemEVCCInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *CemEVCCInterface_UpdateUseCaseAvailability_Call
- type CemEVCCInterface_Identifications_Call
- func (_c *CemEVCCInterface_Identifications_Call) Return(_a0 []api.IdentificationItem, _a1 error) *CemEVCCInterface_Identifications_Call
- func (_c *CemEVCCInterface_Identifications_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemEVCCInterface_Identifications_Call
- func (_c *CemEVCCInterface_Identifications_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) ([]api.IdentificationItem, error)) *CemEVCCInterface_Identifications_Call
- type CemEVCCInterface_IsCompatibleEntityType_Call
- func (_c *CemEVCCInterface_IsCompatibleEntityType_Call) Return(_a0 bool) *CemEVCCInterface_IsCompatibleEntityType_Call
- func (_c *CemEVCCInterface_IsCompatibleEntityType_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemEVCCInterface_IsCompatibleEntityType_Call
- func (_c *CemEVCCInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) bool) *CemEVCCInterface_IsCompatibleEntityType_Call
- type CemEVCCInterface_IsInSleepMode_Call
- func (_c *CemEVCCInterface_IsInSleepMode_Call) Return(_a0 bool, _a1 error) *CemEVCCInterface_IsInSleepMode_Call
- func (_c *CemEVCCInterface_IsInSleepMode_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemEVCCInterface_IsInSleepMode_Call
- func (_c *CemEVCCInterface_IsInSleepMode_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (bool, error)) *CemEVCCInterface_IsInSleepMode_Call
- type CemEVCCInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CemEVCCInterface_IsScenarioAvailableAtEntity_Call) Return(_a0 bool) *CemEVCCInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CemEVCCInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity spine_goapi.EntityRemoteInterface, scenario uint)) *CemEVCCInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CemEVCCInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface, uint) bool) *CemEVCCInterface_IsScenarioAvailableAtEntity_Call
- type CemEVCCInterface_ManufacturerData_Call
- func (_c *CemEVCCInterface_ManufacturerData_Call) Return(_a0 eebus_goapi.ManufacturerData, _a1 error) *CemEVCCInterface_ManufacturerData_Call
- func (_c *CemEVCCInterface_ManufacturerData_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemEVCCInterface_ManufacturerData_Call
- func (_c *CemEVCCInterface_ManufacturerData_Call) RunAndReturn(...) *CemEVCCInterface_ManufacturerData_Call
- type CemEVCCInterface_RemoteEntitiesScenarios_Call
- func (_c *CemEVCCInterface_RemoteEntitiesScenarios_Call) Return(_a0 []eebus_goapi.RemoteEntityScenarios) *CemEVCCInterface_RemoteEntitiesScenarios_Call
- func (_c *CemEVCCInterface_RemoteEntitiesScenarios_Call) Run(run func()) *CemEVCCInterface_RemoteEntitiesScenarios_Call
- func (_c *CemEVCCInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []eebus_goapi.RemoteEntityScenarios) *CemEVCCInterface_RemoteEntitiesScenarios_Call
- type CemEVCCInterface_RemoveUseCase_Call
- func (_c *CemEVCCInterface_RemoveUseCase_Call) Return() *CemEVCCInterface_RemoveUseCase_Call
- func (_c *CemEVCCInterface_RemoveUseCase_Call) Run(run func()) *CemEVCCInterface_RemoveUseCase_Call
- func (_c *CemEVCCInterface_RemoveUseCase_Call) RunAndReturn(run func()) *CemEVCCInterface_RemoveUseCase_Call
- type CemEVCCInterface_UpdateUseCaseAvailability_Call
- func (_c *CemEVCCInterface_UpdateUseCaseAvailability_Call) Return() *CemEVCCInterface_UpdateUseCaseAvailability_Call
- func (_c *CemEVCCInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *CemEVCCInterface_UpdateUseCaseAvailability_Call
- func (_c *CemEVCCInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(bool)) *CemEVCCInterface_UpdateUseCaseAvailability_Call
- type CemEVCEMInterface
- func (_m *CemEVCEMInterface) AddFeatures()
- func (_m *CemEVCEMInterface) AddUseCase()
- func (_m *CemEVCEMInterface) AvailableScenariosForEntity(entity spine_goapi.EntityRemoteInterface) []uint
- func (_m *CemEVCEMInterface) CurrentPerPhase(entity spine_goapi.EntityRemoteInterface) ([]float64, error)
- func (_m *CemEVCEMInterface) EXPECT() *CemEVCEMInterface_Expecter
- func (_m *CemEVCEMInterface) EnergyCharged(entity spine_goapi.EntityRemoteInterface) (float64, error)
- func (_m *CemEVCEMInterface) IsCompatibleEntityType(entity spine_goapi.EntityRemoteInterface) bool
- func (_m *CemEVCEMInterface) IsScenarioAvailableAtEntity(entity spine_goapi.EntityRemoteInterface, scenario uint) bool
- func (_m *CemEVCEMInterface) PhasesConnected(entity spine_goapi.EntityRemoteInterface) (uint, error)
- func (_m *CemEVCEMInterface) PowerPerPhase(entity spine_goapi.EntityRemoteInterface) ([]float64, error)
- func (_m *CemEVCEMInterface) RemoteEntitiesScenarios() []eebus_goapi.RemoteEntityScenarios
- func (_m *CemEVCEMInterface) RemoveUseCase()
- func (_m *CemEVCEMInterface) UpdateUseCaseAvailability(available bool)
- type CemEVCEMInterface_AddFeatures_Call
- type CemEVCEMInterface_AddUseCase_Call
- type CemEVCEMInterface_AvailableScenariosForEntity_Call
- func (_c *CemEVCEMInterface_AvailableScenariosForEntity_Call) Return(_a0 []uint) *CemEVCEMInterface_AvailableScenariosForEntity_Call
- func (_c *CemEVCEMInterface_AvailableScenariosForEntity_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemEVCEMInterface_AvailableScenariosForEntity_Call
- func (_c *CemEVCEMInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) []uint) *CemEVCEMInterface_AvailableScenariosForEntity_Call
- type CemEVCEMInterface_CurrentPerPhase_Call
- func (_c *CemEVCEMInterface_CurrentPerPhase_Call) Return(_a0 []float64, _a1 error) *CemEVCEMInterface_CurrentPerPhase_Call
- func (_c *CemEVCEMInterface_CurrentPerPhase_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemEVCEMInterface_CurrentPerPhase_Call
- func (_c *CemEVCEMInterface_CurrentPerPhase_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) ([]float64, error)) *CemEVCEMInterface_CurrentPerPhase_Call
- type CemEVCEMInterface_EnergyCharged_Call
- func (_c *CemEVCEMInterface_EnergyCharged_Call) Return(_a0 float64, _a1 error) *CemEVCEMInterface_EnergyCharged_Call
- func (_c *CemEVCEMInterface_EnergyCharged_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemEVCEMInterface_EnergyCharged_Call
- func (_c *CemEVCEMInterface_EnergyCharged_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (float64, error)) *CemEVCEMInterface_EnergyCharged_Call
- type CemEVCEMInterface_Expecter
- func (_e *CemEVCEMInterface_Expecter) AddFeatures() *CemEVCEMInterface_AddFeatures_Call
- func (_e *CemEVCEMInterface_Expecter) AddUseCase() *CemEVCEMInterface_AddUseCase_Call
- func (_e *CemEVCEMInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *CemEVCEMInterface_AvailableScenariosForEntity_Call
- func (_e *CemEVCEMInterface_Expecter) CurrentPerPhase(entity interface{}) *CemEVCEMInterface_CurrentPerPhase_Call
- func (_e *CemEVCEMInterface_Expecter) EnergyCharged(entity interface{}) *CemEVCEMInterface_EnergyCharged_Call
- func (_e *CemEVCEMInterface_Expecter) IsCompatibleEntityType(entity interface{}) *CemEVCEMInterface_IsCompatibleEntityType_Call
- func (_e *CemEVCEMInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *CemEVCEMInterface_IsScenarioAvailableAtEntity_Call
- func (_e *CemEVCEMInterface_Expecter) PhasesConnected(entity interface{}) *CemEVCEMInterface_PhasesConnected_Call
- func (_e *CemEVCEMInterface_Expecter) PowerPerPhase(entity interface{}) *CemEVCEMInterface_PowerPerPhase_Call
- func (_e *CemEVCEMInterface_Expecter) RemoteEntitiesScenarios() *CemEVCEMInterface_RemoteEntitiesScenarios_Call
- func (_e *CemEVCEMInterface_Expecter) RemoveUseCase() *CemEVCEMInterface_RemoveUseCase_Call
- func (_e *CemEVCEMInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *CemEVCEMInterface_UpdateUseCaseAvailability_Call
- type CemEVCEMInterface_IsCompatibleEntityType_Call
- func (_c *CemEVCEMInterface_IsCompatibleEntityType_Call) Return(_a0 bool) *CemEVCEMInterface_IsCompatibleEntityType_Call
- func (_c *CemEVCEMInterface_IsCompatibleEntityType_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemEVCEMInterface_IsCompatibleEntityType_Call
- func (_c *CemEVCEMInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) bool) *CemEVCEMInterface_IsCompatibleEntityType_Call
- type CemEVCEMInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CemEVCEMInterface_IsScenarioAvailableAtEntity_Call) Return(_a0 bool) *CemEVCEMInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CemEVCEMInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity spine_goapi.EntityRemoteInterface, scenario uint)) *CemEVCEMInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CemEVCEMInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface, uint) bool) *CemEVCEMInterface_IsScenarioAvailableAtEntity_Call
- type CemEVCEMInterface_PhasesConnected_Call
- func (_c *CemEVCEMInterface_PhasesConnected_Call) Return(_a0 uint, _a1 error) *CemEVCEMInterface_PhasesConnected_Call
- func (_c *CemEVCEMInterface_PhasesConnected_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemEVCEMInterface_PhasesConnected_Call
- func (_c *CemEVCEMInterface_PhasesConnected_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (uint, error)) *CemEVCEMInterface_PhasesConnected_Call
- type CemEVCEMInterface_PowerPerPhase_Call
- func (_c *CemEVCEMInterface_PowerPerPhase_Call) Return(_a0 []float64, _a1 error) *CemEVCEMInterface_PowerPerPhase_Call
- func (_c *CemEVCEMInterface_PowerPerPhase_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemEVCEMInterface_PowerPerPhase_Call
- func (_c *CemEVCEMInterface_PowerPerPhase_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) ([]float64, error)) *CemEVCEMInterface_PowerPerPhase_Call
- type CemEVCEMInterface_RemoteEntitiesScenarios_Call
- func (_c *CemEVCEMInterface_RemoteEntitiesScenarios_Call) Return(_a0 []eebus_goapi.RemoteEntityScenarios) *CemEVCEMInterface_RemoteEntitiesScenarios_Call
- func (_c *CemEVCEMInterface_RemoteEntitiesScenarios_Call) Run(run func()) *CemEVCEMInterface_RemoteEntitiesScenarios_Call
- func (_c *CemEVCEMInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []eebus_goapi.RemoteEntityScenarios) *CemEVCEMInterface_RemoteEntitiesScenarios_Call
- type CemEVCEMInterface_RemoveUseCase_Call
- func (_c *CemEVCEMInterface_RemoveUseCase_Call) Return() *CemEVCEMInterface_RemoveUseCase_Call
- func (_c *CemEVCEMInterface_RemoveUseCase_Call) Run(run func()) *CemEVCEMInterface_RemoveUseCase_Call
- func (_c *CemEVCEMInterface_RemoveUseCase_Call) RunAndReturn(run func()) *CemEVCEMInterface_RemoveUseCase_Call
- type CemEVCEMInterface_UpdateUseCaseAvailability_Call
- func (_c *CemEVCEMInterface_UpdateUseCaseAvailability_Call) Return() *CemEVCEMInterface_UpdateUseCaseAvailability_Call
- func (_c *CemEVCEMInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *CemEVCEMInterface_UpdateUseCaseAvailability_Call
- func (_c *CemEVCEMInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(bool)) *CemEVCEMInterface_UpdateUseCaseAvailability_Call
- type CemEVSECCInterface
- func (_m *CemEVSECCInterface) AddFeatures()
- func (_m *CemEVSECCInterface) AddUseCase()
- func (_m *CemEVSECCInterface) AvailableScenariosForEntity(entity spine_goapi.EntityRemoteInterface) []uint
- func (_m *CemEVSECCInterface) EXPECT() *CemEVSECCInterface_Expecter
- func (_m *CemEVSECCInterface) IsCompatibleEntityType(entity spine_goapi.EntityRemoteInterface) bool
- func (_m *CemEVSECCInterface) IsScenarioAvailableAtEntity(entity spine_goapi.EntityRemoteInterface, scenario uint) bool
- func (_m *CemEVSECCInterface) ManufacturerData(entity spine_goapi.EntityRemoteInterface) (eebus_goapi.ManufacturerData, error)
- func (_m *CemEVSECCInterface) OperatingState(entity spine_goapi.EntityRemoteInterface) (model.DeviceDiagnosisOperatingStateType, string, error)
- func (_m *CemEVSECCInterface) RemoteEntitiesScenarios() []eebus_goapi.RemoteEntityScenarios
- func (_m *CemEVSECCInterface) RemoveUseCase()
- func (_m *CemEVSECCInterface) UpdateUseCaseAvailability(available bool)
- type CemEVSECCInterface_AddFeatures_Call
- func (_c *CemEVSECCInterface_AddFeatures_Call) Return() *CemEVSECCInterface_AddFeatures_Call
- func (_c *CemEVSECCInterface_AddFeatures_Call) Run(run func()) *CemEVSECCInterface_AddFeatures_Call
- func (_c *CemEVSECCInterface_AddFeatures_Call) RunAndReturn(run func()) *CemEVSECCInterface_AddFeatures_Call
- type CemEVSECCInterface_AddUseCase_Call
- type CemEVSECCInterface_AvailableScenariosForEntity_Call
- func (_c *CemEVSECCInterface_AvailableScenariosForEntity_Call) Return(_a0 []uint) *CemEVSECCInterface_AvailableScenariosForEntity_Call
- func (_c *CemEVSECCInterface_AvailableScenariosForEntity_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemEVSECCInterface_AvailableScenariosForEntity_Call
- func (_c *CemEVSECCInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) []uint) *CemEVSECCInterface_AvailableScenariosForEntity_Call
- type CemEVSECCInterface_Expecter
- func (_e *CemEVSECCInterface_Expecter) AddFeatures() *CemEVSECCInterface_AddFeatures_Call
- func (_e *CemEVSECCInterface_Expecter) AddUseCase() *CemEVSECCInterface_AddUseCase_Call
- func (_e *CemEVSECCInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *CemEVSECCInterface_AvailableScenariosForEntity_Call
- func (_e *CemEVSECCInterface_Expecter) IsCompatibleEntityType(entity interface{}) *CemEVSECCInterface_IsCompatibleEntityType_Call
- func (_e *CemEVSECCInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *CemEVSECCInterface_IsScenarioAvailableAtEntity_Call
- func (_e *CemEVSECCInterface_Expecter) ManufacturerData(entity interface{}) *CemEVSECCInterface_ManufacturerData_Call
- func (_e *CemEVSECCInterface_Expecter) OperatingState(entity interface{}) *CemEVSECCInterface_OperatingState_Call
- func (_e *CemEVSECCInterface_Expecter) RemoteEntitiesScenarios() *CemEVSECCInterface_RemoteEntitiesScenarios_Call
- func (_e *CemEVSECCInterface_Expecter) RemoveUseCase() *CemEVSECCInterface_RemoveUseCase_Call
- func (_e *CemEVSECCInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *CemEVSECCInterface_UpdateUseCaseAvailability_Call
- type CemEVSECCInterface_IsCompatibleEntityType_Call
- func (_c *CemEVSECCInterface_IsCompatibleEntityType_Call) Return(_a0 bool) *CemEVSECCInterface_IsCompatibleEntityType_Call
- func (_c *CemEVSECCInterface_IsCompatibleEntityType_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemEVSECCInterface_IsCompatibleEntityType_Call
- func (_c *CemEVSECCInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) bool) *CemEVSECCInterface_IsCompatibleEntityType_Call
- type CemEVSECCInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CemEVSECCInterface_IsScenarioAvailableAtEntity_Call) Return(_a0 bool) *CemEVSECCInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CemEVSECCInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity spine_goapi.EntityRemoteInterface, scenario uint)) *CemEVSECCInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CemEVSECCInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface, uint) bool) *CemEVSECCInterface_IsScenarioAvailableAtEntity_Call
- type CemEVSECCInterface_ManufacturerData_Call
- func (_c *CemEVSECCInterface_ManufacturerData_Call) Return(_a0 eebus_goapi.ManufacturerData, _a1 error) *CemEVSECCInterface_ManufacturerData_Call
- func (_c *CemEVSECCInterface_ManufacturerData_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemEVSECCInterface_ManufacturerData_Call
- func (_c *CemEVSECCInterface_ManufacturerData_Call) RunAndReturn(...) *CemEVSECCInterface_ManufacturerData_Call
- type CemEVSECCInterface_OperatingState_Call
- func (_c *CemEVSECCInterface_OperatingState_Call) Return(_a0 model.DeviceDiagnosisOperatingStateType, _a1 string, _a2 error) *CemEVSECCInterface_OperatingState_Call
- func (_c *CemEVSECCInterface_OperatingState_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemEVSECCInterface_OperatingState_Call
- func (_c *CemEVSECCInterface_OperatingState_Call) RunAndReturn(...) *CemEVSECCInterface_OperatingState_Call
- type CemEVSECCInterface_RemoteEntitiesScenarios_Call
- func (_c *CemEVSECCInterface_RemoteEntitiesScenarios_Call) Return(_a0 []eebus_goapi.RemoteEntityScenarios) *CemEVSECCInterface_RemoteEntitiesScenarios_Call
- func (_c *CemEVSECCInterface_RemoteEntitiesScenarios_Call) Run(run func()) *CemEVSECCInterface_RemoteEntitiesScenarios_Call
- func (_c *CemEVSECCInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []eebus_goapi.RemoteEntityScenarios) *CemEVSECCInterface_RemoteEntitiesScenarios_Call
- type CemEVSECCInterface_RemoveUseCase_Call
- func (_c *CemEVSECCInterface_RemoveUseCase_Call) Return() *CemEVSECCInterface_RemoveUseCase_Call
- func (_c *CemEVSECCInterface_RemoveUseCase_Call) Run(run func()) *CemEVSECCInterface_RemoveUseCase_Call
- func (_c *CemEVSECCInterface_RemoveUseCase_Call) RunAndReturn(run func()) *CemEVSECCInterface_RemoveUseCase_Call
- type CemEVSECCInterface_UpdateUseCaseAvailability_Call
- func (_c *CemEVSECCInterface_UpdateUseCaseAvailability_Call) Return() *CemEVSECCInterface_UpdateUseCaseAvailability_Call
- func (_c *CemEVSECCInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *CemEVSECCInterface_UpdateUseCaseAvailability_Call
- func (_c *CemEVSECCInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(bool)) *CemEVSECCInterface_UpdateUseCaseAvailability_Call
- type CemEVSOCInterface
- func (_m *CemEVSOCInterface) AddFeatures()
- func (_m *CemEVSOCInterface) AddUseCase()
- func (_m *CemEVSOCInterface) AvailableScenariosForEntity(entity spine_goapi.EntityRemoteInterface) []uint
- func (_m *CemEVSOCInterface) EXPECT() *CemEVSOCInterface_Expecter
- func (_m *CemEVSOCInterface) IsCompatibleEntityType(entity spine_goapi.EntityRemoteInterface) bool
- func (_m *CemEVSOCInterface) IsScenarioAvailableAtEntity(entity spine_goapi.EntityRemoteInterface, scenario uint) bool
- func (_m *CemEVSOCInterface) RemoteEntitiesScenarios() []eebus_goapi.RemoteEntityScenarios
- func (_m *CemEVSOCInterface) RemoveUseCase()
- func (_m *CemEVSOCInterface) StateOfCharge(entity spine_goapi.EntityRemoteInterface) (float64, error)
- func (_m *CemEVSOCInterface) UpdateUseCaseAvailability(available bool)
- type CemEVSOCInterface_AddFeatures_Call
- type CemEVSOCInterface_AddUseCase_Call
- type CemEVSOCInterface_AvailableScenariosForEntity_Call
- func (_c *CemEVSOCInterface_AvailableScenariosForEntity_Call) Return(_a0 []uint) *CemEVSOCInterface_AvailableScenariosForEntity_Call
- func (_c *CemEVSOCInterface_AvailableScenariosForEntity_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemEVSOCInterface_AvailableScenariosForEntity_Call
- func (_c *CemEVSOCInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) []uint) *CemEVSOCInterface_AvailableScenariosForEntity_Call
- type CemEVSOCInterface_Expecter
- func (_e *CemEVSOCInterface_Expecter) AddFeatures() *CemEVSOCInterface_AddFeatures_Call
- func (_e *CemEVSOCInterface_Expecter) AddUseCase() *CemEVSOCInterface_AddUseCase_Call
- func (_e *CemEVSOCInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *CemEVSOCInterface_AvailableScenariosForEntity_Call
- func (_e *CemEVSOCInterface_Expecter) IsCompatibleEntityType(entity interface{}) *CemEVSOCInterface_IsCompatibleEntityType_Call
- func (_e *CemEVSOCInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *CemEVSOCInterface_IsScenarioAvailableAtEntity_Call
- func (_e *CemEVSOCInterface_Expecter) RemoteEntitiesScenarios() *CemEVSOCInterface_RemoteEntitiesScenarios_Call
- func (_e *CemEVSOCInterface_Expecter) RemoveUseCase() *CemEVSOCInterface_RemoveUseCase_Call
- func (_e *CemEVSOCInterface_Expecter) StateOfCharge(entity interface{}) *CemEVSOCInterface_StateOfCharge_Call
- func (_e *CemEVSOCInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *CemEVSOCInterface_UpdateUseCaseAvailability_Call
- type CemEVSOCInterface_IsCompatibleEntityType_Call
- func (_c *CemEVSOCInterface_IsCompatibleEntityType_Call) Return(_a0 bool) *CemEVSOCInterface_IsCompatibleEntityType_Call
- func (_c *CemEVSOCInterface_IsCompatibleEntityType_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemEVSOCInterface_IsCompatibleEntityType_Call
- func (_c *CemEVSOCInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) bool) *CemEVSOCInterface_IsCompatibleEntityType_Call
- type CemEVSOCInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CemEVSOCInterface_IsScenarioAvailableAtEntity_Call) Return(_a0 bool) *CemEVSOCInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CemEVSOCInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity spine_goapi.EntityRemoteInterface, scenario uint)) *CemEVSOCInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CemEVSOCInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface, uint) bool) *CemEVSOCInterface_IsScenarioAvailableAtEntity_Call
- type CemEVSOCInterface_RemoteEntitiesScenarios_Call
- func (_c *CemEVSOCInterface_RemoteEntitiesScenarios_Call) Return(_a0 []eebus_goapi.RemoteEntityScenarios) *CemEVSOCInterface_RemoteEntitiesScenarios_Call
- func (_c *CemEVSOCInterface_RemoteEntitiesScenarios_Call) Run(run func()) *CemEVSOCInterface_RemoteEntitiesScenarios_Call
- func (_c *CemEVSOCInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []eebus_goapi.RemoteEntityScenarios) *CemEVSOCInterface_RemoteEntitiesScenarios_Call
- type CemEVSOCInterface_RemoveUseCase_Call
- func (_c *CemEVSOCInterface_RemoveUseCase_Call) Return() *CemEVSOCInterface_RemoveUseCase_Call
- func (_c *CemEVSOCInterface_RemoveUseCase_Call) Run(run func()) *CemEVSOCInterface_RemoveUseCase_Call
- func (_c *CemEVSOCInterface_RemoveUseCase_Call) RunAndReturn(run func()) *CemEVSOCInterface_RemoveUseCase_Call
- type CemEVSOCInterface_StateOfCharge_Call
- func (_c *CemEVSOCInterface_StateOfCharge_Call) Return(_a0 float64, _a1 error) *CemEVSOCInterface_StateOfCharge_Call
- func (_c *CemEVSOCInterface_StateOfCharge_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemEVSOCInterface_StateOfCharge_Call
- func (_c *CemEVSOCInterface_StateOfCharge_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (float64, error)) *CemEVSOCInterface_StateOfCharge_Call
- type CemEVSOCInterface_UpdateUseCaseAvailability_Call
- func (_c *CemEVSOCInterface_UpdateUseCaseAvailability_Call) Return() *CemEVSOCInterface_UpdateUseCaseAvailability_Call
- func (_c *CemEVSOCInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *CemEVSOCInterface_UpdateUseCaseAvailability_Call
- func (_c *CemEVSOCInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(bool)) *CemEVSOCInterface_UpdateUseCaseAvailability_Call
- type CemOPEVInterface
- func (_m *CemOPEVInterface) AddFeatures()
- func (_m *CemOPEVInterface) AddUseCase()
- func (_m *CemOPEVInterface) AvailableScenariosForEntity(entity spine_goapi.EntityRemoteInterface) []uint
- func (_m *CemOPEVInterface) CurrentLimits(entity spine_goapi.EntityRemoteInterface) ([]float64, []float64, []float64, error)
- func (_m *CemOPEVInterface) EXPECT() *CemOPEVInterface_Expecter
- func (_m *CemOPEVInterface) IsCompatibleEntityType(entity spine_goapi.EntityRemoteInterface) bool
- func (_m *CemOPEVInterface) IsScenarioAvailableAtEntity(entity spine_goapi.EntityRemoteInterface, scenario uint) bool
- func (_m *CemOPEVInterface) LoadControlLimits(entity spine_goapi.EntityRemoteInterface) ([]api.LoadLimitsPhase, error)
- func (_m *CemOPEVInterface) RemoteEntitiesScenarios() []eebus_goapi.RemoteEntityScenarios
- func (_m *CemOPEVInterface) RemoveUseCase()
- func (_m *CemOPEVInterface) UpdateUseCaseAvailability(available bool)
- func (_m *CemOPEVInterface) WriteLoadControlLimits(entity spine_goapi.EntityRemoteInterface, limits []api.LoadLimitsPhase, ...) (*model.MsgCounterType, error)
- type CemOPEVInterface_AddFeatures_Call
- type CemOPEVInterface_AddUseCase_Call
- type CemOPEVInterface_AvailableScenariosForEntity_Call
- func (_c *CemOPEVInterface_AvailableScenariosForEntity_Call) Return(_a0 []uint) *CemOPEVInterface_AvailableScenariosForEntity_Call
- func (_c *CemOPEVInterface_AvailableScenariosForEntity_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemOPEVInterface_AvailableScenariosForEntity_Call
- func (_c *CemOPEVInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) []uint) *CemOPEVInterface_AvailableScenariosForEntity_Call
- type CemOPEVInterface_CurrentLimits_Call
- func (_c *CemOPEVInterface_CurrentLimits_Call) Return(_a0 []float64, _a1 []float64, _a2 []float64, _a3 error) *CemOPEVInterface_CurrentLimits_Call
- func (_c *CemOPEVInterface_CurrentLimits_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemOPEVInterface_CurrentLimits_Call
- func (_c *CemOPEVInterface_CurrentLimits_Call) RunAndReturn(...) *CemOPEVInterface_CurrentLimits_Call
- type CemOPEVInterface_Expecter
- func (_e *CemOPEVInterface_Expecter) AddFeatures() *CemOPEVInterface_AddFeatures_Call
- func (_e *CemOPEVInterface_Expecter) AddUseCase() *CemOPEVInterface_AddUseCase_Call
- func (_e *CemOPEVInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *CemOPEVInterface_AvailableScenariosForEntity_Call
- func (_e *CemOPEVInterface_Expecter) CurrentLimits(entity interface{}) *CemOPEVInterface_CurrentLimits_Call
- func (_e *CemOPEVInterface_Expecter) IsCompatibleEntityType(entity interface{}) *CemOPEVInterface_IsCompatibleEntityType_Call
- func (_e *CemOPEVInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *CemOPEVInterface_IsScenarioAvailableAtEntity_Call
- func (_e *CemOPEVInterface_Expecter) LoadControlLimits(entity interface{}) *CemOPEVInterface_LoadControlLimits_Call
- func (_e *CemOPEVInterface_Expecter) RemoteEntitiesScenarios() *CemOPEVInterface_RemoteEntitiesScenarios_Call
- func (_e *CemOPEVInterface_Expecter) RemoveUseCase() *CemOPEVInterface_RemoveUseCase_Call
- func (_e *CemOPEVInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *CemOPEVInterface_UpdateUseCaseAvailability_Call
- func (_e *CemOPEVInterface_Expecter) WriteLoadControlLimits(entity interface{}, limits interface{}, resultCB interface{}) *CemOPEVInterface_WriteLoadControlLimits_Call
- type CemOPEVInterface_IsCompatibleEntityType_Call
- func (_c *CemOPEVInterface_IsCompatibleEntityType_Call) Return(_a0 bool) *CemOPEVInterface_IsCompatibleEntityType_Call
- func (_c *CemOPEVInterface_IsCompatibleEntityType_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemOPEVInterface_IsCompatibleEntityType_Call
- func (_c *CemOPEVInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) bool) *CemOPEVInterface_IsCompatibleEntityType_Call
- type CemOPEVInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CemOPEVInterface_IsScenarioAvailableAtEntity_Call) Return(_a0 bool) *CemOPEVInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CemOPEVInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity spine_goapi.EntityRemoteInterface, scenario uint)) *CemOPEVInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CemOPEVInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface, uint) bool) *CemOPEVInterface_IsScenarioAvailableAtEntity_Call
- type CemOPEVInterface_LoadControlLimits_Call
- func (_c *CemOPEVInterface_LoadControlLimits_Call) Return(limits []api.LoadLimitsPhase, resultErr error) *CemOPEVInterface_LoadControlLimits_Call
- func (_c *CemOPEVInterface_LoadControlLimits_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemOPEVInterface_LoadControlLimits_Call
- func (_c *CemOPEVInterface_LoadControlLimits_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) ([]api.LoadLimitsPhase, error)) *CemOPEVInterface_LoadControlLimits_Call
- type CemOPEVInterface_RemoteEntitiesScenarios_Call
- func (_c *CemOPEVInterface_RemoteEntitiesScenarios_Call) Return(_a0 []eebus_goapi.RemoteEntityScenarios) *CemOPEVInterface_RemoteEntitiesScenarios_Call
- func (_c *CemOPEVInterface_RemoteEntitiesScenarios_Call) Run(run func()) *CemOPEVInterface_RemoteEntitiesScenarios_Call
- func (_c *CemOPEVInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []eebus_goapi.RemoteEntityScenarios) *CemOPEVInterface_RemoteEntitiesScenarios_Call
- type CemOPEVInterface_RemoveUseCase_Call
- func (_c *CemOPEVInterface_RemoveUseCase_Call) Return() *CemOPEVInterface_RemoveUseCase_Call
- func (_c *CemOPEVInterface_RemoveUseCase_Call) Run(run func()) *CemOPEVInterface_RemoveUseCase_Call
- func (_c *CemOPEVInterface_RemoveUseCase_Call) RunAndReturn(run func()) *CemOPEVInterface_RemoveUseCase_Call
- type CemOPEVInterface_UpdateUseCaseAvailability_Call
- func (_c *CemOPEVInterface_UpdateUseCaseAvailability_Call) Return() *CemOPEVInterface_UpdateUseCaseAvailability_Call
- func (_c *CemOPEVInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *CemOPEVInterface_UpdateUseCaseAvailability_Call
- func (_c *CemOPEVInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(bool)) *CemOPEVInterface_UpdateUseCaseAvailability_Call
- type CemOPEVInterface_WriteLoadControlLimits_Call
- func (_c *CemOPEVInterface_WriteLoadControlLimits_Call) Return(_a0 *model.MsgCounterType, _a1 error) *CemOPEVInterface_WriteLoadControlLimits_Call
- func (_c *CemOPEVInterface_WriteLoadControlLimits_Call) Run(...) *CemOPEVInterface_WriteLoadControlLimits_Call
- func (_c *CemOPEVInterface_WriteLoadControlLimits_Call) RunAndReturn(...) *CemOPEVInterface_WriteLoadControlLimits_Call
- type CemOSCEVInterface
- func (_m *CemOSCEVInterface) AddFeatures()
- func (_m *CemOSCEVInterface) AddUseCase()
- func (_m *CemOSCEVInterface) AvailableScenariosForEntity(entity spine_goapi.EntityRemoteInterface) []uint
- func (_m *CemOSCEVInterface) CurrentLimits(entity spine_goapi.EntityRemoteInterface) ([]float64, []float64, []float64, error)
- func (_m *CemOSCEVInterface) EXPECT() *CemOSCEVInterface_Expecter
- func (_m *CemOSCEVInterface) IsCompatibleEntityType(entity spine_goapi.EntityRemoteInterface) bool
- func (_m *CemOSCEVInterface) IsScenarioAvailableAtEntity(entity spine_goapi.EntityRemoteInterface, scenario uint) bool
- func (_m *CemOSCEVInterface) LoadControlLimits(entity spine_goapi.EntityRemoteInterface) ([]api.LoadLimitsPhase, error)
- func (_m *CemOSCEVInterface) RemoteEntitiesScenarios() []eebus_goapi.RemoteEntityScenarios
- func (_m *CemOSCEVInterface) RemoveUseCase()
- func (_m *CemOSCEVInterface) UpdateUseCaseAvailability(available bool)
- func (_m *CemOSCEVInterface) WriteLoadControlLimits(entity spine_goapi.EntityRemoteInterface, limits []api.LoadLimitsPhase, ...) (*model.MsgCounterType, error)
- type CemOSCEVInterface_AddFeatures_Call
- type CemOSCEVInterface_AddUseCase_Call
- type CemOSCEVInterface_AvailableScenariosForEntity_Call
- func (_c *CemOSCEVInterface_AvailableScenariosForEntity_Call) Return(_a0 []uint) *CemOSCEVInterface_AvailableScenariosForEntity_Call
- func (_c *CemOSCEVInterface_AvailableScenariosForEntity_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemOSCEVInterface_AvailableScenariosForEntity_Call
- func (_c *CemOSCEVInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) []uint) *CemOSCEVInterface_AvailableScenariosForEntity_Call
- type CemOSCEVInterface_CurrentLimits_Call
- func (_c *CemOSCEVInterface_CurrentLimits_Call) Return(_a0 []float64, _a1 []float64, _a2 []float64, _a3 error) *CemOSCEVInterface_CurrentLimits_Call
- func (_c *CemOSCEVInterface_CurrentLimits_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemOSCEVInterface_CurrentLimits_Call
- func (_c *CemOSCEVInterface_CurrentLimits_Call) RunAndReturn(...) *CemOSCEVInterface_CurrentLimits_Call
- type CemOSCEVInterface_Expecter
- func (_e *CemOSCEVInterface_Expecter) AddFeatures() *CemOSCEVInterface_AddFeatures_Call
- func (_e *CemOSCEVInterface_Expecter) AddUseCase() *CemOSCEVInterface_AddUseCase_Call
- func (_e *CemOSCEVInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *CemOSCEVInterface_AvailableScenariosForEntity_Call
- func (_e *CemOSCEVInterface_Expecter) CurrentLimits(entity interface{}) *CemOSCEVInterface_CurrentLimits_Call
- func (_e *CemOSCEVInterface_Expecter) IsCompatibleEntityType(entity interface{}) *CemOSCEVInterface_IsCompatibleEntityType_Call
- func (_e *CemOSCEVInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *CemOSCEVInterface_IsScenarioAvailableAtEntity_Call
- func (_e *CemOSCEVInterface_Expecter) LoadControlLimits(entity interface{}) *CemOSCEVInterface_LoadControlLimits_Call
- func (_e *CemOSCEVInterface_Expecter) RemoteEntitiesScenarios() *CemOSCEVInterface_RemoteEntitiesScenarios_Call
- func (_e *CemOSCEVInterface_Expecter) RemoveUseCase() *CemOSCEVInterface_RemoveUseCase_Call
- func (_e *CemOSCEVInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *CemOSCEVInterface_UpdateUseCaseAvailability_Call
- func (_e *CemOSCEVInterface_Expecter) WriteLoadControlLimits(entity interface{}, limits interface{}, resultCB interface{}) *CemOSCEVInterface_WriteLoadControlLimits_Call
- type CemOSCEVInterface_IsCompatibleEntityType_Call
- func (_c *CemOSCEVInterface_IsCompatibleEntityType_Call) Return(_a0 bool) *CemOSCEVInterface_IsCompatibleEntityType_Call
- func (_c *CemOSCEVInterface_IsCompatibleEntityType_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemOSCEVInterface_IsCompatibleEntityType_Call
- func (_c *CemOSCEVInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) bool) *CemOSCEVInterface_IsCompatibleEntityType_Call
- type CemOSCEVInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CemOSCEVInterface_IsScenarioAvailableAtEntity_Call) Return(_a0 bool) *CemOSCEVInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CemOSCEVInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity spine_goapi.EntityRemoteInterface, scenario uint)) *CemOSCEVInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CemOSCEVInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface, uint) bool) *CemOSCEVInterface_IsScenarioAvailableAtEntity_Call
- type CemOSCEVInterface_LoadControlLimits_Call
- func (_c *CemOSCEVInterface_LoadControlLimits_Call) Return(limits []api.LoadLimitsPhase, resultErr error) *CemOSCEVInterface_LoadControlLimits_Call
- func (_c *CemOSCEVInterface_LoadControlLimits_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemOSCEVInterface_LoadControlLimits_Call
- func (_c *CemOSCEVInterface_LoadControlLimits_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) ([]api.LoadLimitsPhase, error)) *CemOSCEVInterface_LoadControlLimits_Call
- type CemOSCEVInterface_RemoteEntitiesScenarios_Call
- func (_c *CemOSCEVInterface_RemoteEntitiesScenarios_Call) Return(_a0 []eebus_goapi.RemoteEntityScenarios) *CemOSCEVInterface_RemoteEntitiesScenarios_Call
- func (_c *CemOSCEVInterface_RemoteEntitiesScenarios_Call) Run(run func()) *CemOSCEVInterface_RemoteEntitiesScenarios_Call
- func (_c *CemOSCEVInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []eebus_goapi.RemoteEntityScenarios) *CemOSCEVInterface_RemoteEntitiesScenarios_Call
- type CemOSCEVInterface_RemoveUseCase_Call
- func (_c *CemOSCEVInterface_RemoveUseCase_Call) Return() *CemOSCEVInterface_RemoveUseCase_Call
- func (_c *CemOSCEVInterface_RemoveUseCase_Call) Run(run func()) *CemOSCEVInterface_RemoveUseCase_Call
- func (_c *CemOSCEVInterface_RemoveUseCase_Call) RunAndReturn(run func()) *CemOSCEVInterface_RemoveUseCase_Call
- type CemOSCEVInterface_UpdateUseCaseAvailability_Call
- func (_c *CemOSCEVInterface_UpdateUseCaseAvailability_Call) Return() *CemOSCEVInterface_UpdateUseCaseAvailability_Call
- func (_c *CemOSCEVInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *CemOSCEVInterface_UpdateUseCaseAvailability_Call
- func (_c *CemOSCEVInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(bool)) *CemOSCEVInterface_UpdateUseCaseAvailability_Call
- type CemOSCEVInterface_WriteLoadControlLimits_Call
- func (_c *CemOSCEVInterface_WriteLoadControlLimits_Call) Return(_a0 *model.MsgCounterType, _a1 error) *CemOSCEVInterface_WriteLoadControlLimits_Call
- func (_c *CemOSCEVInterface_WriteLoadControlLimits_Call) Run(...) *CemOSCEVInterface_WriteLoadControlLimits_Call
- func (_c *CemOSCEVInterface_WriteLoadControlLimits_Call) RunAndReturn(...) *CemOSCEVInterface_WriteLoadControlLimits_Call
- type CemVABDInterface
- func (_m *CemVABDInterface) AddFeatures()
- func (_m *CemVABDInterface) AddUseCase()
- func (_m *CemVABDInterface) AvailableScenariosForEntity(entity spine_goapi.EntityRemoteInterface) []uint
- func (_m *CemVABDInterface) EXPECT() *CemVABDInterface_Expecter
- func (_m *CemVABDInterface) EnergyCharged(entity spine_goapi.EntityRemoteInterface) (float64, error)
- func (_m *CemVABDInterface) EnergyDischarged(entity spine_goapi.EntityRemoteInterface) (float64, error)
- func (_m *CemVABDInterface) IsCompatibleEntityType(entity spine_goapi.EntityRemoteInterface) bool
- func (_m *CemVABDInterface) IsScenarioAvailableAtEntity(entity spine_goapi.EntityRemoteInterface, scenario uint) bool
- func (_m *CemVABDInterface) Power(entity spine_goapi.EntityRemoteInterface) (float64, error)
- func (_m *CemVABDInterface) RemoteEntitiesScenarios() []eebus_goapi.RemoteEntityScenarios
- func (_m *CemVABDInterface) RemoveUseCase()
- func (_m *CemVABDInterface) StateOfCharge(entity spine_goapi.EntityRemoteInterface) (float64, error)
- func (_m *CemVABDInterface) UpdateUseCaseAvailability(available bool)
- type CemVABDInterface_AddFeatures_Call
- type CemVABDInterface_AddUseCase_Call
- type CemVABDInterface_AvailableScenariosForEntity_Call
- func (_c *CemVABDInterface_AvailableScenariosForEntity_Call) Return(_a0 []uint) *CemVABDInterface_AvailableScenariosForEntity_Call
- func (_c *CemVABDInterface_AvailableScenariosForEntity_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemVABDInterface_AvailableScenariosForEntity_Call
- func (_c *CemVABDInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) []uint) *CemVABDInterface_AvailableScenariosForEntity_Call
- type CemVABDInterface_EnergyCharged_Call
- func (_c *CemVABDInterface_EnergyCharged_Call) Return(_a0 float64, _a1 error) *CemVABDInterface_EnergyCharged_Call
- func (_c *CemVABDInterface_EnergyCharged_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemVABDInterface_EnergyCharged_Call
- func (_c *CemVABDInterface_EnergyCharged_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (float64, error)) *CemVABDInterface_EnergyCharged_Call
- type CemVABDInterface_EnergyDischarged_Call
- func (_c *CemVABDInterface_EnergyDischarged_Call) Return(_a0 float64, _a1 error) *CemVABDInterface_EnergyDischarged_Call
- func (_c *CemVABDInterface_EnergyDischarged_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemVABDInterface_EnergyDischarged_Call
- func (_c *CemVABDInterface_EnergyDischarged_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (float64, error)) *CemVABDInterface_EnergyDischarged_Call
- type CemVABDInterface_Expecter
- func (_e *CemVABDInterface_Expecter) AddFeatures() *CemVABDInterface_AddFeatures_Call
- func (_e *CemVABDInterface_Expecter) AddUseCase() *CemVABDInterface_AddUseCase_Call
- func (_e *CemVABDInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *CemVABDInterface_AvailableScenariosForEntity_Call
- func (_e *CemVABDInterface_Expecter) EnergyCharged(entity interface{}) *CemVABDInterface_EnergyCharged_Call
- func (_e *CemVABDInterface_Expecter) EnergyDischarged(entity interface{}) *CemVABDInterface_EnergyDischarged_Call
- func (_e *CemVABDInterface_Expecter) IsCompatibleEntityType(entity interface{}) *CemVABDInterface_IsCompatibleEntityType_Call
- func (_e *CemVABDInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *CemVABDInterface_IsScenarioAvailableAtEntity_Call
- func (_e *CemVABDInterface_Expecter) Power(entity interface{}) *CemVABDInterface_Power_Call
- func (_e *CemVABDInterface_Expecter) RemoteEntitiesScenarios() *CemVABDInterface_RemoteEntitiesScenarios_Call
- func (_e *CemVABDInterface_Expecter) RemoveUseCase() *CemVABDInterface_RemoveUseCase_Call
- func (_e *CemVABDInterface_Expecter) StateOfCharge(entity interface{}) *CemVABDInterface_StateOfCharge_Call
- func (_e *CemVABDInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *CemVABDInterface_UpdateUseCaseAvailability_Call
- type CemVABDInterface_IsCompatibleEntityType_Call
- func (_c *CemVABDInterface_IsCompatibleEntityType_Call) Return(_a0 bool) *CemVABDInterface_IsCompatibleEntityType_Call
- func (_c *CemVABDInterface_IsCompatibleEntityType_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemVABDInterface_IsCompatibleEntityType_Call
- func (_c *CemVABDInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) bool) *CemVABDInterface_IsCompatibleEntityType_Call
- type CemVABDInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CemVABDInterface_IsScenarioAvailableAtEntity_Call) Return(_a0 bool) *CemVABDInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CemVABDInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity spine_goapi.EntityRemoteInterface, scenario uint)) *CemVABDInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CemVABDInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface, uint) bool) *CemVABDInterface_IsScenarioAvailableAtEntity_Call
- type CemVABDInterface_Power_Call
- func (_c *CemVABDInterface_Power_Call) Return(_a0 float64, _a1 error) *CemVABDInterface_Power_Call
- func (_c *CemVABDInterface_Power_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemVABDInterface_Power_Call
- func (_c *CemVABDInterface_Power_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (float64, error)) *CemVABDInterface_Power_Call
- type CemVABDInterface_RemoteEntitiesScenarios_Call
- func (_c *CemVABDInterface_RemoteEntitiesScenarios_Call) Return(_a0 []eebus_goapi.RemoteEntityScenarios) *CemVABDInterface_RemoteEntitiesScenarios_Call
- func (_c *CemVABDInterface_RemoteEntitiesScenarios_Call) Run(run func()) *CemVABDInterface_RemoteEntitiesScenarios_Call
- func (_c *CemVABDInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []eebus_goapi.RemoteEntityScenarios) *CemVABDInterface_RemoteEntitiesScenarios_Call
- type CemVABDInterface_RemoveUseCase_Call
- func (_c *CemVABDInterface_RemoveUseCase_Call) Return() *CemVABDInterface_RemoveUseCase_Call
- func (_c *CemVABDInterface_RemoveUseCase_Call) Run(run func()) *CemVABDInterface_RemoveUseCase_Call
- func (_c *CemVABDInterface_RemoveUseCase_Call) RunAndReturn(run func()) *CemVABDInterface_RemoveUseCase_Call
- type CemVABDInterface_StateOfCharge_Call
- func (_c *CemVABDInterface_StateOfCharge_Call) Return(_a0 float64, _a1 error) *CemVABDInterface_StateOfCharge_Call
- func (_c *CemVABDInterface_StateOfCharge_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemVABDInterface_StateOfCharge_Call
- func (_c *CemVABDInterface_StateOfCharge_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (float64, error)) *CemVABDInterface_StateOfCharge_Call
- type CemVABDInterface_UpdateUseCaseAvailability_Call
- func (_c *CemVABDInterface_UpdateUseCaseAvailability_Call) Return() *CemVABDInterface_UpdateUseCaseAvailability_Call
- func (_c *CemVABDInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *CemVABDInterface_UpdateUseCaseAvailability_Call
- func (_c *CemVABDInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(bool)) *CemVABDInterface_UpdateUseCaseAvailability_Call
- type CemVAPDInterface
- func (_m *CemVAPDInterface) AddFeatures()
- func (_m *CemVAPDInterface) AddUseCase()
- func (_m *CemVAPDInterface) AvailableScenariosForEntity(entity spine_goapi.EntityRemoteInterface) []uint
- func (_m *CemVAPDInterface) EXPECT() *CemVAPDInterface_Expecter
- func (_m *CemVAPDInterface) IsCompatibleEntityType(entity spine_goapi.EntityRemoteInterface) bool
- func (_m *CemVAPDInterface) IsScenarioAvailableAtEntity(entity spine_goapi.EntityRemoteInterface, scenario uint) bool
- func (_m *CemVAPDInterface) PVYieldTotal(entity spine_goapi.EntityRemoteInterface) (float64, error)
- func (_m *CemVAPDInterface) Power(entity spine_goapi.EntityRemoteInterface) (float64, error)
- func (_m *CemVAPDInterface) PowerNominalPeak(entity spine_goapi.EntityRemoteInterface) (float64, error)
- func (_m *CemVAPDInterface) RemoteEntitiesScenarios() []eebus_goapi.RemoteEntityScenarios
- func (_m *CemVAPDInterface) RemoveUseCase()
- func (_m *CemVAPDInterface) UpdateUseCaseAvailability(available bool)
- type CemVAPDInterface_AddFeatures_Call
- type CemVAPDInterface_AddUseCase_Call
- type CemVAPDInterface_AvailableScenariosForEntity_Call
- func (_c *CemVAPDInterface_AvailableScenariosForEntity_Call) Return(_a0 []uint) *CemVAPDInterface_AvailableScenariosForEntity_Call
- func (_c *CemVAPDInterface_AvailableScenariosForEntity_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemVAPDInterface_AvailableScenariosForEntity_Call
- func (_c *CemVAPDInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) []uint) *CemVAPDInterface_AvailableScenariosForEntity_Call
- type CemVAPDInterface_Expecter
- func (_e *CemVAPDInterface_Expecter) AddFeatures() *CemVAPDInterface_AddFeatures_Call
- func (_e *CemVAPDInterface_Expecter) AddUseCase() *CemVAPDInterface_AddUseCase_Call
- func (_e *CemVAPDInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *CemVAPDInterface_AvailableScenariosForEntity_Call
- func (_e *CemVAPDInterface_Expecter) IsCompatibleEntityType(entity interface{}) *CemVAPDInterface_IsCompatibleEntityType_Call
- func (_e *CemVAPDInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *CemVAPDInterface_IsScenarioAvailableAtEntity_Call
- func (_e *CemVAPDInterface_Expecter) PVYieldTotal(entity interface{}) *CemVAPDInterface_PVYieldTotal_Call
- func (_e *CemVAPDInterface_Expecter) Power(entity interface{}) *CemVAPDInterface_Power_Call
- func (_e *CemVAPDInterface_Expecter) PowerNominalPeak(entity interface{}) *CemVAPDInterface_PowerNominalPeak_Call
- func (_e *CemVAPDInterface_Expecter) RemoteEntitiesScenarios() *CemVAPDInterface_RemoteEntitiesScenarios_Call
- func (_e *CemVAPDInterface_Expecter) RemoveUseCase() *CemVAPDInterface_RemoveUseCase_Call
- func (_e *CemVAPDInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *CemVAPDInterface_UpdateUseCaseAvailability_Call
- type CemVAPDInterface_IsCompatibleEntityType_Call
- func (_c *CemVAPDInterface_IsCompatibleEntityType_Call) Return(_a0 bool) *CemVAPDInterface_IsCompatibleEntityType_Call
- func (_c *CemVAPDInterface_IsCompatibleEntityType_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemVAPDInterface_IsCompatibleEntityType_Call
- func (_c *CemVAPDInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) bool) *CemVAPDInterface_IsCompatibleEntityType_Call
- type CemVAPDInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CemVAPDInterface_IsScenarioAvailableAtEntity_Call) Return(_a0 bool) *CemVAPDInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CemVAPDInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity spine_goapi.EntityRemoteInterface, scenario uint)) *CemVAPDInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CemVAPDInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface, uint) bool) *CemVAPDInterface_IsScenarioAvailableAtEntity_Call
- type CemVAPDInterface_PVYieldTotal_Call
- func (_c *CemVAPDInterface_PVYieldTotal_Call) Return(_a0 float64, _a1 error) *CemVAPDInterface_PVYieldTotal_Call
- func (_c *CemVAPDInterface_PVYieldTotal_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemVAPDInterface_PVYieldTotal_Call
- func (_c *CemVAPDInterface_PVYieldTotal_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (float64, error)) *CemVAPDInterface_PVYieldTotal_Call
- type CemVAPDInterface_PowerNominalPeak_Call
- func (_c *CemVAPDInterface_PowerNominalPeak_Call) Return(_a0 float64, _a1 error) *CemVAPDInterface_PowerNominalPeak_Call
- func (_c *CemVAPDInterface_PowerNominalPeak_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemVAPDInterface_PowerNominalPeak_Call
- func (_c *CemVAPDInterface_PowerNominalPeak_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (float64, error)) *CemVAPDInterface_PowerNominalPeak_Call
- type CemVAPDInterface_Power_Call
- func (_c *CemVAPDInterface_Power_Call) Return(_a0 float64, _a1 error) *CemVAPDInterface_Power_Call
- func (_c *CemVAPDInterface_Power_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemVAPDInterface_Power_Call
- func (_c *CemVAPDInterface_Power_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (float64, error)) *CemVAPDInterface_Power_Call
- type CemVAPDInterface_RemoteEntitiesScenarios_Call
- func (_c *CemVAPDInterface_RemoteEntitiesScenarios_Call) Return(_a0 []eebus_goapi.RemoteEntityScenarios) *CemVAPDInterface_RemoteEntitiesScenarios_Call
- func (_c *CemVAPDInterface_RemoteEntitiesScenarios_Call) Run(run func()) *CemVAPDInterface_RemoteEntitiesScenarios_Call
- func (_c *CemVAPDInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []eebus_goapi.RemoteEntityScenarios) *CemVAPDInterface_RemoteEntitiesScenarios_Call
- type CemVAPDInterface_RemoveUseCase_Call
- func (_c *CemVAPDInterface_RemoveUseCase_Call) Return() *CemVAPDInterface_RemoveUseCase_Call
- func (_c *CemVAPDInterface_RemoveUseCase_Call) Run(run func()) *CemVAPDInterface_RemoveUseCase_Call
- func (_c *CemVAPDInterface_RemoveUseCase_Call) RunAndReturn(run func()) *CemVAPDInterface_RemoveUseCase_Call
- type CemVAPDInterface_UpdateUseCaseAvailability_Call
- func (_c *CemVAPDInterface_UpdateUseCaseAvailability_Call) Return() *CemVAPDInterface_UpdateUseCaseAvailability_Call
- func (_c *CemVAPDInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *CemVAPDInterface_UpdateUseCaseAvailability_Call
- func (_c *CemVAPDInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(bool)) *CemVAPDInterface_UpdateUseCaseAvailability_Call
- type CsLPCInterface
- func (_m *CsLPCInterface) AddFeatures()
- func (_m *CsLPCInterface) AddUseCase()
- func (_m *CsLPCInterface) ApproveOrDenyConsumptionLimit(msgCounter model.MsgCounterType, approve bool, reason string)
- func (_m *CsLPCInterface) AvailableScenariosForEntity(entity spine_goapi.EntityRemoteInterface) []uint
- func (_m *CsLPCInterface) ConsumptionLimit() (api.LoadLimit, error)
- func (_m *CsLPCInterface) ConsumptionNominalMax() (float64, error)
- func (_m *CsLPCInterface) EXPECT() *CsLPCInterface_Expecter
- func (_m *CsLPCInterface) FailsafeConsumptionActivePowerLimit() (float64, bool, error)
- func (_m *CsLPCInterface) FailsafeDurationMinimum() (time.Duration, bool, error)
- func (_m *CsLPCInterface) IsCompatibleEntityType(entity spine_goapi.EntityRemoteInterface) bool
- func (_m *CsLPCInterface) IsHeartbeatWithinDuration() bool
- func (_m *CsLPCInterface) IsScenarioAvailableAtEntity(entity spine_goapi.EntityRemoteInterface, scenario uint) bool
- func (_m *CsLPCInterface) PendingConsumptionLimits() map[model.MsgCounterType]api.LoadLimit
- func (_m *CsLPCInterface) RemoteEntitiesScenarios() []eebus_goapi.RemoteEntityScenarios
- func (_m *CsLPCInterface) RemoveUseCase()
- func (_m *CsLPCInterface) SetConsumptionLimit(limit api.LoadLimit) error
- func (_m *CsLPCInterface) SetConsumptionNominalMax(value float64) error
- func (_m *CsLPCInterface) SetFailsafeConsumptionActivePowerLimit(value float64, changeable bool) error
- func (_m *CsLPCInterface) SetFailsafeDurationMinimum(duration time.Duration, changeable bool) error
- func (_m *CsLPCInterface) UpdateUseCaseAvailability(available bool)
- type CsLPCInterface_AddFeatures_Call
- type CsLPCInterface_AddUseCase_Call
- type CsLPCInterface_ApproveOrDenyConsumptionLimit_Call
- func (_c *CsLPCInterface_ApproveOrDenyConsumptionLimit_Call) Return() *CsLPCInterface_ApproveOrDenyConsumptionLimit_Call
- func (_c *CsLPCInterface_ApproveOrDenyConsumptionLimit_Call) Run(run func(msgCounter model.MsgCounterType, approve bool, reason string)) *CsLPCInterface_ApproveOrDenyConsumptionLimit_Call
- func (_c *CsLPCInterface_ApproveOrDenyConsumptionLimit_Call) RunAndReturn(run func(model.MsgCounterType, bool, string)) *CsLPCInterface_ApproveOrDenyConsumptionLimit_Call
- type CsLPCInterface_AvailableScenariosForEntity_Call
- func (_c *CsLPCInterface_AvailableScenariosForEntity_Call) Return(_a0 []uint) *CsLPCInterface_AvailableScenariosForEntity_Call
- func (_c *CsLPCInterface_AvailableScenariosForEntity_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CsLPCInterface_AvailableScenariosForEntity_Call
- func (_c *CsLPCInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) []uint) *CsLPCInterface_AvailableScenariosForEntity_Call
- type CsLPCInterface_ConsumptionLimit_Call
- func (_c *CsLPCInterface_ConsumptionLimit_Call) Return(_a0 api.LoadLimit, _a1 error) *CsLPCInterface_ConsumptionLimit_Call
- func (_c *CsLPCInterface_ConsumptionLimit_Call) Run(run func()) *CsLPCInterface_ConsumptionLimit_Call
- func (_c *CsLPCInterface_ConsumptionLimit_Call) RunAndReturn(run func() (api.LoadLimit, error)) *CsLPCInterface_ConsumptionLimit_Call
- type CsLPCInterface_ConsumptionNominalMax_Call
- func (_c *CsLPCInterface_ConsumptionNominalMax_Call) Return(_a0 float64, _a1 error) *CsLPCInterface_ConsumptionNominalMax_Call
- func (_c *CsLPCInterface_ConsumptionNominalMax_Call) Run(run func()) *CsLPCInterface_ConsumptionNominalMax_Call
- func (_c *CsLPCInterface_ConsumptionNominalMax_Call) RunAndReturn(run func() (float64, error)) *CsLPCInterface_ConsumptionNominalMax_Call
- type CsLPCInterface_Expecter
- func (_e *CsLPCInterface_Expecter) AddFeatures() *CsLPCInterface_AddFeatures_Call
- func (_e *CsLPCInterface_Expecter) AddUseCase() *CsLPCInterface_AddUseCase_Call
- func (_e *CsLPCInterface_Expecter) ApproveOrDenyConsumptionLimit(msgCounter interface{}, approve interface{}, reason interface{}) *CsLPCInterface_ApproveOrDenyConsumptionLimit_Call
- func (_e *CsLPCInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *CsLPCInterface_AvailableScenariosForEntity_Call
- func (_e *CsLPCInterface_Expecter) ConsumptionLimit() *CsLPCInterface_ConsumptionLimit_Call
- func (_e *CsLPCInterface_Expecter) ConsumptionNominalMax() *CsLPCInterface_ConsumptionNominalMax_Call
- func (_e *CsLPCInterface_Expecter) FailsafeConsumptionActivePowerLimit() *CsLPCInterface_FailsafeConsumptionActivePowerLimit_Call
- func (_e *CsLPCInterface_Expecter) FailsafeDurationMinimum() *CsLPCInterface_FailsafeDurationMinimum_Call
- func (_e *CsLPCInterface_Expecter) IsCompatibleEntityType(entity interface{}) *CsLPCInterface_IsCompatibleEntityType_Call
- func (_e *CsLPCInterface_Expecter) IsHeartbeatWithinDuration() *CsLPCInterface_IsHeartbeatWithinDuration_Call
- func (_e *CsLPCInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *CsLPCInterface_IsScenarioAvailableAtEntity_Call
- func (_e *CsLPCInterface_Expecter) PendingConsumptionLimits() *CsLPCInterface_PendingConsumptionLimits_Call
- func (_e *CsLPCInterface_Expecter) RemoteEntitiesScenarios() *CsLPCInterface_RemoteEntitiesScenarios_Call
- func (_e *CsLPCInterface_Expecter) RemoveUseCase() *CsLPCInterface_RemoveUseCase_Call
- func (_e *CsLPCInterface_Expecter) SetConsumptionLimit(limit interface{}) *CsLPCInterface_SetConsumptionLimit_Call
- func (_e *CsLPCInterface_Expecter) SetConsumptionNominalMax(value interface{}) *CsLPCInterface_SetConsumptionNominalMax_Call
- func (_e *CsLPCInterface_Expecter) SetFailsafeConsumptionActivePowerLimit(value interface{}, changeable interface{}) *CsLPCInterface_SetFailsafeConsumptionActivePowerLimit_Call
- func (_e *CsLPCInterface_Expecter) SetFailsafeDurationMinimum(duration interface{}, changeable interface{}) *CsLPCInterface_SetFailsafeDurationMinimum_Call
- func (_e *CsLPCInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *CsLPCInterface_UpdateUseCaseAvailability_Call
- type CsLPCInterface_FailsafeConsumptionActivePowerLimit_Call
- func (_c *CsLPCInterface_FailsafeConsumptionActivePowerLimit_Call) Return(value float64, isChangeable bool, resultErr error) *CsLPCInterface_FailsafeConsumptionActivePowerLimit_Call
- func (_c *CsLPCInterface_FailsafeConsumptionActivePowerLimit_Call) Run(run func()) *CsLPCInterface_FailsafeConsumptionActivePowerLimit_Call
- func (_c *CsLPCInterface_FailsafeConsumptionActivePowerLimit_Call) RunAndReturn(run func() (float64, bool, error)) *CsLPCInterface_FailsafeConsumptionActivePowerLimit_Call
- type CsLPCInterface_FailsafeDurationMinimum_Call
- func (_c *CsLPCInterface_FailsafeDurationMinimum_Call) Return(duration time.Duration, isChangeable bool, resultErr error) *CsLPCInterface_FailsafeDurationMinimum_Call
- func (_c *CsLPCInterface_FailsafeDurationMinimum_Call) Run(run func()) *CsLPCInterface_FailsafeDurationMinimum_Call
- func (_c *CsLPCInterface_FailsafeDurationMinimum_Call) RunAndReturn(run func() (time.Duration, bool, error)) *CsLPCInterface_FailsafeDurationMinimum_Call
- type CsLPCInterface_IsCompatibleEntityType_Call
- func (_c *CsLPCInterface_IsCompatibleEntityType_Call) Return(_a0 bool) *CsLPCInterface_IsCompatibleEntityType_Call
- func (_c *CsLPCInterface_IsCompatibleEntityType_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CsLPCInterface_IsCompatibleEntityType_Call
- func (_c *CsLPCInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) bool) *CsLPCInterface_IsCompatibleEntityType_Call
- type CsLPCInterface_IsHeartbeatWithinDuration_Call
- func (_c *CsLPCInterface_IsHeartbeatWithinDuration_Call) Return(_a0 bool) *CsLPCInterface_IsHeartbeatWithinDuration_Call
- func (_c *CsLPCInterface_IsHeartbeatWithinDuration_Call) Run(run func()) *CsLPCInterface_IsHeartbeatWithinDuration_Call
- func (_c *CsLPCInterface_IsHeartbeatWithinDuration_Call) RunAndReturn(run func() bool) *CsLPCInterface_IsHeartbeatWithinDuration_Call
- type CsLPCInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CsLPCInterface_IsScenarioAvailableAtEntity_Call) Return(_a0 bool) *CsLPCInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CsLPCInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity spine_goapi.EntityRemoteInterface, scenario uint)) *CsLPCInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CsLPCInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface, uint) bool) *CsLPCInterface_IsScenarioAvailableAtEntity_Call
- type CsLPCInterface_PendingConsumptionLimits_Call
- func (_c *CsLPCInterface_PendingConsumptionLimits_Call) Return(_a0 map[model.MsgCounterType]api.LoadLimit) *CsLPCInterface_PendingConsumptionLimits_Call
- func (_c *CsLPCInterface_PendingConsumptionLimits_Call) Run(run func()) *CsLPCInterface_PendingConsumptionLimits_Call
- func (_c *CsLPCInterface_PendingConsumptionLimits_Call) RunAndReturn(run func() map[model.MsgCounterType]api.LoadLimit) *CsLPCInterface_PendingConsumptionLimits_Call
- type CsLPCInterface_RemoteEntitiesScenarios_Call
- func (_c *CsLPCInterface_RemoteEntitiesScenarios_Call) Return(_a0 []eebus_goapi.RemoteEntityScenarios) *CsLPCInterface_RemoteEntitiesScenarios_Call
- func (_c *CsLPCInterface_RemoteEntitiesScenarios_Call) Run(run func()) *CsLPCInterface_RemoteEntitiesScenarios_Call
- func (_c *CsLPCInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []eebus_goapi.RemoteEntityScenarios) *CsLPCInterface_RemoteEntitiesScenarios_Call
- type CsLPCInterface_RemoveUseCase_Call
- type CsLPCInterface_SetConsumptionLimit_Call
- func (_c *CsLPCInterface_SetConsumptionLimit_Call) Return(resultErr error) *CsLPCInterface_SetConsumptionLimit_Call
- func (_c *CsLPCInterface_SetConsumptionLimit_Call) Run(run func(limit api.LoadLimit)) *CsLPCInterface_SetConsumptionLimit_Call
- func (_c *CsLPCInterface_SetConsumptionLimit_Call) RunAndReturn(run func(api.LoadLimit) error) *CsLPCInterface_SetConsumptionLimit_Call
- type CsLPCInterface_SetConsumptionNominalMax_Call
- func (_c *CsLPCInterface_SetConsumptionNominalMax_Call) Return(resultErr error) *CsLPCInterface_SetConsumptionNominalMax_Call
- func (_c *CsLPCInterface_SetConsumptionNominalMax_Call) Run(run func(value float64)) *CsLPCInterface_SetConsumptionNominalMax_Call
- func (_c *CsLPCInterface_SetConsumptionNominalMax_Call) RunAndReturn(run func(float64) error) *CsLPCInterface_SetConsumptionNominalMax_Call
- type CsLPCInterface_SetFailsafeConsumptionActivePowerLimit_Call
- func (_c *CsLPCInterface_SetFailsafeConsumptionActivePowerLimit_Call) Return(resultErr error) *CsLPCInterface_SetFailsafeConsumptionActivePowerLimit_Call
- func (_c *CsLPCInterface_SetFailsafeConsumptionActivePowerLimit_Call) Run(run func(value float64, changeable bool)) *CsLPCInterface_SetFailsafeConsumptionActivePowerLimit_Call
- func (_c *CsLPCInterface_SetFailsafeConsumptionActivePowerLimit_Call) RunAndReturn(run func(float64, bool) error) *CsLPCInterface_SetFailsafeConsumptionActivePowerLimit_Call
- type CsLPCInterface_SetFailsafeDurationMinimum_Call
- func (_c *CsLPCInterface_SetFailsafeDurationMinimum_Call) Return(resultErr error) *CsLPCInterface_SetFailsafeDurationMinimum_Call
- func (_c *CsLPCInterface_SetFailsafeDurationMinimum_Call) Run(run func(duration time.Duration, changeable bool)) *CsLPCInterface_SetFailsafeDurationMinimum_Call
- func (_c *CsLPCInterface_SetFailsafeDurationMinimum_Call) RunAndReturn(run func(time.Duration, bool) error) *CsLPCInterface_SetFailsafeDurationMinimum_Call
- type CsLPCInterface_UpdateUseCaseAvailability_Call
- func (_c *CsLPCInterface_UpdateUseCaseAvailability_Call) Return() *CsLPCInterface_UpdateUseCaseAvailability_Call
- func (_c *CsLPCInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *CsLPCInterface_UpdateUseCaseAvailability_Call
- func (_c *CsLPCInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(bool)) *CsLPCInterface_UpdateUseCaseAvailability_Call
- type CsLPPInterface
- func (_m *CsLPPInterface) AddFeatures()
- func (_m *CsLPPInterface) AddUseCase()
- func (_m *CsLPPInterface) ApproveOrDenyProductionLimit(msgCounter model.MsgCounterType, approve bool, reason string)
- func (_m *CsLPPInterface) AvailableScenariosForEntity(entity spine_goapi.EntityRemoteInterface) []uint
- func (_m *CsLPPInterface) EXPECT() *CsLPPInterface_Expecter
- func (_m *CsLPPInterface) FailsafeDurationMinimum() (time.Duration, bool, error)
- func (_m *CsLPPInterface) FailsafeProductionActivePowerLimit() (float64, bool, error)
- func (_m *CsLPPInterface) IsCompatibleEntityType(entity spine_goapi.EntityRemoteInterface) bool
- func (_m *CsLPPInterface) IsHeartbeatWithinDuration() bool
- func (_m *CsLPPInterface) IsScenarioAvailableAtEntity(entity spine_goapi.EntityRemoteInterface, scenario uint) bool
- func (_m *CsLPPInterface) PendingProductionLimits() map[model.MsgCounterType]api.LoadLimit
- func (_m *CsLPPInterface) ProductionLimit() (api.LoadLimit, error)
- func (_m *CsLPPInterface) ProductionNominalMax() (float64, error)
- func (_m *CsLPPInterface) RemoteEntitiesScenarios() []eebus_goapi.RemoteEntityScenarios
- func (_m *CsLPPInterface) RemoveUseCase()
- func (_m *CsLPPInterface) SetFailsafeDurationMinimum(duration time.Duration, changeable bool) error
- func (_m *CsLPPInterface) SetFailsafeProductionActivePowerLimit(value float64, changeable bool) error
- func (_m *CsLPPInterface) SetProductionLimit(limit api.LoadLimit) error
- func (_m *CsLPPInterface) SetProductionNominalMax(value float64) error
- func (_m *CsLPPInterface) UpdateUseCaseAvailability(available bool)
- type CsLPPInterface_AddFeatures_Call
- type CsLPPInterface_AddUseCase_Call
- type CsLPPInterface_ApproveOrDenyProductionLimit_Call
- func (_c *CsLPPInterface_ApproveOrDenyProductionLimit_Call) Return() *CsLPPInterface_ApproveOrDenyProductionLimit_Call
- func (_c *CsLPPInterface_ApproveOrDenyProductionLimit_Call) Run(run func(msgCounter model.MsgCounterType, approve bool, reason string)) *CsLPPInterface_ApproveOrDenyProductionLimit_Call
- func (_c *CsLPPInterface_ApproveOrDenyProductionLimit_Call) RunAndReturn(run func(model.MsgCounterType, bool, string)) *CsLPPInterface_ApproveOrDenyProductionLimit_Call
- type CsLPPInterface_AvailableScenariosForEntity_Call
- func (_c *CsLPPInterface_AvailableScenariosForEntity_Call) Return(_a0 []uint) *CsLPPInterface_AvailableScenariosForEntity_Call
- func (_c *CsLPPInterface_AvailableScenariosForEntity_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CsLPPInterface_AvailableScenariosForEntity_Call
- func (_c *CsLPPInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) []uint) *CsLPPInterface_AvailableScenariosForEntity_Call
- type CsLPPInterface_Expecter
- func (_e *CsLPPInterface_Expecter) AddFeatures() *CsLPPInterface_AddFeatures_Call
- func (_e *CsLPPInterface_Expecter) AddUseCase() *CsLPPInterface_AddUseCase_Call
- func (_e *CsLPPInterface_Expecter) ApproveOrDenyProductionLimit(msgCounter interface{}, approve interface{}, reason interface{}) *CsLPPInterface_ApproveOrDenyProductionLimit_Call
- func (_e *CsLPPInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *CsLPPInterface_AvailableScenariosForEntity_Call
- func (_e *CsLPPInterface_Expecter) FailsafeDurationMinimum() *CsLPPInterface_FailsafeDurationMinimum_Call
- func (_e *CsLPPInterface_Expecter) FailsafeProductionActivePowerLimit() *CsLPPInterface_FailsafeProductionActivePowerLimit_Call
- func (_e *CsLPPInterface_Expecter) IsCompatibleEntityType(entity interface{}) *CsLPPInterface_IsCompatibleEntityType_Call
- func (_e *CsLPPInterface_Expecter) IsHeartbeatWithinDuration() *CsLPPInterface_IsHeartbeatWithinDuration_Call
- func (_e *CsLPPInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *CsLPPInterface_IsScenarioAvailableAtEntity_Call
- func (_e *CsLPPInterface_Expecter) PendingProductionLimits() *CsLPPInterface_PendingProductionLimits_Call
- func (_e *CsLPPInterface_Expecter) ProductionLimit() *CsLPPInterface_ProductionLimit_Call
- func (_e *CsLPPInterface_Expecter) ProductionNominalMax() *CsLPPInterface_ProductionNominalMax_Call
- func (_e *CsLPPInterface_Expecter) RemoteEntitiesScenarios() *CsLPPInterface_RemoteEntitiesScenarios_Call
- func (_e *CsLPPInterface_Expecter) RemoveUseCase() *CsLPPInterface_RemoveUseCase_Call
- func (_e *CsLPPInterface_Expecter) SetFailsafeDurationMinimum(duration interface{}, changeable interface{}) *CsLPPInterface_SetFailsafeDurationMinimum_Call
- func (_e *CsLPPInterface_Expecter) SetFailsafeProductionActivePowerLimit(value interface{}, changeable interface{}) *CsLPPInterface_SetFailsafeProductionActivePowerLimit_Call
- func (_e *CsLPPInterface_Expecter) SetProductionLimit(limit interface{}) *CsLPPInterface_SetProductionLimit_Call
- func (_e *CsLPPInterface_Expecter) SetProductionNominalMax(value interface{}) *CsLPPInterface_SetProductionNominalMax_Call
- func (_e *CsLPPInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *CsLPPInterface_UpdateUseCaseAvailability_Call
- type CsLPPInterface_FailsafeDurationMinimum_Call
- func (_c *CsLPPInterface_FailsafeDurationMinimum_Call) Return(duration time.Duration, isChangeable bool, resultErr error) *CsLPPInterface_FailsafeDurationMinimum_Call
- func (_c *CsLPPInterface_FailsafeDurationMinimum_Call) Run(run func()) *CsLPPInterface_FailsafeDurationMinimum_Call
- func (_c *CsLPPInterface_FailsafeDurationMinimum_Call) RunAndReturn(run func() (time.Duration, bool, error)) *CsLPPInterface_FailsafeDurationMinimum_Call
- type CsLPPInterface_FailsafeProductionActivePowerLimit_Call
- func (_c *CsLPPInterface_FailsafeProductionActivePowerLimit_Call) Return(value float64, isChangeable bool, resultErr error) *CsLPPInterface_FailsafeProductionActivePowerLimit_Call
- func (_c *CsLPPInterface_FailsafeProductionActivePowerLimit_Call) Run(run func()) *CsLPPInterface_FailsafeProductionActivePowerLimit_Call
- func (_c *CsLPPInterface_FailsafeProductionActivePowerLimit_Call) RunAndReturn(run func() (float64, bool, error)) *CsLPPInterface_FailsafeProductionActivePowerLimit_Call
- type CsLPPInterface_IsCompatibleEntityType_Call
- func (_c *CsLPPInterface_IsCompatibleEntityType_Call) Return(_a0 bool) *CsLPPInterface_IsCompatibleEntityType_Call
- func (_c *CsLPPInterface_IsCompatibleEntityType_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CsLPPInterface_IsCompatibleEntityType_Call
- func (_c *CsLPPInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) bool) *CsLPPInterface_IsCompatibleEntityType_Call
- type CsLPPInterface_IsHeartbeatWithinDuration_Call
- func (_c *CsLPPInterface_IsHeartbeatWithinDuration_Call) Return(_a0 bool) *CsLPPInterface_IsHeartbeatWithinDuration_Call
- func (_c *CsLPPInterface_IsHeartbeatWithinDuration_Call) Run(run func()) *CsLPPInterface_IsHeartbeatWithinDuration_Call
- func (_c *CsLPPInterface_IsHeartbeatWithinDuration_Call) RunAndReturn(run func() bool) *CsLPPInterface_IsHeartbeatWithinDuration_Call
- type CsLPPInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CsLPPInterface_IsScenarioAvailableAtEntity_Call) Return(_a0 bool) *CsLPPInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CsLPPInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity spine_goapi.EntityRemoteInterface, scenario uint)) *CsLPPInterface_IsScenarioAvailableAtEntity_Call
- func (_c *CsLPPInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface, uint) bool) *CsLPPInterface_IsScenarioAvailableAtEntity_Call
- type CsLPPInterface_PendingProductionLimits_Call
- func (_c *CsLPPInterface_PendingProductionLimits_Call) Return(_a0 map[model.MsgCounterType]api.LoadLimit) *CsLPPInterface_PendingProductionLimits_Call
- func (_c *CsLPPInterface_PendingProductionLimits_Call) Run(run func()) *CsLPPInterface_PendingProductionLimits_Call
- func (_c *CsLPPInterface_PendingProductionLimits_Call) RunAndReturn(run func() map[model.MsgCounterType]api.LoadLimit) *CsLPPInterface_PendingProductionLimits_Call
- type CsLPPInterface_ProductionLimit_Call
- func (_c *CsLPPInterface_ProductionLimit_Call) Return(_a0 api.LoadLimit, _a1 error) *CsLPPInterface_ProductionLimit_Call
- func (_c *CsLPPInterface_ProductionLimit_Call) Run(run func()) *CsLPPInterface_ProductionLimit_Call
- func (_c *CsLPPInterface_ProductionLimit_Call) RunAndReturn(run func() (api.LoadLimit, error)) *CsLPPInterface_ProductionLimit_Call
- type CsLPPInterface_ProductionNominalMax_Call
- func (_c *CsLPPInterface_ProductionNominalMax_Call) Return(_a0 float64, _a1 error) *CsLPPInterface_ProductionNominalMax_Call
- func (_c *CsLPPInterface_ProductionNominalMax_Call) Run(run func()) *CsLPPInterface_ProductionNominalMax_Call
- func (_c *CsLPPInterface_ProductionNominalMax_Call) RunAndReturn(run func() (float64, error)) *CsLPPInterface_ProductionNominalMax_Call
- type CsLPPInterface_RemoteEntitiesScenarios_Call
- func (_c *CsLPPInterface_RemoteEntitiesScenarios_Call) Return(_a0 []eebus_goapi.RemoteEntityScenarios) *CsLPPInterface_RemoteEntitiesScenarios_Call
- func (_c *CsLPPInterface_RemoteEntitiesScenarios_Call) Run(run func()) *CsLPPInterface_RemoteEntitiesScenarios_Call
- func (_c *CsLPPInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []eebus_goapi.RemoteEntityScenarios) *CsLPPInterface_RemoteEntitiesScenarios_Call
- type CsLPPInterface_RemoveUseCase_Call
- type CsLPPInterface_SetFailsafeDurationMinimum_Call
- func (_c *CsLPPInterface_SetFailsafeDurationMinimum_Call) Return(resultErr error) *CsLPPInterface_SetFailsafeDurationMinimum_Call
- func (_c *CsLPPInterface_SetFailsafeDurationMinimum_Call) Run(run func(duration time.Duration, changeable bool)) *CsLPPInterface_SetFailsafeDurationMinimum_Call
- func (_c *CsLPPInterface_SetFailsafeDurationMinimum_Call) RunAndReturn(run func(time.Duration, bool) error) *CsLPPInterface_SetFailsafeDurationMinimum_Call
- type CsLPPInterface_SetFailsafeProductionActivePowerLimit_Call
- func (_c *CsLPPInterface_SetFailsafeProductionActivePowerLimit_Call) Return(resultErr error) *CsLPPInterface_SetFailsafeProductionActivePowerLimit_Call
- func (_c *CsLPPInterface_SetFailsafeProductionActivePowerLimit_Call) Run(run func(value float64, changeable bool)) *CsLPPInterface_SetFailsafeProductionActivePowerLimit_Call
- func (_c *CsLPPInterface_SetFailsafeProductionActivePowerLimit_Call) RunAndReturn(run func(float64, bool) error) *CsLPPInterface_SetFailsafeProductionActivePowerLimit_Call
- type CsLPPInterface_SetProductionLimit_Call
- func (_c *CsLPPInterface_SetProductionLimit_Call) Return(resultErr error) *CsLPPInterface_SetProductionLimit_Call
- func (_c *CsLPPInterface_SetProductionLimit_Call) Run(run func(limit api.LoadLimit)) *CsLPPInterface_SetProductionLimit_Call
- func (_c *CsLPPInterface_SetProductionLimit_Call) RunAndReturn(run func(api.LoadLimit) error) *CsLPPInterface_SetProductionLimit_Call
- type CsLPPInterface_SetProductionNominalMax_Call
- func (_c *CsLPPInterface_SetProductionNominalMax_Call) Return(resultErr error) *CsLPPInterface_SetProductionNominalMax_Call
- func (_c *CsLPPInterface_SetProductionNominalMax_Call) Run(run func(value float64)) *CsLPPInterface_SetProductionNominalMax_Call
- func (_c *CsLPPInterface_SetProductionNominalMax_Call) RunAndReturn(run func(float64) error) *CsLPPInterface_SetProductionNominalMax_Call
- type CsLPPInterface_UpdateUseCaseAvailability_Call
- func (_c *CsLPPInterface_UpdateUseCaseAvailability_Call) Return() *CsLPPInterface_UpdateUseCaseAvailability_Call
- func (_c *CsLPPInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *CsLPPInterface_UpdateUseCaseAvailability_Call
- func (_c *CsLPPInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(bool)) *CsLPPInterface_UpdateUseCaseAvailability_Call
- type EgLPCInterface
- func (_m *EgLPCInterface) AddFeatures()
- func (_m *EgLPCInterface) AddUseCase()
- func (_m *EgLPCInterface) AvailableScenariosForEntity(entity spine_goapi.EntityRemoteInterface) []uint
- func (_m *EgLPCInterface) ConsumptionLimit(entity spine_goapi.EntityRemoteInterface) (api.LoadLimit, error)
- func (_m *EgLPCInterface) ConsumptionNominalMax(entity spine_goapi.EntityRemoteInterface) (float64, error)
- func (_m *EgLPCInterface) EXPECT() *EgLPCInterface_Expecter
- func (_m *EgLPCInterface) FailsafeConsumptionActivePowerLimit(entity spine_goapi.EntityRemoteInterface) (float64, error)
- func (_m *EgLPCInterface) FailsafeDurationMinimum(entity spine_goapi.EntityRemoteInterface) (time.Duration, error)
- func (_m *EgLPCInterface) IsCompatibleEntityType(entity spine_goapi.EntityRemoteInterface) bool
- func (_m *EgLPCInterface) IsScenarioAvailableAtEntity(entity spine_goapi.EntityRemoteInterface, scenario uint) bool
- func (_m *EgLPCInterface) RemoteEntitiesScenarios() []eebus_goapi.RemoteEntityScenarios
- func (_m *EgLPCInterface) RemoveUseCase()
- func (_m *EgLPCInterface) UpdateUseCaseAvailability(available bool)
- func (_m *EgLPCInterface) WriteConsumptionLimit(entity spine_goapi.EntityRemoteInterface, limit api.LoadLimit, ...) (*model.MsgCounterType, error)
- func (_m *EgLPCInterface) WriteFailsafeConsumptionActivePowerLimit(entity spine_goapi.EntityRemoteInterface, value float64) (*model.MsgCounterType, error)
- func (_m *EgLPCInterface) WriteFailsafeDurationMinimum(entity spine_goapi.EntityRemoteInterface, duration time.Duration) (*model.MsgCounterType, error)
- type EgLPCInterface_AddFeatures_Call
- type EgLPCInterface_AddUseCase_Call
- type EgLPCInterface_AvailableScenariosForEntity_Call
- func (_c *EgLPCInterface_AvailableScenariosForEntity_Call) Return(_a0 []uint) *EgLPCInterface_AvailableScenariosForEntity_Call
- func (_c *EgLPCInterface_AvailableScenariosForEntity_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *EgLPCInterface_AvailableScenariosForEntity_Call
- func (_c *EgLPCInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) []uint) *EgLPCInterface_AvailableScenariosForEntity_Call
- type EgLPCInterface_ConsumptionLimit_Call
- func (_c *EgLPCInterface_ConsumptionLimit_Call) Return(limit api.LoadLimit, resultErr error) *EgLPCInterface_ConsumptionLimit_Call
- func (_c *EgLPCInterface_ConsumptionLimit_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *EgLPCInterface_ConsumptionLimit_Call
- func (_c *EgLPCInterface_ConsumptionLimit_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (api.LoadLimit, error)) *EgLPCInterface_ConsumptionLimit_Call
- type EgLPCInterface_ConsumptionNominalMax_Call
- func (_c *EgLPCInterface_ConsumptionNominalMax_Call) Return(_a0 float64, _a1 error) *EgLPCInterface_ConsumptionNominalMax_Call
- func (_c *EgLPCInterface_ConsumptionNominalMax_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *EgLPCInterface_ConsumptionNominalMax_Call
- func (_c *EgLPCInterface_ConsumptionNominalMax_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (float64, error)) *EgLPCInterface_ConsumptionNominalMax_Call
- type EgLPCInterface_Expecter
- func (_e *EgLPCInterface_Expecter) AddFeatures() *EgLPCInterface_AddFeatures_Call
- func (_e *EgLPCInterface_Expecter) AddUseCase() *EgLPCInterface_AddUseCase_Call
- func (_e *EgLPCInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *EgLPCInterface_AvailableScenariosForEntity_Call
- func (_e *EgLPCInterface_Expecter) ConsumptionLimit(entity interface{}) *EgLPCInterface_ConsumptionLimit_Call
- func (_e *EgLPCInterface_Expecter) ConsumptionNominalMax(entity interface{}) *EgLPCInterface_ConsumptionNominalMax_Call
- func (_e *EgLPCInterface_Expecter) FailsafeConsumptionActivePowerLimit(entity interface{}) *EgLPCInterface_FailsafeConsumptionActivePowerLimit_Call
- func (_e *EgLPCInterface_Expecter) FailsafeDurationMinimum(entity interface{}) *EgLPCInterface_FailsafeDurationMinimum_Call
- func (_e *EgLPCInterface_Expecter) IsCompatibleEntityType(entity interface{}) *EgLPCInterface_IsCompatibleEntityType_Call
- func (_e *EgLPCInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *EgLPCInterface_IsScenarioAvailableAtEntity_Call
- func (_e *EgLPCInterface_Expecter) RemoteEntitiesScenarios() *EgLPCInterface_RemoteEntitiesScenarios_Call
- func (_e *EgLPCInterface_Expecter) RemoveUseCase() *EgLPCInterface_RemoveUseCase_Call
- func (_e *EgLPCInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *EgLPCInterface_UpdateUseCaseAvailability_Call
- func (_e *EgLPCInterface_Expecter) WriteConsumptionLimit(entity interface{}, limit interface{}, resultCB interface{}) *EgLPCInterface_WriteConsumptionLimit_Call
- func (_e *EgLPCInterface_Expecter) WriteFailsafeConsumptionActivePowerLimit(entity interface{}, value interface{}) *EgLPCInterface_WriteFailsafeConsumptionActivePowerLimit_Call
- func (_e *EgLPCInterface_Expecter) WriteFailsafeDurationMinimum(entity interface{}, duration interface{}) *EgLPCInterface_WriteFailsafeDurationMinimum_Call
- type EgLPCInterface_FailsafeConsumptionActivePowerLimit_Call
- func (_c *EgLPCInterface_FailsafeConsumptionActivePowerLimit_Call) Return(_a0 float64, _a1 error) *EgLPCInterface_FailsafeConsumptionActivePowerLimit_Call
- func (_c *EgLPCInterface_FailsafeConsumptionActivePowerLimit_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *EgLPCInterface_FailsafeConsumptionActivePowerLimit_Call
- func (_c *EgLPCInterface_FailsafeConsumptionActivePowerLimit_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (float64, error)) *EgLPCInterface_FailsafeConsumptionActivePowerLimit_Call
- type EgLPCInterface_FailsafeDurationMinimum_Call
- func (_c *EgLPCInterface_FailsafeDurationMinimum_Call) Return(_a0 time.Duration, _a1 error) *EgLPCInterface_FailsafeDurationMinimum_Call
- func (_c *EgLPCInterface_FailsafeDurationMinimum_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *EgLPCInterface_FailsafeDurationMinimum_Call
- func (_c *EgLPCInterface_FailsafeDurationMinimum_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (time.Duration, error)) *EgLPCInterface_FailsafeDurationMinimum_Call
- type EgLPCInterface_IsCompatibleEntityType_Call
- func (_c *EgLPCInterface_IsCompatibleEntityType_Call) Return(_a0 bool) *EgLPCInterface_IsCompatibleEntityType_Call
- func (_c *EgLPCInterface_IsCompatibleEntityType_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *EgLPCInterface_IsCompatibleEntityType_Call
- func (_c *EgLPCInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) bool) *EgLPCInterface_IsCompatibleEntityType_Call
- type EgLPCInterface_IsScenarioAvailableAtEntity_Call
- func (_c *EgLPCInterface_IsScenarioAvailableAtEntity_Call) Return(_a0 bool) *EgLPCInterface_IsScenarioAvailableAtEntity_Call
- func (_c *EgLPCInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity spine_goapi.EntityRemoteInterface, scenario uint)) *EgLPCInterface_IsScenarioAvailableAtEntity_Call
- func (_c *EgLPCInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface, uint) bool) *EgLPCInterface_IsScenarioAvailableAtEntity_Call
- type EgLPCInterface_RemoteEntitiesScenarios_Call
- func (_c *EgLPCInterface_RemoteEntitiesScenarios_Call) Return(_a0 []eebus_goapi.RemoteEntityScenarios) *EgLPCInterface_RemoteEntitiesScenarios_Call
- func (_c *EgLPCInterface_RemoteEntitiesScenarios_Call) Run(run func()) *EgLPCInterface_RemoteEntitiesScenarios_Call
- func (_c *EgLPCInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []eebus_goapi.RemoteEntityScenarios) *EgLPCInterface_RemoteEntitiesScenarios_Call
- type EgLPCInterface_RemoveUseCase_Call
- type EgLPCInterface_UpdateUseCaseAvailability_Call
- func (_c *EgLPCInterface_UpdateUseCaseAvailability_Call) Return() *EgLPCInterface_UpdateUseCaseAvailability_Call
- func (_c *EgLPCInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *EgLPCInterface_UpdateUseCaseAvailability_Call
- func (_c *EgLPCInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(bool)) *EgLPCInterface_UpdateUseCaseAvailability_Call
- type EgLPCInterface_WriteConsumptionLimit_Call
- func (_c *EgLPCInterface_WriteConsumptionLimit_Call) Return(_a0 *model.MsgCounterType, _a1 error) *EgLPCInterface_WriteConsumptionLimit_Call
- func (_c *EgLPCInterface_WriteConsumptionLimit_Call) Run(run func(entity spine_goapi.EntityRemoteInterface, limit api.LoadLimit, ...)) *EgLPCInterface_WriteConsumptionLimit_Call
- func (_c *EgLPCInterface_WriteConsumptionLimit_Call) RunAndReturn(...) *EgLPCInterface_WriteConsumptionLimit_Call
- type EgLPCInterface_WriteFailsafeConsumptionActivePowerLimit_Call
- func (_c *EgLPCInterface_WriteFailsafeConsumptionActivePowerLimit_Call) Return(_a0 *model.MsgCounterType, _a1 error) *EgLPCInterface_WriteFailsafeConsumptionActivePowerLimit_Call
- func (_c *EgLPCInterface_WriteFailsafeConsumptionActivePowerLimit_Call) Run(run func(entity spine_goapi.EntityRemoteInterface, value float64)) *EgLPCInterface_WriteFailsafeConsumptionActivePowerLimit_Call
- func (_c *EgLPCInterface_WriteFailsafeConsumptionActivePowerLimit_Call) RunAndReturn(...) *EgLPCInterface_WriteFailsafeConsumptionActivePowerLimit_Call
- type EgLPCInterface_WriteFailsafeDurationMinimum_Call
- func (_c *EgLPCInterface_WriteFailsafeDurationMinimum_Call) Return(_a0 *model.MsgCounterType, _a1 error) *EgLPCInterface_WriteFailsafeDurationMinimum_Call
- func (_c *EgLPCInterface_WriteFailsafeDurationMinimum_Call) Run(run func(entity spine_goapi.EntityRemoteInterface, duration time.Duration)) *EgLPCInterface_WriteFailsafeDurationMinimum_Call
- func (_c *EgLPCInterface_WriteFailsafeDurationMinimum_Call) RunAndReturn(...) *EgLPCInterface_WriteFailsafeDurationMinimum_Call
- type EgLPPInterface
- func (_m *EgLPPInterface) AddFeatures()
- func (_m *EgLPPInterface) AddUseCase()
- func (_m *EgLPPInterface) AvailableScenariosForEntity(entity spine_goapi.EntityRemoteInterface) []uint
- func (_m *EgLPPInterface) EXPECT() *EgLPPInterface_Expecter
- func (_m *EgLPPInterface) FailsafeDurationMinimum(entity spine_goapi.EntityRemoteInterface) (time.Duration, error)
- func (_m *EgLPPInterface) FailsafeProductionActivePowerLimit(entity spine_goapi.EntityRemoteInterface) (float64, error)
- func (_m *EgLPPInterface) IsCompatibleEntityType(entity spine_goapi.EntityRemoteInterface) bool
- func (_m *EgLPPInterface) IsScenarioAvailableAtEntity(entity spine_goapi.EntityRemoteInterface, scenario uint) bool
- func (_m *EgLPPInterface) ProductionLimit(entity spine_goapi.EntityRemoteInterface) (api.LoadLimit, error)
- func (_m *EgLPPInterface) ProductionNominalMax(entity spine_goapi.EntityRemoteInterface) (float64, error)
- func (_m *EgLPPInterface) RemoteEntitiesScenarios() []eebus_goapi.RemoteEntityScenarios
- func (_m *EgLPPInterface) RemoveUseCase()
- func (_m *EgLPPInterface) UpdateUseCaseAvailability(available bool)
- func (_m *EgLPPInterface) WriteFailsafeDurationMinimum(entity spine_goapi.EntityRemoteInterface, duration time.Duration) (*model.MsgCounterType, error)
- func (_m *EgLPPInterface) WriteFailsafeProductionActivePowerLimit(entity spine_goapi.EntityRemoteInterface, value float64) (*model.MsgCounterType, error)
- func (_m *EgLPPInterface) WriteProductionLimit(entity spine_goapi.EntityRemoteInterface, limit api.LoadLimit, ...) (*model.MsgCounterType, error)
- type EgLPPInterface_AddFeatures_Call
- type EgLPPInterface_AddUseCase_Call
- type EgLPPInterface_AvailableScenariosForEntity_Call
- func (_c *EgLPPInterface_AvailableScenariosForEntity_Call) Return(_a0 []uint) *EgLPPInterface_AvailableScenariosForEntity_Call
- func (_c *EgLPPInterface_AvailableScenariosForEntity_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *EgLPPInterface_AvailableScenariosForEntity_Call
- func (_c *EgLPPInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) []uint) *EgLPPInterface_AvailableScenariosForEntity_Call
- type EgLPPInterface_Expecter
- func (_e *EgLPPInterface_Expecter) AddFeatures() *EgLPPInterface_AddFeatures_Call
- func (_e *EgLPPInterface_Expecter) AddUseCase() *EgLPPInterface_AddUseCase_Call
- func (_e *EgLPPInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *EgLPPInterface_AvailableScenariosForEntity_Call
- func (_e *EgLPPInterface_Expecter) FailsafeDurationMinimum(entity interface{}) *EgLPPInterface_FailsafeDurationMinimum_Call
- func (_e *EgLPPInterface_Expecter) FailsafeProductionActivePowerLimit(entity interface{}) *EgLPPInterface_FailsafeProductionActivePowerLimit_Call
- func (_e *EgLPPInterface_Expecter) IsCompatibleEntityType(entity interface{}) *EgLPPInterface_IsCompatibleEntityType_Call
- func (_e *EgLPPInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *EgLPPInterface_IsScenarioAvailableAtEntity_Call
- func (_e *EgLPPInterface_Expecter) ProductionLimit(entity interface{}) *EgLPPInterface_ProductionLimit_Call
- func (_e *EgLPPInterface_Expecter) ProductionNominalMax(entity interface{}) *EgLPPInterface_ProductionNominalMax_Call
- func (_e *EgLPPInterface_Expecter) RemoteEntitiesScenarios() *EgLPPInterface_RemoteEntitiesScenarios_Call
- func (_e *EgLPPInterface_Expecter) RemoveUseCase() *EgLPPInterface_RemoveUseCase_Call
- func (_e *EgLPPInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *EgLPPInterface_UpdateUseCaseAvailability_Call
- func (_e *EgLPPInterface_Expecter) WriteFailsafeDurationMinimum(entity interface{}, duration interface{}) *EgLPPInterface_WriteFailsafeDurationMinimum_Call
- func (_e *EgLPPInterface_Expecter) WriteFailsafeProductionActivePowerLimit(entity interface{}, value interface{}) *EgLPPInterface_WriteFailsafeProductionActivePowerLimit_Call
- func (_e *EgLPPInterface_Expecter) WriteProductionLimit(entity interface{}, limit interface{}, resultCB interface{}) *EgLPPInterface_WriteProductionLimit_Call
- type EgLPPInterface_FailsafeDurationMinimum_Call
- func (_c *EgLPPInterface_FailsafeDurationMinimum_Call) Return(_a0 time.Duration, _a1 error) *EgLPPInterface_FailsafeDurationMinimum_Call
- func (_c *EgLPPInterface_FailsafeDurationMinimum_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *EgLPPInterface_FailsafeDurationMinimum_Call
- func (_c *EgLPPInterface_FailsafeDurationMinimum_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (time.Duration, error)) *EgLPPInterface_FailsafeDurationMinimum_Call
- type EgLPPInterface_FailsafeProductionActivePowerLimit_Call
- func (_c *EgLPPInterface_FailsafeProductionActivePowerLimit_Call) Return(_a0 float64, _a1 error) *EgLPPInterface_FailsafeProductionActivePowerLimit_Call
- func (_c *EgLPPInterface_FailsafeProductionActivePowerLimit_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *EgLPPInterface_FailsafeProductionActivePowerLimit_Call
- func (_c *EgLPPInterface_FailsafeProductionActivePowerLimit_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (float64, error)) *EgLPPInterface_FailsafeProductionActivePowerLimit_Call
- type EgLPPInterface_IsCompatibleEntityType_Call
- func (_c *EgLPPInterface_IsCompatibleEntityType_Call) Return(_a0 bool) *EgLPPInterface_IsCompatibleEntityType_Call
- func (_c *EgLPPInterface_IsCompatibleEntityType_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *EgLPPInterface_IsCompatibleEntityType_Call
- func (_c *EgLPPInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) bool) *EgLPPInterface_IsCompatibleEntityType_Call
- type EgLPPInterface_IsScenarioAvailableAtEntity_Call
- func (_c *EgLPPInterface_IsScenarioAvailableAtEntity_Call) Return(_a0 bool) *EgLPPInterface_IsScenarioAvailableAtEntity_Call
- func (_c *EgLPPInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity spine_goapi.EntityRemoteInterface, scenario uint)) *EgLPPInterface_IsScenarioAvailableAtEntity_Call
- func (_c *EgLPPInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface, uint) bool) *EgLPPInterface_IsScenarioAvailableAtEntity_Call
- type EgLPPInterface_ProductionLimit_Call
- func (_c *EgLPPInterface_ProductionLimit_Call) Return(limit api.LoadLimit, resultErr error) *EgLPPInterface_ProductionLimit_Call
- func (_c *EgLPPInterface_ProductionLimit_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *EgLPPInterface_ProductionLimit_Call
- func (_c *EgLPPInterface_ProductionLimit_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (api.LoadLimit, error)) *EgLPPInterface_ProductionLimit_Call
- type EgLPPInterface_ProductionNominalMax_Call
- func (_c *EgLPPInterface_ProductionNominalMax_Call) Return(_a0 float64, _a1 error) *EgLPPInterface_ProductionNominalMax_Call
- func (_c *EgLPPInterface_ProductionNominalMax_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *EgLPPInterface_ProductionNominalMax_Call
- func (_c *EgLPPInterface_ProductionNominalMax_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (float64, error)) *EgLPPInterface_ProductionNominalMax_Call
- type EgLPPInterface_RemoteEntitiesScenarios_Call
- func (_c *EgLPPInterface_RemoteEntitiesScenarios_Call) Return(_a0 []eebus_goapi.RemoteEntityScenarios) *EgLPPInterface_RemoteEntitiesScenarios_Call
- func (_c *EgLPPInterface_RemoteEntitiesScenarios_Call) Run(run func()) *EgLPPInterface_RemoteEntitiesScenarios_Call
- func (_c *EgLPPInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []eebus_goapi.RemoteEntityScenarios) *EgLPPInterface_RemoteEntitiesScenarios_Call
- type EgLPPInterface_RemoveUseCase_Call
- type EgLPPInterface_UpdateUseCaseAvailability_Call
- func (_c *EgLPPInterface_UpdateUseCaseAvailability_Call) Return() *EgLPPInterface_UpdateUseCaseAvailability_Call
- func (_c *EgLPPInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *EgLPPInterface_UpdateUseCaseAvailability_Call
- func (_c *EgLPPInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(bool)) *EgLPPInterface_UpdateUseCaseAvailability_Call
- type EgLPPInterface_WriteFailsafeDurationMinimum_Call
- func (_c *EgLPPInterface_WriteFailsafeDurationMinimum_Call) Return(_a0 *model.MsgCounterType, _a1 error) *EgLPPInterface_WriteFailsafeDurationMinimum_Call
- func (_c *EgLPPInterface_WriteFailsafeDurationMinimum_Call) Run(run func(entity spine_goapi.EntityRemoteInterface, duration time.Duration)) *EgLPPInterface_WriteFailsafeDurationMinimum_Call
- func (_c *EgLPPInterface_WriteFailsafeDurationMinimum_Call) RunAndReturn(...) *EgLPPInterface_WriteFailsafeDurationMinimum_Call
- type EgLPPInterface_WriteFailsafeProductionActivePowerLimit_Call
- func (_c *EgLPPInterface_WriteFailsafeProductionActivePowerLimit_Call) Return(_a0 *model.MsgCounterType, _a1 error) *EgLPPInterface_WriteFailsafeProductionActivePowerLimit_Call
- func (_c *EgLPPInterface_WriteFailsafeProductionActivePowerLimit_Call) Run(run func(entity spine_goapi.EntityRemoteInterface, value float64)) *EgLPPInterface_WriteFailsafeProductionActivePowerLimit_Call
- func (_c *EgLPPInterface_WriteFailsafeProductionActivePowerLimit_Call) RunAndReturn(...) *EgLPPInterface_WriteFailsafeProductionActivePowerLimit_Call
- type EgLPPInterface_WriteProductionLimit_Call
- func (_c *EgLPPInterface_WriteProductionLimit_Call) Return(_a0 *model.MsgCounterType, _a1 error) *EgLPPInterface_WriteProductionLimit_Call
- func (_c *EgLPPInterface_WriteProductionLimit_Call) Run(run func(entity spine_goapi.EntityRemoteInterface, limit api.LoadLimit, ...)) *EgLPPInterface_WriteProductionLimit_Call
- func (_c *EgLPPInterface_WriteProductionLimit_Call) RunAndReturn(...) *EgLPPInterface_WriteProductionLimit_Call
- type GcpMGCPInterface
- func (_m *GcpMGCPInterface) AddFeatures()
- func (_m *GcpMGCPInterface) AddUseCase()
- func (_m *GcpMGCPInterface) AvailableScenariosForEntity(entity spine_goapi.EntityRemoteInterface) []uint
- func (_m *GcpMGCPInterface) CurrentPerPhase(entity spine_goapi.EntityRemoteInterface) ([]float64, error)
- func (_m *GcpMGCPInterface) EXPECT() *GcpMGCPInterface_Expecter
- func (_m *GcpMGCPInterface) EnergyConsumed(entity spine_goapi.EntityRemoteInterface) (float64, error)
- func (_m *GcpMGCPInterface) EnergyFeedIn(entity spine_goapi.EntityRemoteInterface) (float64, error)
- func (_m *GcpMGCPInterface) Frequency(entity spine_goapi.EntityRemoteInterface) (float64, error)
- func (_m *GcpMGCPInterface) IsCompatibleEntityType(entity spine_goapi.EntityRemoteInterface) bool
- func (_m *GcpMGCPInterface) IsScenarioAvailableAtEntity(entity spine_goapi.EntityRemoteInterface, scenario uint) bool
- func (_m *GcpMGCPInterface) Power(entity spine_goapi.EntityRemoteInterface) (float64, error)
- func (_m *GcpMGCPInterface) PowerLimitationFactor(entity spine_goapi.EntityRemoteInterface) (float64, error)
- func (_m *GcpMGCPInterface) RemoteEntitiesScenarios() []eebus_goapi.RemoteEntityScenarios
- func (_m *GcpMGCPInterface) RemoveUseCase()
- func (_m *GcpMGCPInterface) UpdateUseCaseAvailability(available bool)
- func (_m *GcpMGCPInterface) VoltagePerPhase(entity spine_goapi.EntityRemoteInterface) ([]float64, error)
- type GcpMGCPInterface_AddFeatures_Call
- type GcpMGCPInterface_AddUseCase_Call
- type GcpMGCPInterface_AvailableScenariosForEntity_Call
- func (_c *GcpMGCPInterface_AvailableScenariosForEntity_Call) Return(_a0 []uint) *GcpMGCPInterface_AvailableScenariosForEntity_Call
- func (_c *GcpMGCPInterface_AvailableScenariosForEntity_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *GcpMGCPInterface_AvailableScenariosForEntity_Call
- func (_c *GcpMGCPInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) []uint) *GcpMGCPInterface_AvailableScenariosForEntity_Call
- type GcpMGCPInterface_CurrentPerPhase_Call
- func (_c *GcpMGCPInterface_CurrentPerPhase_Call) Return(_a0 []float64, _a1 error) *GcpMGCPInterface_CurrentPerPhase_Call
- func (_c *GcpMGCPInterface_CurrentPerPhase_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *GcpMGCPInterface_CurrentPerPhase_Call
- func (_c *GcpMGCPInterface_CurrentPerPhase_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) ([]float64, error)) *GcpMGCPInterface_CurrentPerPhase_Call
- type GcpMGCPInterface_EnergyConsumed_Call
- func (_c *GcpMGCPInterface_EnergyConsumed_Call) Return(_a0 float64, _a1 error) *GcpMGCPInterface_EnergyConsumed_Call
- func (_c *GcpMGCPInterface_EnergyConsumed_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *GcpMGCPInterface_EnergyConsumed_Call
- func (_c *GcpMGCPInterface_EnergyConsumed_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (float64, error)) *GcpMGCPInterface_EnergyConsumed_Call
- type GcpMGCPInterface_EnergyFeedIn_Call
- func (_c *GcpMGCPInterface_EnergyFeedIn_Call) Return(_a0 float64, _a1 error) *GcpMGCPInterface_EnergyFeedIn_Call
- func (_c *GcpMGCPInterface_EnergyFeedIn_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *GcpMGCPInterface_EnergyFeedIn_Call
- func (_c *GcpMGCPInterface_EnergyFeedIn_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (float64, error)) *GcpMGCPInterface_EnergyFeedIn_Call
- type GcpMGCPInterface_Expecter
- func (_e *GcpMGCPInterface_Expecter) AddFeatures() *GcpMGCPInterface_AddFeatures_Call
- func (_e *GcpMGCPInterface_Expecter) AddUseCase() *GcpMGCPInterface_AddUseCase_Call
- func (_e *GcpMGCPInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *GcpMGCPInterface_AvailableScenariosForEntity_Call
- func (_e *GcpMGCPInterface_Expecter) CurrentPerPhase(entity interface{}) *GcpMGCPInterface_CurrentPerPhase_Call
- func (_e *GcpMGCPInterface_Expecter) EnergyConsumed(entity interface{}) *GcpMGCPInterface_EnergyConsumed_Call
- func (_e *GcpMGCPInterface_Expecter) EnergyFeedIn(entity interface{}) *GcpMGCPInterface_EnergyFeedIn_Call
- func (_e *GcpMGCPInterface_Expecter) Frequency(entity interface{}) *GcpMGCPInterface_Frequency_Call
- func (_e *GcpMGCPInterface_Expecter) IsCompatibleEntityType(entity interface{}) *GcpMGCPInterface_IsCompatibleEntityType_Call
- func (_e *GcpMGCPInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *GcpMGCPInterface_IsScenarioAvailableAtEntity_Call
- func (_e *GcpMGCPInterface_Expecter) Power(entity interface{}) *GcpMGCPInterface_Power_Call
- func (_e *GcpMGCPInterface_Expecter) PowerLimitationFactor(entity interface{}) *GcpMGCPInterface_PowerLimitationFactor_Call
- func (_e *GcpMGCPInterface_Expecter) RemoteEntitiesScenarios() *GcpMGCPInterface_RemoteEntitiesScenarios_Call
- func (_e *GcpMGCPInterface_Expecter) RemoveUseCase() *GcpMGCPInterface_RemoveUseCase_Call
- func (_e *GcpMGCPInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *GcpMGCPInterface_UpdateUseCaseAvailability_Call
- func (_e *GcpMGCPInterface_Expecter) VoltagePerPhase(entity interface{}) *GcpMGCPInterface_VoltagePerPhase_Call
- type GcpMGCPInterface_Frequency_Call
- func (_c *GcpMGCPInterface_Frequency_Call) Return(_a0 float64, _a1 error) *GcpMGCPInterface_Frequency_Call
- func (_c *GcpMGCPInterface_Frequency_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *GcpMGCPInterface_Frequency_Call
- func (_c *GcpMGCPInterface_Frequency_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (float64, error)) *GcpMGCPInterface_Frequency_Call
- type GcpMGCPInterface_IsCompatibleEntityType_Call
- func (_c *GcpMGCPInterface_IsCompatibleEntityType_Call) Return(_a0 bool) *GcpMGCPInterface_IsCompatibleEntityType_Call
- func (_c *GcpMGCPInterface_IsCompatibleEntityType_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *GcpMGCPInterface_IsCompatibleEntityType_Call
- func (_c *GcpMGCPInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) bool) *GcpMGCPInterface_IsCompatibleEntityType_Call
- type GcpMGCPInterface_IsScenarioAvailableAtEntity_Call
- func (_c *GcpMGCPInterface_IsScenarioAvailableAtEntity_Call) Return(_a0 bool) *GcpMGCPInterface_IsScenarioAvailableAtEntity_Call
- func (_c *GcpMGCPInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity spine_goapi.EntityRemoteInterface, scenario uint)) *GcpMGCPInterface_IsScenarioAvailableAtEntity_Call
- func (_c *GcpMGCPInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface, uint) bool) *GcpMGCPInterface_IsScenarioAvailableAtEntity_Call
- type GcpMGCPInterface_PowerLimitationFactor_Call
- func (_c *GcpMGCPInterface_PowerLimitationFactor_Call) Return(_a0 float64, _a1 error) *GcpMGCPInterface_PowerLimitationFactor_Call
- func (_c *GcpMGCPInterface_PowerLimitationFactor_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *GcpMGCPInterface_PowerLimitationFactor_Call
- func (_c *GcpMGCPInterface_PowerLimitationFactor_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (float64, error)) *GcpMGCPInterface_PowerLimitationFactor_Call
- type GcpMGCPInterface_Power_Call
- func (_c *GcpMGCPInterface_Power_Call) Return(_a0 float64, _a1 error) *GcpMGCPInterface_Power_Call
- func (_c *GcpMGCPInterface_Power_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *GcpMGCPInterface_Power_Call
- func (_c *GcpMGCPInterface_Power_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (float64, error)) *GcpMGCPInterface_Power_Call
- type GcpMGCPInterface_RemoteEntitiesScenarios_Call
- func (_c *GcpMGCPInterface_RemoteEntitiesScenarios_Call) Return(_a0 []eebus_goapi.RemoteEntityScenarios) *GcpMGCPInterface_RemoteEntitiesScenarios_Call
- func (_c *GcpMGCPInterface_RemoteEntitiesScenarios_Call) Run(run func()) *GcpMGCPInterface_RemoteEntitiesScenarios_Call
- func (_c *GcpMGCPInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []eebus_goapi.RemoteEntityScenarios) *GcpMGCPInterface_RemoteEntitiesScenarios_Call
- type GcpMGCPInterface_RemoveUseCase_Call
- func (_c *GcpMGCPInterface_RemoveUseCase_Call) Return() *GcpMGCPInterface_RemoveUseCase_Call
- func (_c *GcpMGCPInterface_RemoveUseCase_Call) Run(run func()) *GcpMGCPInterface_RemoveUseCase_Call
- func (_c *GcpMGCPInterface_RemoveUseCase_Call) RunAndReturn(run func()) *GcpMGCPInterface_RemoveUseCase_Call
- type GcpMGCPInterface_UpdateUseCaseAvailability_Call
- func (_c *GcpMGCPInterface_UpdateUseCaseAvailability_Call) Return() *GcpMGCPInterface_UpdateUseCaseAvailability_Call
- func (_c *GcpMGCPInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *GcpMGCPInterface_UpdateUseCaseAvailability_Call
- func (_c *GcpMGCPInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(bool)) *GcpMGCPInterface_UpdateUseCaseAvailability_Call
- type GcpMGCPInterface_VoltagePerPhase_Call
- func (_c *GcpMGCPInterface_VoltagePerPhase_Call) Return(_a0 []float64, _a1 error) *GcpMGCPInterface_VoltagePerPhase_Call
- func (_c *GcpMGCPInterface_VoltagePerPhase_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *GcpMGCPInterface_VoltagePerPhase_Call
- func (_c *GcpMGCPInterface_VoltagePerPhase_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) ([]float64, error)) *GcpMGCPInterface_VoltagePerPhase_Call
- type MaMGCPInterface
- func (_m *MaMGCPInterface) AddFeatures()
- func (_m *MaMGCPInterface) AddUseCase()
- func (_m *MaMGCPInterface) AvailableScenariosForEntity(entity spine_goapi.EntityRemoteInterface) []uint
- func (_m *MaMGCPInterface) CurrentPerPhase(entity spine_goapi.EntityRemoteInterface) ([]float64, error)
- func (_m *MaMGCPInterface) EXPECT() *MaMGCPInterface_Expecter
- func (_m *MaMGCPInterface) EnergyConsumed(entity spine_goapi.EntityRemoteInterface) (float64, error)
- func (_m *MaMGCPInterface) EnergyFeedIn(entity spine_goapi.EntityRemoteInterface) (float64, error)
- func (_m *MaMGCPInterface) Frequency(entity spine_goapi.EntityRemoteInterface) (float64, error)
- func (_m *MaMGCPInterface) IsCompatibleEntityType(entity spine_goapi.EntityRemoteInterface) bool
- func (_m *MaMGCPInterface) IsScenarioAvailableAtEntity(entity spine_goapi.EntityRemoteInterface, scenario uint) bool
- func (_m *MaMGCPInterface) Power(entity spine_goapi.EntityRemoteInterface) (float64, error)
- func (_m *MaMGCPInterface) PowerLimitationFactor(entity spine_goapi.EntityRemoteInterface) (float64, error)
- func (_m *MaMGCPInterface) RemoteEntitiesScenarios() []eebus_goapi.RemoteEntityScenarios
- func (_m *MaMGCPInterface) RemoveUseCase()
- func (_m *MaMGCPInterface) UpdateUseCaseAvailability(available bool)
- func (_m *MaMGCPInterface) VoltagePerPhase(entity spine_goapi.EntityRemoteInterface) ([]float64, error)
- type MaMGCPInterface_AddFeatures_Call
- type MaMGCPInterface_AddUseCase_Call
- type MaMGCPInterface_AvailableScenariosForEntity_Call
- func (_c *MaMGCPInterface_AvailableScenariosForEntity_Call) Return(_a0 []uint) *MaMGCPInterface_AvailableScenariosForEntity_Call
- func (_c *MaMGCPInterface_AvailableScenariosForEntity_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *MaMGCPInterface_AvailableScenariosForEntity_Call
- func (_c *MaMGCPInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) []uint) *MaMGCPInterface_AvailableScenariosForEntity_Call
- type MaMGCPInterface_CurrentPerPhase_Call
- func (_c *MaMGCPInterface_CurrentPerPhase_Call) Return(_a0 []float64, _a1 error) *MaMGCPInterface_CurrentPerPhase_Call
- func (_c *MaMGCPInterface_CurrentPerPhase_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *MaMGCPInterface_CurrentPerPhase_Call
- func (_c *MaMGCPInterface_CurrentPerPhase_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) ([]float64, error)) *MaMGCPInterface_CurrentPerPhase_Call
- type MaMGCPInterface_EnergyConsumed_Call
- func (_c *MaMGCPInterface_EnergyConsumed_Call) Return(_a0 float64, _a1 error) *MaMGCPInterface_EnergyConsumed_Call
- func (_c *MaMGCPInterface_EnergyConsumed_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *MaMGCPInterface_EnergyConsumed_Call
- func (_c *MaMGCPInterface_EnergyConsumed_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (float64, error)) *MaMGCPInterface_EnergyConsumed_Call
- type MaMGCPInterface_EnergyFeedIn_Call
- func (_c *MaMGCPInterface_EnergyFeedIn_Call) Return(_a0 float64, _a1 error) *MaMGCPInterface_EnergyFeedIn_Call
- func (_c *MaMGCPInterface_EnergyFeedIn_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *MaMGCPInterface_EnergyFeedIn_Call
- func (_c *MaMGCPInterface_EnergyFeedIn_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (float64, error)) *MaMGCPInterface_EnergyFeedIn_Call
- type MaMGCPInterface_Expecter
- func (_e *MaMGCPInterface_Expecter) AddFeatures() *MaMGCPInterface_AddFeatures_Call
- func (_e *MaMGCPInterface_Expecter) AddUseCase() *MaMGCPInterface_AddUseCase_Call
- func (_e *MaMGCPInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *MaMGCPInterface_AvailableScenariosForEntity_Call
- func (_e *MaMGCPInterface_Expecter) CurrentPerPhase(entity interface{}) *MaMGCPInterface_CurrentPerPhase_Call
- func (_e *MaMGCPInterface_Expecter) EnergyConsumed(entity interface{}) *MaMGCPInterface_EnergyConsumed_Call
- func (_e *MaMGCPInterface_Expecter) EnergyFeedIn(entity interface{}) *MaMGCPInterface_EnergyFeedIn_Call
- func (_e *MaMGCPInterface_Expecter) Frequency(entity interface{}) *MaMGCPInterface_Frequency_Call
- func (_e *MaMGCPInterface_Expecter) IsCompatibleEntityType(entity interface{}) *MaMGCPInterface_IsCompatibleEntityType_Call
- func (_e *MaMGCPInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *MaMGCPInterface_IsScenarioAvailableAtEntity_Call
- func (_e *MaMGCPInterface_Expecter) Power(entity interface{}) *MaMGCPInterface_Power_Call
- func (_e *MaMGCPInterface_Expecter) PowerLimitationFactor(entity interface{}) *MaMGCPInterface_PowerLimitationFactor_Call
- func (_e *MaMGCPInterface_Expecter) RemoteEntitiesScenarios() *MaMGCPInterface_RemoteEntitiesScenarios_Call
- func (_e *MaMGCPInterface_Expecter) RemoveUseCase() *MaMGCPInterface_RemoveUseCase_Call
- func (_e *MaMGCPInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *MaMGCPInterface_UpdateUseCaseAvailability_Call
- func (_e *MaMGCPInterface_Expecter) VoltagePerPhase(entity interface{}) *MaMGCPInterface_VoltagePerPhase_Call
- type MaMGCPInterface_Frequency_Call
- func (_c *MaMGCPInterface_Frequency_Call) Return(_a0 float64, _a1 error) *MaMGCPInterface_Frequency_Call
- func (_c *MaMGCPInterface_Frequency_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *MaMGCPInterface_Frequency_Call
- func (_c *MaMGCPInterface_Frequency_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (float64, error)) *MaMGCPInterface_Frequency_Call
- type MaMGCPInterface_IsCompatibleEntityType_Call
- func (_c *MaMGCPInterface_IsCompatibleEntityType_Call) Return(_a0 bool) *MaMGCPInterface_IsCompatibleEntityType_Call
- func (_c *MaMGCPInterface_IsCompatibleEntityType_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *MaMGCPInterface_IsCompatibleEntityType_Call
- func (_c *MaMGCPInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) bool) *MaMGCPInterface_IsCompatibleEntityType_Call
- type MaMGCPInterface_IsScenarioAvailableAtEntity_Call
- func (_c *MaMGCPInterface_IsScenarioAvailableAtEntity_Call) Return(_a0 bool) *MaMGCPInterface_IsScenarioAvailableAtEntity_Call
- func (_c *MaMGCPInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity spine_goapi.EntityRemoteInterface, scenario uint)) *MaMGCPInterface_IsScenarioAvailableAtEntity_Call
- func (_c *MaMGCPInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface, uint) bool) *MaMGCPInterface_IsScenarioAvailableAtEntity_Call
- type MaMGCPInterface_PowerLimitationFactor_Call
- func (_c *MaMGCPInterface_PowerLimitationFactor_Call) Return(_a0 float64, _a1 error) *MaMGCPInterface_PowerLimitationFactor_Call
- func (_c *MaMGCPInterface_PowerLimitationFactor_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *MaMGCPInterface_PowerLimitationFactor_Call
- func (_c *MaMGCPInterface_PowerLimitationFactor_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (float64, error)) *MaMGCPInterface_PowerLimitationFactor_Call
- type MaMGCPInterface_Power_Call
- func (_c *MaMGCPInterface_Power_Call) Return(_a0 float64, _a1 error) *MaMGCPInterface_Power_Call
- func (_c *MaMGCPInterface_Power_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *MaMGCPInterface_Power_Call
- func (_c *MaMGCPInterface_Power_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (float64, error)) *MaMGCPInterface_Power_Call
- type MaMGCPInterface_RemoteEntitiesScenarios_Call
- func (_c *MaMGCPInterface_RemoteEntitiesScenarios_Call) Return(_a0 []eebus_goapi.RemoteEntityScenarios) *MaMGCPInterface_RemoteEntitiesScenarios_Call
- func (_c *MaMGCPInterface_RemoteEntitiesScenarios_Call) Run(run func()) *MaMGCPInterface_RemoteEntitiesScenarios_Call
- func (_c *MaMGCPInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []eebus_goapi.RemoteEntityScenarios) *MaMGCPInterface_RemoteEntitiesScenarios_Call
- type MaMGCPInterface_RemoveUseCase_Call
- type MaMGCPInterface_UpdateUseCaseAvailability_Call
- func (_c *MaMGCPInterface_UpdateUseCaseAvailability_Call) Return() *MaMGCPInterface_UpdateUseCaseAvailability_Call
- func (_c *MaMGCPInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *MaMGCPInterface_UpdateUseCaseAvailability_Call
- func (_c *MaMGCPInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(bool)) *MaMGCPInterface_UpdateUseCaseAvailability_Call
- type MaMGCPInterface_VoltagePerPhase_Call
- func (_c *MaMGCPInterface_VoltagePerPhase_Call) Return(_a0 []float64, _a1 error) *MaMGCPInterface_VoltagePerPhase_Call
- func (_c *MaMGCPInterface_VoltagePerPhase_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *MaMGCPInterface_VoltagePerPhase_Call
- func (_c *MaMGCPInterface_VoltagePerPhase_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) ([]float64, error)) *MaMGCPInterface_VoltagePerPhase_Call
- type MaMPCInterface
- func (_m *MaMPCInterface) AddFeatures()
- func (_m *MaMPCInterface) AddUseCase()
- func (_m *MaMPCInterface) AvailableScenariosForEntity(entity spine_goapi.EntityRemoteInterface) []uint
- func (_m *MaMPCInterface) CurrentPerPhase(entity spine_goapi.EntityRemoteInterface) ([]float64, error)
- func (_m *MaMPCInterface) EXPECT() *MaMPCInterface_Expecter
- func (_m *MaMPCInterface) EnergyConsumed(entity spine_goapi.EntityRemoteInterface) (float64, error)
- func (_m *MaMPCInterface) EnergyProduced(entity spine_goapi.EntityRemoteInterface) (float64, error)
- func (_m *MaMPCInterface) Frequency(entity spine_goapi.EntityRemoteInterface) (float64, error)
- func (_m *MaMPCInterface) IsCompatibleEntityType(entity spine_goapi.EntityRemoteInterface) bool
- func (_m *MaMPCInterface) IsScenarioAvailableAtEntity(entity spine_goapi.EntityRemoteInterface, scenario uint) bool
- func (_m *MaMPCInterface) Power(entity spine_goapi.EntityRemoteInterface) (float64, error)
- func (_m *MaMPCInterface) PowerPerPhase(entity spine_goapi.EntityRemoteInterface) ([]float64, error)
- func (_m *MaMPCInterface) RemoteEntitiesScenarios() []eebus_goapi.RemoteEntityScenarios
- func (_m *MaMPCInterface) RemoveUseCase()
- func (_m *MaMPCInterface) UpdateUseCaseAvailability(available bool)
- func (_m *MaMPCInterface) VoltagePerPhase(entity spine_goapi.EntityRemoteInterface) ([]float64, error)
- type MaMPCInterface_AddFeatures_Call
- type MaMPCInterface_AddUseCase_Call
- type MaMPCInterface_AvailableScenariosForEntity_Call
- func (_c *MaMPCInterface_AvailableScenariosForEntity_Call) Return(_a0 []uint) *MaMPCInterface_AvailableScenariosForEntity_Call
- func (_c *MaMPCInterface_AvailableScenariosForEntity_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *MaMPCInterface_AvailableScenariosForEntity_Call
- func (_c *MaMPCInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) []uint) *MaMPCInterface_AvailableScenariosForEntity_Call
- type MaMPCInterface_CurrentPerPhase_Call
- func (_c *MaMPCInterface_CurrentPerPhase_Call) Return(_a0 []float64, _a1 error) *MaMPCInterface_CurrentPerPhase_Call
- func (_c *MaMPCInterface_CurrentPerPhase_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *MaMPCInterface_CurrentPerPhase_Call
- func (_c *MaMPCInterface_CurrentPerPhase_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) ([]float64, error)) *MaMPCInterface_CurrentPerPhase_Call
- type MaMPCInterface_EnergyConsumed_Call
- func (_c *MaMPCInterface_EnergyConsumed_Call) Return(_a0 float64, _a1 error) *MaMPCInterface_EnergyConsumed_Call
- func (_c *MaMPCInterface_EnergyConsumed_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *MaMPCInterface_EnergyConsumed_Call
- func (_c *MaMPCInterface_EnergyConsumed_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (float64, error)) *MaMPCInterface_EnergyConsumed_Call
- type MaMPCInterface_EnergyProduced_Call
- func (_c *MaMPCInterface_EnergyProduced_Call) Return(_a0 float64, _a1 error) *MaMPCInterface_EnergyProduced_Call
- func (_c *MaMPCInterface_EnergyProduced_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *MaMPCInterface_EnergyProduced_Call
- func (_c *MaMPCInterface_EnergyProduced_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (float64, error)) *MaMPCInterface_EnergyProduced_Call
- type MaMPCInterface_Expecter
- func (_e *MaMPCInterface_Expecter) AddFeatures() *MaMPCInterface_AddFeatures_Call
- func (_e *MaMPCInterface_Expecter) AddUseCase() *MaMPCInterface_AddUseCase_Call
- func (_e *MaMPCInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *MaMPCInterface_AvailableScenariosForEntity_Call
- func (_e *MaMPCInterface_Expecter) CurrentPerPhase(entity interface{}) *MaMPCInterface_CurrentPerPhase_Call
- func (_e *MaMPCInterface_Expecter) EnergyConsumed(entity interface{}) *MaMPCInterface_EnergyConsumed_Call
- func (_e *MaMPCInterface_Expecter) EnergyProduced(entity interface{}) *MaMPCInterface_EnergyProduced_Call
- func (_e *MaMPCInterface_Expecter) Frequency(entity interface{}) *MaMPCInterface_Frequency_Call
- func (_e *MaMPCInterface_Expecter) IsCompatibleEntityType(entity interface{}) *MaMPCInterface_IsCompatibleEntityType_Call
- func (_e *MaMPCInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *MaMPCInterface_IsScenarioAvailableAtEntity_Call
- func (_e *MaMPCInterface_Expecter) Power(entity interface{}) *MaMPCInterface_Power_Call
- func (_e *MaMPCInterface_Expecter) PowerPerPhase(entity interface{}) *MaMPCInterface_PowerPerPhase_Call
- func (_e *MaMPCInterface_Expecter) RemoteEntitiesScenarios() *MaMPCInterface_RemoteEntitiesScenarios_Call
- func (_e *MaMPCInterface_Expecter) RemoveUseCase() *MaMPCInterface_RemoveUseCase_Call
- func (_e *MaMPCInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *MaMPCInterface_UpdateUseCaseAvailability_Call
- func (_e *MaMPCInterface_Expecter) VoltagePerPhase(entity interface{}) *MaMPCInterface_VoltagePerPhase_Call
- type MaMPCInterface_Frequency_Call
- func (_c *MaMPCInterface_Frequency_Call) Return(_a0 float64, _a1 error) *MaMPCInterface_Frequency_Call
- func (_c *MaMPCInterface_Frequency_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *MaMPCInterface_Frequency_Call
- func (_c *MaMPCInterface_Frequency_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (float64, error)) *MaMPCInterface_Frequency_Call
- type MaMPCInterface_IsCompatibleEntityType_Call
- func (_c *MaMPCInterface_IsCompatibleEntityType_Call) Return(_a0 bool) *MaMPCInterface_IsCompatibleEntityType_Call
- func (_c *MaMPCInterface_IsCompatibleEntityType_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *MaMPCInterface_IsCompatibleEntityType_Call
- func (_c *MaMPCInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) bool) *MaMPCInterface_IsCompatibleEntityType_Call
- type MaMPCInterface_IsScenarioAvailableAtEntity_Call
- func (_c *MaMPCInterface_IsScenarioAvailableAtEntity_Call) Return(_a0 bool) *MaMPCInterface_IsScenarioAvailableAtEntity_Call
- func (_c *MaMPCInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity spine_goapi.EntityRemoteInterface, scenario uint)) *MaMPCInterface_IsScenarioAvailableAtEntity_Call
- func (_c *MaMPCInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface, uint) bool) *MaMPCInterface_IsScenarioAvailableAtEntity_Call
- type MaMPCInterface_PowerPerPhase_Call
- func (_c *MaMPCInterface_PowerPerPhase_Call) Return(_a0 []float64, _a1 error) *MaMPCInterface_PowerPerPhase_Call
- func (_c *MaMPCInterface_PowerPerPhase_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *MaMPCInterface_PowerPerPhase_Call
- func (_c *MaMPCInterface_PowerPerPhase_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) ([]float64, error)) *MaMPCInterface_PowerPerPhase_Call
- type MaMPCInterface_Power_Call
- func (_c *MaMPCInterface_Power_Call) Return(_a0 float64, _a1 error) *MaMPCInterface_Power_Call
- func (_c *MaMPCInterface_Power_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *MaMPCInterface_Power_Call
- func (_c *MaMPCInterface_Power_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (float64, error)) *MaMPCInterface_Power_Call
- type MaMPCInterface_RemoteEntitiesScenarios_Call
- func (_c *MaMPCInterface_RemoteEntitiesScenarios_Call) Return(_a0 []eebus_goapi.RemoteEntityScenarios) *MaMPCInterface_RemoteEntitiesScenarios_Call
- func (_c *MaMPCInterface_RemoteEntitiesScenarios_Call) Run(run func()) *MaMPCInterface_RemoteEntitiesScenarios_Call
- func (_c *MaMPCInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []eebus_goapi.RemoteEntityScenarios) *MaMPCInterface_RemoteEntitiesScenarios_Call
- type MaMPCInterface_RemoveUseCase_Call
- type MaMPCInterface_UpdateUseCaseAvailability_Call
- func (_c *MaMPCInterface_UpdateUseCaseAvailability_Call) Return() *MaMPCInterface_UpdateUseCaseAvailability_Call
- func (_c *MaMPCInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *MaMPCInterface_UpdateUseCaseAvailability_Call
- func (_c *MaMPCInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(bool)) *MaMPCInterface_UpdateUseCaseAvailability_Call
- type MaMPCInterface_VoltagePerPhase_Call
- func (_c *MaMPCInterface_VoltagePerPhase_Call) Return(_a0 []float64, _a1 error) *MaMPCInterface_VoltagePerPhase_Call
- func (_c *MaMPCInterface_VoltagePerPhase_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *MaMPCInterface_VoltagePerPhase_Call
- func (_c *MaMPCInterface_VoltagePerPhase_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) ([]float64, error)) *MaMPCInterface_VoltagePerPhase_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CemCEVCInterface ¶
CemCEVCInterface is an autogenerated mock type for the CemCEVCInterface type
func NewCemCEVCInterface ¶
func NewCemCEVCInterface(t interface { mock.TestingT Cleanup(func()) }) *CemCEVCInterface
NewCemCEVCInterface creates a new instance of CemCEVCInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*CemCEVCInterface) AddFeatures ¶
func (_m *CemCEVCInterface) AddFeatures()
AddFeatures provides a mock function with given fields:
func (*CemCEVCInterface) AddUseCase ¶
func (_m *CemCEVCInterface) AddUseCase()
AddUseCase provides a mock function with given fields:
func (*CemCEVCInterface) AvailableScenariosForEntity ¶
func (_m *CemCEVCInterface) AvailableScenariosForEntity(entity spine_goapi.EntityRemoteInterface) []uint
AvailableScenariosForEntity provides a mock function with given fields: entity
func (*CemCEVCInterface) ChargePlan ¶
func (_m *CemCEVCInterface) ChargePlan(entity spine_goapi.EntityRemoteInterface) (api.ChargePlan, error)
ChargePlan provides a mock function with given fields: entity
func (*CemCEVCInterface) ChargePlanConstraints ¶
func (_m *CemCEVCInterface) ChargePlanConstraints(entity spine_goapi.EntityRemoteInterface) ([]api.DurationSlotValue, error)
ChargePlanConstraints provides a mock function with given fields: entity
func (*CemCEVCInterface) ChargeStrategy ¶
func (_m *CemCEVCInterface) ChargeStrategy(remoteEntity spine_goapi.EntityRemoteInterface) api.EVChargeStrategyType
ChargeStrategy provides a mock function with given fields: remoteEntity
func (*CemCEVCInterface) EXPECT ¶
func (_m *CemCEVCInterface) EXPECT() *CemCEVCInterface_Expecter
func (*CemCEVCInterface) EnergyDemand ¶
func (_m *CemCEVCInterface) EnergyDemand(remoteEntity spine_goapi.EntityRemoteInterface) (api.Demand, error)
EnergyDemand provides a mock function with given fields: remoteEntity
func (*CemCEVCInterface) IncentiveConstraints ¶
func (_m *CemCEVCInterface) IncentiveConstraints(entity spine_goapi.EntityRemoteInterface) (api.IncentiveSlotConstraints, error)
IncentiveConstraints provides a mock function with given fields: entity
func (*CemCEVCInterface) IsCompatibleEntityType ¶
func (_m *CemCEVCInterface) IsCompatibleEntityType(entity spine_goapi.EntityRemoteInterface) bool
IsCompatibleEntityType provides a mock function with given fields: entity
func (*CemCEVCInterface) IsScenarioAvailableAtEntity ¶
func (_m *CemCEVCInterface) IsScenarioAvailableAtEntity(entity spine_goapi.EntityRemoteInterface, scenario uint) bool
IsScenarioAvailableAtEntity provides a mock function with given fields: entity, scenario
func (*CemCEVCInterface) RemoteEntitiesScenarios ¶
func (_m *CemCEVCInterface) RemoteEntitiesScenarios() []eebus_goapi.RemoteEntityScenarios
RemoteEntitiesScenarios provides a mock function with given fields:
func (*CemCEVCInterface) RemoveUseCase ¶
func (_m *CemCEVCInterface) RemoveUseCase()
RemoveUseCase provides a mock function with given fields:
func (*CemCEVCInterface) TimeSlotConstraints ¶
func (_m *CemCEVCInterface) TimeSlotConstraints(entity spine_goapi.EntityRemoteInterface) (api.TimeSlotConstraints, error)
TimeSlotConstraints provides a mock function with given fields: entity
func (*CemCEVCInterface) UpdateUseCaseAvailability ¶
func (_m *CemCEVCInterface) UpdateUseCaseAvailability(available bool)
UpdateUseCaseAvailability provides a mock function with given fields: available
func (*CemCEVCInterface) WriteIncentiveTableDescriptions ¶
func (_m *CemCEVCInterface) WriteIncentiveTableDescriptions(entity spine_goapi.EntityRemoteInterface, data []api.IncentiveTariffDescription) error
WriteIncentiveTableDescriptions provides a mock function with given fields: entity, data
func (*CemCEVCInterface) WriteIncentives ¶
func (_m *CemCEVCInterface) WriteIncentives(entity spine_goapi.EntityRemoteInterface, data []api.DurationSlotValue) error
WriteIncentives provides a mock function with given fields: entity, data
func (*CemCEVCInterface) WritePowerLimits ¶
func (_m *CemCEVCInterface) WritePowerLimits(entity spine_goapi.EntityRemoteInterface, data []api.DurationSlotValue) error
WritePowerLimits provides a mock function with given fields: entity, data
type CemCEVCInterface_AddFeatures_Call ¶
CemCEVCInterface_AddFeatures_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddFeatures'
func (*CemCEVCInterface_AddFeatures_Call) Return ¶
func (_c *CemCEVCInterface_AddFeatures_Call) Return() *CemCEVCInterface_AddFeatures_Call
func (*CemCEVCInterface_AddFeatures_Call) Run ¶
func (_c *CemCEVCInterface_AddFeatures_Call) Run(run func()) *CemCEVCInterface_AddFeatures_Call
func (*CemCEVCInterface_AddFeatures_Call) RunAndReturn ¶
func (_c *CemCEVCInterface_AddFeatures_Call) RunAndReturn(run func()) *CemCEVCInterface_AddFeatures_Call
type CemCEVCInterface_AddUseCase_Call ¶
CemCEVCInterface_AddUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddUseCase'
func (*CemCEVCInterface_AddUseCase_Call) Return ¶
func (_c *CemCEVCInterface_AddUseCase_Call) Return() *CemCEVCInterface_AddUseCase_Call
func (*CemCEVCInterface_AddUseCase_Call) Run ¶
func (_c *CemCEVCInterface_AddUseCase_Call) Run(run func()) *CemCEVCInterface_AddUseCase_Call
func (*CemCEVCInterface_AddUseCase_Call) RunAndReturn ¶
func (_c *CemCEVCInterface_AddUseCase_Call) RunAndReturn(run func()) *CemCEVCInterface_AddUseCase_Call
type CemCEVCInterface_AvailableScenariosForEntity_Call ¶
CemCEVCInterface_AvailableScenariosForEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AvailableScenariosForEntity'
func (*CemCEVCInterface_AvailableScenariosForEntity_Call) Return ¶
func (_c *CemCEVCInterface_AvailableScenariosForEntity_Call) Return(_a0 []uint) *CemCEVCInterface_AvailableScenariosForEntity_Call
func (*CemCEVCInterface_AvailableScenariosForEntity_Call) Run ¶
func (_c *CemCEVCInterface_AvailableScenariosForEntity_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemCEVCInterface_AvailableScenariosForEntity_Call
func (*CemCEVCInterface_AvailableScenariosForEntity_Call) RunAndReturn ¶
func (_c *CemCEVCInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) []uint) *CemCEVCInterface_AvailableScenariosForEntity_Call
type CemCEVCInterface_ChargePlanConstraints_Call ¶
CemCEVCInterface_ChargePlanConstraints_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ChargePlanConstraints'
func (*CemCEVCInterface_ChargePlanConstraints_Call) Return ¶
func (_c *CemCEVCInterface_ChargePlanConstraints_Call) Return(_a0 []api.DurationSlotValue, _a1 error) *CemCEVCInterface_ChargePlanConstraints_Call
func (*CemCEVCInterface_ChargePlanConstraints_Call) Run ¶
func (_c *CemCEVCInterface_ChargePlanConstraints_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemCEVCInterface_ChargePlanConstraints_Call
func (*CemCEVCInterface_ChargePlanConstraints_Call) RunAndReturn ¶
func (_c *CemCEVCInterface_ChargePlanConstraints_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) ([]api.DurationSlotValue, error)) *CemCEVCInterface_ChargePlanConstraints_Call
type CemCEVCInterface_ChargePlan_Call ¶
CemCEVCInterface_ChargePlan_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ChargePlan'
func (*CemCEVCInterface_ChargePlan_Call) Return ¶
func (_c *CemCEVCInterface_ChargePlan_Call) Return(_a0 api.ChargePlan, _a1 error) *CemCEVCInterface_ChargePlan_Call
func (*CemCEVCInterface_ChargePlan_Call) Run ¶
func (_c *CemCEVCInterface_ChargePlan_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemCEVCInterface_ChargePlan_Call
func (*CemCEVCInterface_ChargePlan_Call) RunAndReturn ¶
func (_c *CemCEVCInterface_ChargePlan_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (api.ChargePlan, error)) *CemCEVCInterface_ChargePlan_Call
type CemCEVCInterface_ChargeStrategy_Call ¶
CemCEVCInterface_ChargeStrategy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ChargeStrategy'
func (*CemCEVCInterface_ChargeStrategy_Call) Return ¶
func (_c *CemCEVCInterface_ChargeStrategy_Call) Return(_a0 api.EVChargeStrategyType) *CemCEVCInterface_ChargeStrategy_Call
func (*CemCEVCInterface_ChargeStrategy_Call) Run ¶
func (_c *CemCEVCInterface_ChargeStrategy_Call) Run(run func(remoteEntity spine_goapi.EntityRemoteInterface)) *CemCEVCInterface_ChargeStrategy_Call
func (*CemCEVCInterface_ChargeStrategy_Call) RunAndReturn ¶
func (_c *CemCEVCInterface_ChargeStrategy_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) api.EVChargeStrategyType) *CemCEVCInterface_ChargeStrategy_Call
type CemCEVCInterface_EnergyDemand_Call ¶
CemCEVCInterface_EnergyDemand_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EnergyDemand'
func (*CemCEVCInterface_EnergyDemand_Call) Return ¶
func (_c *CemCEVCInterface_EnergyDemand_Call) Return(_a0 api.Demand, _a1 error) *CemCEVCInterface_EnergyDemand_Call
func (*CemCEVCInterface_EnergyDemand_Call) Run ¶
func (_c *CemCEVCInterface_EnergyDemand_Call) Run(run func(remoteEntity spine_goapi.EntityRemoteInterface)) *CemCEVCInterface_EnergyDemand_Call
func (*CemCEVCInterface_EnergyDemand_Call) RunAndReturn ¶
func (_c *CemCEVCInterface_EnergyDemand_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (api.Demand, error)) *CemCEVCInterface_EnergyDemand_Call
type CemCEVCInterface_Expecter ¶
type CemCEVCInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*CemCEVCInterface_Expecter) AddFeatures ¶
func (_e *CemCEVCInterface_Expecter) AddFeatures() *CemCEVCInterface_AddFeatures_Call
AddFeatures is a helper method to define mock.On call
func (*CemCEVCInterface_Expecter) AddUseCase ¶
func (_e *CemCEVCInterface_Expecter) AddUseCase() *CemCEVCInterface_AddUseCase_Call
AddUseCase is a helper method to define mock.On call
func (*CemCEVCInterface_Expecter) AvailableScenariosForEntity ¶
func (_e *CemCEVCInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *CemCEVCInterface_AvailableScenariosForEntity_Call
AvailableScenariosForEntity is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*CemCEVCInterface_Expecter) ChargePlan ¶
func (_e *CemCEVCInterface_Expecter) ChargePlan(entity interface{}) *CemCEVCInterface_ChargePlan_Call
ChargePlan is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*CemCEVCInterface_Expecter) ChargePlanConstraints ¶
func (_e *CemCEVCInterface_Expecter) ChargePlanConstraints(entity interface{}) *CemCEVCInterface_ChargePlanConstraints_Call
ChargePlanConstraints is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*CemCEVCInterface_Expecter) ChargeStrategy ¶
func (_e *CemCEVCInterface_Expecter) ChargeStrategy(remoteEntity interface{}) *CemCEVCInterface_ChargeStrategy_Call
ChargeStrategy is a helper method to define mock.On call
- remoteEntity spine_goapi.EntityRemoteInterface
func (*CemCEVCInterface_Expecter) EnergyDemand ¶
func (_e *CemCEVCInterface_Expecter) EnergyDemand(remoteEntity interface{}) *CemCEVCInterface_EnergyDemand_Call
EnergyDemand is a helper method to define mock.On call
- remoteEntity spine_goapi.EntityRemoteInterface
func (*CemCEVCInterface_Expecter) IncentiveConstraints ¶
func (_e *CemCEVCInterface_Expecter) IncentiveConstraints(entity interface{}) *CemCEVCInterface_IncentiveConstraints_Call
IncentiveConstraints is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*CemCEVCInterface_Expecter) IsCompatibleEntityType ¶
func (_e *CemCEVCInterface_Expecter) IsCompatibleEntityType(entity interface{}) *CemCEVCInterface_IsCompatibleEntityType_Call
IsCompatibleEntityType is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*CemCEVCInterface_Expecter) IsScenarioAvailableAtEntity ¶
func (_e *CemCEVCInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *CemCEVCInterface_IsScenarioAvailableAtEntity_Call
IsScenarioAvailableAtEntity is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
- scenario uint
func (*CemCEVCInterface_Expecter) RemoteEntitiesScenarios ¶
func (_e *CemCEVCInterface_Expecter) RemoteEntitiesScenarios() *CemCEVCInterface_RemoteEntitiesScenarios_Call
RemoteEntitiesScenarios is a helper method to define mock.On call
func (*CemCEVCInterface_Expecter) RemoveUseCase ¶
func (_e *CemCEVCInterface_Expecter) RemoveUseCase() *CemCEVCInterface_RemoveUseCase_Call
RemoveUseCase is a helper method to define mock.On call
func (*CemCEVCInterface_Expecter) TimeSlotConstraints ¶
func (_e *CemCEVCInterface_Expecter) TimeSlotConstraints(entity interface{}) *CemCEVCInterface_TimeSlotConstraints_Call
TimeSlotConstraints is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*CemCEVCInterface_Expecter) UpdateUseCaseAvailability ¶
func (_e *CemCEVCInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *CemCEVCInterface_UpdateUseCaseAvailability_Call
UpdateUseCaseAvailability is a helper method to define mock.On call
- available bool
func (*CemCEVCInterface_Expecter) WriteIncentiveTableDescriptions ¶
func (_e *CemCEVCInterface_Expecter) WriteIncentiveTableDescriptions(entity interface{}, data interface{}) *CemCEVCInterface_WriteIncentiveTableDescriptions_Call
WriteIncentiveTableDescriptions is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
- data []api.IncentiveTariffDescription
func (*CemCEVCInterface_Expecter) WriteIncentives ¶
func (_e *CemCEVCInterface_Expecter) WriteIncentives(entity interface{}, data interface{}) *CemCEVCInterface_WriteIncentives_Call
WriteIncentives is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
- data []api.DurationSlotValue
func (*CemCEVCInterface_Expecter) WritePowerLimits ¶
func (_e *CemCEVCInterface_Expecter) WritePowerLimits(entity interface{}, data interface{}) *CemCEVCInterface_WritePowerLimits_Call
WritePowerLimits is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
- data []api.DurationSlotValue
type CemCEVCInterface_IncentiveConstraints_Call ¶
CemCEVCInterface_IncentiveConstraints_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IncentiveConstraints'
func (*CemCEVCInterface_IncentiveConstraints_Call) Return ¶
func (_c *CemCEVCInterface_IncentiveConstraints_Call) Return(_a0 api.IncentiveSlotConstraints, _a1 error) *CemCEVCInterface_IncentiveConstraints_Call
func (*CemCEVCInterface_IncentiveConstraints_Call) Run ¶
func (_c *CemCEVCInterface_IncentiveConstraints_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemCEVCInterface_IncentiveConstraints_Call
func (*CemCEVCInterface_IncentiveConstraints_Call) RunAndReturn ¶
func (_c *CemCEVCInterface_IncentiveConstraints_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (api.IncentiveSlotConstraints, error)) *CemCEVCInterface_IncentiveConstraints_Call
type CemCEVCInterface_IsCompatibleEntityType_Call ¶
CemCEVCInterface_IsCompatibleEntityType_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsCompatibleEntityType'
func (*CemCEVCInterface_IsCompatibleEntityType_Call) Return ¶
func (_c *CemCEVCInterface_IsCompatibleEntityType_Call) Return(_a0 bool) *CemCEVCInterface_IsCompatibleEntityType_Call
func (*CemCEVCInterface_IsCompatibleEntityType_Call) Run ¶
func (_c *CemCEVCInterface_IsCompatibleEntityType_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemCEVCInterface_IsCompatibleEntityType_Call
func (*CemCEVCInterface_IsCompatibleEntityType_Call) RunAndReturn ¶
func (_c *CemCEVCInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) bool) *CemCEVCInterface_IsCompatibleEntityType_Call
type CemCEVCInterface_IsScenarioAvailableAtEntity_Call ¶
CemCEVCInterface_IsScenarioAvailableAtEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsScenarioAvailableAtEntity'
func (*CemCEVCInterface_IsScenarioAvailableAtEntity_Call) Return ¶
func (_c *CemCEVCInterface_IsScenarioAvailableAtEntity_Call) Return(_a0 bool) *CemCEVCInterface_IsScenarioAvailableAtEntity_Call
func (*CemCEVCInterface_IsScenarioAvailableAtEntity_Call) Run ¶
func (_c *CemCEVCInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity spine_goapi.EntityRemoteInterface, scenario uint)) *CemCEVCInterface_IsScenarioAvailableAtEntity_Call
func (*CemCEVCInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn ¶
func (_c *CemCEVCInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface, uint) bool) *CemCEVCInterface_IsScenarioAvailableAtEntity_Call
type CemCEVCInterface_RemoteEntitiesScenarios_Call ¶
CemCEVCInterface_RemoteEntitiesScenarios_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoteEntitiesScenarios'
func (*CemCEVCInterface_RemoteEntitiesScenarios_Call) Run ¶
func (_c *CemCEVCInterface_RemoteEntitiesScenarios_Call) Run(run func()) *CemCEVCInterface_RemoteEntitiesScenarios_Call
func (*CemCEVCInterface_RemoteEntitiesScenarios_Call) RunAndReturn ¶
func (_c *CemCEVCInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []eebus_goapi.RemoteEntityScenarios) *CemCEVCInterface_RemoteEntitiesScenarios_Call
type CemCEVCInterface_RemoveUseCase_Call ¶
CemCEVCInterface_RemoveUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveUseCase'
func (*CemCEVCInterface_RemoveUseCase_Call) Return ¶
func (_c *CemCEVCInterface_RemoveUseCase_Call) Return() *CemCEVCInterface_RemoveUseCase_Call
func (*CemCEVCInterface_RemoveUseCase_Call) Run ¶
func (_c *CemCEVCInterface_RemoveUseCase_Call) Run(run func()) *CemCEVCInterface_RemoveUseCase_Call
func (*CemCEVCInterface_RemoveUseCase_Call) RunAndReturn ¶
func (_c *CemCEVCInterface_RemoveUseCase_Call) RunAndReturn(run func()) *CemCEVCInterface_RemoveUseCase_Call
type CemCEVCInterface_TimeSlotConstraints_Call ¶
CemCEVCInterface_TimeSlotConstraints_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TimeSlotConstraints'
func (*CemCEVCInterface_TimeSlotConstraints_Call) Return ¶
func (_c *CemCEVCInterface_TimeSlotConstraints_Call) Return(_a0 api.TimeSlotConstraints, _a1 error) *CemCEVCInterface_TimeSlotConstraints_Call
func (*CemCEVCInterface_TimeSlotConstraints_Call) Run ¶
func (_c *CemCEVCInterface_TimeSlotConstraints_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemCEVCInterface_TimeSlotConstraints_Call
func (*CemCEVCInterface_TimeSlotConstraints_Call) RunAndReturn ¶
func (_c *CemCEVCInterface_TimeSlotConstraints_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (api.TimeSlotConstraints, error)) *CemCEVCInterface_TimeSlotConstraints_Call
type CemCEVCInterface_UpdateUseCaseAvailability_Call ¶
CemCEVCInterface_UpdateUseCaseAvailability_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateUseCaseAvailability'
func (*CemCEVCInterface_UpdateUseCaseAvailability_Call) Run ¶
func (_c *CemCEVCInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *CemCEVCInterface_UpdateUseCaseAvailability_Call
func (*CemCEVCInterface_UpdateUseCaseAvailability_Call) RunAndReturn ¶
func (_c *CemCEVCInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(bool)) *CemCEVCInterface_UpdateUseCaseAvailability_Call
type CemCEVCInterface_WriteIncentiveTableDescriptions_Call ¶
CemCEVCInterface_WriteIncentiveTableDescriptions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WriteIncentiveTableDescriptions'
func (*CemCEVCInterface_WriteIncentiveTableDescriptions_Call) Run ¶
func (_c *CemCEVCInterface_WriteIncentiveTableDescriptions_Call) Run(run func(entity spine_goapi.EntityRemoteInterface, data []api.IncentiveTariffDescription)) *CemCEVCInterface_WriteIncentiveTableDescriptions_Call
func (*CemCEVCInterface_WriteIncentiveTableDescriptions_Call) RunAndReturn ¶
func (_c *CemCEVCInterface_WriteIncentiveTableDescriptions_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface, []api.IncentiveTariffDescription) error) *CemCEVCInterface_WriteIncentiveTableDescriptions_Call
type CemCEVCInterface_WriteIncentives_Call ¶
CemCEVCInterface_WriteIncentives_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WriteIncentives'
func (*CemCEVCInterface_WriteIncentives_Call) Return ¶
func (_c *CemCEVCInterface_WriteIncentives_Call) Return(_a0 error) *CemCEVCInterface_WriteIncentives_Call
func (*CemCEVCInterface_WriteIncentives_Call) Run ¶
func (_c *CemCEVCInterface_WriteIncentives_Call) Run(run func(entity spine_goapi.EntityRemoteInterface, data []api.DurationSlotValue)) *CemCEVCInterface_WriteIncentives_Call
func (*CemCEVCInterface_WriteIncentives_Call) RunAndReturn ¶
func (_c *CemCEVCInterface_WriteIncentives_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface, []api.DurationSlotValue) error) *CemCEVCInterface_WriteIncentives_Call
type CemCEVCInterface_WritePowerLimits_Call ¶
CemCEVCInterface_WritePowerLimits_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WritePowerLimits'
func (*CemCEVCInterface_WritePowerLimits_Call) Return ¶
func (_c *CemCEVCInterface_WritePowerLimits_Call) Return(_a0 error) *CemCEVCInterface_WritePowerLimits_Call
func (*CemCEVCInterface_WritePowerLimits_Call) Run ¶
func (_c *CemCEVCInterface_WritePowerLimits_Call) Run(run func(entity spine_goapi.EntityRemoteInterface, data []api.DurationSlotValue)) *CemCEVCInterface_WritePowerLimits_Call
func (*CemCEVCInterface_WritePowerLimits_Call) RunAndReturn ¶
func (_c *CemCEVCInterface_WritePowerLimits_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface, []api.DurationSlotValue) error) *CemCEVCInterface_WritePowerLimits_Call
type CemEVCCInterface ¶
CemEVCCInterface is an autogenerated mock type for the CemEVCCInterface type
func NewCemEVCCInterface ¶
func NewCemEVCCInterface(t interface { mock.TestingT Cleanup(func()) }) *CemEVCCInterface
NewCemEVCCInterface creates a new instance of CemEVCCInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*CemEVCCInterface) AddFeatures ¶
func (_m *CemEVCCInterface) AddFeatures()
AddFeatures provides a mock function with given fields:
func (*CemEVCCInterface) AddUseCase ¶
func (_m *CemEVCCInterface) AddUseCase()
AddUseCase provides a mock function with given fields:
func (*CemEVCCInterface) AsymmetricChargingSupport ¶
func (_m *CemEVCCInterface) AsymmetricChargingSupport(entity spine_goapi.EntityRemoteInterface) (bool, error)
AsymmetricChargingSupport provides a mock function with given fields: entity
func (*CemEVCCInterface) AvailableScenariosForEntity ¶
func (_m *CemEVCCInterface) AvailableScenariosForEntity(entity spine_goapi.EntityRemoteInterface) []uint
AvailableScenariosForEntity provides a mock function with given fields: entity
func (*CemEVCCInterface) ChargeState ¶
func (_m *CemEVCCInterface) ChargeState(entity spine_goapi.EntityRemoteInterface) (api.EVChargeStateType, error)
ChargeState provides a mock function with given fields: entity
func (*CemEVCCInterface) ChargingPowerLimits ¶
func (_m *CemEVCCInterface) ChargingPowerLimits(entity spine_goapi.EntityRemoteInterface) (float64, float64, float64, error)
ChargingPowerLimits provides a mock function with given fields: entity
func (*CemEVCCInterface) CommunicationStandard ¶
func (_m *CemEVCCInterface) CommunicationStandard(entity spine_goapi.EntityRemoteInterface) (model.DeviceConfigurationKeyValueStringType, error)
CommunicationStandard provides a mock function with given fields: entity
func (*CemEVCCInterface) EVConnected ¶
func (_m *CemEVCCInterface) EVConnected(entity spine_goapi.EntityRemoteInterface) bool
EVConnected provides a mock function with given fields: entity
func (*CemEVCCInterface) EXPECT ¶
func (_m *CemEVCCInterface) EXPECT() *CemEVCCInterface_Expecter
func (*CemEVCCInterface) Identifications ¶
func (_m *CemEVCCInterface) Identifications(entity spine_goapi.EntityRemoteInterface) ([]api.IdentificationItem, error)
Identifications provides a mock function with given fields: entity
func (*CemEVCCInterface) IsCompatibleEntityType ¶
func (_m *CemEVCCInterface) IsCompatibleEntityType(entity spine_goapi.EntityRemoteInterface) bool
IsCompatibleEntityType provides a mock function with given fields: entity
func (*CemEVCCInterface) IsInSleepMode ¶
func (_m *CemEVCCInterface) IsInSleepMode(entity spine_goapi.EntityRemoteInterface) (bool, error)
IsInSleepMode provides a mock function with given fields: entity
func (*CemEVCCInterface) IsScenarioAvailableAtEntity ¶
func (_m *CemEVCCInterface) IsScenarioAvailableAtEntity(entity spine_goapi.EntityRemoteInterface, scenario uint) bool
IsScenarioAvailableAtEntity provides a mock function with given fields: entity, scenario
func (*CemEVCCInterface) ManufacturerData ¶
func (_m *CemEVCCInterface) ManufacturerData(entity spine_goapi.EntityRemoteInterface) (eebus_goapi.ManufacturerData, error)
ManufacturerData provides a mock function with given fields: entity
func (*CemEVCCInterface) RemoteEntitiesScenarios ¶
func (_m *CemEVCCInterface) RemoteEntitiesScenarios() []eebus_goapi.RemoteEntityScenarios
RemoteEntitiesScenarios provides a mock function with given fields:
func (*CemEVCCInterface) RemoveUseCase ¶
func (_m *CemEVCCInterface) RemoveUseCase()
RemoveUseCase provides a mock function with given fields:
func (*CemEVCCInterface) UpdateUseCaseAvailability ¶
func (_m *CemEVCCInterface) UpdateUseCaseAvailability(available bool)
UpdateUseCaseAvailability provides a mock function with given fields: available
type CemEVCCInterface_AddFeatures_Call ¶
CemEVCCInterface_AddFeatures_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddFeatures'
func (*CemEVCCInterface_AddFeatures_Call) Return ¶
func (_c *CemEVCCInterface_AddFeatures_Call) Return() *CemEVCCInterface_AddFeatures_Call
func (*CemEVCCInterface_AddFeatures_Call) Run ¶
func (_c *CemEVCCInterface_AddFeatures_Call) Run(run func()) *CemEVCCInterface_AddFeatures_Call
func (*CemEVCCInterface_AddFeatures_Call) RunAndReturn ¶
func (_c *CemEVCCInterface_AddFeatures_Call) RunAndReturn(run func()) *CemEVCCInterface_AddFeatures_Call
type CemEVCCInterface_AddUseCase_Call ¶
CemEVCCInterface_AddUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddUseCase'
func (*CemEVCCInterface_AddUseCase_Call) Return ¶
func (_c *CemEVCCInterface_AddUseCase_Call) Return() *CemEVCCInterface_AddUseCase_Call
func (*CemEVCCInterface_AddUseCase_Call) Run ¶
func (_c *CemEVCCInterface_AddUseCase_Call) Run(run func()) *CemEVCCInterface_AddUseCase_Call
func (*CemEVCCInterface_AddUseCase_Call) RunAndReturn ¶
func (_c *CemEVCCInterface_AddUseCase_Call) RunAndReturn(run func()) *CemEVCCInterface_AddUseCase_Call
type CemEVCCInterface_AsymmetricChargingSupport_Call ¶
CemEVCCInterface_AsymmetricChargingSupport_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AsymmetricChargingSupport'
func (*CemEVCCInterface_AsymmetricChargingSupport_Call) Return ¶
func (_c *CemEVCCInterface_AsymmetricChargingSupport_Call) Return(_a0 bool, _a1 error) *CemEVCCInterface_AsymmetricChargingSupport_Call
func (*CemEVCCInterface_AsymmetricChargingSupport_Call) Run ¶
func (_c *CemEVCCInterface_AsymmetricChargingSupport_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemEVCCInterface_AsymmetricChargingSupport_Call
func (*CemEVCCInterface_AsymmetricChargingSupport_Call) RunAndReturn ¶
func (_c *CemEVCCInterface_AsymmetricChargingSupport_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (bool, error)) *CemEVCCInterface_AsymmetricChargingSupport_Call
type CemEVCCInterface_AvailableScenariosForEntity_Call ¶
CemEVCCInterface_AvailableScenariosForEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AvailableScenariosForEntity'
func (*CemEVCCInterface_AvailableScenariosForEntity_Call) Return ¶
func (_c *CemEVCCInterface_AvailableScenariosForEntity_Call) Return(_a0 []uint) *CemEVCCInterface_AvailableScenariosForEntity_Call
func (*CemEVCCInterface_AvailableScenariosForEntity_Call) Run ¶
func (_c *CemEVCCInterface_AvailableScenariosForEntity_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemEVCCInterface_AvailableScenariosForEntity_Call
func (*CemEVCCInterface_AvailableScenariosForEntity_Call) RunAndReturn ¶
func (_c *CemEVCCInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) []uint) *CemEVCCInterface_AvailableScenariosForEntity_Call
type CemEVCCInterface_ChargeState_Call ¶
CemEVCCInterface_ChargeState_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ChargeState'
func (*CemEVCCInterface_ChargeState_Call) Return ¶
func (_c *CemEVCCInterface_ChargeState_Call) Return(_a0 api.EVChargeStateType, _a1 error) *CemEVCCInterface_ChargeState_Call
func (*CemEVCCInterface_ChargeState_Call) Run ¶
func (_c *CemEVCCInterface_ChargeState_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemEVCCInterface_ChargeState_Call
func (*CemEVCCInterface_ChargeState_Call) RunAndReturn ¶
func (_c *CemEVCCInterface_ChargeState_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (api.EVChargeStateType, error)) *CemEVCCInterface_ChargeState_Call
type CemEVCCInterface_ChargingPowerLimits_Call ¶
CemEVCCInterface_ChargingPowerLimits_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ChargingPowerLimits'
func (*CemEVCCInterface_ChargingPowerLimits_Call) Return ¶
func (_c *CemEVCCInterface_ChargingPowerLimits_Call) Return(_a0 float64, _a1 float64, _a2 float64, _a3 error) *CemEVCCInterface_ChargingPowerLimits_Call
func (*CemEVCCInterface_ChargingPowerLimits_Call) Run ¶
func (_c *CemEVCCInterface_ChargingPowerLimits_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemEVCCInterface_ChargingPowerLimits_Call
func (*CemEVCCInterface_ChargingPowerLimits_Call) RunAndReturn ¶
func (_c *CemEVCCInterface_ChargingPowerLimits_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (float64, float64, float64, error)) *CemEVCCInterface_ChargingPowerLimits_Call
type CemEVCCInterface_CommunicationStandard_Call ¶
CemEVCCInterface_CommunicationStandard_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CommunicationStandard'
func (*CemEVCCInterface_CommunicationStandard_Call) Run ¶
func (_c *CemEVCCInterface_CommunicationStandard_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemEVCCInterface_CommunicationStandard_Call
func (*CemEVCCInterface_CommunicationStandard_Call) RunAndReturn ¶
func (_c *CemEVCCInterface_CommunicationStandard_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (model.DeviceConfigurationKeyValueStringType, error)) *CemEVCCInterface_CommunicationStandard_Call
type CemEVCCInterface_EVConnected_Call ¶
CemEVCCInterface_EVConnected_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EVConnected'
func (*CemEVCCInterface_EVConnected_Call) Return ¶
func (_c *CemEVCCInterface_EVConnected_Call) Return(_a0 bool) *CemEVCCInterface_EVConnected_Call
func (*CemEVCCInterface_EVConnected_Call) Run ¶
func (_c *CemEVCCInterface_EVConnected_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemEVCCInterface_EVConnected_Call
func (*CemEVCCInterface_EVConnected_Call) RunAndReturn ¶
func (_c *CemEVCCInterface_EVConnected_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) bool) *CemEVCCInterface_EVConnected_Call
type CemEVCCInterface_Expecter ¶
type CemEVCCInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*CemEVCCInterface_Expecter) AddFeatures ¶
func (_e *CemEVCCInterface_Expecter) AddFeatures() *CemEVCCInterface_AddFeatures_Call
AddFeatures is a helper method to define mock.On call
func (*CemEVCCInterface_Expecter) AddUseCase ¶
func (_e *CemEVCCInterface_Expecter) AddUseCase() *CemEVCCInterface_AddUseCase_Call
AddUseCase is a helper method to define mock.On call
func (*CemEVCCInterface_Expecter) AsymmetricChargingSupport ¶
func (_e *CemEVCCInterface_Expecter) AsymmetricChargingSupport(entity interface{}) *CemEVCCInterface_AsymmetricChargingSupport_Call
AsymmetricChargingSupport is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*CemEVCCInterface_Expecter) AvailableScenariosForEntity ¶
func (_e *CemEVCCInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *CemEVCCInterface_AvailableScenariosForEntity_Call
AvailableScenariosForEntity is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*CemEVCCInterface_Expecter) ChargeState ¶
func (_e *CemEVCCInterface_Expecter) ChargeState(entity interface{}) *CemEVCCInterface_ChargeState_Call
ChargeState is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*CemEVCCInterface_Expecter) ChargingPowerLimits ¶
func (_e *CemEVCCInterface_Expecter) ChargingPowerLimits(entity interface{}) *CemEVCCInterface_ChargingPowerLimits_Call
ChargingPowerLimits is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*CemEVCCInterface_Expecter) CommunicationStandard ¶
func (_e *CemEVCCInterface_Expecter) CommunicationStandard(entity interface{}) *CemEVCCInterface_CommunicationStandard_Call
CommunicationStandard is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*CemEVCCInterface_Expecter) EVConnected ¶
func (_e *CemEVCCInterface_Expecter) EVConnected(entity interface{}) *CemEVCCInterface_EVConnected_Call
EVConnected is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*CemEVCCInterface_Expecter) Identifications ¶
func (_e *CemEVCCInterface_Expecter) Identifications(entity interface{}) *CemEVCCInterface_Identifications_Call
Identifications is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*CemEVCCInterface_Expecter) IsCompatibleEntityType ¶
func (_e *CemEVCCInterface_Expecter) IsCompatibleEntityType(entity interface{}) *CemEVCCInterface_IsCompatibleEntityType_Call
IsCompatibleEntityType is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*CemEVCCInterface_Expecter) IsInSleepMode ¶
func (_e *CemEVCCInterface_Expecter) IsInSleepMode(entity interface{}) *CemEVCCInterface_IsInSleepMode_Call
IsInSleepMode is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*CemEVCCInterface_Expecter) IsScenarioAvailableAtEntity ¶
func (_e *CemEVCCInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *CemEVCCInterface_IsScenarioAvailableAtEntity_Call
IsScenarioAvailableAtEntity is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
- scenario uint
func (*CemEVCCInterface_Expecter) ManufacturerData ¶
func (_e *CemEVCCInterface_Expecter) ManufacturerData(entity interface{}) *CemEVCCInterface_ManufacturerData_Call
ManufacturerData is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*CemEVCCInterface_Expecter) RemoteEntitiesScenarios ¶
func (_e *CemEVCCInterface_Expecter) RemoteEntitiesScenarios() *CemEVCCInterface_RemoteEntitiesScenarios_Call
RemoteEntitiesScenarios is a helper method to define mock.On call
func (*CemEVCCInterface_Expecter) RemoveUseCase ¶
func (_e *CemEVCCInterface_Expecter) RemoveUseCase() *CemEVCCInterface_RemoveUseCase_Call
RemoveUseCase is a helper method to define mock.On call
func (*CemEVCCInterface_Expecter) UpdateUseCaseAvailability ¶
func (_e *CemEVCCInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *CemEVCCInterface_UpdateUseCaseAvailability_Call
UpdateUseCaseAvailability is a helper method to define mock.On call
- available bool
type CemEVCCInterface_Identifications_Call ¶
CemEVCCInterface_Identifications_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Identifications'
func (*CemEVCCInterface_Identifications_Call) Return ¶
func (_c *CemEVCCInterface_Identifications_Call) Return(_a0 []api.IdentificationItem, _a1 error) *CemEVCCInterface_Identifications_Call
func (*CemEVCCInterface_Identifications_Call) Run ¶
func (_c *CemEVCCInterface_Identifications_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemEVCCInterface_Identifications_Call
func (*CemEVCCInterface_Identifications_Call) RunAndReturn ¶
func (_c *CemEVCCInterface_Identifications_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) ([]api.IdentificationItem, error)) *CemEVCCInterface_Identifications_Call
type CemEVCCInterface_IsCompatibleEntityType_Call ¶
CemEVCCInterface_IsCompatibleEntityType_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsCompatibleEntityType'
func (*CemEVCCInterface_IsCompatibleEntityType_Call) Return ¶
func (_c *CemEVCCInterface_IsCompatibleEntityType_Call) Return(_a0 bool) *CemEVCCInterface_IsCompatibleEntityType_Call
func (*CemEVCCInterface_IsCompatibleEntityType_Call) Run ¶
func (_c *CemEVCCInterface_IsCompatibleEntityType_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemEVCCInterface_IsCompatibleEntityType_Call
func (*CemEVCCInterface_IsCompatibleEntityType_Call) RunAndReturn ¶
func (_c *CemEVCCInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) bool) *CemEVCCInterface_IsCompatibleEntityType_Call
type CemEVCCInterface_IsInSleepMode_Call ¶
CemEVCCInterface_IsInSleepMode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsInSleepMode'
func (*CemEVCCInterface_IsInSleepMode_Call) Return ¶
func (_c *CemEVCCInterface_IsInSleepMode_Call) Return(_a0 bool, _a1 error) *CemEVCCInterface_IsInSleepMode_Call
func (*CemEVCCInterface_IsInSleepMode_Call) Run ¶
func (_c *CemEVCCInterface_IsInSleepMode_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemEVCCInterface_IsInSleepMode_Call
func (*CemEVCCInterface_IsInSleepMode_Call) RunAndReturn ¶
func (_c *CemEVCCInterface_IsInSleepMode_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (bool, error)) *CemEVCCInterface_IsInSleepMode_Call
type CemEVCCInterface_IsScenarioAvailableAtEntity_Call ¶
CemEVCCInterface_IsScenarioAvailableAtEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsScenarioAvailableAtEntity'
func (*CemEVCCInterface_IsScenarioAvailableAtEntity_Call) Return ¶
func (_c *CemEVCCInterface_IsScenarioAvailableAtEntity_Call) Return(_a0 bool) *CemEVCCInterface_IsScenarioAvailableAtEntity_Call
func (*CemEVCCInterface_IsScenarioAvailableAtEntity_Call) Run ¶
func (_c *CemEVCCInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity spine_goapi.EntityRemoteInterface, scenario uint)) *CemEVCCInterface_IsScenarioAvailableAtEntity_Call
func (*CemEVCCInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn ¶
func (_c *CemEVCCInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface, uint) bool) *CemEVCCInterface_IsScenarioAvailableAtEntity_Call
type CemEVCCInterface_ManufacturerData_Call ¶
CemEVCCInterface_ManufacturerData_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ManufacturerData'
func (*CemEVCCInterface_ManufacturerData_Call) Return ¶
func (_c *CemEVCCInterface_ManufacturerData_Call) Return(_a0 eebus_goapi.ManufacturerData, _a1 error) *CemEVCCInterface_ManufacturerData_Call
func (*CemEVCCInterface_ManufacturerData_Call) Run ¶
func (_c *CemEVCCInterface_ManufacturerData_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemEVCCInterface_ManufacturerData_Call
func (*CemEVCCInterface_ManufacturerData_Call) RunAndReturn ¶
func (_c *CemEVCCInterface_ManufacturerData_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (eebus_goapi.ManufacturerData, error)) *CemEVCCInterface_ManufacturerData_Call
type CemEVCCInterface_RemoteEntitiesScenarios_Call ¶
CemEVCCInterface_RemoteEntitiesScenarios_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoteEntitiesScenarios'
func (*CemEVCCInterface_RemoteEntitiesScenarios_Call) Run ¶
func (_c *CemEVCCInterface_RemoteEntitiesScenarios_Call) Run(run func()) *CemEVCCInterface_RemoteEntitiesScenarios_Call
func (*CemEVCCInterface_RemoteEntitiesScenarios_Call) RunAndReturn ¶
func (_c *CemEVCCInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []eebus_goapi.RemoteEntityScenarios) *CemEVCCInterface_RemoteEntitiesScenarios_Call
type CemEVCCInterface_RemoveUseCase_Call ¶
CemEVCCInterface_RemoveUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveUseCase'
func (*CemEVCCInterface_RemoveUseCase_Call) Return ¶
func (_c *CemEVCCInterface_RemoveUseCase_Call) Return() *CemEVCCInterface_RemoveUseCase_Call
func (*CemEVCCInterface_RemoveUseCase_Call) Run ¶
func (_c *CemEVCCInterface_RemoveUseCase_Call) Run(run func()) *CemEVCCInterface_RemoveUseCase_Call
func (*CemEVCCInterface_RemoveUseCase_Call) RunAndReturn ¶
func (_c *CemEVCCInterface_RemoveUseCase_Call) RunAndReturn(run func()) *CemEVCCInterface_RemoveUseCase_Call
type CemEVCCInterface_UpdateUseCaseAvailability_Call ¶
CemEVCCInterface_UpdateUseCaseAvailability_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateUseCaseAvailability'
func (*CemEVCCInterface_UpdateUseCaseAvailability_Call) Run ¶
func (_c *CemEVCCInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *CemEVCCInterface_UpdateUseCaseAvailability_Call
func (*CemEVCCInterface_UpdateUseCaseAvailability_Call) RunAndReturn ¶
func (_c *CemEVCCInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(bool)) *CemEVCCInterface_UpdateUseCaseAvailability_Call
type CemEVCEMInterface ¶
CemEVCEMInterface is an autogenerated mock type for the CemEVCEMInterface type
func NewCemEVCEMInterface ¶
func NewCemEVCEMInterface(t interface { mock.TestingT Cleanup(func()) }) *CemEVCEMInterface
NewCemEVCEMInterface creates a new instance of CemEVCEMInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*CemEVCEMInterface) AddFeatures ¶
func (_m *CemEVCEMInterface) AddFeatures()
AddFeatures provides a mock function with given fields:
func (*CemEVCEMInterface) AddUseCase ¶
func (_m *CemEVCEMInterface) AddUseCase()
AddUseCase provides a mock function with given fields:
func (*CemEVCEMInterface) AvailableScenariosForEntity ¶
func (_m *CemEVCEMInterface) AvailableScenariosForEntity(entity spine_goapi.EntityRemoteInterface) []uint
AvailableScenariosForEntity provides a mock function with given fields: entity
func (*CemEVCEMInterface) CurrentPerPhase ¶
func (_m *CemEVCEMInterface) CurrentPerPhase(entity spine_goapi.EntityRemoteInterface) ([]float64, error)
CurrentPerPhase provides a mock function with given fields: entity
func (*CemEVCEMInterface) EXPECT ¶
func (_m *CemEVCEMInterface) EXPECT() *CemEVCEMInterface_Expecter
func (*CemEVCEMInterface) EnergyCharged ¶
func (_m *CemEVCEMInterface) EnergyCharged(entity spine_goapi.EntityRemoteInterface) (float64, error)
EnergyCharged provides a mock function with given fields: entity
func (*CemEVCEMInterface) IsCompatibleEntityType ¶
func (_m *CemEVCEMInterface) IsCompatibleEntityType(entity spine_goapi.EntityRemoteInterface) bool
IsCompatibleEntityType provides a mock function with given fields: entity
func (*CemEVCEMInterface) IsScenarioAvailableAtEntity ¶
func (_m *CemEVCEMInterface) IsScenarioAvailableAtEntity(entity spine_goapi.EntityRemoteInterface, scenario uint) bool
IsScenarioAvailableAtEntity provides a mock function with given fields: entity, scenario
func (*CemEVCEMInterface) PhasesConnected ¶
func (_m *CemEVCEMInterface) PhasesConnected(entity spine_goapi.EntityRemoteInterface) (uint, error)
PhasesConnected provides a mock function with given fields: entity
func (*CemEVCEMInterface) PowerPerPhase ¶
func (_m *CemEVCEMInterface) PowerPerPhase(entity spine_goapi.EntityRemoteInterface) ([]float64, error)
PowerPerPhase provides a mock function with given fields: entity
func (*CemEVCEMInterface) RemoteEntitiesScenarios ¶
func (_m *CemEVCEMInterface) RemoteEntitiesScenarios() []eebus_goapi.RemoteEntityScenarios
RemoteEntitiesScenarios provides a mock function with given fields:
func (*CemEVCEMInterface) RemoveUseCase ¶
func (_m *CemEVCEMInterface) RemoveUseCase()
RemoveUseCase provides a mock function with given fields:
func (*CemEVCEMInterface) UpdateUseCaseAvailability ¶
func (_m *CemEVCEMInterface) UpdateUseCaseAvailability(available bool)
UpdateUseCaseAvailability provides a mock function with given fields: available
type CemEVCEMInterface_AddFeatures_Call ¶
CemEVCEMInterface_AddFeatures_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddFeatures'
func (*CemEVCEMInterface_AddFeatures_Call) Return ¶
func (_c *CemEVCEMInterface_AddFeatures_Call) Return() *CemEVCEMInterface_AddFeatures_Call
func (*CemEVCEMInterface_AddFeatures_Call) Run ¶
func (_c *CemEVCEMInterface_AddFeatures_Call) Run(run func()) *CemEVCEMInterface_AddFeatures_Call
func (*CemEVCEMInterface_AddFeatures_Call) RunAndReturn ¶
func (_c *CemEVCEMInterface_AddFeatures_Call) RunAndReturn(run func()) *CemEVCEMInterface_AddFeatures_Call
type CemEVCEMInterface_AddUseCase_Call ¶
CemEVCEMInterface_AddUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddUseCase'
func (*CemEVCEMInterface_AddUseCase_Call) Return ¶
func (_c *CemEVCEMInterface_AddUseCase_Call) Return() *CemEVCEMInterface_AddUseCase_Call
func (*CemEVCEMInterface_AddUseCase_Call) Run ¶
func (_c *CemEVCEMInterface_AddUseCase_Call) Run(run func()) *CemEVCEMInterface_AddUseCase_Call
func (*CemEVCEMInterface_AddUseCase_Call) RunAndReturn ¶
func (_c *CemEVCEMInterface_AddUseCase_Call) RunAndReturn(run func()) *CemEVCEMInterface_AddUseCase_Call
type CemEVCEMInterface_AvailableScenariosForEntity_Call ¶
CemEVCEMInterface_AvailableScenariosForEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AvailableScenariosForEntity'
func (*CemEVCEMInterface_AvailableScenariosForEntity_Call) Return ¶
func (_c *CemEVCEMInterface_AvailableScenariosForEntity_Call) Return(_a0 []uint) *CemEVCEMInterface_AvailableScenariosForEntity_Call
func (*CemEVCEMInterface_AvailableScenariosForEntity_Call) Run ¶
func (_c *CemEVCEMInterface_AvailableScenariosForEntity_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemEVCEMInterface_AvailableScenariosForEntity_Call
func (*CemEVCEMInterface_AvailableScenariosForEntity_Call) RunAndReturn ¶
func (_c *CemEVCEMInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) []uint) *CemEVCEMInterface_AvailableScenariosForEntity_Call
type CemEVCEMInterface_CurrentPerPhase_Call ¶
CemEVCEMInterface_CurrentPerPhase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CurrentPerPhase'
func (*CemEVCEMInterface_CurrentPerPhase_Call) Return ¶
func (_c *CemEVCEMInterface_CurrentPerPhase_Call) Return(_a0 []float64, _a1 error) *CemEVCEMInterface_CurrentPerPhase_Call
func (*CemEVCEMInterface_CurrentPerPhase_Call) Run ¶
func (_c *CemEVCEMInterface_CurrentPerPhase_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemEVCEMInterface_CurrentPerPhase_Call
func (*CemEVCEMInterface_CurrentPerPhase_Call) RunAndReturn ¶
func (_c *CemEVCEMInterface_CurrentPerPhase_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) ([]float64, error)) *CemEVCEMInterface_CurrentPerPhase_Call
type CemEVCEMInterface_EnergyCharged_Call ¶
CemEVCEMInterface_EnergyCharged_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EnergyCharged'
func (*CemEVCEMInterface_EnergyCharged_Call) Return ¶
func (_c *CemEVCEMInterface_EnergyCharged_Call) Return(_a0 float64, _a1 error) *CemEVCEMInterface_EnergyCharged_Call
func (*CemEVCEMInterface_EnergyCharged_Call) Run ¶
func (_c *CemEVCEMInterface_EnergyCharged_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemEVCEMInterface_EnergyCharged_Call
func (*CemEVCEMInterface_EnergyCharged_Call) RunAndReturn ¶
func (_c *CemEVCEMInterface_EnergyCharged_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (float64, error)) *CemEVCEMInterface_EnergyCharged_Call
type CemEVCEMInterface_Expecter ¶
type CemEVCEMInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*CemEVCEMInterface_Expecter) AddFeatures ¶
func (_e *CemEVCEMInterface_Expecter) AddFeatures() *CemEVCEMInterface_AddFeatures_Call
AddFeatures is a helper method to define mock.On call
func (*CemEVCEMInterface_Expecter) AddUseCase ¶
func (_e *CemEVCEMInterface_Expecter) AddUseCase() *CemEVCEMInterface_AddUseCase_Call
AddUseCase is a helper method to define mock.On call
func (*CemEVCEMInterface_Expecter) AvailableScenariosForEntity ¶
func (_e *CemEVCEMInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *CemEVCEMInterface_AvailableScenariosForEntity_Call
AvailableScenariosForEntity is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*CemEVCEMInterface_Expecter) CurrentPerPhase ¶
func (_e *CemEVCEMInterface_Expecter) CurrentPerPhase(entity interface{}) *CemEVCEMInterface_CurrentPerPhase_Call
CurrentPerPhase is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*CemEVCEMInterface_Expecter) EnergyCharged ¶
func (_e *CemEVCEMInterface_Expecter) EnergyCharged(entity interface{}) *CemEVCEMInterface_EnergyCharged_Call
EnergyCharged is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*CemEVCEMInterface_Expecter) IsCompatibleEntityType ¶
func (_e *CemEVCEMInterface_Expecter) IsCompatibleEntityType(entity interface{}) *CemEVCEMInterface_IsCompatibleEntityType_Call
IsCompatibleEntityType is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*CemEVCEMInterface_Expecter) IsScenarioAvailableAtEntity ¶
func (_e *CemEVCEMInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *CemEVCEMInterface_IsScenarioAvailableAtEntity_Call
IsScenarioAvailableAtEntity is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
- scenario uint
func (*CemEVCEMInterface_Expecter) PhasesConnected ¶
func (_e *CemEVCEMInterface_Expecter) PhasesConnected(entity interface{}) *CemEVCEMInterface_PhasesConnected_Call
PhasesConnected is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*CemEVCEMInterface_Expecter) PowerPerPhase ¶
func (_e *CemEVCEMInterface_Expecter) PowerPerPhase(entity interface{}) *CemEVCEMInterface_PowerPerPhase_Call
PowerPerPhase is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*CemEVCEMInterface_Expecter) RemoteEntitiesScenarios ¶
func (_e *CemEVCEMInterface_Expecter) RemoteEntitiesScenarios() *CemEVCEMInterface_RemoteEntitiesScenarios_Call
RemoteEntitiesScenarios is a helper method to define mock.On call
func (*CemEVCEMInterface_Expecter) RemoveUseCase ¶
func (_e *CemEVCEMInterface_Expecter) RemoveUseCase() *CemEVCEMInterface_RemoveUseCase_Call
RemoveUseCase is a helper method to define mock.On call
func (*CemEVCEMInterface_Expecter) UpdateUseCaseAvailability ¶
func (_e *CemEVCEMInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *CemEVCEMInterface_UpdateUseCaseAvailability_Call
UpdateUseCaseAvailability is a helper method to define mock.On call
- available bool
type CemEVCEMInterface_IsCompatibleEntityType_Call ¶
CemEVCEMInterface_IsCompatibleEntityType_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsCompatibleEntityType'
func (*CemEVCEMInterface_IsCompatibleEntityType_Call) Return ¶
func (_c *CemEVCEMInterface_IsCompatibleEntityType_Call) Return(_a0 bool) *CemEVCEMInterface_IsCompatibleEntityType_Call
func (*CemEVCEMInterface_IsCompatibleEntityType_Call) Run ¶
func (_c *CemEVCEMInterface_IsCompatibleEntityType_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemEVCEMInterface_IsCompatibleEntityType_Call
func (*CemEVCEMInterface_IsCompatibleEntityType_Call) RunAndReturn ¶
func (_c *CemEVCEMInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) bool) *CemEVCEMInterface_IsCompatibleEntityType_Call
type CemEVCEMInterface_IsScenarioAvailableAtEntity_Call ¶
CemEVCEMInterface_IsScenarioAvailableAtEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsScenarioAvailableAtEntity'
func (*CemEVCEMInterface_IsScenarioAvailableAtEntity_Call) Return ¶
func (_c *CemEVCEMInterface_IsScenarioAvailableAtEntity_Call) Return(_a0 bool) *CemEVCEMInterface_IsScenarioAvailableAtEntity_Call
func (*CemEVCEMInterface_IsScenarioAvailableAtEntity_Call) Run ¶
func (_c *CemEVCEMInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity spine_goapi.EntityRemoteInterface, scenario uint)) *CemEVCEMInterface_IsScenarioAvailableAtEntity_Call
func (*CemEVCEMInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn ¶
func (_c *CemEVCEMInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface, uint) bool) *CemEVCEMInterface_IsScenarioAvailableAtEntity_Call
type CemEVCEMInterface_PhasesConnected_Call ¶
CemEVCEMInterface_PhasesConnected_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PhasesConnected'
func (*CemEVCEMInterface_PhasesConnected_Call) Return ¶
func (_c *CemEVCEMInterface_PhasesConnected_Call) Return(_a0 uint, _a1 error) *CemEVCEMInterface_PhasesConnected_Call
func (*CemEVCEMInterface_PhasesConnected_Call) Run ¶
func (_c *CemEVCEMInterface_PhasesConnected_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemEVCEMInterface_PhasesConnected_Call
func (*CemEVCEMInterface_PhasesConnected_Call) RunAndReturn ¶
func (_c *CemEVCEMInterface_PhasesConnected_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (uint, error)) *CemEVCEMInterface_PhasesConnected_Call
type CemEVCEMInterface_PowerPerPhase_Call ¶
CemEVCEMInterface_PowerPerPhase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PowerPerPhase'
func (*CemEVCEMInterface_PowerPerPhase_Call) Return ¶
func (_c *CemEVCEMInterface_PowerPerPhase_Call) Return(_a0 []float64, _a1 error) *CemEVCEMInterface_PowerPerPhase_Call
func (*CemEVCEMInterface_PowerPerPhase_Call) Run ¶
func (_c *CemEVCEMInterface_PowerPerPhase_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemEVCEMInterface_PowerPerPhase_Call
func (*CemEVCEMInterface_PowerPerPhase_Call) RunAndReturn ¶
func (_c *CemEVCEMInterface_PowerPerPhase_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) ([]float64, error)) *CemEVCEMInterface_PowerPerPhase_Call
type CemEVCEMInterface_RemoteEntitiesScenarios_Call ¶
CemEVCEMInterface_RemoteEntitiesScenarios_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoteEntitiesScenarios'
func (*CemEVCEMInterface_RemoteEntitiesScenarios_Call) Run ¶
func (_c *CemEVCEMInterface_RemoteEntitiesScenarios_Call) Run(run func()) *CemEVCEMInterface_RemoteEntitiesScenarios_Call
func (*CemEVCEMInterface_RemoteEntitiesScenarios_Call) RunAndReturn ¶
func (_c *CemEVCEMInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []eebus_goapi.RemoteEntityScenarios) *CemEVCEMInterface_RemoteEntitiesScenarios_Call
type CemEVCEMInterface_RemoveUseCase_Call ¶
CemEVCEMInterface_RemoveUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveUseCase'
func (*CemEVCEMInterface_RemoveUseCase_Call) Return ¶
func (_c *CemEVCEMInterface_RemoveUseCase_Call) Return() *CemEVCEMInterface_RemoveUseCase_Call
func (*CemEVCEMInterface_RemoveUseCase_Call) Run ¶
func (_c *CemEVCEMInterface_RemoveUseCase_Call) Run(run func()) *CemEVCEMInterface_RemoveUseCase_Call
func (*CemEVCEMInterface_RemoveUseCase_Call) RunAndReturn ¶
func (_c *CemEVCEMInterface_RemoveUseCase_Call) RunAndReturn(run func()) *CemEVCEMInterface_RemoveUseCase_Call
type CemEVCEMInterface_UpdateUseCaseAvailability_Call ¶
CemEVCEMInterface_UpdateUseCaseAvailability_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateUseCaseAvailability'
func (*CemEVCEMInterface_UpdateUseCaseAvailability_Call) Run ¶
func (_c *CemEVCEMInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *CemEVCEMInterface_UpdateUseCaseAvailability_Call
func (*CemEVCEMInterface_UpdateUseCaseAvailability_Call) RunAndReturn ¶
func (_c *CemEVCEMInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(bool)) *CemEVCEMInterface_UpdateUseCaseAvailability_Call
type CemEVSECCInterface ¶
CemEVSECCInterface is an autogenerated mock type for the CemEVSECCInterface type
func NewCemEVSECCInterface ¶
func NewCemEVSECCInterface(t interface { mock.TestingT Cleanup(func()) }) *CemEVSECCInterface
NewCemEVSECCInterface creates a new instance of CemEVSECCInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*CemEVSECCInterface) AddFeatures ¶
func (_m *CemEVSECCInterface) AddFeatures()
AddFeatures provides a mock function with given fields:
func (*CemEVSECCInterface) AddUseCase ¶
func (_m *CemEVSECCInterface) AddUseCase()
AddUseCase provides a mock function with given fields:
func (*CemEVSECCInterface) AvailableScenariosForEntity ¶
func (_m *CemEVSECCInterface) AvailableScenariosForEntity(entity spine_goapi.EntityRemoteInterface) []uint
AvailableScenariosForEntity provides a mock function with given fields: entity
func (*CemEVSECCInterface) EXPECT ¶
func (_m *CemEVSECCInterface) EXPECT() *CemEVSECCInterface_Expecter
func (*CemEVSECCInterface) IsCompatibleEntityType ¶
func (_m *CemEVSECCInterface) IsCompatibleEntityType(entity spine_goapi.EntityRemoteInterface) bool
IsCompatibleEntityType provides a mock function with given fields: entity
func (*CemEVSECCInterface) IsScenarioAvailableAtEntity ¶
func (_m *CemEVSECCInterface) IsScenarioAvailableAtEntity(entity spine_goapi.EntityRemoteInterface, scenario uint) bool
IsScenarioAvailableAtEntity provides a mock function with given fields: entity, scenario
func (*CemEVSECCInterface) ManufacturerData ¶
func (_m *CemEVSECCInterface) ManufacturerData(entity spine_goapi.EntityRemoteInterface) (eebus_goapi.ManufacturerData, error)
ManufacturerData provides a mock function with given fields: entity
func (*CemEVSECCInterface) OperatingState ¶
func (_m *CemEVSECCInterface) OperatingState(entity spine_goapi.EntityRemoteInterface) (model.DeviceDiagnosisOperatingStateType, string, error)
OperatingState provides a mock function with given fields: entity
func (*CemEVSECCInterface) RemoteEntitiesScenarios ¶
func (_m *CemEVSECCInterface) RemoteEntitiesScenarios() []eebus_goapi.RemoteEntityScenarios
RemoteEntitiesScenarios provides a mock function with given fields:
func (*CemEVSECCInterface) RemoveUseCase ¶
func (_m *CemEVSECCInterface) RemoveUseCase()
RemoveUseCase provides a mock function with given fields:
func (*CemEVSECCInterface) UpdateUseCaseAvailability ¶
func (_m *CemEVSECCInterface) UpdateUseCaseAvailability(available bool)
UpdateUseCaseAvailability provides a mock function with given fields: available
type CemEVSECCInterface_AddFeatures_Call ¶
CemEVSECCInterface_AddFeatures_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddFeatures'
func (*CemEVSECCInterface_AddFeatures_Call) Return ¶
func (_c *CemEVSECCInterface_AddFeatures_Call) Return() *CemEVSECCInterface_AddFeatures_Call
func (*CemEVSECCInterface_AddFeatures_Call) Run ¶
func (_c *CemEVSECCInterface_AddFeatures_Call) Run(run func()) *CemEVSECCInterface_AddFeatures_Call
func (*CemEVSECCInterface_AddFeatures_Call) RunAndReturn ¶
func (_c *CemEVSECCInterface_AddFeatures_Call) RunAndReturn(run func()) *CemEVSECCInterface_AddFeatures_Call
type CemEVSECCInterface_AddUseCase_Call ¶
CemEVSECCInterface_AddUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddUseCase'
func (*CemEVSECCInterface_AddUseCase_Call) Return ¶
func (_c *CemEVSECCInterface_AddUseCase_Call) Return() *CemEVSECCInterface_AddUseCase_Call
func (*CemEVSECCInterface_AddUseCase_Call) Run ¶
func (_c *CemEVSECCInterface_AddUseCase_Call) Run(run func()) *CemEVSECCInterface_AddUseCase_Call
func (*CemEVSECCInterface_AddUseCase_Call) RunAndReturn ¶
func (_c *CemEVSECCInterface_AddUseCase_Call) RunAndReturn(run func()) *CemEVSECCInterface_AddUseCase_Call
type CemEVSECCInterface_AvailableScenariosForEntity_Call ¶
CemEVSECCInterface_AvailableScenariosForEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AvailableScenariosForEntity'
func (*CemEVSECCInterface_AvailableScenariosForEntity_Call) Return ¶
func (_c *CemEVSECCInterface_AvailableScenariosForEntity_Call) Return(_a0 []uint) *CemEVSECCInterface_AvailableScenariosForEntity_Call
func (*CemEVSECCInterface_AvailableScenariosForEntity_Call) Run ¶
func (_c *CemEVSECCInterface_AvailableScenariosForEntity_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemEVSECCInterface_AvailableScenariosForEntity_Call
func (*CemEVSECCInterface_AvailableScenariosForEntity_Call) RunAndReturn ¶
func (_c *CemEVSECCInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) []uint) *CemEVSECCInterface_AvailableScenariosForEntity_Call
type CemEVSECCInterface_Expecter ¶
type CemEVSECCInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*CemEVSECCInterface_Expecter) AddFeatures ¶
func (_e *CemEVSECCInterface_Expecter) AddFeatures() *CemEVSECCInterface_AddFeatures_Call
AddFeatures is a helper method to define mock.On call
func (*CemEVSECCInterface_Expecter) AddUseCase ¶
func (_e *CemEVSECCInterface_Expecter) AddUseCase() *CemEVSECCInterface_AddUseCase_Call
AddUseCase is a helper method to define mock.On call
func (*CemEVSECCInterface_Expecter) AvailableScenariosForEntity ¶
func (_e *CemEVSECCInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *CemEVSECCInterface_AvailableScenariosForEntity_Call
AvailableScenariosForEntity is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*CemEVSECCInterface_Expecter) IsCompatibleEntityType ¶
func (_e *CemEVSECCInterface_Expecter) IsCompatibleEntityType(entity interface{}) *CemEVSECCInterface_IsCompatibleEntityType_Call
IsCompatibleEntityType is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*CemEVSECCInterface_Expecter) IsScenarioAvailableAtEntity ¶
func (_e *CemEVSECCInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *CemEVSECCInterface_IsScenarioAvailableAtEntity_Call
IsScenarioAvailableAtEntity is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
- scenario uint
func (*CemEVSECCInterface_Expecter) ManufacturerData ¶
func (_e *CemEVSECCInterface_Expecter) ManufacturerData(entity interface{}) *CemEVSECCInterface_ManufacturerData_Call
ManufacturerData is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*CemEVSECCInterface_Expecter) OperatingState ¶
func (_e *CemEVSECCInterface_Expecter) OperatingState(entity interface{}) *CemEVSECCInterface_OperatingState_Call
OperatingState is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*CemEVSECCInterface_Expecter) RemoteEntitiesScenarios ¶
func (_e *CemEVSECCInterface_Expecter) RemoteEntitiesScenarios() *CemEVSECCInterface_RemoteEntitiesScenarios_Call
RemoteEntitiesScenarios is a helper method to define mock.On call
func (*CemEVSECCInterface_Expecter) RemoveUseCase ¶
func (_e *CemEVSECCInterface_Expecter) RemoveUseCase() *CemEVSECCInterface_RemoveUseCase_Call
RemoveUseCase is a helper method to define mock.On call
func (*CemEVSECCInterface_Expecter) UpdateUseCaseAvailability ¶
func (_e *CemEVSECCInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *CemEVSECCInterface_UpdateUseCaseAvailability_Call
UpdateUseCaseAvailability is a helper method to define mock.On call
- available bool
type CemEVSECCInterface_IsCompatibleEntityType_Call ¶
CemEVSECCInterface_IsCompatibleEntityType_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsCompatibleEntityType'
func (*CemEVSECCInterface_IsCompatibleEntityType_Call) Return ¶
func (_c *CemEVSECCInterface_IsCompatibleEntityType_Call) Return(_a0 bool) *CemEVSECCInterface_IsCompatibleEntityType_Call
func (*CemEVSECCInterface_IsCompatibleEntityType_Call) Run ¶
func (_c *CemEVSECCInterface_IsCompatibleEntityType_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemEVSECCInterface_IsCompatibleEntityType_Call
func (*CemEVSECCInterface_IsCompatibleEntityType_Call) RunAndReturn ¶
func (_c *CemEVSECCInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) bool) *CemEVSECCInterface_IsCompatibleEntityType_Call
type CemEVSECCInterface_IsScenarioAvailableAtEntity_Call ¶
CemEVSECCInterface_IsScenarioAvailableAtEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsScenarioAvailableAtEntity'
func (*CemEVSECCInterface_IsScenarioAvailableAtEntity_Call) Run ¶
func (_c *CemEVSECCInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity spine_goapi.EntityRemoteInterface, scenario uint)) *CemEVSECCInterface_IsScenarioAvailableAtEntity_Call
func (*CemEVSECCInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn ¶
func (_c *CemEVSECCInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface, uint) bool) *CemEVSECCInterface_IsScenarioAvailableAtEntity_Call
type CemEVSECCInterface_ManufacturerData_Call ¶
CemEVSECCInterface_ManufacturerData_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ManufacturerData'
func (*CemEVSECCInterface_ManufacturerData_Call) Return ¶
func (_c *CemEVSECCInterface_ManufacturerData_Call) Return(_a0 eebus_goapi.ManufacturerData, _a1 error) *CemEVSECCInterface_ManufacturerData_Call
func (*CemEVSECCInterface_ManufacturerData_Call) Run ¶
func (_c *CemEVSECCInterface_ManufacturerData_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemEVSECCInterface_ManufacturerData_Call
func (*CemEVSECCInterface_ManufacturerData_Call) RunAndReturn ¶
func (_c *CemEVSECCInterface_ManufacturerData_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (eebus_goapi.ManufacturerData, error)) *CemEVSECCInterface_ManufacturerData_Call
type CemEVSECCInterface_OperatingState_Call ¶
CemEVSECCInterface_OperatingState_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OperatingState'
func (*CemEVSECCInterface_OperatingState_Call) Return ¶
func (_c *CemEVSECCInterface_OperatingState_Call) Return(_a0 model.DeviceDiagnosisOperatingStateType, _a1 string, _a2 error) *CemEVSECCInterface_OperatingState_Call
func (*CemEVSECCInterface_OperatingState_Call) Run ¶
func (_c *CemEVSECCInterface_OperatingState_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemEVSECCInterface_OperatingState_Call
func (*CemEVSECCInterface_OperatingState_Call) RunAndReturn ¶
func (_c *CemEVSECCInterface_OperatingState_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (model.DeviceDiagnosisOperatingStateType, string, error)) *CemEVSECCInterface_OperatingState_Call
type CemEVSECCInterface_RemoteEntitiesScenarios_Call ¶
CemEVSECCInterface_RemoteEntitiesScenarios_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoteEntitiesScenarios'
func (*CemEVSECCInterface_RemoteEntitiesScenarios_Call) Run ¶
func (_c *CemEVSECCInterface_RemoteEntitiesScenarios_Call) Run(run func()) *CemEVSECCInterface_RemoteEntitiesScenarios_Call
func (*CemEVSECCInterface_RemoteEntitiesScenarios_Call) RunAndReturn ¶
func (_c *CemEVSECCInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []eebus_goapi.RemoteEntityScenarios) *CemEVSECCInterface_RemoteEntitiesScenarios_Call
type CemEVSECCInterface_RemoveUseCase_Call ¶
CemEVSECCInterface_RemoveUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveUseCase'
func (*CemEVSECCInterface_RemoveUseCase_Call) Return ¶
func (_c *CemEVSECCInterface_RemoveUseCase_Call) Return() *CemEVSECCInterface_RemoveUseCase_Call
func (*CemEVSECCInterface_RemoveUseCase_Call) Run ¶
func (_c *CemEVSECCInterface_RemoveUseCase_Call) Run(run func()) *CemEVSECCInterface_RemoveUseCase_Call
func (*CemEVSECCInterface_RemoveUseCase_Call) RunAndReturn ¶
func (_c *CemEVSECCInterface_RemoveUseCase_Call) RunAndReturn(run func()) *CemEVSECCInterface_RemoveUseCase_Call
type CemEVSECCInterface_UpdateUseCaseAvailability_Call ¶
CemEVSECCInterface_UpdateUseCaseAvailability_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateUseCaseAvailability'
func (*CemEVSECCInterface_UpdateUseCaseAvailability_Call) Run ¶
func (_c *CemEVSECCInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *CemEVSECCInterface_UpdateUseCaseAvailability_Call
func (*CemEVSECCInterface_UpdateUseCaseAvailability_Call) RunAndReturn ¶
func (_c *CemEVSECCInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(bool)) *CemEVSECCInterface_UpdateUseCaseAvailability_Call
type CemEVSOCInterface ¶
CemEVSOCInterface is an autogenerated mock type for the CemEVSOCInterface type
func NewCemEVSOCInterface ¶
func NewCemEVSOCInterface(t interface { mock.TestingT Cleanup(func()) }) *CemEVSOCInterface
NewCemEVSOCInterface creates a new instance of CemEVSOCInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*CemEVSOCInterface) AddFeatures ¶
func (_m *CemEVSOCInterface) AddFeatures()
AddFeatures provides a mock function with given fields:
func (*CemEVSOCInterface) AddUseCase ¶
func (_m *CemEVSOCInterface) AddUseCase()
AddUseCase provides a mock function with given fields:
func (*CemEVSOCInterface) AvailableScenariosForEntity ¶
func (_m *CemEVSOCInterface) AvailableScenariosForEntity(entity spine_goapi.EntityRemoteInterface) []uint
AvailableScenariosForEntity provides a mock function with given fields: entity
func (*CemEVSOCInterface) EXPECT ¶
func (_m *CemEVSOCInterface) EXPECT() *CemEVSOCInterface_Expecter
func (*CemEVSOCInterface) IsCompatibleEntityType ¶
func (_m *CemEVSOCInterface) IsCompatibleEntityType(entity spine_goapi.EntityRemoteInterface) bool
IsCompatibleEntityType provides a mock function with given fields: entity
func (*CemEVSOCInterface) IsScenarioAvailableAtEntity ¶
func (_m *CemEVSOCInterface) IsScenarioAvailableAtEntity(entity spine_goapi.EntityRemoteInterface, scenario uint) bool
IsScenarioAvailableAtEntity provides a mock function with given fields: entity, scenario
func (*CemEVSOCInterface) RemoteEntitiesScenarios ¶
func (_m *CemEVSOCInterface) RemoteEntitiesScenarios() []eebus_goapi.RemoteEntityScenarios
RemoteEntitiesScenarios provides a mock function with given fields:
func (*CemEVSOCInterface) RemoveUseCase ¶
func (_m *CemEVSOCInterface) RemoveUseCase()
RemoveUseCase provides a mock function with given fields:
func (*CemEVSOCInterface) StateOfCharge ¶
func (_m *CemEVSOCInterface) StateOfCharge(entity spine_goapi.EntityRemoteInterface) (float64, error)
StateOfCharge provides a mock function with given fields: entity
func (*CemEVSOCInterface) UpdateUseCaseAvailability ¶
func (_m *CemEVSOCInterface) UpdateUseCaseAvailability(available bool)
UpdateUseCaseAvailability provides a mock function with given fields: available
type CemEVSOCInterface_AddFeatures_Call ¶
CemEVSOCInterface_AddFeatures_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddFeatures'
func (*CemEVSOCInterface_AddFeatures_Call) Return ¶
func (_c *CemEVSOCInterface_AddFeatures_Call) Return() *CemEVSOCInterface_AddFeatures_Call
func (*CemEVSOCInterface_AddFeatures_Call) Run ¶
func (_c *CemEVSOCInterface_AddFeatures_Call) Run(run func()) *CemEVSOCInterface_AddFeatures_Call
func (*CemEVSOCInterface_AddFeatures_Call) RunAndReturn ¶
func (_c *CemEVSOCInterface_AddFeatures_Call) RunAndReturn(run func()) *CemEVSOCInterface_AddFeatures_Call
type CemEVSOCInterface_AddUseCase_Call ¶
CemEVSOCInterface_AddUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddUseCase'
func (*CemEVSOCInterface_AddUseCase_Call) Return ¶
func (_c *CemEVSOCInterface_AddUseCase_Call) Return() *CemEVSOCInterface_AddUseCase_Call
func (*CemEVSOCInterface_AddUseCase_Call) Run ¶
func (_c *CemEVSOCInterface_AddUseCase_Call) Run(run func()) *CemEVSOCInterface_AddUseCase_Call
func (*CemEVSOCInterface_AddUseCase_Call) RunAndReturn ¶
func (_c *CemEVSOCInterface_AddUseCase_Call) RunAndReturn(run func()) *CemEVSOCInterface_AddUseCase_Call
type CemEVSOCInterface_AvailableScenariosForEntity_Call ¶
CemEVSOCInterface_AvailableScenariosForEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AvailableScenariosForEntity'
func (*CemEVSOCInterface_AvailableScenariosForEntity_Call) Return ¶
func (_c *CemEVSOCInterface_AvailableScenariosForEntity_Call) Return(_a0 []uint) *CemEVSOCInterface_AvailableScenariosForEntity_Call
func (*CemEVSOCInterface_AvailableScenariosForEntity_Call) Run ¶
func (_c *CemEVSOCInterface_AvailableScenariosForEntity_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemEVSOCInterface_AvailableScenariosForEntity_Call
func (*CemEVSOCInterface_AvailableScenariosForEntity_Call) RunAndReturn ¶
func (_c *CemEVSOCInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) []uint) *CemEVSOCInterface_AvailableScenariosForEntity_Call
type CemEVSOCInterface_Expecter ¶
type CemEVSOCInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*CemEVSOCInterface_Expecter) AddFeatures ¶
func (_e *CemEVSOCInterface_Expecter) AddFeatures() *CemEVSOCInterface_AddFeatures_Call
AddFeatures is a helper method to define mock.On call
func (*CemEVSOCInterface_Expecter) AddUseCase ¶
func (_e *CemEVSOCInterface_Expecter) AddUseCase() *CemEVSOCInterface_AddUseCase_Call
AddUseCase is a helper method to define mock.On call
func (*CemEVSOCInterface_Expecter) AvailableScenariosForEntity ¶
func (_e *CemEVSOCInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *CemEVSOCInterface_AvailableScenariosForEntity_Call
AvailableScenariosForEntity is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*CemEVSOCInterface_Expecter) IsCompatibleEntityType ¶
func (_e *CemEVSOCInterface_Expecter) IsCompatibleEntityType(entity interface{}) *CemEVSOCInterface_IsCompatibleEntityType_Call
IsCompatibleEntityType is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*CemEVSOCInterface_Expecter) IsScenarioAvailableAtEntity ¶
func (_e *CemEVSOCInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *CemEVSOCInterface_IsScenarioAvailableAtEntity_Call
IsScenarioAvailableAtEntity is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
- scenario uint
func (*CemEVSOCInterface_Expecter) RemoteEntitiesScenarios ¶
func (_e *CemEVSOCInterface_Expecter) RemoteEntitiesScenarios() *CemEVSOCInterface_RemoteEntitiesScenarios_Call
RemoteEntitiesScenarios is a helper method to define mock.On call
func (*CemEVSOCInterface_Expecter) RemoveUseCase ¶
func (_e *CemEVSOCInterface_Expecter) RemoveUseCase() *CemEVSOCInterface_RemoveUseCase_Call
RemoveUseCase is a helper method to define mock.On call
func (*CemEVSOCInterface_Expecter) StateOfCharge ¶
func (_e *CemEVSOCInterface_Expecter) StateOfCharge(entity interface{}) *CemEVSOCInterface_StateOfCharge_Call
StateOfCharge is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*CemEVSOCInterface_Expecter) UpdateUseCaseAvailability ¶
func (_e *CemEVSOCInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *CemEVSOCInterface_UpdateUseCaseAvailability_Call
UpdateUseCaseAvailability is a helper method to define mock.On call
- available bool
type CemEVSOCInterface_IsCompatibleEntityType_Call ¶
CemEVSOCInterface_IsCompatibleEntityType_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsCompatibleEntityType'
func (*CemEVSOCInterface_IsCompatibleEntityType_Call) Return ¶
func (_c *CemEVSOCInterface_IsCompatibleEntityType_Call) Return(_a0 bool) *CemEVSOCInterface_IsCompatibleEntityType_Call
func (*CemEVSOCInterface_IsCompatibleEntityType_Call) Run ¶
func (_c *CemEVSOCInterface_IsCompatibleEntityType_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemEVSOCInterface_IsCompatibleEntityType_Call
func (*CemEVSOCInterface_IsCompatibleEntityType_Call) RunAndReturn ¶
func (_c *CemEVSOCInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) bool) *CemEVSOCInterface_IsCompatibleEntityType_Call
type CemEVSOCInterface_IsScenarioAvailableAtEntity_Call ¶
CemEVSOCInterface_IsScenarioAvailableAtEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsScenarioAvailableAtEntity'
func (*CemEVSOCInterface_IsScenarioAvailableAtEntity_Call) Return ¶
func (_c *CemEVSOCInterface_IsScenarioAvailableAtEntity_Call) Return(_a0 bool) *CemEVSOCInterface_IsScenarioAvailableAtEntity_Call
func (*CemEVSOCInterface_IsScenarioAvailableAtEntity_Call) Run ¶
func (_c *CemEVSOCInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity spine_goapi.EntityRemoteInterface, scenario uint)) *CemEVSOCInterface_IsScenarioAvailableAtEntity_Call
func (*CemEVSOCInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn ¶
func (_c *CemEVSOCInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface, uint) bool) *CemEVSOCInterface_IsScenarioAvailableAtEntity_Call
type CemEVSOCInterface_RemoteEntitiesScenarios_Call ¶
CemEVSOCInterface_RemoteEntitiesScenarios_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoteEntitiesScenarios'
func (*CemEVSOCInterface_RemoteEntitiesScenarios_Call) Run ¶
func (_c *CemEVSOCInterface_RemoteEntitiesScenarios_Call) Run(run func()) *CemEVSOCInterface_RemoteEntitiesScenarios_Call
func (*CemEVSOCInterface_RemoteEntitiesScenarios_Call) RunAndReturn ¶
func (_c *CemEVSOCInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []eebus_goapi.RemoteEntityScenarios) *CemEVSOCInterface_RemoteEntitiesScenarios_Call
type CemEVSOCInterface_RemoveUseCase_Call ¶
CemEVSOCInterface_RemoveUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveUseCase'
func (*CemEVSOCInterface_RemoveUseCase_Call) Return ¶
func (_c *CemEVSOCInterface_RemoveUseCase_Call) Return() *CemEVSOCInterface_RemoveUseCase_Call
func (*CemEVSOCInterface_RemoveUseCase_Call) Run ¶
func (_c *CemEVSOCInterface_RemoveUseCase_Call) Run(run func()) *CemEVSOCInterface_RemoveUseCase_Call
func (*CemEVSOCInterface_RemoveUseCase_Call) RunAndReturn ¶
func (_c *CemEVSOCInterface_RemoveUseCase_Call) RunAndReturn(run func()) *CemEVSOCInterface_RemoveUseCase_Call
type CemEVSOCInterface_StateOfCharge_Call ¶
CemEVSOCInterface_StateOfCharge_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StateOfCharge'
func (*CemEVSOCInterface_StateOfCharge_Call) Return ¶
func (_c *CemEVSOCInterface_StateOfCharge_Call) Return(_a0 float64, _a1 error) *CemEVSOCInterface_StateOfCharge_Call
func (*CemEVSOCInterface_StateOfCharge_Call) Run ¶
func (_c *CemEVSOCInterface_StateOfCharge_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemEVSOCInterface_StateOfCharge_Call
func (*CemEVSOCInterface_StateOfCharge_Call) RunAndReturn ¶
func (_c *CemEVSOCInterface_StateOfCharge_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (float64, error)) *CemEVSOCInterface_StateOfCharge_Call
type CemEVSOCInterface_UpdateUseCaseAvailability_Call ¶
CemEVSOCInterface_UpdateUseCaseAvailability_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateUseCaseAvailability'
func (*CemEVSOCInterface_UpdateUseCaseAvailability_Call) Run ¶
func (_c *CemEVSOCInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *CemEVSOCInterface_UpdateUseCaseAvailability_Call
func (*CemEVSOCInterface_UpdateUseCaseAvailability_Call) RunAndReturn ¶
func (_c *CemEVSOCInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(bool)) *CemEVSOCInterface_UpdateUseCaseAvailability_Call
type CemOPEVInterface ¶
CemOPEVInterface is an autogenerated mock type for the CemOPEVInterface type
func NewCemOPEVInterface ¶
func NewCemOPEVInterface(t interface { mock.TestingT Cleanup(func()) }) *CemOPEVInterface
NewCemOPEVInterface creates a new instance of CemOPEVInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*CemOPEVInterface) AddFeatures ¶
func (_m *CemOPEVInterface) AddFeatures()
AddFeatures provides a mock function with given fields:
func (*CemOPEVInterface) AddUseCase ¶
func (_m *CemOPEVInterface) AddUseCase()
AddUseCase provides a mock function with given fields:
func (*CemOPEVInterface) AvailableScenariosForEntity ¶
func (_m *CemOPEVInterface) AvailableScenariosForEntity(entity spine_goapi.EntityRemoteInterface) []uint
AvailableScenariosForEntity provides a mock function with given fields: entity
func (*CemOPEVInterface) CurrentLimits ¶
func (_m *CemOPEVInterface) CurrentLimits(entity spine_goapi.EntityRemoteInterface) ([]float64, []float64, []float64, error)
CurrentLimits provides a mock function with given fields: entity
func (*CemOPEVInterface) EXPECT ¶
func (_m *CemOPEVInterface) EXPECT() *CemOPEVInterface_Expecter
func (*CemOPEVInterface) IsCompatibleEntityType ¶
func (_m *CemOPEVInterface) IsCompatibleEntityType(entity spine_goapi.EntityRemoteInterface) bool
IsCompatibleEntityType provides a mock function with given fields: entity
func (*CemOPEVInterface) IsScenarioAvailableAtEntity ¶
func (_m *CemOPEVInterface) IsScenarioAvailableAtEntity(entity spine_goapi.EntityRemoteInterface, scenario uint) bool
IsScenarioAvailableAtEntity provides a mock function with given fields: entity, scenario
func (*CemOPEVInterface) LoadControlLimits ¶
func (_m *CemOPEVInterface) LoadControlLimits(entity spine_goapi.EntityRemoteInterface) ([]api.LoadLimitsPhase, error)
LoadControlLimits provides a mock function with given fields: entity
func (*CemOPEVInterface) RemoteEntitiesScenarios ¶
func (_m *CemOPEVInterface) RemoteEntitiesScenarios() []eebus_goapi.RemoteEntityScenarios
RemoteEntitiesScenarios provides a mock function with given fields:
func (*CemOPEVInterface) RemoveUseCase ¶
func (_m *CemOPEVInterface) RemoveUseCase()
RemoveUseCase provides a mock function with given fields:
func (*CemOPEVInterface) UpdateUseCaseAvailability ¶
func (_m *CemOPEVInterface) UpdateUseCaseAvailability(available bool)
UpdateUseCaseAvailability provides a mock function with given fields: available
func (*CemOPEVInterface) WriteLoadControlLimits ¶
func (_m *CemOPEVInterface) WriteLoadControlLimits(entity spine_goapi.EntityRemoteInterface, limits []api.LoadLimitsPhase, resultCB func(model.ResultDataType)) (*model.MsgCounterType, error)
WriteLoadControlLimits provides a mock function with given fields: entity, limits, resultCB
type CemOPEVInterface_AddFeatures_Call ¶
CemOPEVInterface_AddFeatures_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddFeatures'
func (*CemOPEVInterface_AddFeatures_Call) Return ¶
func (_c *CemOPEVInterface_AddFeatures_Call) Return() *CemOPEVInterface_AddFeatures_Call
func (*CemOPEVInterface_AddFeatures_Call) Run ¶
func (_c *CemOPEVInterface_AddFeatures_Call) Run(run func()) *CemOPEVInterface_AddFeatures_Call
func (*CemOPEVInterface_AddFeatures_Call) RunAndReturn ¶
func (_c *CemOPEVInterface_AddFeatures_Call) RunAndReturn(run func()) *CemOPEVInterface_AddFeatures_Call
type CemOPEVInterface_AddUseCase_Call ¶
CemOPEVInterface_AddUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddUseCase'
func (*CemOPEVInterface_AddUseCase_Call) Return ¶
func (_c *CemOPEVInterface_AddUseCase_Call) Return() *CemOPEVInterface_AddUseCase_Call
func (*CemOPEVInterface_AddUseCase_Call) Run ¶
func (_c *CemOPEVInterface_AddUseCase_Call) Run(run func()) *CemOPEVInterface_AddUseCase_Call
func (*CemOPEVInterface_AddUseCase_Call) RunAndReturn ¶
func (_c *CemOPEVInterface_AddUseCase_Call) RunAndReturn(run func()) *CemOPEVInterface_AddUseCase_Call
type CemOPEVInterface_AvailableScenariosForEntity_Call ¶
CemOPEVInterface_AvailableScenariosForEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AvailableScenariosForEntity'
func (*CemOPEVInterface_AvailableScenariosForEntity_Call) Return ¶
func (_c *CemOPEVInterface_AvailableScenariosForEntity_Call) Return(_a0 []uint) *CemOPEVInterface_AvailableScenariosForEntity_Call
func (*CemOPEVInterface_AvailableScenariosForEntity_Call) Run ¶
func (_c *CemOPEVInterface_AvailableScenariosForEntity_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemOPEVInterface_AvailableScenariosForEntity_Call
func (*CemOPEVInterface_AvailableScenariosForEntity_Call) RunAndReturn ¶
func (_c *CemOPEVInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) []uint) *CemOPEVInterface_AvailableScenariosForEntity_Call
type CemOPEVInterface_CurrentLimits_Call ¶
CemOPEVInterface_CurrentLimits_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CurrentLimits'
func (*CemOPEVInterface_CurrentLimits_Call) Return ¶
func (_c *CemOPEVInterface_CurrentLimits_Call) Return(_a0 []float64, _a1 []float64, _a2 []float64, _a3 error) *CemOPEVInterface_CurrentLimits_Call
func (*CemOPEVInterface_CurrentLimits_Call) Run ¶
func (_c *CemOPEVInterface_CurrentLimits_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemOPEVInterface_CurrentLimits_Call
func (*CemOPEVInterface_CurrentLimits_Call) RunAndReturn ¶
func (_c *CemOPEVInterface_CurrentLimits_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) ([]float64, []float64, []float64, error)) *CemOPEVInterface_CurrentLimits_Call
type CemOPEVInterface_Expecter ¶
type CemOPEVInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*CemOPEVInterface_Expecter) AddFeatures ¶
func (_e *CemOPEVInterface_Expecter) AddFeatures() *CemOPEVInterface_AddFeatures_Call
AddFeatures is a helper method to define mock.On call
func (*CemOPEVInterface_Expecter) AddUseCase ¶
func (_e *CemOPEVInterface_Expecter) AddUseCase() *CemOPEVInterface_AddUseCase_Call
AddUseCase is a helper method to define mock.On call
func (*CemOPEVInterface_Expecter) AvailableScenariosForEntity ¶
func (_e *CemOPEVInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *CemOPEVInterface_AvailableScenariosForEntity_Call
AvailableScenariosForEntity is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*CemOPEVInterface_Expecter) CurrentLimits ¶
func (_e *CemOPEVInterface_Expecter) CurrentLimits(entity interface{}) *CemOPEVInterface_CurrentLimits_Call
CurrentLimits is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*CemOPEVInterface_Expecter) IsCompatibleEntityType ¶
func (_e *CemOPEVInterface_Expecter) IsCompatibleEntityType(entity interface{}) *CemOPEVInterface_IsCompatibleEntityType_Call
IsCompatibleEntityType is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*CemOPEVInterface_Expecter) IsScenarioAvailableAtEntity ¶
func (_e *CemOPEVInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *CemOPEVInterface_IsScenarioAvailableAtEntity_Call
IsScenarioAvailableAtEntity is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
- scenario uint
func (*CemOPEVInterface_Expecter) LoadControlLimits ¶
func (_e *CemOPEVInterface_Expecter) LoadControlLimits(entity interface{}) *CemOPEVInterface_LoadControlLimits_Call
LoadControlLimits is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*CemOPEVInterface_Expecter) RemoteEntitiesScenarios ¶
func (_e *CemOPEVInterface_Expecter) RemoteEntitiesScenarios() *CemOPEVInterface_RemoteEntitiesScenarios_Call
RemoteEntitiesScenarios is a helper method to define mock.On call
func (*CemOPEVInterface_Expecter) RemoveUseCase ¶
func (_e *CemOPEVInterface_Expecter) RemoveUseCase() *CemOPEVInterface_RemoveUseCase_Call
RemoveUseCase is a helper method to define mock.On call
func (*CemOPEVInterface_Expecter) UpdateUseCaseAvailability ¶
func (_e *CemOPEVInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *CemOPEVInterface_UpdateUseCaseAvailability_Call
UpdateUseCaseAvailability is a helper method to define mock.On call
- available bool
func (*CemOPEVInterface_Expecter) WriteLoadControlLimits ¶
func (_e *CemOPEVInterface_Expecter) WriteLoadControlLimits(entity interface{}, limits interface{}, resultCB interface{}) *CemOPEVInterface_WriteLoadControlLimits_Call
WriteLoadControlLimits is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
- limits []api.LoadLimitsPhase
- resultCB func(model.ResultDataType)
type CemOPEVInterface_IsCompatibleEntityType_Call ¶
CemOPEVInterface_IsCompatibleEntityType_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsCompatibleEntityType'
func (*CemOPEVInterface_IsCompatibleEntityType_Call) Return ¶
func (_c *CemOPEVInterface_IsCompatibleEntityType_Call) Return(_a0 bool) *CemOPEVInterface_IsCompatibleEntityType_Call
func (*CemOPEVInterface_IsCompatibleEntityType_Call) Run ¶
func (_c *CemOPEVInterface_IsCompatibleEntityType_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemOPEVInterface_IsCompatibleEntityType_Call
func (*CemOPEVInterface_IsCompatibleEntityType_Call) RunAndReturn ¶
func (_c *CemOPEVInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) bool) *CemOPEVInterface_IsCompatibleEntityType_Call
type CemOPEVInterface_IsScenarioAvailableAtEntity_Call ¶
CemOPEVInterface_IsScenarioAvailableAtEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsScenarioAvailableAtEntity'
func (*CemOPEVInterface_IsScenarioAvailableAtEntity_Call) Return ¶
func (_c *CemOPEVInterface_IsScenarioAvailableAtEntity_Call) Return(_a0 bool) *CemOPEVInterface_IsScenarioAvailableAtEntity_Call
func (*CemOPEVInterface_IsScenarioAvailableAtEntity_Call) Run ¶
func (_c *CemOPEVInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity spine_goapi.EntityRemoteInterface, scenario uint)) *CemOPEVInterface_IsScenarioAvailableAtEntity_Call
func (*CemOPEVInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn ¶
func (_c *CemOPEVInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface, uint) bool) *CemOPEVInterface_IsScenarioAvailableAtEntity_Call
type CemOPEVInterface_LoadControlLimits_Call ¶
CemOPEVInterface_LoadControlLimits_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LoadControlLimits'
func (*CemOPEVInterface_LoadControlLimits_Call) Return ¶
func (_c *CemOPEVInterface_LoadControlLimits_Call) Return(limits []api.LoadLimitsPhase, resultErr error) *CemOPEVInterface_LoadControlLimits_Call
func (*CemOPEVInterface_LoadControlLimits_Call) Run ¶
func (_c *CemOPEVInterface_LoadControlLimits_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemOPEVInterface_LoadControlLimits_Call
func (*CemOPEVInterface_LoadControlLimits_Call) RunAndReturn ¶
func (_c *CemOPEVInterface_LoadControlLimits_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) ([]api.LoadLimitsPhase, error)) *CemOPEVInterface_LoadControlLimits_Call
type CemOPEVInterface_RemoteEntitiesScenarios_Call ¶
CemOPEVInterface_RemoteEntitiesScenarios_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoteEntitiesScenarios'
func (*CemOPEVInterface_RemoteEntitiesScenarios_Call) Run ¶
func (_c *CemOPEVInterface_RemoteEntitiesScenarios_Call) Run(run func()) *CemOPEVInterface_RemoteEntitiesScenarios_Call
func (*CemOPEVInterface_RemoteEntitiesScenarios_Call) RunAndReturn ¶
func (_c *CemOPEVInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []eebus_goapi.RemoteEntityScenarios) *CemOPEVInterface_RemoteEntitiesScenarios_Call
type CemOPEVInterface_RemoveUseCase_Call ¶
CemOPEVInterface_RemoveUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveUseCase'
func (*CemOPEVInterface_RemoveUseCase_Call) Return ¶
func (_c *CemOPEVInterface_RemoveUseCase_Call) Return() *CemOPEVInterface_RemoveUseCase_Call
func (*CemOPEVInterface_RemoveUseCase_Call) Run ¶
func (_c *CemOPEVInterface_RemoveUseCase_Call) Run(run func()) *CemOPEVInterface_RemoveUseCase_Call
func (*CemOPEVInterface_RemoveUseCase_Call) RunAndReturn ¶
func (_c *CemOPEVInterface_RemoveUseCase_Call) RunAndReturn(run func()) *CemOPEVInterface_RemoveUseCase_Call
type CemOPEVInterface_UpdateUseCaseAvailability_Call ¶
CemOPEVInterface_UpdateUseCaseAvailability_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateUseCaseAvailability'
func (*CemOPEVInterface_UpdateUseCaseAvailability_Call) Run ¶
func (_c *CemOPEVInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *CemOPEVInterface_UpdateUseCaseAvailability_Call
func (*CemOPEVInterface_UpdateUseCaseAvailability_Call) RunAndReturn ¶
func (_c *CemOPEVInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(bool)) *CemOPEVInterface_UpdateUseCaseAvailability_Call
type CemOPEVInterface_WriteLoadControlLimits_Call ¶
CemOPEVInterface_WriteLoadControlLimits_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WriteLoadControlLimits'
func (*CemOPEVInterface_WriteLoadControlLimits_Call) Return ¶
func (_c *CemOPEVInterface_WriteLoadControlLimits_Call) Return(_a0 *model.MsgCounterType, _a1 error) *CemOPEVInterface_WriteLoadControlLimits_Call
func (*CemOPEVInterface_WriteLoadControlLimits_Call) Run ¶
func (_c *CemOPEVInterface_WriteLoadControlLimits_Call) Run(run func(entity spine_goapi.EntityRemoteInterface, limits []api.LoadLimitsPhase, resultCB func(model.ResultDataType))) *CemOPEVInterface_WriteLoadControlLimits_Call
func (*CemOPEVInterface_WriteLoadControlLimits_Call) RunAndReturn ¶
func (_c *CemOPEVInterface_WriteLoadControlLimits_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface, []api.LoadLimitsPhase, func(model.ResultDataType)) (*model.MsgCounterType, error)) *CemOPEVInterface_WriteLoadControlLimits_Call
type CemOSCEVInterface ¶
CemOSCEVInterface is an autogenerated mock type for the CemOSCEVInterface type
func NewCemOSCEVInterface ¶
func NewCemOSCEVInterface(t interface { mock.TestingT Cleanup(func()) }) *CemOSCEVInterface
NewCemOSCEVInterface creates a new instance of CemOSCEVInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*CemOSCEVInterface) AddFeatures ¶
func (_m *CemOSCEVInterface) AddFeatures()
AddFeatures provides a mock function with given fields:
func (*CemOSCEVInterface) AddUseCase ¶
func (_m *CemOSCEVInterface) AddUseCase()
AddUseCase provides a mock function with given fields:
func (*CemOSCEVInterface) AvailableScenariosForEntity ¶
func (_m *CemOSCEVInterface) AvailableScenariosForEntity(entity spine_goapi.EntityRemoteInterface) []uint
AvailableScenariosForEntity provides a mock function with given fields: entity
func (*CemOSCEVInterface) CurrentLimits ¶
func (_m *CemOSCEVInterface) CurrentLimits(entity spine_goapi.EntityRemoteInterface) ([]float64, []float64, []float64, error)
CurrentLimits provides a mock function with given fields: entity
func (*CemOSCEVInterface) EXPECT ¶
func (_m *CemOSCEVInterface) EXPECT() *CemOSCEVInterface_Expecter
func (*CemOSCEVInterface) IsCompatibleEntityType ¶
func (_m *CemOSCEVInterface) IsCompatibleEntityType(entity spine_goapi.EntityRemoteInterface) bool
IsCompatibleEntityType provides a mock function with given fields: entity
func (*CemOSCEVInterface) IsScenarioAvailableAtEntity ¶
func (_m *CemOSCEVInterface) IsScenarioAvailableAtEntity(entity spine_goapi.EntityRemoteInterface, scenario uint) bool
IsScenarioAvailableAtEntity provides a mock function with given fields: entity, scenario
func (*CemOSCEVInterface) LoadControlLimits ¶
func (_m *CemOSCEVInterface) LoadControlLimits(entity spine_goapi.EntityRemoteInterface) ([]api.LoadLimitsPhase, error)
LoadControlLimits provides a mock function with given fields: entity
func (*CemOSCEVInterface) RemoteEntitiesScenarios ¶
func (_m *CemOSCEVInterface) RemoteEntitiesScenarios() []eebus_goapi.RemoteEntityScenarios
RemoteEntitiesScenarios provides a mock function with given fields:
func (*CemOSCEVInterface) RemoveUseCase ¶
func (_m *CemOSCEVInterface) RemoveUseCase()
RemoveUseCase provides a mock function with given fields:
func (*CemOSCEVInterface) UpdateUseCaseAvailability ¶
func (_m *CemOSCEVInterface) UpdateUseCaseAvailability(available bool)
UpdateUseCaseAvailability provides a mock function with given fields: available
func (*CemOSCEVInterface) WriteLoadControlLimits ¶
func (_m *CemOSCEVInterface) WriteLoadControlLimits(entity spine_goapi.EntityRemoteInterface, limits []api.LoadLimitsPhase, resultCB func(model.ResultDataType)) (*model.MsgCounterType, error)
WriteLoadControlLimits provides a mock function with given fields: entity, limits, resultCB
type CemOSCEVInterface_AddFeatures_Call ¶
CemOSCEVInterface_AddFeatures_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddFeatures'
func (*CemOSCEVInterface_AddFeatures_Call) Return ¶
func (_c *CemOSCEVInterface_AddFeatures_Call) Return() *CemOSCEVInterface_AddFeatures_Call
func (*CemOSCEVInterface_AddFeatures_Call) Run ¶
func (_c *CemOSCEVInterface_AddFeatures_Call) Run(run func()) *CemOSCEVInterface_AddFeatures_Call
func (*CemOSCEVInterface_AddFeatures_Call) RunAndReturn ¶
func (_c *CemOSCEVInterface_AddFeatures_Call) RunAndReturn(run func()) *CemOSCEVInterface_AddFeatures_Call
type CemOSCEVInterface_AddUseCase_Call ¶
CemOSCEVInterface_AddUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddUseCase'
func (*CemOSCEVInterface_AddUseCase_Call) Return ¶
func (_c *CemOSCEVInterface_AddUseCase_Call) Return() *CemOSCEVInterface_AddUseCase_Call
func (*CemOSCEVInterface_AddUseCase_Call) Run ¶
func (_c *CemOSCEVInterface_AddUseCase_Call) Run(run func()) *CemOSCEVInterface_AddUseCase_Call
func (*CemOSCEVInterface_AddUseCase_Call) RunAndReturn ¶
func (_c *CemOSCEVInterface_AddUseCase_Call) RunAndReturn(run func()) *CemOSCEVInterface_AddUseCase_Call
type CemOSCEVInterface_AvailableScenariosForEntity_Call ¶
CemOSCEVInterface_AvailableScenariosForEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AvailableScenariosForEntity'
func (*CemOSCEVInterface_AvailableScenariosForEntity_Call) Return ¶
func (_c *CemOSCEVInterface_AvailableScenariosForEntity_Call) Return(_a0 []uint) *CemOSCEVInterface_AvailableScenariosForEntity_Call
func (*CemOSCEVInterface_AvailableScenariosForEntity_Call) Run ¶
func (_c *CemOSCEVInterface_AvailableScenariosForEntity_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemOSCEVInterface_AvailableScenariosForEntity_Call
func (*CemOSCEVInterface_AvailableScenariosForEntity_Call) RunAndReturn ¶
func (_c *CemOSCEVInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) []uint) *CemOSCEVInterface_AvailableScenariosForEntity_Call
type CemOSCEVInterface_CurrentLimits_Call ¶
CemOSCEVInterface_CurrentLimits_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CurrentLimits'
func (*CemOSCEVInterface_CurrentLimits_Call) Return ¶
func (_c *CemOSCEVInterface_CurrentLimits_Call) Return(_a0 []float64, _a1 []float64, _a2 []float64, _a3 error) *CemOSCEVInterface_CurrentLimits_Call
func (*CemOSCEVInterface_CurrentLimits_Call) Run ¶
func (_c *CemOSCEVInterface_CurrentLimits_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemOSCEVInterface_CurrentLimits_Call
func (*CemOSCEVInterface_CurrentLimits_Call) RunAndReturn ¶
func (_c *CemOSCEVInterface_CurrentLimits_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) ([]float64, []float64, []float64, error)) *CemOSCEVInterface_CurrentLimits_Call
type CemOSCEVInterface_Expecter ¶
type CemOSCEVInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*CemOSCEVInterface_Expecter) AddFeatures ¶
func (_e *CemOSCEVInterface_Expecter) AddFeatures() *CemOSCEVInterface_AddFeatures_Call
AddFeatures is a helper method to define mock.On call
func (*CemOSCEVInterface_Expecter) AddUseCase ¶
func (_e *CemOSCEVInterface_Expecter) AddUseCase() *CemOSCEVInterface_AddUseCase_Call
AddUseCase is a helper method to define mock.On call
func (*CemOSCEVInterface_Expecter) AvailableScenariosForEntity ¶
func (_e *CemOSCEVInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *CemOSCEVInterface_AvailableScenariosForEntity_Call
AvailableScenariosForEntity is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*CemOSCEVInterface_Expecter) CurrentLimits ¶
func (_e *CemOSCEVInterface_Expecter) CurrentLimits(entity interface{}) *CemOSCEVInterface_CurrentLimits_Call
CurrentLimits is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*CemOSCEVInterface_Expecter) IsCompatibleEntityType ¶
func (_e *CemOSCEVInterface_Expecter) IsCompatibleEntityType(entity interface{}) *CemOSCEVInterface_IsCompatibleEntityType_Call
IsCompatibleEntityType is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*CemOSCEVInterface_Expecter) IsScenarioAvailableAtEntity ¶
func (_e *CemOSCEVInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *CemOSCEVInterface_IsScenarioAvailableAtEntity_Call
IsScenarioAvailableAtEntity is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
- scenario uint
func (*CemOSCEVInterface_Expecter) LoadControlLimits ¶
func (_e *CemOSCEVInterface_Expecter) LoadControlLimits(entity interface{}) *CemOSCEVInterface_LoadControlLimits_Call
LoadControlLimits is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*CemOSCEVInterface_Expecter) RemoteEntitiesScenarios ¶
func (_e *CemOSCEVInterface_Expecter) RemoteEntitiesScenarios() *CemOSCEVInterface_RemoteEntitiesScenarios_Call
RemoteEntitiesScenarios is a helper method to define mock.On call
func (*CemOSCEVInterface_Expecter) RemoveUseCase ¶
func (_e *CemOSCEVInterface_Expecter) RemoveUseCase() *CemOSCEVInterface_RemoveUseCase_Call
RemoveUseCase is a helper method to define mock.On call
func (*CemOSCEVInterface_Expecter) UpdateUseCaseAvailability ¶
func (_e *CemOSCEVInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *CemOSCEVInterface_UpdateUseCaseAvailability_Call
UpdateUseCaseAvailability is a helper method to define mock.On call
- available bool
func (*CemOSCEVInterface_Expecter) WriteLoadControlLimits ¶
func (_e *CemOSCEVInterface_Expecter) WriteLoadControlLimits(entity interface{}, limits interface{}, resultCB interface{}) *CemOSCEVInterface_WriteLoadControlLimits_Call
WriteLoadControlLimits is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
- limits []api.LoadLimitsPhase
- resultCB func(model.ResultDataType)
type CemOSCEVInterface_IsCompatibleEntityType_Call ¶
CemOSCEVInterface_IsCompatibleEntityType_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsCompatibleEntityType'
func (*CemOSCEVInterface_IsCompatibleEntityType_Call) Return ¶
func (_c *CemOSCEVInterface_IsCompatibleEntityType_Call) Return(_a0 bool) *CemOSCEVInterface_IsCompatibleEntityType_Call
func (*CemOSCEVInterface_IsCompatibleEntityType_Call) Run ¶
func (_c *CemOSCEVInterface_IsCompatibleEntityType_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemOSCEVInterface_IsCompatibleEntityType_Call
func (*CemOSCEVInterface_IsCompatibleEntityType_Call) RunAndReturn ¶
func (_c *CemOSCEVInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) bool) *CemOSCEVInterface_IsCompatibleEntityType_Call
type CemOSCEVInterface_IsScenarioAvailableAtEntity_Call ¶
CemOSCEVInterface_IsScenarioAvailableAtEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsScenarioAvailableAtEntity'
func (*CemOSCEVInterface_IsScenarioAvailableAtEntity_Call) Return ¶
func (_c *CemOSCEVInterface_IsScenarioAvailableAtEntity_Call) Return(_a0 bool) *CemOSCEVInterface_IsScenarioAvailableAtEntity_Call
func (*CemOSCEVInterface_IsScenarioAvailableAtEntity_Call) Run ¶
func (_c *CemOSCEVInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity spine_goapi.EntityRemoteInterface, scenario uint)) *CemOSCEVInterface_IsScenarioAvailableAtEntity_Call
func (*CemOSCEVInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn ¶
func (_c *CemOSCEVInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface, uint) bool) *CemOSCEVInterface_IsScenarioAvailableAtEntity_Call
type CemOSCEVInterface_LoadControlLimits_Call ¶
CemOSCEVInterface_LoadControlLimits_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LoadControlLimits'
func (*CemOSCEVInterface_LoadControlLimits_Call) Return ¶
func (_c *CemOSCEVInterface_LoadControlLimits_Call) Return(limits []api.LoadLimitsPhase, resultErr error) *CemOSCEVInterface_LoadControlLimits_Call
func (*CemOSCEVInterface_LoadControlLimits_Call) Run ¶
func (_c *CemOSCEVInterface_LoadControlLimits_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemOSCEVInterface_LoadControlLimits_Call
func (*CemOSCEVInterface_LoadControlLimits_Call) RunAndReturn ¶
func (_c *CemOSCEVInterface_LoadControlLimits_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) ([]api.LoadLimitsPhase, error)) *CemOSCEVInterface_LoadControlLimits_Call
type CemOSCEVInterface_RemoteEntitiesScenarios_Call ¶
CemOSCEVInterface_RemoteEntitiesScenarios_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoteEntitiesScenarios'
func (*CemOSCEVInterface_RemoteEntitiesScenarios_Call) Run ¶
func (_c *CemOSCEVInterface_RemoteEntitiesScenarios_Call) Run(run func()) *CemOSCEVInterface_RemoteEntitiesScenarios_Call
func (*CemOSCEVInterface_RemoteEntitiesScenarios_Call) RunAndReturn ¶
func (_c *CemOSCEVInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []eebus_goapi.RemoteEntityScenarios) *CemOSCEVInterface_RemoteEntitiesScenarios_Call
type CemOSCEVInterface_RemoveUseCase_Call ¶
CemOSCEVInterface_RemoveUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveUseCase'
func (*CemOSCEVInterface_RemoveUseCase_Call) Return ¶
func (_c *CemOSCEVInterface_RemoveUseCase_Call) Return() *CemOSCEVInterface_RemoveUseCase_Call
func (*CemOSCEVInterface_RemoveUseCase_Call) Run ¶
func (_c *CemOSCEVInterface_RemoveUseCase_Call) Run(run func()) *CemOSCEVInterface_RemoveUseCase_Call
func (*CemOSCEVInterface_RemoveUseCase_Call) RunAndReturn ¶
func (_c *CemOSCEVInterface_RemoveUseCase_Call) RunAndReturn(run func()) *CemOSCEVInterface_RemoveUseCase_Call
type CemOSCEVInterface_UpdateUseCaseAvailability_Call ¶
CemOSCEVInterface_UpdateUseCaseAvailability_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateUseCaseAvailability'
func (*CemOSCEVInterface_UpdateUseCaseAvailability_Call) Run ¶
func (_c *CemOSCEVInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *CemOSCEVInterface_UpdateUseCaseAvailability_Call
func (*CemOSCEVInterface_UpdateUseCaseAvailability_Call) RunAndReturn ¶
func (_c *CemOSCEVInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(bool)) *CemOSCEVInterface_UpdateUseCaseAvailability_Call
type CemOSCEVInterface_WriteLoadControlLimits_Call ¶
CemOSCEVInterface_WriteLoadControlLimits_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WriteLoadControlLimits'
func (*CemOSCEVInterface_WriteLoadControlLimits_Call) Return ¶
func (_c *CemOSCEVInterface_WriteLoadControlLimits_Call) Return(_a0 *model.MsgCounterType, _a1 error) *CemOSCEVInterface_WriteLoadControlLimits_Call
func (*CemOSCEVInterface_WriteLoadControlLimits_Call) Run ¶
func (_c *CemOSCEVInterface_WriteLoadControlLimits_Call) Run(run func(entity spine_goapi.EntityRemoteInterface, limits []api.LoadLimitsPhase, resultCB func(model.ResultDataType))) *CemOSCEVInterface_WriteLoadControlLimits_Call
func (*CemOSCEVInterface_WriteLoadControlLimits_Call) RunAndReturn ¶
func (_c *CemOSCEVInterface_WriteLoadControlLimits_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface, []api.LoadLimitsPhase, func(model.ResultDataType)) (*model.MsgCounterType, error)) *CemOSCEVInterface_WriteLoadControlLimits_Call
type CemVABDInterface ¶
CemVABDInterface is an autogenerated mock type for the CemVABDInterface type
func NewCemVABDInterface ¶
func NewCemVABDInterface(t interface { mock.TestingT Cleanup(func()) }) *CemVABDInterface
NewCemVABDInterface creates a new instance of CemVABDInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*CemVABDInterface) AddFeatures ¶
func (_m *CemVABDInterface) AddFeatures()
AddFeatures provides a mock function with given fields:
func (*CemVABDInterface) AddUseCase ¶
func (_m *CemVABDInterface) AddUseCase()
AddUseCase provides a mock function with given fields:
func (*CemVABDInterface) AvailableScenariosForEntity ¶
func (_m *CemVABDInterface) AvailableScenariosForEntity(entity spine_goapi.EntityRemoteInterface) []uint
AvailableScenariosForEntity provides a mock function with given fields: entity
func (*CemVABDInterface) EXPECT ¶
func (_m *CemVABDInterface) EXPECT() *CemVABDInterface_Expecter
func (*CemVABDInterface) EnergyCharged ¶
func (_m *CemVABDInterface) EnergyCharged(entity spine_goapi.EntityRemoteInterface) (float64, error)
EnergyCharged provides a mock function with given fields: entity
func (*CemVABDInterface) EnergyDischarged ¶
func (_m *CemVABDInterface) EnergyDischarged(entity spine_goapi.EntityRemoteInterface) (float64, error)
EnergyDischarged provides a mock function with given fields: entity
func (*CemVABDInterface) IsCompatibleEntityType ¶
func (_m *CemVABDInterface) IsCompatibleEntityType(entity spine_goapi.EntityRemoteInterface) bool
IsCompatibleEntityType provides a mock function with given fields: entity
func (*CemVABDInterface) IsScenarioAvailableAtEntity ¶
func (_m *CemVABDInterface) IsScenarioAvailableAtEntity(entity spine_goapi.EntityRemoteInterface, scenario uint) bool
IsScenarioAvailableAtEntity provides a mock function with given fields: entity, scenario
func (*CemVABDInterface) Power ¶
func (_m *CemVABDInterface) Power(entity spine_goapi.EntityRemoteInterface) (float64, error)
Power provides a mock function with given fields: entity
func (*CemVABDInterface) RemoteEntitiesScenarios ¶
func (_m *CemVABDInterface) RemoteEntitiesScenarios() []eebus_goapi.RemoteEntityScenarios
RemoteEntitiesScenarios provides a mock function with given fields:
func (*CemVABDInterface) RemoveUseCase ¶
func (_m *CemVABDInterface) RemoveUseCase()
RemoveUseCase provides a mock function with given fields:
func (*CemVABDInterface) StateOfCharge ¶
func (_m *CemVABDInterface) StateOfCharge(entity spine_goapi.EntityRemoteInterface) (float64, error)
StateOfCharge provides a mock function with given fields: entity
func (*CemVABDInterface) UpdateUseCaseAvailability ¶
func (_m *CemVABDInterface) UpdateUseCaseAvailability(available bool)
UpdateUseCaseAvailability provides a mock function with given fields: available
type CemVABDInterface_AddFeatures_Call ¶
CemVABDInterface_AddFeatures_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddFeatures'
func (*CemVABDInterface_AddFeatures_Call) Return ¶
func (_c *CemVABDInterface_AddFeatures_Call) Return() *CemVABDInterface_AddFeatures_Call
func (*CemVABDInterface_AddFeatures_Call) Run ¶
func (_c *CemVABDInterface_AddFeatures_Call) Run(run func()) *CemVABDInterface_AddFeatures_Call
func (*CemVABDInterface_AddFeatures_Call) RunAndReturn ¶
func (_c *CemVABDInterface_AddFeatures_Call) RunAndReturn(run func()) *CemVABDInterface_AddFeatures_Call
type CemVABDInterface_AddUseCase_Call ¶
CemVABDInterface_AddUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddUseCase'
func (*CemVABDInterface_AddUseCase_Call) Return ¶
func (_c *CemVABDInterface_AddUseCase_Call) Return() *CemVABDInterface_AddUseCase_Call
func (*CemVABDInterface_AddUseCase_Call) Run ¶
func (_c *CemVABDInterface_AddUseCase_Call) Run(run func()) *CemVABDInterface_AddUseCase_Call
func (*CemVABDInterface_AddUseCase_Call) RunAndReturn ¶
func (_c *CemVABDInterface_AddUseCase_Call) RunAndReturn(run func()) *CemVABDInterface_AddUseCase_Call
type CemVABDInterface_AvailableScenariosForEntity_Call ¶
CemVABDInterface_AvailableScenariosForEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AvailableScenariosForEntity'
func (*CemVABDInterface_AvailableScenariosForEntity_Call) Return ¶
func (_c *CemVABDInterface_AvailableScenariosForEntity_Call) Return(_a0 []uint) *CemVABDInterface_AvailableScenariosForEntity_Call
func (*CemVABDInterface_AvailableScenariosForEntity_Call) Run ¶
func (_c *CemVABDInterface_AvailableScenariosForEntity_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemVABDInterface_AvailableScenariosForEntity_Call
func (*CemVABDInterface_AvailableScenariosForEntity_Call) RunAndReturn ¶
func (_c *CemVABDInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) []uint) *CemVABDInterface_AvailableScenariosForEntity_Call
type CemVABDInterface_EnergyCharged_Call ¶
CemVABDInterface_EnergyCharged_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EnergyCharged'
func (*CemVABDInterface_EnergyCharged_Call) Return ¶
func (_c *CemVABDInterface_EnergyCharged_Call) Return(_a0 float64, _a1 error) *CemVABDInterface_EnergyCharged_Call
func (*CemVABDInterface_EnergyCharged_Call) Run ¶
func (_c *CemVABDInterface_EnergyCharged_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemVABDInterface_EnergyCharged_Call
func (*CemVABDInterface_EnergyCharged_Call) RunAndReturn ¶
func (_c *CemVABDInterface_EnergyCharged_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (float64, error)) *CemVABDInterface_EnergyCharged_Call
type CemVABDInterface_EnergyDischarged_Call ¶
CemVABDInterface_EnergyDischarged_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EnergyDischarged'
func (*CemVABDInterface_EnergyDischarged_Call) Return ¶
func (_c *CemVABDInterface_EnergyDischarged_Call) Return(_a0 float64, _a1 error) *CemVABDInterface_EnergyDischarged_Call
func (*CemVABDInterface_EnergyDischarged_Call) Run ¶
func (_c *CemVABDInterface_EnergyDischarged_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemVABDInterface_EnergyDischarged_Call
func (*CemVABDInterface_EnergyDischarged_Call) RunAndReturn ¶
func (_c *CemVABDInterface_EnergyDischarged_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (float64, error)) *CemVABDInterface_EnergyDischarged_Call
type CemVABDInterface_Expecter ¶
type CemVABDInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*CemVABDInterface_Expecter) AddFeatures ¶
func (_e *CemVABDInterface_Expecter) AddFeatures() *CemVABDInterface_AddFeatures_Call
AddFeatures is a helper method to define mock.On call
func (*CemVABDInterface_Expecter) AddUseCase ¶
func (_e *CemVABDInterface_Expecter) AddUseCase() *CemVABDInterface_AddUseCase_Call
AddUseCase is a helper method to define mock.On call
func (*CemVABDInterface_Expecter) AvailableScenariosForEntity ¶
func (_e *CemVABDInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *CemVABDInterface_AvailableScenariosForEntity_Call
AvailableScenariosForEntity is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*CemVABDInterface_Expecter) EnergyCharged ¶
func (_e *CemVABDInterface_Expecter) EnergyCharged(entity interface{}) *CemVABDInterface_EnergyCharged_Call
EnergyCharged is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*CemVABDInterface_Expecter) EnergyDischarged ¶
func (_e *CemVABDInterface_Expecter) EnergyDischarged(entity interface{}) *CemVABDInterface_EnergyDischarged_Call
EnergyDischarged is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*CemVABDInterface_Expecter) IsCompatibleEntityType ¶
func (_e *CemVABDInterface_Expecter) IsCompatibleEntityType(entity interface{}) *CemVABDInterface_IsCompatibleEntityType_Call
IsCompatibleEntityType is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*CemVABDInterface_Expecter) IsScenarioAvailableAtEntity ¶
func (_e *CemVABDInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *CemVABDInterface_IsScenarioAvailableAtEntity_Call
IsScenarioAvailableAtEntity is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
- scenario uint
func (*CemVABDInterface_Expecter) Power ¶
func (_e *CemVABDInterface_Expecter) Power(entity interface{}) *CemVABDInterface_Power_Call
Power is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*CemVABDInterface_Expecter) RemoteEntitiesScenarios ¶
func (_e *CemVABDInterface_Expecter) RemoteEntitiesScenarios() *CemVABDInterface_RemoteEntitiesScenarios_Call
RemoteEntitiesScenarios is a helper method to define mock.On call
func (*CemVABDInterface_Expecter) RemoveUseCase ¶
func (_e *CemVABDInterface_Expecter) RemoveUseCase() *CemVABDInterface_RemoveUseCase_Call
RemoveUseCase is a helper method to define mock.On call
func (*CemVABDInterface_Expecter) StateOfCharge ¶
func (_e *CemVABDInterface_Expecter) StateOfCharge(entity interface{}) *CemVABDInterface_StateOfCharge_Call
StateOfCharge is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*CemVABDInterface_Expecter) UpdateUseCaseAvailability ¶
func (_e *CemVABDInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *CemVABDInterface_UpdateUseCaseAvailability_Call
UpdateUseCaseAvailability is a helper method to define mock.On call
- available bool
type CemVABDInterface_IsCompatibleEntityType_Call ¶
CemVABDInterface_IsCompatibleEntityType_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsCompatibleEntityType'
func (*CemVABDInterface_IsCompatibleEntityType_Call) Return ¶
func (_c *CemVABDInterface_IsCompatibleEntityType_Call) Return(_a0 bool) *CemVABDInterface_IsCompatibleEntityType_Call
func (*CemVABDInterface_IsCompatibleEntityType_Call) Run ¶
func (_c *CemVABDInterface_IsCompatibleEntityType_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemVABDInterface_IsCompatibleEntityType_Call
func (*CemVABDInterface_IsCompatibleEntityType_Call) RunAndReturn ¶
func (_c *CemVABDInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) bool) *CemVABDInterface_IsCompatibleEntityType_Call
type CemVABDInterface_IsScenarioAvailableAtEntity_Call ¶
CemVABDInterface_IsScenarioAvailableAtEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsScenarioAvailableAtEntity'
func (*CemVABDInterface_IsScenarioAvailableAtEntity_Call) Return ¶
func (_c *CemVABDInterface_IsScenarioAvailableAtEntity_Call) Return(_a0 bool) *CemVABDInterface_IsScenarioAvailableAtEntity_Call
func (*CemVABDInterface_IsScenarioAvailableAtEntity_Call) Run ¶
func (_c *CemVABDInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity spine_goapi.EntityRemoteInterface, scenario uint)) *CemVABDInterface_IsScenarioAvailableAtEntity_Call
func (*CemVABDInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn ¶
func (_c *CemVABDInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface, uint) bool) *CemVABDInterface_IsScenarioAvailableAtEntity_Call
type CemVABDInterface_Power_Call ¶
CemVABDInterface_Power_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Power'
func (*CemVABDInterface_Power_Call) Return ¶
func (_c *CemVABDInterface_Power_Call) Return(_a0 float64, _a1 error) *CemVABDInterface_Power_Call
func (*CemVABDInterface_Power_Call) Run ¶
func (_c *CemVABDInterface_Power_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemVABDInterface_Power_Call
func (*CemVABDInterface_Power_Call) RunAndReturn ¶
func (_c *CemVABDInterface_Power_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (float64, error)) *CemVABDInterface_Power_Call
type CemVABDInterface_RemoteEntitiesScenarios_Call ¶
CemVABDInterface_RemoteEntitiesScenarios_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoteEntitiesScenarios'
func (*CemVABDInterface_RemoteEntitiesScenarios_Call) Run ¶
func (_c *CemVABDInterface_RemoteEntitiesScenarios_Call) Run(run func()) *CemVABDInterface_RemoteEntitiesScenarios_Call
func (*CemVABDInterface_RemoteEntitiesScenarios_Call) RunAndReturn ¶
func (_c *CemVABDInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []eebus_goapi.RemoteEntityScenarios) *CemVABDInterface_RemoteEntitiesScenarios_Call
type CemVABDInterface_RemoveUseCase_Call ¶
CemVABDInterface_RemoveUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveUseCase'
func (*CemVABDInterface_RemoveUseCase_Call) Return ¶
func (_c *CemVABDInterface_RemoveUseCase_Call) Return() *CemVABDInterface_RemoveUseCase_Call
func (*CemVABDInterface_RemoveUseCase_Call) Run ¶
func (_c *CemVABDInterface_RemoveUseCase_Call) Run(run func()) *CemVABDInterface_RemoveUseCase_Call
func (*CemVABDInterface_RemoveUseCase_Call) RunAndReturn ¶
func (_c *CemVABDInterface_RemoveUseCase_Call) RunAndReturn(run func()) *CemVABDInterface_RemoveUseCase_Call
type CemVABDInterface_StateOfCharge_Call ¶
CemVABDInterface_StateOfCharge_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StateOfCharge'
func (*CemVABDInterface_StateOfCharge_Call) Return ¶
func (_c *CemVABDInterface_StateOfCharge_Call) Return(_a0 float64, _a1 error) *CemVABDInterface_StateOfCharge_Call
func (*CemVABDInterface_StateOfCharge_Call) Run ¶
func (_c *CemVABDInterface_StateOfCharge_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemVABDInterface_StateOfCharge_Call
func (*CemVABDInterface_StateOfCharge_Call) RunAndReturn ¶
func (_c *CemVABDInterface_StateOfCharge_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (float64, error)) *CemVABDInterface_StateOfCharge_Call
type CemVABDInterface_UpdateUseCaseAvailability_Call ¶
CemVABDInterface_UpdateUseCaseAvailability_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateUseCaseAvailability'
func (*CemVABDInterface_UpdateUseCaseAvailability_Call) Run ¶
func (_c *CemVABDInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *CemVABDInterface_UpdateUseCaseAvailability_Call
func (*CemVABDInterface_UpdateUseCaseAvailability_Call) RunAndReturn ¶
func (_c *CemVABDInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(bool)) *CemVABDInterface_UpdateUseCaseAvailability_Call
type CemVAPDInterface ¶
CemVAPDInterface is an autogenerated mock type for the CemVAPDInterface type
func NewCemVAPDInterface ¶
func NewCemVAPDInterface(t interface { mock.TestingT Cleanup(func()) }) *CemVAPDInterface
NewCemVAPDInterface creates a new instance of CemVAPDInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*CemVAPDInterface) AddFeatures ¶
func (_m *CemVAPDInterface) AddFeatures()
AddFeatures provides a mock function with given fields:
func (*CemVAPDInterface) AddUseCase ¶
func (_m *CemVAPDInterface) AddUseCase()
AddUseCase provides a mock function with given fields:
func (*CemVAPDInterface) AvailableScenariosForEntity ¶
func (_m *CemVAPDInterface) AvailableScenariosForEntity(entity spine_goapi.EntityRemoteInterface) []uint
AvailableScenariosForEntity provides a mock function with given fields: entity
func (*CemVAPDInterface) EXPECT ¶
func (_m *CemVAPDInterface) EXPECT() *CemVAPDInterface_Expecter
func (*CemVAPDInterface) IsCompatibleEntityType ¶
func (_m *CemVAPDInterface) IsCompatibleEntityType(entity spine_goapi.EntityRemoteInterface) bool
IsCompatibleEntityType provides a mock function with given fields: entity
func (*CemVAPDInterface) IsScenarioAvailableAtEntity ¶
func (_m *CemVAPDInterface) IsScenarioAvailableAtEntity(entity spine_goapi.EntityRemoteInterface, scenario uint) bool
IsScenarioAvailableAtEntity provides a mock function with given fields: entity, scenario
func (*CemVAPDInterface) PVYieldTotal ¶
func (_m *CemVAPDInterface) PVYieldTotal(entity spine_goapi.EntityRemoteInterface) (float64, error)
PVYieldTotal provides a mock function with given fields: entity
func (*CemVAPDInterface) Power ¶
func (_m *CemVAPDInterface) Power(entity spine_goapi.EntityRemoteInterface) (float64, error)
Power provides a mock function with given fields: entity
func (*CemVAPDInterface) PowerNominalPeak ¶
func (_m *CemVAPDInterface) PowerNominalPeak(entity spine_goapi.EntityRemoteInterface) (float64, error)
PowerNominalPeak provides a mock function with given fields: entity
func (*CemVAPDInterface) RemoteEntitiesScenarios ¶
func (_m *CemVAPDInterface) RemoteEntitiesScenarios() []eebus_goapi.RemoteEntityScenarios
RemoteEntitiesScenarios provides a mock function with given fields:
func (*CemVAPDInterface) RemoveUseCase ¶
func (_m *CemVAPDInterface) RemoveUseCase()
RemoveUseCase provides a mock function with given fields:
func (*CemVAPDInterface) UpdateUseCaseAvailability ¶
func (_m *CemVAPDInterface) UpdateUseCaseAvailability(available bool)
UpdateUseCaseAvailability provides a mock function with given fields: available
type CemVAPDInterface_AddFeatures_Call ¶
CemVAPDInterface_AddFeatures_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddFeatures'
func (*CemVAPDInterface_AddFeatures_Call) Return ¶
func (_c *CemVAPDInterface_AddFeatures_Call) Return() *CemVAPDInterface_AddFeatures_Call
func (*CemVAPDInterface_AddFeatures_Call) Run ¶
func (_c *CemVAPDInterface_AddFeatures_Call) Run(run func()) *CemVAPDInterface_AddFeatures_Call
func (*CemVAPDInterface_AddFeatures_Call) RunAndReturn ¶
func (_c *CemVAPDInterface_AddFeatures_Call) RunAndReturn(run func()) *CemVAPDInterface_AddFeatures_Call
type CemVAPDInterface_AddUseCase_Call ¶
CemVAPDInterface_AddUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddUseCase'
func (*CemVAPDInterface_AddUseCase_Call) Return ¶
func (_c *CemVAPDInterface_AddUseCase_Call) Return() *CemVAPDInterface_AddUseCase_Call
func (*CemVAPDInterface_AddUseCase_Call) Run ¶
func (_c *CemVAPDInterface_AddUseCase_Call) Run(run func()) *CemVAPDInterface_AddUseCase_Call
func (*CemVAPDInterface_AddUseCase_Call) RunAndReturn ¶
func (_c *CemVAPDInterface_AddUseCase_Call) RunAndReturn(run func()) *CemVAPDInterface_AddUseCase_Call
type CemVAPDInterface_AvailableScenariosForEntity_Call ¶
CemVAPDInterface_AvailableScenariosForEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AvailableScenariosForEntity'
func (*CemVAPDInterface_AvailableScenariosForEntity_Call) Return ¶
func (_c *CemVAPDInterface_AvailableScenariosForEntity_Call) Return(_a0 []uint) *CemVAPDInterface_AvailableScenariosForEntity_Call
func (*CemVAPDInterface_AvailableScenariosForEntity_Call) Run ¶
func (_c *CemVAPDInterface_AvailableScenariosForEntity_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemVAPDInterface_AvailableScenariosForEntity_Call
func (*CemVAPDInterface_AvailableScenariosForEntity_Call) RunAndReturn ¶
func (_c *CemVAPDInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) []uint) *CemVAPDInterface_AvailableScenariosForEntity_Call
type CemVAPDInterface_Expecter ¶
type CemVAPDInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*CemVAPDInterface_Expecter) AddFeatures ¶
func (_e *CemVAPDInterface_Expecter) AddFeatures() *CemVAPDInterface_AddFeatures_Call
AddFeatures is a helper method to define mock.On call
func (*CemVAPDInterface_Expecter) AddUseCase ¶
func (_e *CemVAPDInterface_Expecter) AddUseCase() *CemVAPDInterface_AddUseCase_Call
AddUseCase is a helper method to define mock.On call
func (*CemVAPDInterface_Expecter) AvailableScenariosForEntity ¶
func (_e *CemVAPDInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *CemVAPDInterface_AvailableScenariosForEntity_Call
AvailableScenariosForEntity is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*CemVAPDInterface_Expecter) IsCompatibleEntityType ¶
func (_e *CemVAPDInterface_Expecter) IsCompatibleEntityType(entity interface{}) *CemVAPDInterface_IsCompatibleEntityType_Call
IsCompatibleEntityType is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*CemVAPDInterface_Expecter) IsScenarioAvailableAtEntity ¶
func (_e *CemVAPDInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *CemVAPDInterface_IsScenarioAvailableAtEntity_Call
IsScenarioAvailableAtEntity is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
- scenario uint
func (*CemVAPDInterface_Expecter) PVYieldTotal ¶
func (_e *CemVAPDInterface_Expecter) PVYieldTotal(entity interface{}) *CemVAPDInterface_PVYieldTotal_Call
PVYieldTotal is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*CemVAPDInterface_Expecter) Power ¶
func (_e *CemVAPDInterface_Expecter) Power(entity interface{}) *CemVAPDInterface_Power_Call
Power is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*CemVAPDInterface_Expecter) PowerNominalPeak ¶
func (_e *CemVAPDInterface_Expecter) PowerNominalPeak(entity interface{}) *CemVAPDInterface_PowerNominalPeak_Call
PowerNominalPeak is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*CemVAPDInterface_Expecter) RemoteEntitiesScenarios ¶
func (_e *CemVAPDInterface_Expecter) RemoteEntitiesScenarios() *CemVAPDInterface_RemoteEntitiesScenarios_Call
RemoteEntitiesScenarios is a helper method to define mock.On call
func (*CemVAPDInterface_Expecter) RemoveUseCase ¶
func (_e *CemVAPDInterface_Expecter) RemoveUseCase() *CemVAPDInterface_RemoveUseCase_Call
RemoveUseCase is a helper method to define mock.On call
func (*CemVAPDInterface_Expecter) UpdateUseCaseAvailability ¶
func (_e *CemVAPDInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *CemVAPDInterface_UpdateUseCaseAvailability_Call
UpdateUseCaseAvailability is a helper method to define mock.On call
- available bool
type CemVAPDInterface_IsCompatibleEntityType_Call ¶
CemVAPDInterface_IsCompatibleEntityType_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsCompatibleEntityType'
func (*CemVAPDInterface_IsCompatibleEntityType_Call) Return ¶
func (_c *CemVAPDInterface_IsCompatibleEntityType_Call) Return(_a0 bool) *CemVAPDInterface_IsCompatibleEntityType_Call
func (*CemVAPDInterface_IsCompatibleEntityType_Call) Run ¶
func (_c *CemVAPDInterface_IsCompatibleEntityType_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemVAPDInterface_IsCompatibleEntityType_Call
func (*CemVAPDInterface_IsCompatibleEntityType_Call) RunAndReturn ¶
func (_c *CemVAPDInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) bool) *CemVAPDInterface_IsCompatibleEntityType_Call
type CemVAPDInterface_IsScenarioAvailableAtEntity_Call ¶
CemVAPDInterface_IsScenarioAvailableAtEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsScenarioAvailableAtEntity'
func (*CemVAPDInterface_IsScenarioAvailableAtEntity_Call) Return ¶
func (_c *CemVAPDInterface_IsScenarioAvailableAtEntity_Call) Return(_a0 bool) *CemVAPDInterface_IsScenarioAvailableAtEntity_Call
func (*CemVAPDInterface_IsScenarioAvailableAtEntity_Call) Run ¶
func (_c *CemVAPDInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity spine_goapi.EntityRemoteInterface, scenario uint)) *CemVAPDInterface_IsScenarioAvailableAtEntity_Call
func (*CemVAPDInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn ¶
func (_c *CemVAPDInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface, uint) bool) *CemVAPDInterface_IsScenarioAvailableAtEntity_Call
type CemVAPDInterface_PVYieldTotal_Call ¶
CemVAPDInterface_PVYieldTotal_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PVYieldTotal'
func (*CemVAPDInterface_PVYieldTotal_Call) Return ¶
func (_c *CemVAPDInterface_PVYieldTotal_Call) Return(_a0 float64, _a1 error) *CemVAPDInterface_PVYieldTotal_Call
func (*CemVAPDInterface_PVYieldTotal_Call) Run ¶
func (_c *CemVAPDInterface_PVYieldTotal_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemVAPDInterface_PVYieldTotal_Call
func (*CemVAPDInterface_PVYieldTotal_Call) RunAndReturn ¶
func (_c *CemVAPDInterface_PVYieldTotal_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (float64, error)) *CemVAPDInterface_PVYieldTotal_Call
type CemVAPDInterface_PowerNominalPeak_Call ¶
CemVAPDInterface_PowerNominalPeak_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PowerNominalPeak'
func (*CemVAPDInterface_PowerNominalPeak_Call) Return ¶
func (_c *CemVAPDInterface_PowerNominalPeak_Call) Return(_a0 float64, _a1 error) *CemVAPDInterface_PowerNominalPeak_Call
func (*CemVAPDInterface_PowerNominalPeak_Call) Run ¶
func (_c *CemVAPDInterface_PowerNominalPeak_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemVAPDInterface_PowerNominalPeak_Call
func (*CemVAPDInterface_PowerNominalPeak_Call) RunAndReturn ¶
func (_c *CemVAPDInterface_PowerNominalPeak_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (float64, error)) *CemVAPDInterface_PowerNominalPeak_Call
type CemVAPDInterface_Power_Call ¶
CemVAPDInterface_Power_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Power'
func (*CemVAPDInterface_Power_Call) Return ¶
func (_c *CemVAPDInterface_Power_Call) Return(_a0 float64, _a1 error) *CemVAPDInterface_Power_Call
func (*CemVAPDInterface_Power_Call) Run ¶
func (_c *CemVAPDInterface_Power_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CemVAPDInterface_Power_Call
func (*CemVAPDInterface_Power_Call) RunAndReturn ¶
func (_c *CemVAPDInterface_Power_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (float64, error)) *CemVAPDInterface_Power_Call
type CemVAPDInterface_RemoteEntitiesScenarios_Call ¶
CemVAPDInterface_RemoteEntitiesScenarios_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoteEntitiesScenarios'
func (*CemVAPDInterface_RemoteEntitiesScenarios_Call) Run ¶
func (_c *CemVAPDInterface_RemoteEntitiesScenarios_Call) Run(run func()) *CemVAPDInterface_RemoteEntitiesScenarios_Call
func (*CemVAPDInterface_RemoteEntitiesScenarios_Call) RunAndReturn ¶
func (_c *CemVAPDInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []eebus_goapi.RemoteEntityScenarios) *CemVAPDInterface_RemoteEntitiesScenarios_Call
type CemVAPDInterface_RemoveUseCase_Call ¶
CemVAPDInterface_RemoveUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveUseCase'
func (*CemVAPDInterface_RemoveUseCase_Call) Return ¶
func (_c *CemVAPDInterface_RemoveUseCase_Call) Return() *CemVAPDInterface_RemoveUseCase_Call
func (*CemVAPDInterface_RemoveUseCase_Call) Run ¶
func (_c *CemVAPDInterface_RemoveUseCase_Call) Run(run func()) *CemVAPDInterface_RemoveUseCase_Call
func (*CemVAPDInterface_RemoveUseCase_Call) RunAndReturn ¶
func (_c *CemVAPDInterface_RemoveUseCase_Call) RunAndReturn(run func()) *CemVAPDInterface_RemoveUseCase_Call
type CemVAPDInterface_UpdateUseCaseAvailability_Call ¶
CemVAPDInterface_UpdateUseCaseAvailability_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateUseCaseAvailability'
func (*CemVAPDInterface_UpdateUseCaseAvailability_Call) Run ¶
func (_c *CemVAPDInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *CemVAPDInterface_UpdateUseCaseAvailability_Call
func (*CemVAPDInterface_UpdateUseCaseAvailability_Call) RunAndReturn ¶
func (_c *CemVAPDInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(bool)) *CemVAPDInterface_UpdateUseCaseAvailability_Call
type CsLPCInterface ¶
CsLPCInterface is an autogenerated mock type for the CsLPCInterface type
func NewCsLPCInterface ¶
func NewCsLPCInterface(t interface { mock.TestingT Cleanup(func()) }) *CsLPCInterface
NewCsLPCInterface creates a new instance of CsLPCInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*CsLPCInterface) AddFeatures ¶
func (_m *CsLPCInterface) AddFeatures()
AddFeatures provides a mock function with given fields:
func (*CsLPCInterface) AddUseCase ¶
func (_m *CsLPCInterface) AddUseCase()
AddUseCase provides a mock function with given fields:
func (*CsLPCInterface) ApproveOrDenyConsumptionLimit ¶
func (_m *CsLPCInterface) ApproveOrDenyConsumptionLimit(msgCounter model.MsgCounterType, approve bool, reason string)
ApproveOrDenyConsumptionLimit provides a mock function with given fields: msgCounter, approve, reason
func (*CsLPCInterface) AvailableScenariosForEntity ¶
func (_m *CsLPCInterface) AvailableScenariosForEntity(entity spine_goapi.EntityRemoteInterface) []uint
AvailableScenariosForEntity provides a mock function with given fields: entity
func (*CsLPCInterface) ConsumptionLimit ¶
func (_m *CsLPCInterface) ConsumptionLimit() (api.LoadLimit, error)
ConsumptionLimit provides a mock function with given fields:
func (*CsLPCInterface) ConsumptionNominalMax ¶ added in v0.6.2
func (_m *CsLPCInterface) ConsumptionNominalMax() (float64, error)
ConsumptionNominalMax provides a mock function with given fields:
func (*CsLPCInterface) EXPECT ¶
func (_m *CsLPCInterface) EXPECT() *CsLPCInterface_Expecter
func (*CsLPCInterface) FailsafeConsumptionActivePowerLimit ¶
func (_m *CsLPCInterface) FailsafeConsumptionActivePowerLimit() (float64, bool, error)
FailsafeConsumptionActivePowerLimit provides a mock function with given fields:
func (*CsLPCInterface) FailsafeDurationMinimum ¶
func (_m *CsLPCInterface) FailsafeDurationMinimum() (time.Duration, bool, error)
FailsafeDurationMinimum provides a mock function with given fields:
func (*CsLPCInterface) IsCompatibleEntityType ¶
func (_m *CsLPCInterface) IsCompatibleEntityType(entity spine_goapi.EntityRemoteInterface) bool
IsCompatibleEntityType provides a mock function with given fields: entity
func (*CsLPCInterface) IsHeartbeatWithinDuration ¶
func (_m *CsLPCInterface) IsHeartbeatWithinDuration() bool
IsHeartbeatWithinDuration provides a mock function with given fields:
func (*CsLPCInterface) IsScenarioAvailableAtEntity ¶
func (_m *CsLPCInterface) IsScenarioAvailableAtEntity(entity spine_goapi.EntityRemoteInterface, scenario uint) bool
IsScenarioAvailableAtEntity provides a mock function with given fields: entity, scenario
func (*CsLPCInterface) PendingConsumptionLimits ¶
func (_m *CsLPCInterface) PendingConsumptionLimits() map[model.MsgCounterType]api.LoadLimit
PendingConsumptionLimits provides a mock function with given fields:
func (*CsLPCInterface) RemoteEntitiesScenarios ¶
func (_m *CsLPCInterface) RemoteEntitiesScenarios() []eebus_goapi.RemoteEntityScenarios
RemoteEntitiesScenarios provides a mock function with given fields:
func (*CsLPCInterface) RemoveUseCase ¶
func (_m *CsLPCInterface) RemoveUseCase()
RemoveUseCase provides a mock function with given fields:
func (*CsLPCInterface) SetConsumptionLimit ¶
func (_m *CsLPCInterface) SetConsumptionLimit(limit api.LoadLimit) error
SetConsumptionLimit provides a mock function with given fields: limit
func (*CsLPCInterface) SetConsumptionNominalMax ¶ added in v0.6.2
func (_m *CsLPCInterface) SetConsumptionNominalMax(value float64) error
SetConsumptionNominalMax provides a mock function with given fields: value
func (*CsLPCInterface) SetFailsafeConsumptionActivePowerLimit ¶
func (_m *CsLPCInterface) SetFailsafeConsumptionActivePowerLimit(value float64, changeable bool) error
SetFailsafeConsumptionActivePowerLimit provides a mock function with given fields: value, changeable
func (*CsLPCInterface) SetFailsafeDurationMinimum ¶
func (_m *CsLPCInterface) SetFailsafeDurationMinimum(duration time.Duration, changeable bool) error
SetFailsafeDurationMinimum provides a mock function with given fields: duration, changeable
func (*CsLPCInterface) UpdateUseCaseAvailability ¶
func (_m *CsLPCInterface) UpdateUseCaseAvailability(available bool)
UpdateUseCaseAvailability provides a mock function with given fields: available
type CsLPCInterface_AddFeatures_Call ¶
CsLPCInterface_AddFeatures_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddFeatures'
func (*CsLPCInterface_AddFeatures_Call) Return ¶
func (_c *CsLPCInterface_AddFeatures_Call) Return() *CsLPCInterface_AddFeatures_Call
func (*CsLPCInterface_AddFeatures_Call) Run ¶
func (_c *CsLPCInterface_AddFeatures_Call) Run(run func()) *CsLPCInterface_AddFeatures_Call
func (*CsLPCInterface_AddFeatures_Call) RunAndReturn ¶
func (_c *CsLPCInterface_AddFeatures_Call) RunAndReturn(run func()) *CsLPCInterface_AddFeatures_Call
type CsLPCInterface_AddUseCase_Call ¶
CsLPCInterface_AddUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddUseCase'
func (*CsLPCInterface_AddUseCase_Call) Return ¶
func (_c *CsLPCInterface_AddUseCase_Call) Return() *CsLPCInterface_AddUseCase_Call
func (*CsLPCInterface_AddUseCase_Call) Run ¶
func (_c *CsLPCInterface_AddUseCase_Call) Run(run func()) *CsLPCInterface_AddUseCase_Call
func (*CsLPCInterface_AddUseCase_Call) RunAndReturn ¶
func (_c *CsLPCInterface_AddUseCase_Call) RunAndReturn(run func()) *CsLPCInterface_AddUseCase_Call
type CsLPCInterface_ApproveOrDenyConsumptionLimit_Call ¶
CsLPCInterface_ApproveOrDenyConsumptionLimit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ApproveOrDenyConsumptionLimit'
func (*CsLPCInterface_ApproveOrDenyConsumptionLimit_Call) Run ¶
func (_c *CsLPCInterface_ApproveOrDenyConsumptionLimit_Call) Run(run func(msgCounter model.MsgCounterType, approve bool, reason string)) *CsLPCInterface_ApproveOrDenyConsumptionLimit_Call
func (*CsLPCInterface_ApproveOrDenyConsumptionLimit_Call) RunAndReturn ¶
func (_c *CsLPCInterface_ApproveOrDenyConsumptionLimit_Call) RunAndReturn(run func(model.MsgCounterType, bool, string)) *CsLPCInterface_ApproveOrDenyConsumptionLimit_Call
type CsLPCInterface_AvailableScenariosForEntity_Call ¶
CsLPCInterface_AvailableScenariosForEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AvailableScenariosForEntity'
func (*CsLPCInterface_AvailableScenariosForEntity_Call) Return ¶
func (_c *CsLPCInterface_AvailableScenariosForEntity_Call) Return(_a0 []uint) *CsLPCInterface_AvailableScenariosForEntity_Call
func (*CsLPCInterface_AvailableScenariosForEntity_Call) Run ¶
func (_c *CsLPCInterface_AvailableScenariosForEntity_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CsLPCInterface_AvailableScenariosForEntity_Call
func (*CsLPCInterface_AvailableScenariosForEntity_Call) RunAndReturn ¶
func (_c *CsLPCInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) []uint) *CsLPCInterface_AvailableScenariosForEntity_Call
type CsLPCInterface_ConsumptionLimit_Call ¶
CsLPCInterface_ConsumptionLimit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ConsumptionLimit'
func (*CsLPCInterface_ConsumptionLimit_Call) Return ¶
func (_c *CsLPCInterface_ConsumptionLimit_Call) Return(_a0 api.LoadLimit, _a1 error) *CsLPCInterface_ConsumptionLimit_Call
func (*CsLPCInterface_ConsumptionLimit_Call) Run ¶
func (_c *CsLPCInterface_ConsumptionLimit_Call) Run(run func()) *CsLPCInterface_ConsumptionLimit_Call
func (*CsLPCInterface_ConsumptionLimit_Call) RunAndReturn ¶
func (_c *CsLPCInterface_ConsumptionLimit_Call) RunAndReturn(run func() (api.LoadLimit, error)) *CsLPCInterface_ConsumptionLimit_Call
type CsLPCInterface_ConsumptionNominalMax_Call ¶ added in v0.6.2
CsLPCInterface_ConsumptionNominalMax_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ConsumptionNominalMax'
func (*CsLPCInterface_ConsumptionNominalMax_Call) Return ¶ added in v0.6.2
func (_c *CsLPCInterface_ConsumptionNominalMax_Call) Return(_a0 float64, _a1 error) *CsLPCInterface_ConsumptionNominalMax_Call
func (*CsLPCInterface_ConsumptionNominalMax_Call) Run ¶ added in v0.6.2
func (_c *CsLPCInterface_ConsumptionNominalMax_Call) Run(run func()) *CsLPCInterface_ConsumptionNominalMax_Call
func (*CsLPCInterface_ConsumptionNominalMax_Call) RunAndReturn ¶ added in v0.6.2
func (_c *CsLPCInterface_ConsumptionNominalMax_Call) RunAndReturn(run func() (float64, error)) *CsLPCInterface_ConsumptionNominalMax_Call
type CsLPCInterface_Expecter ¶
type CsLPCInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*CsLPCInterface_Expecter) AddFeatures ¶
func (_e *CsLPCInterface_Expecter) AddFeatures() *CsLPCInterface_AddFeatures_Call
AddFeatures is a helper method to define mock.On call
func (*CsLPCInterface_Expecter) AddUseCase ¶
func (_e *CsLPCInterface_Expecter) AddUseCase() *CsLPCInterface_AddUseCase_Call
AddUseCase is a helper method to define mock.On call
func (*CsLPCInterface_Expecter) ApproveOrDenyConsumptionLimit ¶
func (_e *CsLPCInterface_Expecter) ApproveOrDenyConsumptionLimit(msgCounter interface{}, approve interface{}, reason interface{}) *CsLPCInterface_ApproveOrDenyConsumptionLimit_Call
ApproveOrDenyConsumptionLimit is a helper method to define mock.On call
- msgCounter model.MsgCounterType
- approve bool
- reason string
func (*CsLPCInterface_Expecter) AvailableScenariosForEntity ¶
func (_e *CsLPCInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *CsLPCInterface_AvailableScenariosForEntity_Call
AvailableScenariosForEntity is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*CsLPCInterface_Expecter) ConsumptionLimit ¶
func (_e *CsLPCInterface_Expecter) ConsumptionLimit() *CsLPCInterface_ConsumptionLimit_Call
ConsumptionLimit is a helper method to define mock.On call
func (*CsLPCInterface_Expecter) ConsumptionNominalMax ¶ added in v0.6.2
func (_e *CsLPCInterface_Expecter) ConsumptionNominalMax() *CsLPCInterface_ConsumptionNominalMax_Call
ConsumptionNominalMax is a helper method to define mock.On call
func (*CsLPCInterface_Expecter) FailsafeConsumptionActivePowerLimit ¶
func (_e *CsLPCInterface_Expecter) FailsafeConsumptionActivePowerLimit() *CsLPCInterface_FailsafeConsumptionActivePowerLimit_Call
FailsafeConsumptionActivePowerLimit is a helper method to define mock.On call
func (*CsLPCInterface_Expecter) FailsafeDurationMinimum ¶
func (_e *CsLPCInterface_Expecter) FailsafeDurationMinimum() *CsLPCInterface_FailsafeDurationMinimum_Call
FailsafeDurationMinimum is a helper method to define mock.On call
func (*CsLPCInterface_Expecter) IsCompatibleEntityType ¶
func (_e *CsLPCInterface_Expecter) IsCompatibleEntityType(entity interface{}) *CsLPCInterface_IsCompatibleEntityType_Call
IsCompatibleEntityType is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*CsLPCInterface_Expecter) IsHeartbeatWithinDuration ¶
func (_e *CsLPCInterface_Expecter) IsHeartbeatWithinDuration() *CsLPCInterface_IsHeartbeatWithinDuration_Call
IsHeartbeatWithinDuration is a helper method to define mock.On call
func (*CsLPCInterface_Expecter) IsScenarioAvailableAtEntity ¶
func (_e *CsLPCInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *CsLPCInterface_IsScenarioAvailableAtEntity_Call
IsScenarioAvailableAtEntity is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
- scenario uint
func (*CsLPCInterface_Expecter) PendingConsumptionLimits ¶
func (_e *CsLPCInterface_Expecter) PendingConsumptionLimits() *CsLPCInterface_PendingConsumptionLimits_Call
PendingConsumptionLimits is a helper method to define mock.On call
func (*CsLPCInterface_Expecter) RemoteEntitiesScenarios ¶
func (_e *CsLPCInterface_Expecter) RemoteEntitiesScenarios() *CsLPCInterface_RemoteEntitiesScenarios_Call
RemoteEntitiesScenarios is a helper method to define mock.On call
func (*CsLPCInterface_Expecter) RemoveUseCase ¶
func (_e *CsLPCInterface_Expecter) RemoveUseCase() *CsLPCInterface_RemoveUseCase_Call
RemoveUseCase is a helper method to define mock.On call
func (*CsLPCInterface_Expecter) SetConsumptionLimit ¶
func (_e *CsLPCInterface_Expecter) SetConsumptionLimit(limit interface{}) *CsLPCInterface_SetConsumptionLimit_Call
SetConsumptionLimit is a helper method to define mock.On call
- limit api.LoadLimit
func (*CsLPCInterface_Expecter) SetConsumptionNominalMax ¶ added in v0.6.2
func (_e *CsLPCInterface_Expecter) SetConsumptionNominalMax(value interface{}) *CsLPCInterface_SetConsumptionNominalMax_Call
SetConsumptionNominalMax is a helper method to define mock.On call
- value float64
func (*CsLPCInterface_Expecter) SetFailsafeConsumptionActivePowerLimit ¶
func (_e *CsLPCInterface_Expecter) SetFailsafeConsumptionActivePowerLimit(value interface{}, changeable interface{}) *CsLPCInterface_SetFailsafeConsumptionActivePowerLimit_Call
SetFailsafeConsumptionActivePowerLimit is a helper method to define mock.On call
- value float64
- changeable bool
func (*CsLPCInterface_Expecter) SetFailsafeDurationMinimum ¶
func (_e *CsLPCInterface_Expecter) SetFailsafeDurationMinimum(duration interface{}, changeable interface{}) *CsLPCInterface_SetFailsafeDurationMinimum_Call
SetFailsafeDurationMinimum is a helper method to define mock.On call
- duration time.Duration
- changeable bool
func (*CsLPCInterface_Expecter) UpdateUseCaseAvailability ¶
func (_e *CsLPCInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *CsLPCInterface_UpdateUseCaseAvailability_Call
UpdateUseCaseAvailability is a helper method to define mock.On call
- available bool
type CsLPCInterface_FailsafeConsumptionActivePowerLimit_Call ¶
CsLPCInterface_FailsafeConsumptionActivePowerLimit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FailsafeConsumptionActivePowerLimit'
func (*CsLPCInterface_FailsafeConsumptionActivePowerLimit_Call) Return ¶
func (_c *CsLPCInterface_FailsafeConsumptionActivePowerLimit_Call) Return(value float64, isChangeable bool, resultErr error) *CsLPCInterface_FailsafeConsumptionActivePowerLimit_Call
func (*CsLPCInterface_FailsafeConsumptionActivePowerLimit_Call) Run ¶
func (_c *CsLPCInterface_FailsafeConsumptionActivePowerLimit_Call) Run(run func()) *CsLPCInterface_FailsafeConsumptionActivePowerLimit_Call
func (*CsLPCInterface_FailsafeConsumptionActivePowerLimit_Call) RunAndReturn ¶
func (_c *CsLPCInterface_FailsafeConsumptionActivePowerLimit_Call) RunAndReturn(run func() (float64, bool, error)) *CsLPCInterface_FailsafeConsumptionActivePowerLimit_Call
type CsLPCInterface_FailsafeDurationMinimum_Call ¶
CsLPCInterface_FailsafeDurationMinimum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FailsafeDurationMinimum'
func (*CsLPCInterface_FailsafeDurationMinimum_Call) Return ¶
func (_c *CsLPCInterface_FailsafeDurationMinimum_Call) Return(duration time.Duration, isChangeable bool, resultErr error) *CsLPCInterface_FailsafeDurationMinimum_Call
func (*CsLPCInterface_FailsafeDurationMinimum_Call) Run ¶
func (_c *CsLPCInterface_FailsafeDurationMinimum_Call) Run(run func()) *CsLPCInterface_FailsafeDurationMinimum_Call
func (*CsLPCInterface_FailsafeDurationMinimum_Call) RunAndReturn ¶
func (_c *CsLPCInterface_FailsafeDurationMinimum_Call) RunAndReturn(run func() (time.Duration, bool, error)) *CsLPCInterface_FailsafeDurationMinimum_Call
type CsLPCInterface_IsCompatibleEntityType_Call ¶
CsLPCInterface_IsCompatibleEntityType_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsCompatibleEntityType'
func (*CsLPCInterface_IsCompatibleEntityType_Call) Return ¶
func (_c *CsLPCInterface_IsCompatibleEntityType_Call) Return(_a0 bool) *CsLPCInterface_IsCompatibleEntityType_Call
func (*CsLPCInterface_IsCompatibleEntityType_Call) Run ¶
func (_c *CsLPCInterface_IsCompatibleEntityType_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CsLPCInterface_IsCompatibleEntityType_Call
func (*CsLPCInterface_IsCompatibleEntityType_Call) RunAndReturn ¶
func (_c *CsLPCInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) bool) *CsLPCInterface_IsCompatibleEntityType_Call
type CsLPCInterface_IsHeartbeatWithinDuration_Call ¶
CsLPCInterface_IsHeartbeatWithinDuration_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsHeartbeatWithinDuration'
func (*CsLPCInterface_IsHeartbeatWithinDuration_Call) Return ¶
func (_c *CsLPCInterface_IsHeartbeatWithinDuration_Call) Return(_a0 bool) *CsLPCInterface_IsHeartbeatWithinDuration_Call
func (*CsLPCInterface_IsHeartbeatWithinDuration_Call) Run ¶
func (_c *CsLPCInterface_IsHeartbeatWithinDuration_Call) Run(run func()) *CsLPCInterface_IsHeartbeatWithinDuration_Call
func (*CsLPCInterface_IsHeartbeatWithinDuration_Call) RunAndReturn ¶
func (_c *CsLPCInterface_IsHeartbeatWithinDuration_Call) RunAndReturn(run func() bool) *CsLPCInterface_IsHeartbeatWithinDuration_Call
type CsLPCInterface_IsScenarioAvailableAtEntity_Call ¶
CsLPCInterface_IsScenarioAvailableAtEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsScenarioAvailableAtEntity'
func (*CsLPCInterface_IsScenarioAvailableAtEntity_Call) Return ¶
func (_c *CsLPCInterface_IsScenarioAvailableAtEntity_Call) Return(_a0 bool) *CsLPCInterface_IsScenarioAvailableAtEntity_Call
func (*CsLPCInterface_IsScenarioAvailableAtEntity_Call) Run ¶
func (_c *CsLPCInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity spine_goapi.EntityRemoteInterface, scenario uint)) *CsLPCInterface_IsScenarioAvailableAtEntity_Call
func (*CsLPCInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn ¶
func (_c *CsLPCInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface, uint) bool) *CsLPCInterface_IsScenarioAvailableAtEntity_Call
type CsLPCInterface_PendingConsumptionLimits_Call ¶
CsLPCInterface_PendingConsumptionLimits_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PendingConsumptionLimits'
func (*CsLPCInterface_PendingConsumptionLimits_Call) Return ¶
func (_c *CsLPCInterface_PendingConsumptionLimits_Call) Return(_a0 map[model.MsgCounterType]api.LoadLimit) *CsLPCInterface_PendingConsumptionLimits_Call
func (*CsLPCInterface_PendingConsumptionLimits_Call) Run ¶
func (_c *CsLPCInterface_PendingConsumptionLimits_Call) Run(run func()) *CsLPCInterface_PendingConsumptionLimits_Call
func (*CsLPCInterface_PendingConsumptionLimits_Call) RunAndReturn ¶
func (_c *CsLPCInterface_PendingConsumptionLimits_Call) RunAndReturn(run func() map[model.MsgCounterType]api.LoadLimit) *CsLPCInterface_PendingConsumptionLimits_Call
type CsLPCInterface_RemoteEntitiesScenarios_Call ¶
CsLPCInterface_RemoteEntitiesScenarios_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoteEntitiesScenarios'
func (*CsLPCInterface_RemoteEntitiesScenarios_Call) Run ¶
func (_c *CsLPCInterface_RemoteEntitiesScenarios_Call) Run(run func()) *CsLPCInterface_RemoteEntitiesScenarios_Call
func (*CsLPCInterface_RemoteEntitiesScenarios_Call) RunAndReturn ¶
func (_c *CsLPCInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []eebus_goapi.RemoteEntityScenarios) *CsLPCInterface_RemoteEntitiesScenarios_Call
type CsLPCInterface_RemoveUseCase_Call ¶
CsLPCInterface_RemoveUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveUseCase'
func (*CsLPCInterface_RemoveUseCase_Call) Return ¶
func (_c *CsLPCInterface_RemoveUseCase_Call) Return() *CsLPCInterface_RemoveUseCase_Call
func (*CsLPCInterface_RemoveUseCase_Call) Run ¶
func (_c *CsLPCInterface_RemoveUseCase_Call) Run(run func()) *CsLPCInterface_RemoveUseCase_Call
func (*CsLPCInterface_RemoveUseCase_Call) RunAndReturn ¶
func (_c *CsLPCInterface_RemoveUseCase_Call) RunAndReturn(run func()) *CsLPCInterface_RemoveUseCase_Call
type CsLPCInterface_SetConsumptionLimit_Call ¶
CsLPCInterface_SetConsumptionLimit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetConsumptionLimit'
func (*CsLPCInterface_SetConsumptionLimit_Call) Return ¶
func (_c *CsLPCInterface_SetConsumptionLimit_Call) Return(resultErr error) *CsLPCInterface_SetConsumptionLimit_Call
func (*CsLPCInterface_SetConsumptionLimit_Call) Run ¶
func (_c *CsLPCInterface_SetConsumptionLimit_Call) Run(run func(limit api.LoadLimit)) *CsLPCInterface_SetConsumptionLimit_Call
func (*CsLPCInterface_SetConsumptionLimit_Call) RunAndReturn ¶
func (_c *CsLPCInterface_SetConsumptionLimit_Call) RunAndReturn(run func(api.LoadLimit) error) *CsLPCInterface_SetConsumptionLimit_Call
type CsLPCInterface_SetConsumptionNominalMax_Call ¶ added in v0.6.2
CsLPCInterface_SetConsumptionNominalMax_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetConsumptionNominalMax'
func (*CsLPCInterface_SetConsumptionNominalMax_Call) Return ¶ added in v0.6.2
func (_c *CsLPCInterface_SetConsumptionNominalMax_Call) Return(resultErr error) *CsLPCInterface_SetConsumptionNominalMax_Call
func (*CsLPCInterface_SetConsumptionNominalMax_Call) Run ¶ added in v0.6.2
func (_c *CsLPCInterface_SetConsumptionNominalMax_Call) Run(run func(value float64)) *CsLPCInterface_SetConsumptionNominalMax_Call
func (*CsLPCInterface_SetConsumptionNominalMax_Call) RunAndReturn ¶ added in v0.6.2
func (_c *CsLPCInterface_SetConsumptionNominalMax_Call) RunAndReturn(run func(float64) error) *CsLPCInterface_SetConsumptionNominalMax_Call
type CsLPCInterface_SetFailsafeConsumptionActivePowerLimit_Call ¶
CsLPCInterface_SetFailsafeConsumptionActivePowerLimit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetFailsafeConsumptionActivePowerLimit'
func (*CsLPCInterface_SetFailsafeConsumptionActivePowerLimit_Call) Return ¶
func (_c *CsLPCInterface_SetFailsafeConsumptionActivePowerLimit_Call) Return(resultErr error) *CsLPCInterface_SetFailsafeConsumptionActivePowerLimit_Call
func (*CsLPCInterface_SetFailsafeConsumptionActivePowerLimit_Call) Run ¶
func (_c *CsLPCInterface_SetFailsafeConsumptionActivePowerLimit_Call) Run(run func(value float64, changeable bool)) *CsLPCInterface_SetFailsafeConsumptionActivePowerLimit_Call
func (*CsLPCInterface_SetFailsafeConsumptionActivePowerLimit_Call) RunAndReturn ¶
func (_c *CsLPCInterface_SetFailsafeConsumptionActivePowerLimit_Call) RunAndReturn(run func(float64, bool) error) *CsLPCInterface_SetFailsafeConsumptionActivePowerLimit_Call
type CsLPCInterface_SetFailsafeDurationMinimum_Call ¶
CsLPCInterface_SetFailsafeDurationMinimum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetFailsafeDurationMinimum'
func (*CsLPCInterface_SetFailsafeDurationMinimum_Call) Return ¶
func (_c *CsLPCInterface_SetFailsafeDurationMinimum_Call) Return(resultErr error) *CsLPCInterface_SetFailsafeDurationMinimum_Call
func (*CsLPCInterface_SetFailsafeDurationMinimum_Call) Run ¶
func (_c *CsLPCInterface_SetFailsafeDurationMinimum_Call) Run(run func(duration time.Duration, changeable bool)) *CsLPCInterface_SetFailsafeDurationMinimum_Call
func (*CsLPCInterface_SetFailsafeDurationMinimum_Call) RunAndReturn ¶
func (_c *CsLPCInterface_SetFailsafeDurationMinimum_Call) RunAndReturn(run func(time.Duration, bool) error) *CsLPCInterface_SetFailsafeDurationMinimum_Call
type CsLPCInterface_UpdateUseCaseAvailability_Call ¶
CsLPCInterface_UpdateUseCaseAvailability_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateUseCaseAvailability'
func (*CsLPCInterface_UpdateUseCaseAvailability_Call) Run ¶
func (_c *CsLPCInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *CsLPCInterface_UpdateUseCaseAvailability_Call
func (*CsLPCInterface_UpdateUseCaseAvailability_Call) RunAndReturn ¶
func (_c *CsLPCInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(bool)) *CsLPCInterface_UpdateUseCaseAvailability_Call
type CsLPPInterface ¶
CsLPPInterface is an autogenerated mock type for the CsLPPInterface type
func NewCsLPPInterface ¶
func NewCsLPPInterface(t interface { mock.TestingT Cleanup(func()) }) *CsLPPInterface
NewCsLPPInterface creates a new instance of CsLPPInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*CsLPPInterface) AddFeatures ¶
func (_m *CsLPPInterface) AddFeatures()
AddFeatures provides a mock function with given fields:
func (*CsLPPInterface) AddUseCase ¶
func (_m *CsLPPInterface) AddUseCase()
AddUseCase provides a mock function with given fields:
func (*CsLPPInterface) ApproveOrDenyProductionLimit ¶
func (_m *CsLPPInterface) ApproveOrDenyProductionLimit(msgCounter model.MsgCounterType, approve bool, reason string)
ApproveOrDenyProductionLimit provides a mock function with given fields: msgCounter, approve, reason
func (*CsLPPInterface) AvailableScenariosForEntity ¶
func (_m *CsLPPInterface) AvailableScenariosForEntity(entity spine_goapi.EntityRemoteInterface) []uint
AvailableScenariosForEntity provides a mock function with given fields: entity
func (*CsLPPInterface) EXPECT ¶
func (_m *CsLPPInterface) EXPECT() *CsLPPInterface_Expecter
func (*CsLPPInterface) FailsafeDurationMinimum ¶
func (_m *CsLPPInterface) FailsafeDurationMinimum() (time.Duration, bool, error)
FailsafeDurationMinimum provides a mock function with given fields:
func (*CsLPPInterface) FailsafeProductionActivePowerLimit ¶
func (_m *CsLPPInterface) FailsafeProductionActivePowerLimit() (float64, bool, error)
FailsafeProductionActivePowerLimit provides a mock function with given fields:
func (*CsLPPInterface) IsCompatibleEntityType ¶
func (_m *CsLPPInterface) IsCompatibleEntityType(entity spine_goapi.EntityRemoteInterface) bool
IsCompatibleEntityType provides a mock function with given fields: entity
func (*CsLPPInterface) IsHeartbeatWithinDuration ¶
func (_m *CsLPPInterface) IsHeartbeatWithinDuration() bool
IsHeartbeatWithinDuration provides a mock function with given fields:
func (*CsLPPInterface) IsScenarioAvailableAtEntity ¶
func (_m *CsLPPInterface) IsScenarioAvailableAtEntity(entity spine_goapi.EntityRemoteInterface, scenario uint) bool
IsScenarioAvailableAtEntity provides a mock function with given fields: entity, scenario
func (*CsLPPInterface) PendingProductionLimits ¶
func (_m *CsLPPInterface) PendingProductionLimits() map[model.MsgCounterType]api.LoadLimit
PendingProductionLimits provides a mock function with given fields:
func (*CsLPPInterface) ProductionLimit ¶
func (_m *CsLPPInterface) ProductionLimit() (api.LoadLimit, error)
ProductionLimit provides a mock function with given fields:
func (*CsLPPInterface) ProductionNominalMax ¶ added in v0.6.2
func (_m *CsLPPInterface) ProductionNominalMax() (float64, error)
ProductionNominalMax provides a mock function with given fields:
func (*CsLPPInterface) RemoteEntitiesScenarios ¶
func (_m *CsLPPInterface) RemoteEntitiesScenarios() []eebus_goapi.RemoteEntityScenarios
RemoteEntitiesScenarios provides a mock function with given fields:
func (*CsLPPInterface) RemoveUseCase ¶
func (_m *CsLPPInterface) RemoveUseCase()
RemoveUseCase provides a mock function with given fields:
func (*CsLPPInterface) SetFailsafeDurationMinimum ¶
func (_m *CsLPPInterface) SetFailsafeDurationMinimum(duration time.Duration, changeable bool) error
SetFailsafeDurationMinimum provides a mock function with given fields: duration, changeable
func (*CsLPPInterface) SetFailsafeProductionActivePowerLimit ¶
func (_m *CsLPPInterface) SetFailsafeProductionActivePowerLimit(value float64, changeable bool) error
SetFailsafeProductionActivePowerLimit provides a mock function with given fields: value, changeable
func (*CsLPPInterface) SetProductionLimit ¶
func (_m *CsLPPInterface) SetProductionLimit(limit api.LoadLimit) error
SetProductionLimit provides a mock function with given fields: limit
func (*CsLPPInterface) SetProductionNominalMax ¶ added in v0.6.2
func (_m *CsLPPInterface) SetProductionNominalMax(value float64) error
SetProductionNominalMax provides a mock function with given fields: value
func (*CsLPPInterface) UpdateUseCaseAvailability ¶
func (_m *CsLPPInterface) UpdateUseCaseAvailability(available bool)
UpdateUseCaseAvailability provides a mock function with given fields: available
type CsLPPInterface_AddFeatures_Call ¶
CsLPPInterface_AddFeatures_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddFeatures'
func (*CsLPPInterface_AddFeatures_Call) Return ¶
func (_c *CsLPPInterface_AddFeatures_Call) Return() *CsLPPInterface_AddFeatures_Call
func (*CsLPPInterface_AddFeatures_Call) Run ¶
func (_c *CsLPPInterface_AddFeatures_Call) Run(run func()) *CsLPPInterface_AddFeatures_Call
func (*CsLPPInterface_AddFeatures_Call) RunAndReturn ¶
func (_c *CsLPPInterface_AddFeatures_Call) RunAndReturn(run func()) *CsLPPInterface_AddFeatures_Call
type CsLPPInterface_AddUseCase_Call ¶
CsLPPInterface_AddUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddUseCase'
func (*CsLPPInterface_AddUseCase_Call) Return ¶
func (_c *CsLPPInterface_AddUseCase_Call) Return() *CsLPPInterface_AddUseCase_Call
func (*CsLPPInterface_AddUseCase_Call) Run ¶
func (_c *CsLPPInterface_AddUseCase_Call) Run(run func()) *CsLPPInterface_AddUseCase_Call
func (*CsLPPInterface_AddUseCase_Call) RunAndReturn ¶
func (_c *CsLPPInterface_AddUseCase_Call) RunAndReturn(run func()) *CsLPPInterface_AddUseCase_Call
type CsLPPInterface_ApproveOrDenyProductionLimit_Call ¶
CsLPPInterface_ApproveOrDenyProductionLimit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ApproveOrDenyProductionLimit'
func (*CsLPPInterface_ApproveOrDenyProductionLimit_Call) Run ¶
func (_c *CsLPPInterface_ApproveOrDenyProductionLimit_Call) Run(run func(msgCounter model.MsgCounterType, approve bool, reason string)) *CsLPPInterface_ApproveOrDenyProductionLimit_Call
func (*CsLPPInterface_ApproveOrDenyProductionLimit_Call) RunAndReturn ¶
func (_c *CsLPPInterface_ApproveOrDenyProductionLimit_Call) RunAndReturn(run func(model.MsgCounterType, bool, string)) *CsLPPInterface_ApproveOrDenyProductionLimit_Call
type CsLPPInterface_AvailableScenariosForEntity_Call ¶
CsLPPInterface_AvailableScenariosForEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AvailableScenariosForEntity'
func (*CsLPPInterface_AvailableScenariosForEntity_Call) Return ¶
func (_c *CsLPPInterface_AvailableScenariosForEntity_Call) Return(_a0 []uint) *CsLPPInterface_AvailableScenariosForEntity_Call
func (*CsLPPInterface_AvailableScenariosForEntity_Call) Run ¶
func (_c *CsLPPInterface_AvailableScenariosForEntity_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CsLPPInterface_AvailableScenariosForEntity_Call
func (*CsLPPInterface_AvailableScenariosForEntity_Call) RunAndReturn ¶
func (_c *CsLPPInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) []uint) *CsLPPInterface_AvailableScenariosForEntity_Call
type CsLPPInterface_Expecter ¶
type CsLPPInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*CsLPPInterface_Expecter) AddFeatures ¶
func (_e *CsLPPInterface_Expecter) AddFeatures() *CsLPPInterface_AddFeatures_Call
AddFeatures is a helper method to define mock.On call
func (*CsLPPInterface_Expecter) AddUseCase ¶
func (_e *CsLPPInterface_Expecter) AddUseCase() *CsLPPInterface_AddUseCase_Call
AddUseCase is a helper method to define mock.On call
func (*CsLPPInterface_Expecter) ApproveOrDenyProductionLimit ¶
func (_e *CsLPPInterface_Expecter) ApproveOrDenyProductionLimit(msgCounter interface{}, approve interface{}, reason interface{}) *CsLPPInterface_ApproveOrDenyProductionLimit_Call
ApproveOrDenyProductionLimit is a helper method to define mock.On call
- msgCounter model.MsgCounterType
- approve bool
- reason string
func (*CsLPPInterface_Expecter) AvailableScenariosForEntity ¶
func (_e *CsLPPInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *CsLPPInterface_AvailableScenariosForEntity_Call
AvailableScenariosForEntity is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*CsLPPInterface_Expecter) FailsafeDurationMinimum ¶
func (_e *CsLPPInterface_Expecter) FailsafeDurationMinimum() *CsLPPInterface_FailsafeDurationMinimum_Call
FailsafeDurationMinimum is a helper method to define mock.On call
func (*CsLPPInterface_Expecter) FailsafeProductionActivePowerLimit ¶
func (_e *CsLPPInterface_Expecter) FailsafeProductionActivePowerLimit() *CsLPPInterface_FailsafeProductionActivePowerLimit_Call
FailsafeProductionActivePowerLimit is a helper method to define mock.On call
func (*CsLPPInterface_Expecter) IsCompatibleEntityType ¶
func (_e *CsLPPInterface_Expecter) IsCompatibleEntityType(entity interface{}) *CsLPPInterface_IsCompatibleEntityType_Call
IsCompatibleEntityType is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*CsLPPInterface_Expecter) IsHeartbeatWithinDuration ¶
func (_e *CsLPPInterface_Expecter) IsHeartbeatWithinDuration() *CsLPPInterface_IsHeartbeatWithinDuration_Call
IsHeartbeatWithinDuration is a helper method to define mock.On call
func (*CsLPPInterface_Expecter) IsScenarioAvailableAtEntity ¶
func (_e *CsLPPInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *CsLPPInterface_IsScenarioAvailableAtEntity_Call
IsScenarioAvailableAtEntity is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
- scenario uint
func (*CsLPPInterface_Expecter) PendingProductionLimits ¶
func (_e *CsLPPInterface_Expecter) PendingProductionLimits() *CsLPPInterface_PendingProductionLimits_Call
PendingProductionLimits is a helper method to define mock.On call
func (*CsLPPInterface_Expecter) ProductionLimit ¶
func (_e *CsLPPInterface_Expecter) ProductionLimit() *CsLPPInterface_ProductionLimit_Call
ProductionLimit is a helper method to define mock.On call
func (*CsLPPInterface_Expecter) ProductionNominalMax ¶ added in v0.6.2
func (_e *CsLPPInterface_Expecter) ProductionNominalMax() *CsLPPInterface_ProductionNominalMax_Call
ProductionNominalMax is a helper method to define mock.On call
func (*CsLPPInterface_Expecter) RemoteEntitiesScenarios ¶
func (_e *CsLPPInterface_Expecter) RemoteEntitiesScenarios() *CsLPPInterface_RemoteEntitiesScenarios_Call
RemoteEntitiesScenarios is a helper method to define mock.On call
func (*CsLPPInterface_Expecter) RemoveUseCase ¶
func (_e *CsLPPInterface_Expecter) RemoveUseCase() *CsLPPInterface_RemoveUseCase_Call
RemoveUseCase is a helper method to define mock.On call
func (*CsLPPInterface_Expecter) SetFailsafeDurationMinimum ¶
func (_e *CsLPPInterface_Expecter) SetFailsafeDurationMinimum(duration interface{}, changeable interface{}) *CsLPPInterface_SetFailsafeDurationMinimum_Call
SetFailsafeDurationMinimum is a helper method to define mock.On call
- duration time.Duration
- changeable bool
func (*CsLPPInterface_Expecter) SetFailsafeProductionActivePowerLimit ¶
func (_e *CsLPPInterface_Expecter) SetFailsafeProductionActivePowerLimit(value interface{}, changeable interface{}) *CsLPPInterface_SetFailsafeProductionActivePowerLimit_Call
SetFailsafeProductionActivePowerLimit is a helper method to define mock.On call
- value float64
- changeable bool
func (*CsLPPInterface_Expecter) SetProductionLimit ¶
func (_e *CsLPPInterface_Expecter) SetProductionLimit(limit interface{}) *CsLPPInterface_SetProductionLimit_Call
SetProductionLimit is a helper method to define mock.On call
- limit api.LoadLimit
func (*CsLPPInterface_Expecter) SetProductionNominalMax ¶ added in v0.6.2
func (_e *CsLPPInterface_Expecter) SetProductionNominalMax(value interface{}) *CsLPPInterface_SetProductionNominalMax_Call
SetProductionNominalMax is a helper method to define mock.On call
- value float64
func (*CsLPPInterface_Expecter) UpdateUseCaseAvailability ¶
func (_e *CsLPPInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *CsLPPInterface_UpdateUseCaseAvailability_Call
UpdateUseCaseAvailability is a helper method to define mock.On call
- available bool
type CsLPPInterface_FailsafeDurationMinimum_Call ¶
CsLPPInterface_FailsafeDurationMinimum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FailsafeDurationMinimum'
func (*CsLPPInterface_FailsafeDurationMinimum_Call) Return ¶
func (_c *CsLPPInterface_FailsafeDurationMinimum_Call) Return(duration time.Duration, isChangeable bool, resultErr error) *CsLPPInterface_FailsafeDurationMinimum_Call
func (*CsLPPInterface_FailsafeDurationMinimum_Call) Run ¶
func (_c *CsLPPInterface_FailsafeDurationMinimum_Call) Run(run func()) *CsLPPInterface_FailsafeDurationMinimum_Call
func (*CsLPPInterface_FailsafeDurationMinimum_Call) RunAndReturn ¶
func (_c *CsLPPInterface_FailsafeDurationMinimum_Call) RunAndReturn(run func() (time.Duration, bool, error)) *CsLPPInterface_FailsafeDurationMinimum_Call
type CsLPPInterface_FailsafeProductionActivePowerLimit_Call ¶
CsLPPInterface_FailsafeProductionActivePowerLimit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FailsafeProductionActivePowerLimit'
func (*CsLPPInterface_FailsafeProductionActivePowerLimit_Call) Return ¶
func (_c *CsLPPInterface_FailsafeProductionActivePowerLimit_Call) Return(value float64, isChangeable bool, resultErr error) *CsLPPInterface_FailsafeProductionActivePowerLimit_Call
func (*CsLPPInterface_FailsafeProductionActivePowerLimit_Call) Run ¶
func (_c *CsLPPInterface_FailsafeProductionActivePowerLimit_Call) Run(run func()) *CsLPPInterface_FailsafeProductionActivePowerLimit_Call
func (*CsLPPInterface_FailsafeProductionActivePowerLimit_Call) RunAndReturn ¶
func (_c *CsLPPInterface_FailsafeProductionActivePowerLimit_Call) RunAndReturn(run func() (float64, bool, error)) *CsLPPInterface_FailsafeProductionActivePowerLimit_Call
type CsLPPInterface_IsCompatibleEntityType_Call ¶
CsLPPInterface_IsCompatibleEntityType_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsCompatibleEntityType'
func (*CsLPPInterface_IsCompatibleEntityType_Call) Return ¶
func (_c *CsLPPInterface_IsCompatibleEntityType_Call) Return(_a0 bool) *CsLPPInterface_IsCompatibleEntityType_Call
func (*CsLPPInterface_IsCompatibleEntityType_Call) Run ¶
func (_c *CsLPPInterface_IsCompatibleEntityType_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *CsLPPInterface_IsCompatibleEntityType_Call
func (*CsLPPInterface_IsCompatibleEntityType_Call) RunAndReturn ¶
func (_c *CsLPPInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) bool) *CsLPPInterface_IsCompatibleEntityType_Call
type CsLPPInterface_IsHeartbeatWithinDuration_Call ¶
CsLPPInterface_IsHeartbeatWithinDuration_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsHeartbeatWithinDuration'
func (*CsLPPInterface_IsHeartbeatWithinDuration_Call) Return ¶
func (_c *CsLPPInterface_IsHeartbeatWithinDuration_Call) Return(_a0 bool) *CsLPPInterface_IsHeartbeatWithinDuration_Call
func (*CsLPPInterface_IsHeartbeatWithinDuration_Call) Run ¶
func (_c *CsLPPInterface_IsHeartbeatWithinDuration_Call) Run(run func()) *CsLPPInterface_IsHeartbeatWithinDuration_Call
func (*CsLPPInterface_IsHeartbeatWithinDuration_Call) RunAndReturn ¶
func (_c *CsLPPInterface_IsHeartbeatWithinDuration_Call) RunAndReturn(run func() bool) *CsLPPInterface_IsHeartbeatWithinDuration_Call
type CsLPPInterface_IsScenarioAvailableAtEntity_Call ¶
CsLPPInterface_IsScenarioAvailableAtEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsScenarioAvailableAtEntity'
func (*CsLPPInterface_IsScenarioAvailableAtEntity_Call) Return ¶
func (_c *CsLPPInterface_IsScenarioAvailableAtEntity_Call) Return(_a0 bool) *CsLPPInterface_IsScenarioAvailableAtEntity_Call
func (*CsLPPInterface_IsScenarioAvailableAtEntity_Call) Run ¶
func (_c *CsLPPInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity spine_goapi.EntityRemoteInterface, scenario uint)) *CsLPPInterface_IsScenarioAvailableAtEntity_Call
func (*CsLPPInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn ¶
func (_c *CsLPPInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface, uint) bool) *CsLPPInterface_IsScenarioAvailableAtEntity_Call
type CsLPPInterface_PendingProductionLimits_Call ¶
CsLPPInterface_PendingProductionLimits_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PendingProductionLimits'
func (*CsLPPInterface_PendingProductionLimits_Call) Return ¶
func (_c *CsLPPInterface_PendingProductionLimits_Call) Return(_a0 map[model.MsgCounterType]api.LoadLimit) *CsLPPInterface_PendingProductionLimits_Call
func (*CsLPPInterface_PendingProductionLimits_Call) Run ¶
func (_c *CsLPPInterface_PendingProductionLimits_Call) Run(run func()) *CsLPPInterface_PendingProductionLimits_Call
func (*CsLPPInterface_PendingProductionLimits_Call) RunAndReturn ¶
func (_c *CsLPPInterface_PendingProductionLimits_Call) RunAndReturn(run func() map[model.MsgCounterType]api.LoadLimit) *CsLPPInterface_PendingProductionLimits_Call
type CsLPPInterface_ProductionLimit_Call ¶
CsLPPInterface_ProductionLimit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ProductionLimit'
func (*CsLPPInterface_ProductionLimit_Call) Return ¶
func (_c *CsLPPInterface_ProductionLimit_Call) Return(_a0 api.LoadLimit, _a1 error) *CsLPPInterface_ProductionLimit_Call
func (*CsLPPInterface_ProductionLimit_Call) Run ¶
func (_c *CsLPPInterface_ProductionLimit_Call) Run(run func()) *CsLPPInterface_ProductionLimit_Call
func (*CsLPPInterface_ProductionLimit_Call) RunAndReturn ¶
func (_c *CsLPPInterface_ProductionLimit_Call) RunAndReturn(run func() (api.LoadLimit, error)) *CsLPPInterface_ProductionLimit_Call
type CsLPPInterface_ProductionNominalMax_Call ¶ added in v0.6.2
CsLPPInterface_ProductionNominalMax_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ProductionNominalMax'
func (*CsLPPInterface_ProductionNominalMax_Call) Return ¶ added in v0.6.2
func (_c *CsLPPInterface_ProductionNominalMax_Call) Return(_a0 float64, _a1 error) *CsLPPInterface_ProductionNominalMax_Call
func (*CsLPPInterface_ProductionNominalMax_Call) Run ¶ added in v0.6.2
func (_c *CsLPPInterface_ProductionNominalMax_Call) Run(run func()) *CsLPPInterface_ProductionNominalMax_Call
func (*CsLPPInterface_ProductionNominalMax_Call) RunAndReturn ¶ added in v0.6.2
func (_c *CsLPPInterface_ProductionNominalMax_Call) RunAndReturn(run func() (float64, error)) *CsLPPInterface_ProductionNominalMax_Call
type CsLPPInterface_RemoteEntitiesScenarios_Call ¶
CsLPPInterface_RemoteEntitiesScenarios_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoteEntitiesScenarios'
func (*CsLPPInterface_RemoteEntitiesScenarios_Call) Run ¶
func (_c *CsLPPInterface_RemoteEntitiesScenarios_Call) Run(run func()) *CsLPPInterface_RemoteEntitiesScenarios_Call
func (*CsLPPInterface_RemoteEntitiesScenarios_Call) RunAndReturn ¶
func (_c *CsLPPInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []eebus_goapi.RemoteEntityScenarios) *CsLPPInterface_RemoteEntitiesScenarios_Call
type CsLPPInterface_RemoveUseCase_Call ¶
CsLPPInterface_RemoveUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveUseCase'
func (*CsLPPInterface_RemoveUseCase_Call) Return ¶
func (_c *CsLPPInterface_RemoveUseCase_Call) Return() *CsLPPInterface_RemoveUseCase_Call
func (*CsLPPInterface_RemoveUseCase_Call) Run ¶
func (_c *CsLPPInterface_RemoveUseCase_Call) Run(run func()) *CsLPPInterface_RemoveUseCase_Call
func (*CsLPPInterface_RemoveUseCase_Call) RunAndReturn ¶
func (_c *CsLPPInterface_RemoveUseCase_Call) RunAndReturn(run func()) *CsLPPInterface_RemoveUseCase_Call
type CsLPPInterface_SetFailsafeDurationMinimum_Call ¶
CsLPPInterface_SetFailsafeDurationMinimum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetFailsafeDurationMinimum'
func (*CsLPPInterface_SetFailsafeDurationMinimum_Call) Return ¶
func (_c *CsLPPInterface_SetFailsafeDurationMinimum_Call) Return(resultErr error) *CsLPPInterface_SetFailsafeDurationMinimum_Call
func (*CsLPPInterface_SetFailsafeDurationMinimum_Call) Run ¶
func (_c *CsLPPInterface_SetFailsafeDurationMinimum_Call) Run(run func(duration time.Duration, changeable bool)) *CsLPPInterface_SetFailsafeDurationMinimum_Call
func (*CsLPPInterface_SetFailsafeDurationMinimum_Call) RunAndReturn ¶
func (_c *CsLPPInterface_SetFailsafeDurationMinimum_Call) RunAndReturn(run func(time.Duration, bool) error) *CsLPPInterface_SetFailsafeDurationMinimum_Call
type CsLPPInterface_SetFailsafeProductionActivePowerLimit_Call ¶
CsLPPInterface_SetFailsafeProductionActivePowerLimit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetFailsafeProductionActivePowerLimit'
func (*CsLPPInterface_SetFailsafeProductionActivePowerLimit_Call) Return ¶
func (_c *CsLPPInterface_SetFailsafeProductionActivePowerLimit_Call) Return(resultErr error) *CsLPPInterface_SetFailsafeProductionActivePowerLimit_Call
func (*CsLPPInterface_SetFailsafeProductionActivePowerLimit_Call) Run ¶
func (_c *CsLPPInterface_SetFailsafeProductionActivePowerLimit_Call) Run(run func(value float64, changeable bool)) *CsLPPInterface_SetFailsafeProductionActivePowerLimit_Call
func (*CsLPPInterface_SetFailsafeProductionActivePowerLimit_Call) RunAndReturn ¶
func (_c *CsLPPInterface_SetFailsafeProductionActivePowerLimit_Call) RunAndReturn(run func(float64, bool) error) *CsLPPInterface_SetFailsafeProductionActivePowerLimit_Call
type CsLPPInterface_SetProductionLimit_Call ¶
CsLPPInterface_SetProductionLimit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetProductionLimit'
func (*CsLPPInterface_SetProductionLimit_Call) Return ¶
func (_c *CsLPPInterface_SetProductionLimit_Call) Return(resultErr error) *CsLPPInterface_SetProductionLimit_Call
func (*CsLPPInterface_SetProductionLimit_Call) Run ¶
func (_c *CsLPPInterface_SetProductionLimit_Call) Run(run func(limit api.LoadLimit)) *CsLPPInterface_SetProductionLimit_Call
func (*CsLPPInterface_SetProductionLimit_Call) RunAndReturn ¶
func (_c *CsLPPInterface_SetProductionLimit_Call) RunAndReturn(run func(api.LoadLimit) error) *CsLPPInterface_SetProductionLimit_Call
type CsLPPInterface_SetProductionNominalMax_Call ¶ added in v0.6.2
CsLPPInterface_SetProductionNominalMax_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetProductionNominalMax'
func (*CsLPPInterface_SetProductionNominalMax_Call) Return ¶ added in v0.6.2
func (_c *CsLPPInterface_SetProductionNominalMax_Call) Return(resultErr error) *CsLPPInterface_SetProductionNominalMax_Call
func (*CsLPPInterface_SetProductionNominalMax_Call) Run ¶ added in v0.6.2
func (_c *CsLPPInterface_SetProductionNominalMax_Call) Run(run func(value float64)) *CsLPPInterface_SetProductionNominalMax_Call
func (*CsLPPInterface_SetProductionNominalMax_Call) RunAndReturn ¶ added in v0.6.2
func (_c *CsLPPInterface_SetProductionNominalMax_Call) RunAndReturn(run func(float64) error) *CsLPPInterface_SetProductionNominalMax_Call
type CsLPPInterface_UpdateUseCaseAvailability_Call ¶
CsLPPInterface_UpdateUseCaseAvailability_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateUseCaseAvailability'
func (*CsLPPInterface_UpdateUseCaseAvailability_Call) Run ¶
func (_c *CsLPPInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *CsLPPInterface_UpdateUseCaseAvailability_Call
func (*CsLPPInterface_UpdateUseCaseAvailability_Call) RunAndReturn ¶
func (_c *CsLPPInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(bool)) *CsLPPInterface_UpdateUseCaseAvailability_Call
type EgLPCInterface ¶
EgLPCInterface is an autogenerated mock type for the EgLPCInterface type
func NewEgLPCInterface ¶
func NewEgLPCInterface(t interface { mock.TestingT Cleanup(func()) }) *EgLPCInterface
NewEgLPCInterface creates a new instance of EgLPCInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*EgLPCInterface) AddFeatures ¶
func (_m *EgLPCInterface) AddFeatures()
AddFeatures provides a mock function with given fields:
func (*EgLPCInterface) AddUseCase ¶
func (_m *EgLPCInterface) AddUseCase()
AddUseCase provides a mock function with given fields:
func (*EgLPCInterface) AvailableScenariosForEntity ¶
func (_m *EgLPCInterface) AvailableScenariosForEntity(entity spine_goapi.EntityRemoteInterface) []uint
AvailableScenariosForEntity provides a mock function with given fields: entity
func (*EgLPCInterface) ConsumptionLimit ¶
func (_m *EgLPCInterface) ConsumptionLimit(entity spine_goapi.EntityRemoteInterface) (api.LoadLimit, error)
ConsumptionLimit provides a mock function with given fields: entity
func (*EgLPCInterface) ConsumptionNominalMax ¶ added in v0.6.2
func (_m *EgLPCInterface) ConsumptionNominalMax(entity spine_goapi.EntityRemoteInterface) (float64, error)
ConsumptionNominalMax provides a mock function with given fields: entity
func (*EgLPCInterface) EXPECT ¶
func (_m *EgLPCInterface) EXPECT() *EgLPCInterface_Expecter
func (*EgLPCInterface) FailsafeConsumptionActivePowerLimit ¶
func (_m *EgLPCInterface) FailsafeConsumptionActivePowerLimit(entity spine_goapi.EntityRemoteInterface) (float64, error)
FailsafeConsumptionActivePowerLimit provides a mock function with given fields: entity
func (*EgLPCInterface) FailsafeDurationMinimum ¶
func (_m *EgLPCInterface) FailsafeDurationMinimum(entity spine_goapi.EntityRemoteInterface) (time.Duration, error)
FailsafeDurationMinimum provides a mock function with given fields: entity
func (*EgLPCInterface) IsCompatibleEntityType ¶
func (_m *EgLPCInterface) IsCompatibleEntityType(entity spine_goapi.EntityRemoteInterface) bool
IsCompatibleEntityType provides a mock function with given fields: entity
func (*EgLPCInterface) IsScenarioAvailableAtEntity ¶
func (_m *EgLPCInterface) IsScenarioAvailableAtEntity(entity spine_goapi.EntityRemoteInterface, scenario uint) bool
IsScenarioAvailableAtEntity provides a mock function with given fields: entity, scenario
func (*EgLPCInterface) RemoteEntitiesScenarios ¶
func (_m *EgLPCInterface) RemoteEntitiesScenarios() []eebus_goapi.RemoteEntityScenarios
RemoteEntitiesScenarios provides a mock function with given fields:
func (*EgLPCInterface) RemoveUseCase ¶
func (_m *EgLPCInterface) RemoveUseCase()
RemoveUseCase provides a mock function with given fields:
func (*EgLPCInterface) UpdateUseCaseAvailability ¶
func (_m *EgLPCInterface) UpdateUseCaseAvailability(available bool)
UpdateUseCaseAvailability provides a mock function with given fields: available
func (*EgLPCInterface) WriteConsumptionLimit ¶
func (_m *EgLPCInterface) WriteConsumptionLimit(entity spine_goapi.EntityRemoteInterface, limit api.LoadLimit, resultCB func(model.ResultDataType)) (*model.MsgCounterType, error)
WriteConsumptionLimit provides a mock function with given fields: entity, limit, resultCB
func (*EgLPCInterface) WriteFailsafeConsumptionActivePowerLimit ¶
func (_m *EgLPCInterface) WriteFailsafeConsumptionActivePowerLimit(entity spine_goapi.EntityRemoteInterface, value float64) (*model.MsgCounterType, error)
WriteFailsafeConsumptionActivePowerLimit provides a mock function with given fields: entity, value
func (*EgLPCInterface) WriteFailsafeDurationMinimum ¶
func (_m *EgLPCInterface) WriteFailsafeDurationMinimum(entity spine_goapi.EntityRemoteInterface, duration time.Duration) (*model.MsgCounterType, error)
WriteFailsafeDurationMinimum provides a mock function with given fields: entity, duration
type EgLPCInterface_AddFeatures_Call ¶
EgLPCInterface_AddFeatures_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddFeatures'
func (*EgLPCInterface_AddFeatures_Call) Return ¶
func (_c *EgLPCInterface_AddFeatures_Call) Return() *EgLPCInterface_AddFeatures_Call
func (*EgLPCInterface_AddFeatures_Call) Run ¶
func (_c *EgLPCInterface_AddFeatures_Call) Run(run func()) *EgLPCInterface_AddFeatures_Call
func (*EgLPCInterface_AddFeatures_Call) RunAndReturn ¶
func (_c *EgLPCInterface_AddFeatures_Call) RunAndReturn(run func()) *EgLPCInterface_AddFeatures_Call
type EgLPCInterface_AddUseCase_Call ¶
EgLPCInterface_AddUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddUseCase'
func (*EgLPCInterface_AddUseCase_Call) Return ¶
func (_c *EgLPCInterface_AddUseCase_Call) Return() *EgLPCInterface_AddUseCase_Call
func (*EgLPCInterface_AddUseCase_Call) Run ¶
func (_c *EgLPCInterface_AddUseCase_Call) Run(run func()) *EgLPCInterface_AddUseCase_Call
func (*EgLPCInterface_AddUseCase_Call) RunAndReturn ¶
func (_c *EgLPCInterface_AddUseCase_Call) RunAndReturn(run func()) *EgLPCInterface_AddUseCase_Call
type EgLPCInterface_AvailableScenariosForEntity_Call ¶
EgLPCInterface_AvailableScenariosForEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AvailableScenariosForEntity'
func (*EgLPCInterface_AvailableScenariosForEntity_Call) Return ¶
func (_c *EgLPCInterface_AvailableScenariosForEntity_Call) Return(_a0 []uint) *EgLPCInterface_AvailableScenariosForEntity_Call
func (*EgLPCInterface_AvailableScenariosForEntity_Call) Run ¶
func (_c *EgLPCInterface_AvailableScenariosForEntity_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *EgLPCInterface_AvailableScenariosForEntity_Call
func (*EgLPCInterface_AvailableScenariosForEntity_Call) RunAndReturn ¶
func (_c *EgLPCInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) []uint) *EgLPCInterface_AvailableScenariosForEntity_Call
type EgLPCInterface_ConsumptionLimit_Call ¶
EgLPCInterface_ConsumptionLimit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ConsumptionLimit'
func (*EgLPCInterface_ConsumptionLimit_Call) Return ¶
func (_c *EgLPCInterface_ConsumptionLimit_Call) Return(limit api.LoadLimit, resultErr error) *EgLPCInterface_ConsumptionLimit_Call
func (*EgLPCInterface_ConsumptionLimit_Call) Run ¶
func (_c *EgLPCInterface_ConsumptionLimit_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *EgLPCInterface_ConsumptionLimit_Call
func (*EgLPCInterface_ConsumptionLimit_Call) RunAndReturn ¶
func (_c *EgLPCInterface_ConsumptionLimit_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (api.LoadLimit, error)) *EgLPCInterface_ConsumptionLimit_Call
type EgLPCInterface_ConsumptionNominalMax_Call ¶ added in v0.6.2
EgLPCInterface_ConsumptionNominalMax_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ConsumptionNominalMax'
func (*EgLPCInterface_ConsumptionNominalMax_Call) Return ¶ added in v0.6.2
func (_c *EgLPCInterface_ConsumptionNominalMax_Call) Return(_a0 float64, _a1 error) *EgLPCInterface_ConsumptionNominalMax_Call
func (*EgLPCInterface_ConsumptionNominalMax_Call) Run ¶ added in v0.6.2
func (_c *EgLPCInterface_ConsumptionNominalMax_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *EgLPCInterface_ConsumptionNominalMax_Call
func (*EgLPCInterface_ConsumptionNominalMax_Call) RunAndReturn ¶ added in v0.6.2
func (_c *EgLPCInterface_ConsumptionNominalMax_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (float64, error)) *EgLPCInterface_ConsumptionNominalMax_Call
type EgLPCInterface_Expecter ¶
type EgLPCInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*EgLPCInterface_Expecter) AddFeatures ¶
func (_e *EgLPCInterface_Expecter) AddFeatures() *EgLPCInterface_AddFeatures_Call
AddFeatures is a helper method to define mock.On call
func (*EgLPCInterface_Expecter) AddUseCase ¶
func (_e *EgLPCInterface_Expecter) AddUseCase() *EgLPCInterface_AddUseCase_Call
AddUseCase is a helper method to define mock.On call
func (*EgLPCInterface_Expecter) AvailableScenariosForEntity ¶
func (_e *EgLPCInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *EgLPCInterface_AvailableScenariosForEntity_Call
AvailableScenariosForEntity is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*EgLPCInterface_Expecter) ConsumptionLimit ¶
func (_e *EgLPCInterface_Expecter) ConsumptionLimit(entity interface{}) *EgLPCInterface_ConsumptionLimit_Call
ConsumptionLimit is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*EgLPCInterface_Expecter) ConsumptionNominalMax ¶ added in v0.6.2
func (_e *EgLPCInterface_Expecter) ConsumptionNominalMax(entity interface{}) *EgLPCInterface_ConsumptionNominalMax_Call
ConsumptionNominalMax is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*EgLPCInterface_Expecter) FailsafeConsumptionActivePowerLimit ¶
func (_e *EgLPCInterface_Expecter) FailsafeConsumptionActivePowerLimit(entity interface{}) *EgLPCInterface_FailsafeConsumptionActivePowerLimit_Call
FailsafeConsumptionActivePowerLimit is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*EgLPCInterface_Expecter) FailsafeDurationMinimum ¶
func (_e *EgLPCInterface_Expecter) FailsafeDurationMinimum(entity interface{}) *EgLPCInterface_FailsafeDurationMinimum_Call
FailsafeDurationMinimum is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*EgLPCInterface_Expecter) IsCompatibleEntityType ¶
func (_e *EgLPCInterface_Expecter) IsCompatibleEntityType(entity interface{}) *EgLPCInterface_IsCompatibleEntityType_Call
IsCompatibleEntityType is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*EgLPCInterface_Expecter) IsScenarioAvailableAtEntity ¶
func (_e *EgLPCInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *EgLPCInterface_IsScenarioAvailableAtEntity_Call
IsScenarioAvailableAtEntity is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
- scenario uint
func (*EgLPCInterface_Expecter) RemoteEntitiesScenarios ¶
func (_e *EgLPCInterface_Expecter) RemoteEntitiesScenarios() *EgLPCInterface_RemoteEntitiesScenarios_Call
RemoteEntitiesScenarios is a helper method to define mock.On call
func (*EgLPCInterface_Expecter) RemoveUseCase ¶
func (_e *EgLPCInterface_Expecter) RemoveUseCase() *EgLPCInterface_RemoveUseCase_Call
RemoveUseCase is a helper method to define mock.On call
func (*EgLPCInterface_Expecter) UpdateUseCaseAvailability ¶
func (_e *EgLPCInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *EgLPCInterface_UpdateUseCaseAvailability_Call
UpdateUseCaseAvailability is a helper method to define mock.On call
- available bool
func (*EgLPCInterface_Expecter) WriteConsumptionLimit ¶
func (_e *EgLPCInterface_Expecter) WriteConsumptionLimit(entity interface{}, limit interface{}, resultCB interface{}) *EgLPCInterface_WriteConsumptionLimit_Call
WriteConsumptionLimit is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
- limit api.LoadLimit
- resultCB func(model.ResultDataType)
func (*EgLPCInterface_Expecter) WriteFailsafeConsumptionActivePowerLimit ¶
func (_e *EgLPCInterface_Expecter) WriteFailsafeConsumptionActivePowerLimit(entity interface{}, value interface{}) *EgLPCInterface_WriteFailsafeConsumptionActivePowerLimit_Call
WriteFailsafeConsumptionActivePowerLimit is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
- value float64
func (*EgLPCInterface_Expecter) WriteFailsafeDurationMinimum ¶
func (_e *EgLPCInterface_Expecter) WriteFailsafeDurationMinimum(entity interface{}, duration interface{}) *EgLPCInterface_WriteFailsafeDurationMinimum_Call
WriteFailsafeDurationMinimum is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
- duration time.Duration
type EgLPCInterface_FailsafeConsumptionActivePowerLimit_Call ¶
EgLPCInterface_FailsafeConsumptionActivePowerLimit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FailsafeConsumptionActivePowerLimit'
func (*EgLPCInterface_FailsafeConsumptionActivePowerLimit_Call) Return ¶
func (_c *EgLPCInterface_FailsafeConsumptionActivePowerLimit_Call) Return(_a0 float64, _a1 error) *EgLPCInterface_FailsafeConsumptionActivePowerLimit_Call
func (*EgLPCInterface_FailsafeConsumptionActivePowerLimit_Call) Run ¶
func (_c *EgLPCInterface_FailsafeConsumptionActivePowerLimit_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *EgLPCInterface_FailsafeConsumptionActivePowerLimit_Call
func (*EgLPCInterface_FailsafeConsumptionActivePowerLimit_Call) RunAndReturn ¶
func (_c *EgLPCInterface_FailsafeConsumptionActivePowerLimit_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (float64, error)) *EgLPCInterface_FailsafeConsumptionActivePowerLimit_Call
type EgLPCInterface_FailsafeDurationMinimum_Call ¶
EgLPCInterface_FailsafeDurationMinimum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FailsafeDurationMinimum'
func (*EgLPCInterface_FailsafeDurationMinimum_Call) Return ¶
func (_c *EgLPCInterface_FailsafeDurationMinimum_Call) Return(_a0 time.Duration, _a1 error) *EgLPCInterface_FailsafeDurationMinimum_Call
func (*EgLPCInterface_FailsafeDurationMinimum_Call) Run ¶
func (_c *EgLPCInterface_FailsafeDurationMinimum_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *EgLPCInterface_FailsafeDurationMinimum_Call
func (*EgLPCInterface_FailsafeDurationMinimum_Call) RunAndReturn ¶
func (_c *EgLPCInterface_FailsafeDurationMinimum_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (time.Duration, error)) *EgLPCInterface_FailsafeDurationMinimum_Call
type EgLPCInterface_IsCompatibleEntityType_Call ¶
EgLPCInterface_IsCompatibleEntityType_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsCompatibleEntityType'
func (*EgLPCInterface_IsCompatibleEntityType_Call) Return ¶
func (_c *EgLPCInterface_IsCompatibleEntityType_Call) Return(_a0 bool) *EgLPCInterface_IsCompatibleEntityType_Call
func (*EgLPCInterface_IsCompatibleEntityType_Call) Run ¶
func (_c *EgLPCInterface_IsCompatibleEntityType_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *EgLPCInterface_IsCompatibleEntityType_Call
func (*EgLPCInterface_IsCompatibleEntityType_Call) RunAndReturn ¶
func (_c *EgLPCInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) bool) *EgLPCInterface_IsCompatibleEntityType_Call
type EgLPCInterface_IsScenarioAvailableAtEntity_Call ¶
EgLPCInterface_IsScenarioAvailableAtEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsScenarioAvailableAtEntity'
func (*EgLPCInterface_IsScenarioAvailableAtEntity_Call) Return ¶
func (_c *EgLPCInterface_IsScenarioAvailableAtEntity_Call) Return(_a0 bool) *EgLPCInterface_IsScenarioAvailableAtEntity_Call
func (*EgLPCInterface_IsScenarioAvailableAtEntity_Call) Run ¶
func (_c *EgLPCInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity spine_goapi.EntityRemoteInterface, scenario uint)) *EgLPCInterface_IsScenarioAvailableAtEntity_Call
func (*EgLPCInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn ¶
func (_c *EgLPCInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface, uint) bool) *EgLPCInterface_IsScenarioAvailableAtEntity_Call
type EgLPCInterface_RemoteEntitiesScenarios_Call ¶
EgLPCInterface_RemoteEntitiesScenarios_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoteEntitiesScenarios'
func (*EgLPCInterface_RemoteEntitiesScenarios_Call) Run ¶
func (_c *EgLPCInterface_RemoteEntitiesScenarios_Call) Run(run func()) *EgLPCInterface_RemoteEntitiesScenarios_Call
func (*EgLPCInterface_RemoteEntitiesScenarios_Call) RunAndReturn ¶
func (_c *EgLPCInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []eebus_goapi.RemoteEntityScenarios) *EgLPCInterface_RemoteEntitiesScenarios_Call
type EgLPCInterface_RemoveUseCase_Call ¶
EgLPCInterface_RemoveUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveUseCase'
func (*EgLPCInterface_RemoveUseCase_Call) Return ¶
func (_c *EgLPCInterface_RemoveUseCase_Call) Return() *EgLPCInterface_RemoveUseCase_Call
func (*EgLPCInterface_RemoveUseCase_Call) Run ¶
func (_c *EgLPCInterface_RemoveUseCase_Call) Run(run func()) *EgLPCInterface_RemoveUseCase_Call
func (*EgLPCInterface_RemoveUseCase_Call) RunAndReturn ¶
func (_c *EgLPCInterface_RemoveUseCase_Call) RunAndReturn(run func()) *EgLPCInterface_RemoveUseCase_Call
type EgLPCInterface_UpdateUseCaseAvailability_Call ¶
EgLPCInterface_UpdateUseCaseAvailability_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateUseCaseAvailability'
func (*EgLPCInterface_UpdateUseCaseAvailability_Call) Run ¶
func (_c *EgLPCInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *EgLPCInterface_UpdateUseCaseAvailability_Call
func (*EgLPCInterface_UpdateUseCaseAvailability_Call) RunAndReturn ¶
func (_c *EgLPCInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(bool)) *EgLPCInterface_UpdateUseCaseAvailability_Call
type EgLPCInterface_WriteConsumptionLimit_Call ¶
EgLPCInterface_WriteConsumptionLimit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WriteConsumptionLimit'
func (*EgLPCInterface_WriteConsumptionLimit_Call) Return ¶
func (_c *EgLPCInterface_WriteConsumptionLimit_Call) Return(_a0 *model.MsgCounterType, _a1 error) *EgLPCInterface_WriteConsumptionLimit_Call
func (*EgLPCInterface_WriteConsumptionLimit_Call) Run ¶
func (_c *EgLPCInterface_WriteConsumptionLimit_Call) Run(run func(entity spine_goapi.EntityRemoteInterface, limit api.LoadLimit, resultCB func(model.ResultDataType))) *EgLPCInterface_WriteConsumptionLimit_Call
func (*EgLPCInterface_WriteConsumptionLimit_Call) RunAndReturn ¶
func (_c *EgLPCInterface_WriteConsumptionLimit_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface, api.LoadLimit, func(model.ResultDataType)) (*model.MsgCounterType, error)) *EgLPCInterface_WriteConsumptionLimit_Call
type EgLPCInterface_WriteFailsafeConsumptionActivePowerLimit_Call ¶
EgLPCInterface_WriteFailsafeConsumptionActivePowerLimit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WriteFailsafeConsumptionActivePowerLimit'
func (*EgLPCInterface_WriteFailsafeConsumptionActivePowerLimit_Call) Run ¶
func (_c *EgLPCInterface_WriteFailsafeConsumptionActivePowerLimit_Call) Run(run func(entity spine_goapi.EntityRemoteInterface, value float64)) *EgLPCInterface_WriteFailsafeConsumptionActivePowerLimit_Call
func (*EgLPCInterface_WriteFailsafeConsumptionActivePowerLimit_Call) RunAndReturn ¶
func (_c *EgLPCInterface_WriteFailsafeConsumptionActivePowerLimit_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface, float64) (*model.MsgCounterType, error)) *EgLPCInterface_WriteFailsafeConsumptionActivePowerLimit_Call
type EgLPCInterface_WriteFailsafeDurationMinimum_Call ¶
EgLPCInterface_WriteFailsafeDurationMinimum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WriteFailsafeDurationMinimum'
func (*EgLPCInterface_WriteFailsafeDurationMinimum_Call) Return ¶
func (_c *EgLPCInterface_WriteFailsafeDurationMinimum_Call) Return(_a0 *model.MsgCounterType, _a1 error) *EgLPCInterface_WriteFailsafeDurationMinimum_Call
func (*EgLPCInterface_WriteFailsafeDurationMinimum_Call) Run ¶
func (_c *EgLPCInterface_WriteFailsafeDurationMinimum_Call) Run(run func(entity spine_goapi.EntityRemoteInterface, duration time.Duration)) *EgLPCInterface_WriteFailsafeDurationMinimum_Call
func (*EgLPCInterface_WriteFailsafeDurationMinimum_Call) RunAndReturn ¶
func (_c *EgLPCInterface_WriteFailsafeDurationMinimum_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface, time.Duration) (*model.MsgCounterType, error)) *EgLPCInterface_WriteFailsafeDurationMinimum_Call
type EgLPPInterface ¶
EgLPPInterface is an autogenerated mock type for the EgLPPInterface type
func NewEgLPPInterface ¶
func NewEgLPPInterface(t interface { mock.TestingT Cleanup(func()) }) *EgLPPInterface
NewEgLPPInterface creates a new instance of EgLPPInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*EgLPPInterface) AddFeatures ¶
func (_m *EgLPPInterface) AddFeatures()
AddFeatures provides a mock function with given fields:
func (*EgLPPInterface) AddUseCase ¶
func (_m *EgLPPInterface) AddUseCase()
AddUseCase provides a mock function with given fields:
func (*EgLPPInterface) AvailableScenariosForEntity ¶
func (_m *EgLPPInterface) AvailableScenariosForEntity(entity spine_goapi.EntityRemoteInterface) []uint
AvailableScenariosForEntity provides a mock function with given fields: entity
func (*EgLPPInterface) EXPECT ¶
func (_m *EgLPPInterface) EXPECT() *EgLPPInterface_Expecter
func (*EgLPPInterface) FailsafeDurationMinimum ¶
func (_m *EgLPPInterface) FailsafeDurationMinimum(entity spine_goapi.EntityRemoteInterface) (time.Duration, error)
FailsafeDurationMinimum provides a mock function with given fields: entity
func (*EgLPPInterface) FailsafeProductionActivePowerLimit ¶
func (_m *EgLPPInterface) FailsafeProductionActivePowerLimit(entity spine_goapi.EntityRemoteInterface) (float64, error)
FailsafeProductionActivePowerLimit provides a mock function with given fields: entity
func (*EgLPPInterface) IsCompatibleEntityType ¶
func (_m *EgLPPInterface) IsCompatibleEntityType(entity spine_goapi.EntityRemoteInterface) bool
IsCompatibleEntityType provides a mock function with given fields: entity
func (*EgLPPInterface) IsScenarioAvailableAtEntity ¶
func (_m *EgLPPInterface) IsScenarioAvailableAtEntity(entity spine_goapi.EntityRemoteInterface, scenario uint) bool
IsScenarioAvailableAtEntity provides a mock function with given fields: entity, scenario
func (*EgLPPInterface) ProductionLimit ¶
func (_m *EgLPPInterface) ProductionLimit(entity spine_goapi.EntityRemoteInterface) (api.LoadLimit, error)
ProductionLimit provides a mock function with given fields: entity
func (*EgLPPInterface) ProductionNominalMax ¶ added in v0.6.2
func (_m *EgLPPInterface) ProductionNominalMax(entity spine_goapi.EntityRemoteInterface) (float64, error)
ProductionNominalMax provides a mock function with given fields: entity
func (*EgLPPInterface) RemoteEntitiesScenarios ¶
func (_m *EgLPPInterface) RemoteEntitiesScenarios() []eebus_goapi.RemoteEntityScenarios
RemoteEntitiesScenarios provides a mock function with given fields:
func (*EgLPPInterface) RemoveUseCase ¶
func (_m *EgLPPInterface) RemoveUseCase()
RemoveUseCase provides a mock function with given fields:
func (*EgLPPInterface) UpdateUseCaseAvailability ¶
func (_m *EgLPPInterface) UpdateUseCaseAvailability(available bool)
UpdateUseCaseAvailability provides a mock function with given fields: available
func (*EgLPPInterface) WriteFailsafeDurationMinimum ¶
func (_m *EgLPPInterface) WriteFailsafeDurationMinimum(entity spine_goapi.EntityRemoteInterface, duration time.Duration) (*model.MsgCounterType, error)
WriteFailsafeDurationMinimum provides a mock function with given fields: entity, duration
func (*EgLPPInterface) WriteFailsafeProductionActivePowerLimit ¶
func (_m *EgLPPInterface) WriteFailsafeProductionActivePowerLimit(entity spine_goapi.EntityRemoteInterface, value float64) (*model.MsgCounterType, error)
WriteFailsafeProductionActivePowerLimit provides a mock function with given fields: entity, value
func (*EgLPPInterface) WriteProductionLimit ¶
func (_m *EgLPPInterface) WriteProductionLimit(entity spine_goapi.EntityRemoteInterface, limit api.LoadLimit, resultCB func(model.ResultDataType)) (*model.MsgCounterType, error)
WriteProductionLimit provides a mock function with given fields: entity, limit, resultCB
type EgLPPInterface_AddFeatures_Call ¶
EgLPPInterface_AddFeatures_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddFeatures'
func (*EgLPPInterface_AddFeatures_Call) Return ¶
func (_c *EgLPPInterface_AddFeatures_Call) Return() *EgLPPInterface_AddFeatures_Call
func (*EgLPPInterface_AddFeatures_Call) Run ¶
func (_c *EgLPPInterface_AddFeatures_Call) Run(run func()) *EgLPPInterface_AddFeatures_Call
func (*EgLPPInterface_AddFeatures_Call) RunAndReturn ¶
func (_c *EgLPPInterface_AddFeatures_Call) RunAndReturn(run func()) *EgLPPInterface_AddFeatures_Call
type EgLPPInterface_AddUseCase_Call ¶
EgLPPInterface_AddUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddUseCase'
func (*EgLPPInterface_AddUseCase_Call) Return ¶
func (_c *EgLPPInterface_AddUseCase_Call) Return() *EgLPPInterface_AddUseCase_Call
func (*EgLPPInterface_AddUseCase_Call) Run ¶
func (_c *EgLPPInterface_AddUseCase_Call) Run(run func()) *EgLPPInterface_AddUseCase_Call
func (*EgLPPInterface_AddUseCase_Call) RunAndReturn ¶
func (_c *EgLPPInterface_AddUseCase_Call) RunAndReturn(run func()) *EgLPPInterface_AddUseCase_Call
type EgLPPInterface_AvailableScenariosForEntity_Call ¶
EgLPPInterface_AvailableScenariosForEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AvailableScenariosForEntity'
func (*EgLPPInterface_AvailableScenariosForEntity_Call) Return ¶
func (_c *EgLPPInterface_AvailableScenariosForEntity_Call) Return(_a0 []uint) *EgLPPInterface_AvailableScenariosForEntity_Call
func (*EgLPPInterface_AvailableScenariosForEntity_Call) Run ¶
func (_c *EgLPPInterface_AvailableScenariosForEntity_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *EgLPPInterface_AvailableScenariosForEntity_Call
func (*EgLPPInterface_AvailableScenariosForEntity_Call) RunAndReturn ¶
func (_c *EgLPPInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) []uint) *EgLPPInterface_AvailableScenariosForEntity_Call
type EgLPPInterface_Expecter ¶
type EgLPPInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*EgLPPInterface_Expecter) AddFeatures ¶
func (_e *EgLPPInterface_Expecter) AddFeatures() *EgLPPInterface_AddFeatures_Call
AddFeatures is a helper method to define mock.On call
func (*EgLPPInterface_Expecter) AddUseCase ¶
func (_e *EgLPPInterface_Expecter) AddUseCase() *EgLPPInterface_AddUseCase_Call
AddUseCase is a helper method to define mock.On call
func (*EgLPPInterface_Expecter) AvailableScenariosForEntity ¶
func (_e *EgLPPInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *EgLPPInterface_AvailableScenariosForEntity_Call
AvailableScenariosForEntity is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*EgLPPInterface_Expecter) FailsafeDurationMinimum ¶
func (_e *EgLPPInterface_Expecter) FailsafeDurationMinimum(entity interface{}) *EgLPPInterface_FailsafeDurationMinimum_Call
FailsafeDurationMinimum is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*EgLPPInterface_Expecter) FailsafeProductionActivePowerLimit ¶
func (_e *EgLPPInterface_Expecter) FailsafeProductionActivePowerLimit(entity interface{}) *EgLPPInterface_FailsafeProductionActivePowerLimit_Call
FailsafeProductionActivePowerLimit is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*EgLPPInterface_Expecter) IsCompatibleEntityType ¶
func (_e *EgLPPInterface_Expecter) IsCompatibleEntityType(entity interface{}) *EgLPPInterface_IsCompatibleEntityType_Call
IsCompatibleEntityType is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*EgLPPInterface_Expecter) IsScenarioAvailableAtEntity ¶
func (_e *EgLPPInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *EgLPPInterface_IsScenarioAvailableAtEntity_Call
IsScenarioAvailableAtEntity is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
- scenario uint
func (*EgLPPInterface_Expecter) ProductionLimit ¶
func (_e *EgLPPInterface_Expecter) ProductionLimit(entity interface{}) *EgLPPInterface_ProductionLimit_Call
ProductionLimit is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*EgLPPInterface_Expecter) ProductionNominalMax ¶ added in v0.6.2
func (_e *EgLPPInterface_Expecter) ProductionNominalMax(entity interface{}) *EgLPPInterface_ProductionNominalMax_Call
ProductionNominalMax is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*EgLPPInterface_Expecter) RemoteEntitiesScenarios ¶
func (_e *EgLPPInterface_Expecter) RemoteEntitiesScenarios() *EgLPPInterface_RemoteEntitiesScenarios_Call
RemoteEntitiesScenarios is a helper method to define mock.On call
func (*EgLPPInterface_Expecter) RemoveUseCase ¶
func (_e *EgLPPInterface_Expecter) RemoveUseCase() *EgLPPInterface_RemoveUseCase_Call
RemoveUseCase is a helper method to define mock.On call
func (*EgLPPInterface_Expecter) UpdateUseCaseAvailability ¶
func (_e *EgLPPInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *EgLPPInterface_UpdateUseCaseAvailability_Call
UpdateUseCaseAvailability is a helper method to define mock.On call
- available bool
func (*EgLPPInterface_Expecter) WriteFailsafeDurationMinimum ¶
func (_e *EgLPPInterface_Expecter) WriteFailsafeDurationMinimum(entity interface{}, duration interface{}) *EgLPPInterface_WriteFailsafeDurationMinimum_Call
WriteFailsafeDurationMinimum is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
- duration time.Duration
func (*EgLPPInterface_Expecter) WriteFailsafeProductionActivePowerLimit ¶
func (_e *EgLPPInterface_Expecter) WriteFailsafeProductionActivePowerLimit(entity interface{}, value interface{}) *EgLPPInterface_WriteFailsafeProductionActivePowerLimit_Call
WriteFailsafeProductionActivePowerLimit is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
- value float64
func (*EgLPPInterface_Expecter) WriteProductionLimit ¶
func (_e *EgLPPInterface_Expecter) WriteProductionLimit(entity interface{}, limit interface{}, resultCB interface{}) *EgLPPInterface_WriteProductionLimit_Call
WriteProductionLimit is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
- limit api.LoadLimit
- resultCB func(model.ResultDataType)
type EgLPPInterface_FailsafeDurationMinimum_Call ¶
EgLPPInterface_FailsafeDurationMinimum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FailsafeDurationMinimum'
func (*EgLPPInterface_FailsafeDurationMinimum_Call) Return ¶
func (_c *EgLPPInterface_FailsafeDurationMinimum_Call) Return(_a0 time.Duration, _a1 error) *EgLPPInterface_FailsafeDurationMinimum_Call
func (*EgLPPInterface_FailsafeDurationMinimum_Call) Run ¶
func (_c *EgLPPInterface_FailsafeDurationMinimum_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *EgLPPInterface_FailsafeDurationMinimum_Call
func (*EgLPPInterface_FailsafeDurationMinimum_Call) RunAndReturn ¶
func (_c *EgLPPInterface_FailsafeDurationMinimum_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (time.Duration, error)) *EgLPPInterface_FailsafeDurationMinimum_Call
type EgLPPInterface_FailsafeProductionActivePowerLimit_Call ¶
EgLPPInterface_FailsafeProductionActivePowerLimit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FailsafeProductionActivePowerLimit'
func (*EgLPPInterface_FailsafeProductionActivePowerLimit_Call) Return ¶
func (_c *EgLPPInterface_FailsafeProductionActivePowerLimit_Call) Return(_a0 float64, _a1 error) *EgLPPInterface_FailsafeProductionActivePowerLimit_Call
func (*EgLPPInterface_FailsafeProductionActivePowerLimit_Call) Run ¶
func (_c *EgLPPInterface_FailsafeProductionActivePowerLimit_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *EgLPPInterface_FailsafeProductionActivePowerLimit_Call
func (*EgLPPInterface_FailsafeProductionActivePowerLimit_Call) RunAndReturn ¶
func (_c *EgLPPInterface_FailsafeProductionActivePowerLimit_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (float64, error)) *EgLPPInterface_FailsafeProductionActivePowerLimit_Call
type EgLPPInterface_IsCompatibleEntityType_Call ¶
EgLPPInterface_IsCompatibleEntityType_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsCompatibleEntityType'
func (*EgLPPInterface_IsCompatibleEntityType_Call) Return ¶
func (_c *EgLPPInterface_IsCompatibleEntityType_Call) Return(_a0 bool) *EgLPPInterface_IsCompatibleEntityType_Call
func (*EgLPPInterface_IsCompatibleEntityType_Call) Run ¶
func (_c *EgLPPInterface_IsCompatibleEntityType_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *EgLPPInterface_IsCompatibleEntityType_Call
func (*EgLPPInterface_IsCompatibleEntityType_Call) RunAndReturn ¶
func (_c *EgLPPInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) bool) *EgLPPInterface_IsCompatibleEntityType_Call
type EgLPPInterface_IsScenarioAvailableAtEntity_Call ¶
EgLPPInterface_IsScenarioAvailableAtEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsScenarioAvailableAtEntity'
func (*EgLPPInterface_IsScenarioAvailableAtEntity_Call) Return ¶
func (_c *EgLPPInterface_IsScenarioAvailableAtEntity_Call) Return(_a0 bool) *EgLPPInterface_IsScenarioAvailableAtEntity_Call
func (*EgLPPInterface_IsScenarioAvailableAtEntity_Call) Run ¶
func (_c *EgLPPInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity spine_goapi.EntityRemoteInterface, scenario uint)) *EgLPPInterface_IsScenarioAvailableAtEntity_Call
func (*EgLPPInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn ¶
func (_c *EgLPPInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface, uint) bool) *EgLPPInterface_IsScenarioAvailableAtEntity_Call
type EgLPPInterface_ProductionLimit_Call ¶
EgLPPInterface_ProductionLimit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ProductionLimit'
func (*EgLPPInterface_ProductionLimit_Call) Return ¶
func (_c *EgLPPInterface_ProductionLimit_Call) Return(limit api.LoadLimit, resultErr error) *EgLPPInterface_ProductionLimit_Call
func (*EgLPPInterface_ProductionLimit_Call) Run ¶
func (_c *EgLPPInterface_ProductionLimit_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *EgLPPInterface_ProductionLimit_Call
func (*EgLPPInterface_ProductionLimit_Call) RunAndReturn ¶
func (_c *EgLPPInterface_ProductionLimit_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (api.LoadLimit, error)) *EgLPPInterface_ProductionLimit_Call
type EgLPPInterface_ProductionNominalMax_Call ¶ added in v0.6.2
EgLPPInterface_ProductionNominalMax_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ProductionNominalMax'
func (*EgLPPInterface_ProductionNominalMax_Call) Return ¶ added in v0.6.2
func (_c *EgLPPInterface_ProductionNominalMax_Call) Return(_a0 float64, _a1 error) *EgLPPInterface_ProductionNominalMax_Call
func (*EgLPPInterface_ProductionNominalMax_Call) Run ¶ added in v0.6.2
func (_c *EgLPPInterface_ProductionNominalMax_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *EgLPPInterface_ProductionNominalMax_Call
func (*EgLPPInterface_ProductionNominalMax_Call) RunAndReturn ¶ added in v0.6.2
func (_c *EgLPPInterface_ProductionNominalMax_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (float64, error)) *EgLPPInterface_ProductionNominalMax_Call
type EgLPPInterface_RemoteEntitiesScenarios_Call ¶
EgLPPInterface_RemoteEntitiesScenarios_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoteEntitiesScenarios'
func (*EgLPPInterface_RemoteEntitiesScenarios_Call) Run ¶
func (_c *EgLPPInterface_RemoteEntitiesScenarios_Call) Run(run func()) *EgLPPInterface_RemoteEntitiesScenarios_Call
func (*EgLPPInterface_RemoteEntitiesScenarios_Call) RunAndReturn ¶
func (_c *EgLPPInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []eebus_goapi.RemoteEntityScenarios) *EgLPPInterface_RemoteEntitiesScenarios_Call
type EgLPPInterface_RemoveUseCase_Call ¶
EgLPPInterface_RemoveUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveUseCase'
func (*EgLPPInterface_RemoveUseCase_Call) Return ¶
func (_c *EgLPPInterface_RemoveUseCase_Call) Return() *EgLPPInterface_RemoveUseCase_Call
func (*EgLPPInterface_RemoveUseCase_Call) Run ¶
func (_c *EgLPPInterface_RemoveUseCase_Call) Run(run func()) *EgLPPInterface_RemoveUseCase_Call
func (*EgLPPInterface_RemoveUseCase_Call) RunAndReturn ¶
func (_c *EgLPPInterface_RemoveUseCase_Call) RunAndReturn(run func()) *EgLPPInterface_RemoveUseCase_Call
type EgLPPInterface_UpdateUseCaseAvailability_Call ¶
EgLPPInterface_UpdateUseCaseAvailability_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateUseCaseAvailability'
func (*EgLPPInterface_UpdateUseCaseAvailability_Call) Run ¶
func (_c *EgLPPInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *EgLPPInterface_UpdateUseCaseAvailability_Call
func (*EgLPPInterface_UpdateUseCaseAvailability_Call) RunAndReturn ¶
func (_c *EgLPPInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(bool)) *EgLPPInterface_UpdateUseCaseAvailability_Call
type EgLPPInterface_WriteFailsafeDurationMinimum_Call ¶
EgLPPInterface_WriteFailsafeDurationMinimum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WriteFailsafeDurationMinimum'
func (*EgLPPInterface_WriteFailsafeDurationMinimum_Call) Return ¶
func (_c *EgLPPInterface_WriteFailsafeDurationMinimum_Call) Return(_a0 *model.MsgCounterType, _a1 error) *EgLPPInterface_WriteFailsafeDurationMinimum_Call
func (*EgLPPInterface_WriteFailsafeDurationMinimum_Call) Run ¶
func (_c *EgLPPInterface_WriteFailsafeDurationMinimum_Call) Run(run func(entity spine_goapi.EntityRemoteInterface, duration time.Duration)) *EgLPPInterface_WriteFailsafeDurationMinimum_Call
func (*EgLPPInterface_WriteFailsafeDurationMinimum_Call) RunAndReturn ¶
func (_c *EgLPPInterface_WriteFailsafeDurationMinimum_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface, time.Duration) (*model.MsgCounterType, error)) *EgLPPInterface_WriteFailsafeDurationMinimum_Call
type EgLPPInterface_WriteFailsafeProductionActivePowerLimit_Call ¶
EgLPPInterface_WriteFailsafeProductionActivePowerLimit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WriteFailsafeProductionActivePowerLimit'
func (*EgLPPInterface_WriteFailsafeProductionActivePowerLimit_Call) Run ¶
func (_c *EgLPPInterface_WriteFailsafeProductionActivePowerLimit_Call) Run(run func(entity spine_goapi.EntityRemoteInterface, value float64)) *EgLPPInterface_WriteFailsafeProductionActivePowerLimit_Call
func (*EgLPPInterface_WriteFailsafeProductionActivePowerLimit_Call) RunAndReturn ¶
func (_c *EgLPPInterface_WriteFailsafeProductionActivePowerLimit_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface, float64) (*model.MsgCounterType, error)) *EgLPPInterface_WriteFailsafeProductionActivePowerLimit_Call
type EgLPPInterface_WriteProductionLimit_Call ¶
EgLPPInterface_WriteProductionLimit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WriteProductionLimit'
func (*EgLPPInterface_WriteProductionLimit_Call) Return ¶
func (_c *EgLPPInterface_WriteProductionLimit_Call) Return(_a0 *model.MsgCounterType, _a1 error) *EgLPPInterface_WriteProductionLimit_Call
func (*EgLPPInterface_WriteProductionLimit_Call) Run ¶
func (_c *EgLPPInterface_WriteProductionLimit_Call) Run(run func(entity spine_goapi.EntityRemoteInterface, limit api.LoadLimit, resultCB func(model.ResultDataType))) *EgLPPInterface_WriteProductionLimit_Call
func (*EgLPPInterface_WriteProductionLimit_Call) RunAndReturn ¶
func (_c *EgLPPInterface_WriteProductionLimit_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface, api.LoadLimit, func(model.ResultDataType)) (*model.MsgCounterType, error)) *EgLPPInterface_WriteProductionLimit_Call
type GcpMGCPInterface ¶
GcpMGCPInterface is an autogenerated mock type for the GcpMGCPInterface type
func NewGcpMGCPInterface ¶
func NewGcpMGCPInterface(t interface { mock.TestingT Cleanup(func()) }) *GcpMGCPInterface
NewGcpMGCPInterface creates a new instance of GcpMGCPInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*GcpMGCPInterface) AddFeatures ¶
func (_m *GcpMGCPInterface) AddFeatures()
AddFeatures provides a mock function with given fields:
func (*GcpMGCPInterface) AddUseCase ¶
func (_m *GcpMGCPInterface) AddUseCase()
AddUseCase provides a mock function with given fields:
func (*GcpMGCPInterface) AvailableScenariosForEntity ¶
func (_m *GcpMGCPInterface) AvailableScenariosForEntity(entity spine_goapi.EntityRemoteInterface) []uint
AvailableScenariosForEntity provides a mock function with given fields: entity
func (*GcpMGCPInterface) CurrentPerPhase ¶
func (_m *GcpMGCPInterface) CurrentPerPhase(entity spine_goapi.EntityRemoteInterface) ([]float64, error)
CurrentPerPhase provides a mock function with given fields: entity
func (*GcpMGCPInterface) EXPECT ¶
func (_m *GcpMGCPInterface) EXPECT() *GcpMGCPInterface_Expecter
func (*GcpMGCPInterface) EnergyConsumed ¶
func (_m *GcpMGCPInterface) EnergyConsumed(entity spine_goapi.EntityRemoteInterface) (float64, error)
EnergyConsumed provides a mock function with given fields: entity
func (*GcpMGCPInterface) EnergyFeedIn ¶
func (_m *GcpMGCPInterface) EnergyFeedIn(entity spine_goapi.EntityRemoteInterface) (float64, error)
EnergyFeedIn provides a mock function with given fields: entity
func (*GcpMGCPInterface) Frequency ¶
func (_m *GcpMGCPInterface) Frequency(entity spine_goapi.EntityRemoteInterface) (float64, error)
Frequency provides a mock function with given fields: entity
func (*GcpMGCPInterface) IsCompatibleEntityType ¶
func (_m *GcpMGCPInterface) IsCompatibleEntityType(entity spine_goapi.EntityRemoteInterface) bool
IsCompatibleEntityType provides a mock function with given fields: entity
func (*GcpMGCPInterface) IsScenarioAvailableAtEntity ¶
func (_m *GcpMGCPInterface) IsScenarioAvailableAtEntity(entity spine_goapi.EntityRemoteInterface, scenario uint) bool
IsScenarioAvailableAtEntity provides a mock function with given fields: entity, scenario
func (*GcpMGCPInterface) Power ¶
func (_m *GcpMGCPInterface) Power(entity spine_goapi.EntityRemoteInterface) (float64, error)
Power provides a mock function with given fields: entity
func (*GcpMGCPInterface) PowerLimitationFactor ¶
func (_m *GcpMGCPInterface) PowerLimitationFactor(entity spine_goapi.EntityRemoteInterface) (float64, error)
PowerLimitationFactor provides a mock function with given fields: entity
func (*GcpMGCPInterface) RemoteEntitiesScenarios ¶
func (_m *GcpMGCPInterface) RemoteEntitiesScenarios() []eebus_goapi.RemoteEntityScenarios
RemoteEntitiesScenarios provides a mock function with given fields:
func (*GcpMGCPInterface) RemoveUseCase ¶
func (_m *GcpMGCPInterface) RemoveUseCase()
RemoveUseCase provides a mock function with given fields:
func (*GcpMGCPInterface) UpdateUseCaseAvailability ¶
func (_m *GcpMGCPInterface) UpdateUseCaseAvailability(available bool)
UpdateUseCaseAvailability provides a mock function with given fields: available
func (*GcpMGCPInterface) VoltagePerPhase ¶
func (_m *GcpMGCPInterface) VoltagePerPhase(entity spine_goapi.EntityRemoteInterface) ([]float64, error)
VoltagePerPhase provides a mock function with given fields: entity
type GcpMGCPInterface_AddFeatures_Call ¶
GcpMGCPInterface_AddFeatures_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddFeatures'
func (*GcpMGCPInterface_AddFeatures_Call) Return ¶
func (_c *GcpMGCPInterface_AddFeatures_Call) Return() *GcpMGCPInterface_AddFeatures_Call
func (*GcpMGCPInterface_AddFeatures_Call) Run ¶
func (_c *GcpMGCPInterface_AddFeatures_Call) Run(run func()) *GcpMGCPInterface_AddFeatures_Call
func (*GcpMGCPInterface_AddFeatures_Call) RunAndReturn ¶
func (_c *GcpMGCPInterface_AddFeatures_Call) RunAndReturn(run func()) *GcpMGCPInterface_AddFeatures_Call
type GcpMGCPInterface_AddUseCase_Call ¶
GcpMGCPInterface_AddUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddUseCase'
func (*GcpMGCPInterface_AddUseCase_Call) Return ¶
func (_c *GcpMGCPInterface_AddUseCase_Call) Return() *GcpMGCPInterface_AddUseCase_Call
func (*GcpMGCPInterface_AddUseCase_Call) Run ¶
func (_c *GcpMGCPInterface_AddUseCase_Call) Run(run func()) *GcpMGCPInterface_AddUseCase_Call
func (*GcpMGCPInterface_AddUseCase_Call) RunAndReturn ¶
func (_c *GcpMGCPInterface_AddUseCase_Call) RunAndReturn(run func()) *GcpMGCPInterface_AddUseCase_Call
type GcpMGCPInterface_AvailableScenariosForEntity_Call ¶
GcpMGCPInterface_AvailableScenariosForEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AvailableScenariosForEntity'
func (*GcpMGCPInterface_AvailableScenariosForEntity_Call) Return ¶
func (_c *GcpMGCPInterface_AvailableScenariosForEntity_Call) Return(_a0 []uint) *GcpMGCPInterface_AvailableScenariosForEntity_Call
func (*GcpMGCPInterface_AvailableScenariosForEntity_Call) Run ¶
func (_c *GcpMGCPInterface_AvailableScenariosForEntity_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *GcpMGCPInterface_AvailableScenariosForEntity_Call
func (*GcpMGCPInterface_AvailableScenariosForEntity_Call) RunAndReturn ¶
func (_c *GcpMGCPInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) []uint) *GcpMGCPInterface_AvailableScenariosForEntity_Call
type GcpMGCPInterface_CurrentPerPhase_Call ¶
GcpMGCPInterface_CurrentPerPhase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CurrentPerPhase'
func (*GcpMGCPInterface_CurrentPerPhase_Call) Return ¶
func (_c *GcpMGCPInterface_CurrentPerPhase_Call) Return(_a0 []float64, _a1 error) *GcpMGCPInterface_CurrentPerPhase_Call
func (*GcpMGCPInterface_CurrentPerPhase_Call) Run ¶
func (_c *GcpMGCPInterface_CurrentPerPhase_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *GcpMGCPInterface_CurrentPerPhase_Call
func (*GcpMGCPInterface_CurrentPerPhase_Call) RunAndReturn ¶
func (_c *GcpMGCPInterface_CurrentPerPhase_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) ([]float64, error)) *GcpMGCPInterface_CurrentPerPhase_Call
type GcpMGCPInterface_EnergyConsumed_Call ¶
GcpMGCPInterface_EnergyConsumed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EnergyConsumed'
func (*GcpMGCPInterface_EnergyConsumed_Call) Return ¶
func (_c *GcpMGCPInterface_EnergyConsumed_Call) Return(_a0 float64, _a1 error) *GcpMGCPInterface_EnergyConsumed_Call
func (*GcpMGCPInterface_EnergyConsumed_Call) Run ¶
func (_c *GcpMGCPInterface_EnergyConsumed_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *GcpMGCPInterface_EnergyConsumed_Call
func (*GcpMGCPInterface_EnergyConsumed_Call) RunAndReturn ¶
func (_c *GcpMGCPInterface_EnergyConsumed_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (float64, error)) *GcpMGCPInterface_EnergyConsumed_Call
type GcpMGCPInterface_EnergyFeedIn_Call ¶
GcpMGCPInterface_EnergyFeedIn_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EnergyFeedIn'
func (*GcpMGCPInterface_EnergyFeedIn_Call) Return ¶
func (_c *GcpMGCPInterface_EnergyFeedIn_Call) Return(_a0 float64, _a1 error) *GcpMGCPInterface_EnergyFeedIn_Call
func (*GcpMGCPInterface_EnergyFeedIn_Call) Run ¶
func (_c *GcpMGCPInterface_EnergyFeedIn_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *GcpMGCPInterface_EnergyFeedIn_Call
func (*GcpMGCPInterface_EnergyFeedIn_Call) RunAndReturn ¶
func (_c *GcpMGCPInterface_EnergyFeedIn_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (float64, error)) *GcpMGCPInterface_EnergyFeedIn_Call
type GcpMGCPInterface_Expecter ¶
type GcpMGCPInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*GcpMGCPInterface_Expecter) AddFeatures ¶
func (_e *GcpMGCPInterface_Expecter) AddFeatures() *GcpMGCPInterface_AddFeatures_Call
AddFeatures is a helper method to define mock.On call
func (*GcpMGCPInterface_Expecter) AddUseCase ¶
func (_e *GcpMGCPInterface_Expecter) AddUseCase() *GcpMGCPInterface_AddUseCase_Call
AddUseCase is a helper method to define mock.On call
func (*GcpMGCPInterface_Expecter) AvailableScenariosForEntity ¶
func (_e *GcpMGCPInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *GcpMGCPInterface_AvailableScenariosForEntity_Call
AvailableScenariosForEntity is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*GcpMGCPInterface_Expecter) CurrentPerPhase ¶
func (_e *GcpMGCPInterface_Expecter) CurrentPerPhase(entity interface{}) *GcpMGCPInterface_CurrentPerPhase_Call
CurrentPerPhase is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*GcpMGCPInterface_Expecter) EnergyConsumed ¶
func (_e *GcpMGCPInterface_Expecter) EnergyConsumed(entity interface{}) *GcpMGCPInterface_EnergyConsumed_Call
EnergyConsumed is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*GcpMGCPInterface_Expecter) EnergyFeedIn ¶
func (_e *GcpMGCPInterface_Expecter) EnergyFeedIn(entity interface{}) *GcpMGCPInterface_EnergyFeedIn_Call
EnergyFeedIn is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*GcpMGCPInterface_Expecter) Frequency ¶
func (_e *GcpMGCPInterface_Expecter) Frequency(entity interface{}) *GcpMGCPInterface_Frequency_Call
Frequency is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*GcpMGCPInterface_Expecter) IsCompatibleEntityType ¶
func (_e *GcpMGCPInterface_Expecter) IsCompatibleEntityType(entity interface{}) *GcpMGCPInterface_IsCompatibleEntityType_Call
IsCompatibleEntityType is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*GcpMGCPInterface_Expecter) IsScenarioAvailableAtEntity ¶
func (_e *GcpMGCPInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *GcpMGCPInterface_IsScenarioAvailableAtEntity_Call
IsScenarioAvailableAtEntity is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
- scenario uint
func (*GcpMGCPInterface_Expecter) Power ¶
func (_e *GcpMGCPInterface_Expecter) Power(entity interface{}) *GcpMGCPInterface_Power_Call
Power is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*GcpMGCPInterface_Expecter) PowerLimitationFactor ¶
func (_e *GcpMGCPInterface_Expecter) PowerLimitationFactor(entity interface{}) *GcpMGCPInterface_PowerLimitationFactor_Call
PowerLimitationFactor is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*GcpMGCPInterface_Expecter) RemoteEntitiesScenarios ¶
func (_e *GcpMGCPInterface_Expecter) RemoteEntitiesScenarios() *GcpMGCPInterface_RemoteEntitiesScenarios_Call
RemoteEntitiesScenarios is a helper method to define mock.On call
func (*GcpMGCPInterface_Expecter) RemoveUseCase ¶
func (_e *GcpMGCPInterface_Expecter) RemoveUseCase() *GcpMGCPInterface_RemoveUseCase_Call
RemoveUseCase is a helper method to define mock.On call
func (*GcpMGCPInterface_Expecter) UpdateUseCaseAvailability ¶
func (_e *GcpMGCPInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *GcpMGCPInterface_UpdateUseCaseAvailability_Call
UpdateUseCaseAvailability is a helper method to define mock.On call
- available bool
func (*GcpMGCPInterface_Expecter) VoltagePerPhase ¶
func (_e *GcpMGCPInterface_Expecter) VoltagePerPhase(entity interface{}) *GcpMGCPInterface_VoltagePerPhase_Call
VoltagePerPhase is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
type GcpMGCPInterface_Frequency_Call ¶
GcpMGCPInterface_Frequency_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Frequency'
func (*GcpMGCPInterface_Frequency_Call) Return ¶
func (_c *GcpMGCPInterface_Frequency_Call) Return(_a0 float64, _a1 error) *GcpMGCPInterface_Frequency_Call
func (*GcpMGCPInterface_Frequency_Call) Run ¶
func (_c *GcpMGCPInterface_Frequency_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *GcpMGCPInterface_Frequency_Call
func (*GcpMGCPInterface_Frequency_Call) RunAndReturn ¶
func (_c *GcpMGCPInterface_Frequency_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (float64, error)) *GcpMGCPInterface_Frequency_Call
type GcpMGCPInterface_IsCompatibleEntityType_Call ¶
GcpMGCPInterface_IsCompatibleEntityType_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsCompatibleEntityType'
func (*GcpMGCPInterface_IsCompatibleEntityType_Call) Return ¶
func (_c *GcpMGCPInterface_IsCompatibleEntityType_Call) Return(_a0 bool) *GcpMGCPInterface_IsCompatibleEntityType_Call
func (*GcpMGCPInterface_IsCompatibleEntityType_Call) Run ¶
func (_c *GcpMGCPInterface_IsCompatibleEntityType_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *GcpMGCPInterface_IsCompatibleEntityType_Call
func (*GcpMGCPInterface_IsCompatibleEntityType_Call) RunAndReturn ¶
func (_c *GcpMGCPInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) bool) *GcpMGCPInterface_IsCompatibleEntityType_Call
type GcpMGCPInterface_IsScenarioAvailableAtEntity_Call ¶
GcpMGCPInterface_IsScenarioAvailableAtEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsScenarioAvailableAtEntity'
func (*GcpMGCPInterface_IsScenarioAvailableAtEntity_Call) Return ¶
func (_c *GcpMGCPInterface_IsScenarioAvailableAtEntity_Call) Return(_a0 bool) *GcpMGCPInterface_IsScenarioAvailableAtEntity_Call
func (*GcpMGCPInterface_IsScenarioAvailableAtEntity_Call) Run ¶
func (_c *GcpMGCPInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity spine_goapi.EntityRemoteInterface, scenario uint)) *GcpMGCPInterface_IsScenarioAvailableAtEntity_Call
func (*GcpMGCPInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn ¶
func (_c *GcpMGCPInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface, uint) bool) *GcpMGCPInterface_IsScenarioAvailableAtEntity_Call
type GcpMGCPInterface_PowerLimitationFactor_Call ¶
GcpMGCPInterface_PowerLimitationFactor_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PowerLimitationFactor'
func (*GcpMGCPInterface_PowerLimitationFactor_Call) Return ¶
func (_c *GcpMGCPInterface_PowerLimitationFactor_Call) Return(_a0 float64, _a1 error) *GcpMGCPInterface_PowerLimitationFactor_Call
func (*GcpMGCPInterface_PowerLimitationFactor_Call) Run ¶
func (_c *GcpMGCPInterface_PowerLimitationFactor_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *GcpMGCPInterface_PowerLimitationFactor_Call
func (*GcpMGCPInterface_PowerLimitationFactor_Call) RunAndReturn ¶
func (_c *GcpMGCPInterface_PowerLimitationFactor_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (float64, error)) *GcpMGCPInterface_PowerLimitationFactor_Call
type GcpMGCPInterface_Power_Call ¶
GcpMGCPInterface_Power_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Power'
func (*GcpMGCPInterface_Power_Call) Return ¶
func (_c *GcpMGCPInterface_Power_Call) Return(_a0 float64, _a1 error) *GcpMGCPInterface_Power_Call
func (*GcpMGCPInterface_Power_Call) Run ¶
func (_c *GcpMGCPInterface_Power_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *GcpMGCPInterface_Power_Call
func (*GcpMGCPInterface_Power_Call) RunAndReturn ¶
func (_c *GcpMGCPInterface_Power_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (float64, error)) *GcpMGCPInterface_Power_Call
type GcpMGCPInterface_RemoteEntitiesScenarios_Call ¶
GcpMGCPInterface_RemoteEntitiesScenarios_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoteEntitiesScenarios'
func (*GcpMGCPInterface_RemoteEntitiesScenarios_Call) Run ¶
func (_c *GcpMGCPInterface_RemoteEntitiesScenarios_Call) Run(run func()) *GcpMGCPInterface_RemoteEntitiesScenarios_Call
func (*GcpMGCPInterface_RemoteEntitiesScenarios_Call) RunAndReturn ¶
func (_c *GcpMGCPInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []eebus_goapi.RemoteEntityScenarios) *GcpMGCPInterface_RemoteEntitiesScenarios_Call
type GcpMGCPInterface_RemoveUseCase_Call ¶
GcpMGCPInterface_RemoveUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveUseCase'
func (*GcpMGCPInterface_RemoveUseCase_Call) Return ¶
func (_c *GcpMGCPInterface_RemoveUseCase_Call) Return() *GcpMGCPInterface_RemoveUseCase_Call
func (*GcpMGCPInterface_RemoveUseCase_Call) Run ¶
func (_c *GcpMGCPInterface_RemoveUseCase_Call) Run(run func()) *GcpMGCPInterface_RemoveUseCase_Call
func (*GcpMGCPInterface_RemoveUseCase_Call) RunAndReturn ¶
func (_c *GcpMGCPInterface_RemoveUseCase_Call) RunAndReturn(run func()) *GcpMGCPInterface_RemoveUseCase_Call
type GcpMGCPInterface_UpdateUseCaseAvailability_Call ¶
GcpMGCPInterface_UpdateUseCaseAvailability_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateUseCaseAvailability'
func (*GcpMGCPInterface_UpdateUseCaseAvailability_Call) Run ¶
func (_c *GcpMGCPInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *GcpMGCPInterface_UpdateUseCaseAvailability_Call
func (*GcpMGCPInterface_UpdateUseCaseAvailability_Call) RunAndReturn ¶
func (_c *GcpMGCPInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(bool)) *GcpMGCPInterface_UpdateUseCaseAvailability_Call
type GcpMGCPInterface_VoltagePerPhase_Call ¶
GcpMGCPInterface_VoltagePerPhase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'VoltagePerPhase'
func (*GcpMGCPInterface_VoltagePerPhase_Call) Return ¶
func (_c *GcpMGCPInterface_VoltagePerPhase_Call) Return(_a0 []float64, _a1 error) *GcpMGCPInterface_VoltagePerPhase_Call
func (*GcpMGCPInterface_VoltagePerPhase_Call) Run ¶
func (_c *GcpMGCPInterface_VoltagePerPhase_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *GcpMGCPInterface_VoltagePerPhase_Call
func (*GcpMGCPInterface_VoltagePerPhase_Call) RunAndReturn ¶
func (_c *GcpMGCPInterface_VoltagePerPhase_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) ([]float64, error)) *GcpMGCPInterface_VoltagePerPhase_Call
type MaMGCPInterface ¶
MaMGCPInterface is an autogenerated mock type for the MaMGCPInterface type
func NewMaMGCPInterface ¶
func NewMaMGCPInterface(t interface { mock.TestingT Cleanup(func()) }) *MaMGCPInterface
NewMaMGCPInterface creates a new instance of MaMGCPInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MaMGCPInterface) AddFeatures ¶
func (_m *MaMGCPInterface) AddFeatures()
AddFeatures provides a mock function with given fields:
func (*MaMGCPInterface) AddUseCase ¶
func (_m *MaMGCPInterface) AddUseCase()
AddUseCase provides a mock function with given fields:
func (*MaMGCPInterface) AvailableScenariosForEntity ¶
func (_m *MaMGCPInterface) AvailableScenariosForEntity(entity spine_goapi.EntityRemoteInterface) []uint
AvailableScenariosForEntity provides a mock function with given fields: entity
func (*MaMGCPInterface) CurrentPerPhase ¶
func (_m *MaMGCPInterface) CurrentPerPhase(entity spine_goapi.EntityRemoteInterface) ([]float64, error)
CurrentPerPhase provides a mock function with given fields: entity
func (*MaMGCPInterface) EXPECT ¶
func (_m *MaMGCPInterface) EXPECT() *MaMGCPInterface_Expecter
func (*MaMGCPInterface) EnergyConsumed ¶
func (_m *MaMGCPInterface) EnergyConsumed(entity spine_goapi.EntityRemoteInterface) (float64, error)
EnergyConsumed provides a mock function with given fields: entity
func (*MaMGCPInterface) EnergyFeedIn ¶
func (_m *MaMGCPInterface) EnergyFeedIn(entity spine_goapi.EntityRemoteInterface) (float64, error)
EnergyFeedIn provides a mock function with given fields: entity
func (*MaMGCPInterface) Frequency ¶
func (_m *MaMGCPInterface) Frequency(entity spine_goapi.EntityRemoteInterface) (float64, error)
Frequency provides a mock function with given fields: entity
func (*MaMGCPInterface) IsCompatibleEntityType ¶
func (_m *MaMGCPInterface) IsCompatibleEntityType(entity spine_goapi.EntityRemoteInterface) bool
IsCompatibleEntityType provides a mock function with given fields: entity
func (*MaMGCPInterface) IsScenarioAvailableAtEntity ¶
func (_m *MaMGCPInterface) IsScenarioAvailableAtEntity(entity spine_goapi.EntityRemoteInterface, scenario uint) bool
IsScenarioAvailableAtEntity provides a mock function with given fields: entity, scenario
func (*MaMGCPInterface) Power ¶
func (_m *MaMGCPInterface) Power(entity spine_goapi.EntityRemoteInterface) (float64, error)
Power provides a mock function with given fields: entity
func (*MaMGCPInterface) PowerLimitationFactor ¶
func (_m *MaMGCPInterface) PowerLimitationFactor(entity spine_goapi.EntityRemoteInterface) (float64, error)
PowerLimitationFactor provides a mock function with given fields: entity
func (*MaMGCPInterface) RemoteEntitiesScenarios ¶
func (_m *MaMGCPInterface) RemoteEntitiesScenarios() []eebus_goapi.RemoteEntityScenarios
RemoteEntitiesScenarios provides a mock function with given fields:
func (*MaMGCPInterface) RemoveUseCase ¶
func (_m *MaMGCPInterface) RemoveUseCase()
RemoveUseCase provides a mock function with given fields:
func (*MaMGCPInterface) UpdateUseCaseAvailability ¶
func (_m *MaMGCPInterface) UpdateUseCaseAvailability(available bool)
UpdateUseCaseAvailability provides a mock function with given fields: available
func (*MaMGCPInterface) VoltagePerPhase ¶
func (_m *MaMGCPInterface) VoltagePerPhase(entity spine_goapi.EntityRemoteInterface) ([]float64, error)
VoltagePerPhase provides a mock function with given fields: entity
type MaMGCPInterface_AddFeatures_Call ¶
MaMGCPInterface_AddFeatures_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddFeatures'
func (*MaMGCPInterface_AddFeatures_Call) Return ¶
func (_c *MaMGCPInterface_AddFeatures_Call) Return() *MaMGCPInterface_AddFeatures_Call
func (*MaMGCPInterface_AddFeatures_Call) Run ¶
func (_c *MaMGCPInterface_AddFeatures_Call) Run(run func()) *MaMGCPInterface_AddFeatures_Call
func (*MaMGCPInterface_AddFeatures_Call) RunAndReturn ¶
func (_c *MaMGCPInterface_AddFeatures_Call) RunAndReturn(run func()) *MaMGCPInterface_AddFeatures_Call
type MaMGCPInterface_AddUseCase_Call ¶
MaMGCPInterface_AddUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddUseCase'
func (*MaMGCPInterface_AddUseCase_Call) Return ¶
func (_c *MaMGCPInterface_AddUseCase_Call) Return() *MaMGCPInterface_AddUseCase_Call
func (*MaMGCPInterface_AddUseCase_Call) Run ¶
func (_c *MaMGCPInterface_AddUseCase_Call) Run(run func()) *MaMGCPInterface_AddUseCase_Call
func (*MaMGCPInterface_AddUseCase_Call) RunAndReturn ¶
func (_c *MaMGCPInterface_AddUseCase_Call) RunAndReturn(run func()) *MaMGCPInterface_AddUseCase_Call
type MaMGCPInterface_AvailableScenariosForEntity_Call ¶
MaMGCPInterface_AvailableScenariosForEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AvailableScenariosForEntity'
func (*MaMGCPInterface_AvailableScenariosForEntity_Call) Return ¶
func (_c *MaMGCPInterface_AvailableScenariosForEntity_Call) Return(_a0 []uint) *MaMGCPInterface_AvailableScenariosForEntity_Call
func (*MaMGCPInterface_AvailableScenariosForEntity_Call) Run ¶
func (_c *MaMGCPInterface_AvailableScenariosForEntity_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *MaMGCPInterface_AvailableScenariosForEntity_Call
func (*MaMGCPInterface_AvailableScenariosForEntity_Call) RunAndReturn ¶
func (_c *MaMGCPInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) []uint) *MaMGCPInterface_AvailableScenariosForEntity_Call
type MaMGCPInterface_CurrentPerPhase_Call ¶
MaMGCPInterface_CurrentPerPhase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CurrentPerPhase'
func (*MaMGCPInterface_CurrentPerPhase_Call) Return ¶
func (_c *MaMGCPInterface_CurrentPerPhase_Call) Return(_a0 []float64, _a1 error) *MaMGCPInterface_CurrentPerPhase_Call
func (*MaMGCPInterface_CurrentPerPhase_Call) Run ¶
func (_c *MaMGCPInterface_CurrentPerPhase_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *MaMGCPInterface_CurrentPerPhase_Call
func (*MaMGCPInterface_CurrentPerPhase_Call) RunAndReturn ¶
func (_c *MaMGCPInterface_CurrentPerPhase_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) ([]float64, error)) *MaMGCPInterface_CurrentPerPhase_Call
type MaMGCPInterface_EnergyConsumed_Call ¶
MaMGCPInterface_EnergyConsumed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EnergyConsumed'
func (*MaMGCPInterface_EnergyConsumed_Call) Return ¶
func (_c *MaMGCPInterface_EnergyConsumed_Call) Return(_a0 float64, _a1 error) *MaMGCPInterface_EnergyConsumed_Call
func (*MaMGCPInterface_EnergyConsumed_Call) Run ¶
func (_c *MaMGCPInterface_EnergyConsumed_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *MaMGCPInterface_EnergyConsumed_Call
func (*MaMGCPInterface_EnergyConsumed_Call) RunAndReturn ¶
func (_c *MaMGCPInterface_EnergyConsumed_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (float64, error)) *MaMGCPInterface_EnergyConsumed_Call
type MaMGCPInterface_EnergyFeedIn_Call ¶
MaMGCPInterface_EnergyFeedIn_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EnergyFeedIn'
func (*MaMGCPInterface_EnergyFeedIn_Call) Return ¶
func (_c *MaMGCPInterface_EnergyFeedIn_Call) Return(_a0 float64, _a1 error) *MaMGCPInterface_EnergyFeedIn_Call
func (*MaMGCPInterface_EnergyFeedIn_Call) Run ¶
func (_c *MaMGCPInterface_EnergyFeedIn_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *MaMGCPInterface_EnergyFeedIn_Call
func (*MaMGCPInterface_EnergyFeedIn_Call) RunAndReturn ¶
func (_c *MaMGCPInterface_EnergyFeedIn_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (float64, error)) *MaMGCPInterface_EnergyFeedIn_Call
type MaMGCPInterface_Expecter ¶
type MaMGCPInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MaMGCPInterface_Expecter) AddFeatures ¶
func (_e *MaMGCPInterface_Expecter) AddFeatures() *MaMGCPInterface_AddFeatures_Call
AddFeatures is a helper method to define mock.On call
func (*MaMGCPInterface_Expecter) AddUseCase ¶
func (_e *MaMGCPInterface_Expecter) AddUseCase() *MaMGCPInterface_AddUseCase_Call
AddUseCase is a helper method to define mock.On call
func (*MaMGCPInterface_Expecter) AvailableScenariosForEntity ¶
func (_e *MaMGCPInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *MaMGCPInterface_AvailableScenariosForEntity_Call
AvailableScenariosForEntity is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*MaMGCPInterface_Expecter) CurrentPerPhase ¶
func (_e *MaMGCPInterface_Expecter) CurrentPerPhase(entity interface{}) *MaMGCPInterface_CurrentPerPhase_Call
CurrentPerPhase is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*MaMGCPInterface_Expecter) EnergyConsumed ¶
func (_e *MaMGCPInterface_Expecter) EnergyConsumed(entity interface{}) *MaMGCPInterface_EnergyConsumed_Call
EnergyConsumed is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*MaMGCPInterface_Expecter) EnergyFeedIn ¶
func (_e *MaMGCPInterface_Expecter) EnergyFeedIn(entity interface{}) *MaMGCPInterface_EnergyFeedIn_Call
EnergyFeedIn is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*MaMGCPInterface_Expecter) Frequency ¶
func (_e *MaMGCPInterface_Expecter) Frequency(entity interface{}) *MaMGCPInterface_Frequency_Call
Frequency is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*MaMGCPInterface_Expecter) IsCompatibleEntityType ¶
func (_e *MaMGCPInterface_Expecter) IsCompatibleEntityType(entity interface{}) *MaMGCPInterface_IsCompatibleEntityType_Call
IsCompatibleEntityType is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*MaMGCPInterface_Expecter) IsScenarioAvailableAtEntity ¶
func (_e *MaMGCPInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *MaMGCPInterface_IsScenarioAvailableAtEntity_Call
IsScenarioAvailableAtEntity is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
- scenario uint
func (*MaMGCPInterface_Expecter) Power ¶
func (_e *MaMGCPInterface_Expecter) Power(entity interface{}) *MaMGCPInterface_Power_Call
Power is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*MaMGCPInterface_Expecter) PowerLimitationFactor ¶
func (_e *MaMGCPInterface_Expecter) PowerLimitationFactor(entity interface{}) *MaMGCPInterface_PowerLimitationFactor_Call
PowerLimitationFactor is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*MaMGCPInterface_Expecter) RemoteEntitiesScenarios ¶
func (_e *MaMGCPInterface_Expecter) RemoteEntitiesScenarios() *MaMGCPInterface_RemoteEntitiesScenarios_Call
RemoteEntitiesScenarios is a helper method to define mock.On call
func (*MaMGCPInterface_Expecter) RemoveUseCase ¶
func (_e *MaMGCPInterface_Expecter) RemoveUseCase() *MaMGCPInterface_RemoveUseCase_Call
RemoveUseCase is a helper method to define mock.On call
func (*MaMGCPInterface_Expecter) UpdateUseCaseAvailability ¶
func (_e *MaMGCPInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *MaMGCPInterface_UpdateUseCaseAvailability_Call
UpdateUseCaseAvailability is a helper method to define mock.On call
- available bool
func (*MaMGCPInterface_Expecter) VoltagePerPhase ¶
func (_e *MaMGCPInterface_Expecter) VoltagePerPhase(entity interface{}) *MaMGCPInterface_VoltagePerPhase_Call
VoltagePerPhase is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
type MaMGCPInterface_Frequency_Call ¶
MaMGCPInterface_Frequency_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Frequency'
func (*MaMGCPInterface_Frequency_Call) Return ¶
func (_c *MaMGCPInterface_Frequency_Call) Return(_a0 float64, _a1 error) *MaMGCPInterface_Frequency_Call
func (*MaMGCPInterface_Frequency_Call) Run ¶
func (_c *MaMGCPInterface_Frequency_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *MaMGCPInterface_Frequency_Call
func (*MaMGCPInterface_Frequency_Call) RunAndReturn ¶
func (_c *MaMGCPInterface_Frequency_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (float64, error)) *MaMGCPInterface_Frequency_Call
type MaMGCPInterface_IsCompatibleEntityType_Call ¶
MaMGCPInterface_IsCompatibleEntityType_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsCompatibleEntityType'
func (*MaMGCPInterface_IsCompatibleEntityType_Call) Return ¶
func (_c *MaMGCPInterface_IsCompatibleEntityType_Call) Return(_a0 bool) *MaMGCPInterface_IsCompatibleEntityType_Call
func (*MaMGCPInterface_IsCompatibleEntityType_Call) Run ¶
func (_c *MaMGCPInterface_IsCompatibleEntityType_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *MaMGCPInterface_IsCompatibleEntityType_Call
func (*MaMGCPInterface_IsCompatibleEntityType_Call) RunAndReturn ¶
func (_c *MaMGCPInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) bool) *MaMGCPInterface_IsCompatibleEntityType_Call
type MaMGCPInterface_IsScenarioAvailableAtEntity_Call ¶
MaMGCPInterface_IsScenarioAvailableAtEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsScenarioAvailableAtEntity'
func (*MaMGCPInterface_IsScenarioAvailableAtEntity_Call) Return ¶
func (_c *MaMGCPInterface_IsScenarioAvailableAtEntity_Call) Return(_a0 bool) *MaMGCPInterface_IsScenarioAvailableAtEntity_Call
func (*MaMGCPInterface_IsScenarioAvailableAtEntity_Call) Run ¶
func (_c *MaMGCPInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity spine_goapi.EntityRemoteInterface, scenario uint)) *MaMGCPInterface_IsScenarioAvailableAtEntity_Call
func (*MaMGCPInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn ¶
func (_c *MaMGCPInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface, uint) bool) *MaMGCPInterface_IsScenarioAvailableAtEntity_Call
type MaMGCPInterface_PowerLimitationFactor_Call ¶
MaMGCPInterface_PowerLimitationFactor_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PowerLimitationFactor'
func (*MaMGCPInterface_PowerLimitationFactor_Call) Return ¶
func (_c *MaMGCPInterface_PowerLimitationFactor_Call) Return(_a0 float64, _a1 error) *MaMGCPInterface_PowerLimitationFactor_Call
func (*MaMGCPInterface_PowerLimitationFactor_Call) Run ¶
func (_c *MaMGCPInterface_PowerLimitationFactor_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *MaMGCPInterface_PowerLimitationFactor_Call
func (*MaMGCPInterface_PowerLimitationFactor_Call) RunAndReturn ¶
func (_c *MaMGCPInterface_PowerLimitationFactor_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (float64, error)) *MaMGCPInterface_PowerLimitationFactor_Call
type MaMGCPInterface_Power_Call ¶
MaMGCPInterface_Power_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Power'
func (*MaMGCPInterface_Power_Call) Return ¶
func (_c *MaMGCPInterface_Power_Call) Return(_a0 float64, _a1 error) *MaMGCPInterface_Power_Call
func (*MaMGCPInterface_Power_Call) Run ¶
func (_c *MaMGCPInterface_Power_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *MaMGCPInterface_Power_Call
func (*MaMGCPInterface_Power_Call) RunAndReturn ¶
func (_c *MaMGCPInterface_Power_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (float64, error)) *MaMGCPInterface_Power_Call
type MaMGCPInterface_RemoteEntitiesScenarios_Call ¶
MaMGCPInterface_RemoteEntitiesScenarios_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoteEntitiesScenarios'
func (*MaMGCPInterface_RemoteEntitiesScenarios_Call) Run ¶
func (_c *MaMGCPInterface_RemoteEntitiesScenarios_Call) Run(run func()) *MaMGCPInterface_RemoteEntitiesScenarios_Call
func (*MaMGCPInterface_RemoteEntitiesScenarios_Call) RunAndReturn ¶
func (_c *MaMGCPInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []eebus_goapi.RemoteEntityScenarios) *MaMGCPInterface_RemoteEntitiesScenarios_Call
type MaMGCPInterface_RemoveUseCase_Call ¶
MaMGCPInterface_RemoveUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveUseCase'
func (*MaMGCPInterface_RemoveUseCase_Call) Return ¶
func (_c *MaMGCPInterface_RemoveUseCase_Call) Return() *MaMGCPInterface_RemoveUseCase_Call
func (*MaMGCPInterface_RemoveUseCase_Call) Run ¶
func (_c *MaMGCPInterface_RemoveUseCase_Call) Run(run func()) *MaMGCPInterface_RemoveUseCase_Call
func (*MaMGCPInterface_RemoveUseCase_Call) RunAndReturn ¶
func (_c *MaMGCPInterface_RemoveUseCase_Call) RunAndReturn(run func()) *MaMGCPInterface_RemoveUseCase_Call
type MaMGCPInterface_UpdateUseCaseAvailability_Call ¶
MaMGCPInterface_UpdateUseCaseAvailability_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateUseCaseAvailability'
func (*MaMGCPInterface_UpdateUseCaseAvailability_Call) Run ¶
func (_c *MaMGCPInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *MaMGCPInterface_UpdateUseCaseAvailability_Call
func (*MaMGCPInterface_UpdateUseCaseAvailability_Call) RunAndReturn ¶
func (_c *MaMGCPInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(bool)) *MaMGCPInterface_UpdateUseCaseAvailability_Call
type MaMGCPInterface_VoltagePerPhase_Call ¶
MaMGCPInterface_VoltagePerPhase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'VoltagePerPhase'
func (*MaMGCPInterface_VoltagePerPhase_Call) Return ¶
func (_c *MaMGCPInterface_VoltagePerPhase_Call) Return(_a0 []float64, _a1 error) *MaMGCPInterface_VoltagePerPhase_Call
func (*MaMGCPInterface_VoltagePerPhase_Call) Run ¶
func (_c *MaMGCPInterface_VoltagePerPhase_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *MaMGCPInterface_VoltagePerPhase_Call
func (*MaMGCPInterface_VoltagePerPhase_Call) RunAndReturn ¶
func (_c *MaMGCPInterface_VoltagePerPhase_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) ([]float64, error)) *MaMGCPInterface_VoltagePerPhase_Call
type MaMPCInterface ¶
MaMPCInterface is an autogenerated mock type for the MaMPCInterface type
func NewMaMPCInterface ¶
func NewMaMPCInterface(t interface { mock.TestingT Cleanup(func()) }) *MaMPCInterface
NewMaMPCInterface creates a new instance of MaMPCInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MaMPCInterface) AddFeatures ¶
func (_m *MaMPCInterface) AddFeatures()
AddFeatures provides a mock function with given fields:
func (*MaMPCInterface) AddUseCase ¶
func (_m *MaMPCInterface) AddUseCase()
AddUseCase provides a mock function with given fields:
func (*MaMPCInterface) AvailableScenariosForEntity ¶
func (_m *MaMPCInterface) AvailableScenariosForEntity(entity spine_goapi.EntityRemoteInterface) []uint
AvailableScenariosForEntity provides a mock function with given fields: entity
func (*MaMPCInterface) CurrentPerPhase ¶
func (_m *MaMPCInterface) CurrentPerPhase(entity spine_goapi.EntityRemoteInterface) ([]float64, error)
CurrentPerPhase provides a mock function with given fields: entity
func (*MaMPCInterface) EXPECT ¶
func (_m *MaMPCInterface) EXPECT() *MaMPCInterface_Expecter
func (*MaMPCInterface) EnergyConsumed ¶
func (_m *MaMPCInterface) EnergyConsumed(entity spine_goapi.EntityRemoteInterface) (float64, error)
EnergyConsumed provides a mock function with given fields: entity
func (*MaMPCInterface) EnergyProduced ¶
func (_m *MaMPCInterface) EnergyProduced(entity spine_goapi.EntityRemoteInterface) (float64, error)
EnergyProduced provides a mock function with given fields: entity
func (*MaMPCInterface) Frequency ¶
func (_m *MaMPCInterface) Frequency(entity spine_goapi.EntityRemoteInterface) (float64, error)
Frequency provides a mock function with given fields: entity
func (*MaMPCInterface) IsCompatibleEntityType ¶
func (_m *MaMPCInterface) IsCompatibleEntityType(entity spine_goapi.EntityRemoteInterface) bool
IsCompatibleEntityType provides a mock function with given fields: entity
func (*MaMPCInterface) IsScenarioAvailableAtEntity ¶
func (_m *MaMPCInterface) IsScenarioAvailableAtEntity(entity spine_goapi.EntityRemoteInterface, scenario uint) bool
IsScenarioAvailableAtEntity provides a mock function with given fields: entity, scenario
func (*MaMPCInterface) Power ¶
func (_m *MaMPCInterface) Power(entity spine_goapi.EntityRemoteInterface) (float64, error)
Power provides a mock function with given fields: entity
func (*MaMPCInterface) PowerPerPhase ¶
func (_m *MaMPCInterface) PowerPerPhase(entity spine_goapi.EntityRemoteInterface) ([]float64, error)
PowerPerPhase provides a mock function with given fields: entity
func (*MaMPCInterface) RemoteEntitiesScenarios ¶
func (_m *MaMPCInterface) RemoteEntitiesScenarios() []eebus_goapi.RemoteEntityScenarios
RemoteEntitiesScenarios provides a mock function with given fields:
func (*MaMPCInterface) RemoveUseCase ¶
func (_m *MaMPCInterface) RemoveUseCase()
RemoveUseCase provides a mock function with given fields:
func (*MaMPCInterface) UpdateUseCaseAvailability ¶
func (_m *MaMPCInterface) UpdateUseCaseAvailability(available bool)
UpdateUseCaseAvailability provides a mock function with given fields: available
func (*MaMPCInterface) VoltagePerPhase ¶
func (_m *MaMPCInterface) VoltagePerPhase(entity spine_goapi.EntityRemoteInterface) ([]float64, error)
VoltagePerPhase provides a mock function with given fields: entity
type MaMPCInterface_AddFeatures_Call ¶
MaMPCInterface_AddFeatures_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddFeatures'
func (*MaMPCInterface_AddFeatures_Call) Return ¶
func (_c *MaMPCInterface_AddFeatures_Call) Return() *MaMPCInterface_AddFeatures_Call
func (*MaMPCInterface_AddFeatures_Call) Run ¶
func (_c *MaMPCInterface_AddFeatures_Call) Run(run func()) *MaMPCInterface_AddFeatures_Call
func (*MaMPCInterface_AddFeatures_Call) RunAndReturn ¶
func (_c *MaMPCInterface_AddFeatures_Call) RunAndReturn(run func()) *MaMPCInterface_AddFeatures_Call
type MaMPCInterface_AddUseCase_Call ¶
MaMPCInterface_AddUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddUseCase'
func (*MaMPCInterface_AddUseCase_Call) Return ¶
func (_c *MaMPCInterface_AddUseCase_Call) Return() *MaMPCInterface_AddUseCase_Call
func (*MaMPCInterface_AddUseCase_Call) Run ¶
func (_c *MaMPCInterface_AddUseCase_Call) Run(run func()) *MaMPCInterface_AddUseCase_Call
func (*MaMPCInterface_AddUseCase_Call) RunAndReturn ¶
func (_c *MaMPCInterface_AddUseCase_Call) RunAndReturn(run func()) *MaMPCInterface_AddUseCase_Call
type MaMPCInterface_AvailableScenariosForEntity_Call ¶
MaMPCInterface_AvailableScenariosForEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AvailableScenariosForEntity'
func (*MaMPCInterface_AvailableScenariosForEntity_Call) Return ¶
func (_c *MaMPCInterface_AvailableScenariosForEntity_Call) Return(_a0 []uint) *MaMPCInterface_AvailableScenariosForEntity_Call
func (*MaMPCInterface_AvailableScenariosForEntity_Call) Run ¶
func (_c *MaMPCInterface_AvailableScenariosForEntity_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *MaMPCInterface_AvailableScenariosForEntity_Call
func (*MaMPCInterface_AvailableScenariosForEntity_Call) RunAndReturn ¶
func (_c *MaMPCInterface_AvailableScenariosForEntity_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) []uint) *MaMPCInterface_AvailableScenariosForEntity_Call
type MaMPCInterface_CurrentPerPhase_Call ¶
MaMPCInterface_CurrentPerPhase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CurrentPerPhase'
func (*MaMPCInterface_CurrentPerPhase_Call) Return ¶
func (_c *MaMPCInterface_CurrentPerPhase_Call) Return(_a0 []float64, _a1 error) *MaMPCInterface_CurrentPerPhase_Call
func (*MaMPCInterface_CurrentPerPhase_Call) Run ¶
func (_c *MaMPCInterface_CurrentPerPhase_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *MaMPCInterface_CurrentPerPhase_Call
func (*MaMPCInterface_CurrentPerPhase_Call) RunAndReturn ¶
func (_c *MaMPCInterface_CurrentPerPhase_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) ([]float64, error)) *MaMPCInterface_CurrentPerPhase_Call
type MaMPCInterface_EnergyConsumed_Call ¶
MaMPCInterface_EnergyConsumed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EnergyConsumed'
func (*MaMPCInterface_EnergyConsumed_Call) Return ¶
func (_c *MaMPCInterface_EnergyConsumed_Call) Return(_a0 float64, _a1 error) *MaMPCInterface_EnergyConsumed_Call
func (*MaMPCInterface_EnergyConsumed_Call) Run ¶
func (_c *MaMPCInterface_EnergyConsumed_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *MaMPCInterface_EnergyConsumed_Call
func (*MaMPCInterface_EnergyConsumed_Call) RunAndReturn ¶
func (_c *MaMPCInterface_EnergyConsumed_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (float64, error)) *MaMPCInterface_EnergyConsumed_Call
type MaMPCInterface_EnergyProduced_Call ¶
MaMPCInterface_EnergyProduced_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EnergyProduced'
func (*MaMPCInterface_EnergyProduced_Call) Return ¶
func (_c *MaMPCInterface_EnergyProduced_Call) Return(_a0 float64, _a1 error) *MaMPCInterface_EnergyProduced_Call
func (*MaMPCInterface_EnergyProduced_Call) Run ¶
func (_c *MaMPCInterface_EnergyProduced_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *MaMPCInterface_EnergyProduced_Call
func (*MaMPCInterface_EnergyProduced_Call) RunAndReturn ¶
func (_c *MaMPCInterface_EnergyProduced_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (float64, error)) *MaMPCInterface_EnergyProduced_Call
type MaMPCInterface_Expecter ¶
type MaMPCInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MaMPCInterface_Expecter) AddFeatures ¶
func (_e *MaMPCInterface_Expecter) AddFeatures() *MaMPCInterface_AddFeatures_Call
AddFeatures is a helper method to define mock.On call
func (*MaMPCInterface_Expecter) AddUseCase ¶
func (_e *MaMPCInterface_Expecter) AddUseCase() *MaMPCInterface_AddUseCase_Call
AddUseCase is a helper method to define mock.On call
func (*MaMPCInterface_Expecter) AvailableScenariosForEntity ¶
func (_e *MaMPCInterface_Expecter) AvailableScenariosForEntity(entity interface{}) *MaMPCInterface_AvailableScenariosForEntity_Call
AvailableScenariosForEntity is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*MaMPCInterface_Expecter) CurrentPerPhase ¶
func (_e *MaMPCInterface_Expecter) CurrentPerPhase(entity interface{}) *MaMPCInterface_CurrentPerPhase_Call
CurrentPerPhase is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*MaMPCInterface_Expecter) EnergyConsumed ¶
func (_e *MaMPCInterface_Expecter) EnergyConsumed(entity interface{}) *MaMPCInterface_EnergyConsumed_Call
EnergyConsumed is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*MaMPCInterface_Expecter) EnergyProduced ¶
func (_e *MaMPCInterface_Expecter) EnergyProduced(entity interface{}) *MaMPCInterface_EnergyProduced_Call
EnergyProduced is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*MaMPCInterface_Expecter) Frequency ¶
func (_e *MaMPCInterface_Expecter) Frequency(entity interface{}) *MaMPCInterface_Frequency_Call
Frequency is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*MaMPCInterface_Expecter) IsCompatibleEntityType ¶
func (_e *MaMPCInterface_Expecter) IsCompatibleEntityType(entity interface{}) *MaMPCInterface_IsCompatibleEntityType_Call
IsCompatibleEntityType is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*MaMPCInterface_Expecter) IsScenarioAvailableAtEntity ¶
func (_e *MaMPCInterface_Expecter) IsScenarioAvailableAtEntity(entity interface{}, scenario interface{}) *MaMPCInterface_IsScenarioAvailableAtEntity_Call
IsScenarioAvailableAtEntity is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
- scenario uint
func (*MaMPCInterface_Expecter) Power ¶
func (_e *MaMPCInterface_Expecter) Power(entity interface{}) *MaMPCInterface_Power_Call
Power is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*MaMPCInterface_Expecter) PowerPerPhase ¶
func (_e *MaMPCInterface_Expecter) PowerPerPhase(entity interface{}) *MaMPCInterface_PowerPerPhase_Call
PowerPerPhase is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
func (*MaMPCInterface_Expecter) RemoteEntitiesScenarios ¶
func (_e *MaMPCInterface_Expecter) RemoteEntitiesScenarios() *MaMPCInterface_RemoteEntitiesScenarios_Call
RemoteEntitiesScenarios is a helper method to define mock.On call
func (*MaMPCInterface_Expecter) RemoveUseCase ¶
func (_e *MaMPCInterface_Expecter) RemoveUseCase() *MaMPCInterface_RemoveUseCase_Call
RemoveUseCase is a helper method to define mock.On call
func (*MaMPCInterface_Expecter) UpdateUseCaseAvailability ¶
func (_e *MaMPCInterface_Expecter) UpdateUseCaseAvailability(available interface{}) *MaMPCInterface_UpdateUseCaseAvailability_Call
UpdateUseCaseAvailability is a helper method to define mock.On call
- available bool
func (*MaMPCInterface_Expecter) VoltagePerPhase ¶
func (_e *MaMPCInterface_Expecter) VoltagePerPhase(entity interface{}) *MaMPCInterface_VoltagePerPhase_Call
VoltagePerPhase is a helper method to define mock.On call
- entity spine_goapi.EntityRemoteInterface
type MaMPCInterface_Frequency_Call ¶
MaMPCInterface_Frequency_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Frequency'
func (*MaMPCInterface_Frequency_Call) Return ¶
func (_c *MaMPCInterface_Frequency_Call) Return(_a0 float64, _a1 error) *MaMPCInterface_Frequency_Call
func (*MaMPCInterface_Frequency_Call) Run ¶
func (_c *MaMPCInterface_Frequency_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *MaMPCInterface_Frequency_Call
func (*MaMPCInterface_Frequency_Call) RunAndReturn ¶
func (_c *MaMPCInterface_Frequency_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (float64, error)) *MaMPCInterface_Frequency_Call
type MaMPCInterface_IsCompatibleEntityType_Call ¶
MaMPCInterface_IsCompatibleEntityType_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsCompatibleEntityType'
func (*MaMPCInterface_IsCompatibleEntityType_Call) Return ¶
func (_c *MaMPCInterface_IsCompatibleEntityType_Call) Return(_a0 bool) *MaMPCInterface_IsCompatibleEntityType_Call
func (*MaMPCInterface_IsCompatibleEntityType_Call) Run ¶
func (_c *MaMPCInterface_IsCompatibleEntityType_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *MaMPCInterface_IsCompatibleEntityType_Call
func (*MaMPCInterface_IsCompatibleEntityType_Call) RunAndReturn ¶
func (_c *MaMPCInterface_IsCompatibleEntityType_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) bool) *MaMPCInterface_IsCompatibleEntityType_Call
type MaMPCInterface_IsScenarioAvailableAtEntity_Call ¶
MaMPCInterface_IsScenarioAvailableAtEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsScenarioAvailableAtEntity'
func (*MaMPCInterface_IsScenarioAvailableAtEntity_Call) Return ¶
func (_c *MaMPCInterface_IsScenarioAvailableAtEntity_Call) Return(_a0 bool) *MaMPCInterface_IsScenarioAvailableAtEntity_Call
func (*MaMPCInterface_IsScenarioAvailableAtEntity_Call) Run ¶
func (_c *MaMPCInterface_IsScenarioAvailableAtEntity_Call) Run(run func(entity spine_goapi.EntityRemoteInterface, scenario uint)) *MaMPCInterface_IsScenarioAvailableAtEntity_Call
func (*MaMPCInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn ¶
func (_c *MaMPCInterface_IsScenarioAvailableAtEntity_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface, uint) bool) *MaMPCInterface_IsScenarioAvailableAtEntity_Call
type MaMPCInterface_PowerPerPhase_Call ¶
MaMPCInterface_PowerPerPhase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PowerPerPhase'
func (*MaMPCInterface_PowerPerPhase_Call) Return ¶
func (_c *MaMPCInterface_PowerPerPhase_Call) Return(_a0 []float64, _a1 error) *MaMPCInterface_PowerPerPhase_Call
func (*MaMPCInterface_PowerPerPhase_Call) Run ¶
func (_c *MaMPCInterface_PowerPerPhase_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *MaMPCInterface_PowerPerPhase_Call
func (*MaMPCInterface_PowerPerPhase_Call) RunAndReturn ¶
func (_c *MaMPCInterface_PowerPerPhase_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) ([]float64, error)) *MaMPCInterface_PowerPerPhase_Call
type MaMPCInterface_Power_Call ¶
MaMPCInterface_Power_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Power'
func (*MaMPCInterface_Power_Call) Return ¶
func (_c *MaMPCInterface_Power_Call) Return(_a0 float64, _a1 error) *MaMPCInterface_Power_Call
func (*MaMPCInterface_Power_Call) Run ¶
func (_c *MaMPCInterface_Power_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *MaMPCInterface_Power_Call
func (*MaMPCInterface_Power_Call) RunAndReturn ¶
func (_c *MaMPCInterface_Power_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) (float64, error)) *MaMPCInterface_Power_Call
type MaMPCInterface_RemoteEntitiesScenarios_Call ¶
MaMPCInterface_RemoteEntitiesScenarios_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoteEntitiesScenarios'
func (*MaMPCInterface_RemoteEntitiesScenarios_Call) Run ¶
func (_c *MaMPCInterface_RemoteEntitiesScenarios_Call) Run(run func()) *MaMPCInterface_RemoteEntitiesScenarios_Call
func (*MaMPCInterface_RemoteEntitiesScenarios_Call) RunAndReturn ¶
func (_c *MaMPCInterface_RemoteEntitiesScenarios_Call) RunAndReturn(run func() []eebus_goapi.RemoteEntityScenarios) *MaMPCInterface_RemoteEntitiesScenarios_Call
type MaMPCInterface_RemoveUseCase_Call ¶
MaMPCInterface_RemoveUseCase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveUseCase'
func (*MaMPCInterface_RemoveUseCase_Call) Return ¶
func (_c *MaMPCInterface_RemoveUseCase_Call) Return() *MaMPCInterface_RemoveUseCase_Call
func (*MaMPCInterface_RemoveUseCase_Call) Run ¶
func (_c *MaMPCInterface_RemoveUseCase_Call) Run(run func()) *MaMPCInterface_RemoveUseCase_Call
func (*MaMPCInterface_RemoveUseCase_Call) RunAndReturn ¶
func (_c *MaMPCInterface_RemoveUseCase_Call) RunAndReturn(run func()) *MaMPCInterface_RemoveUseCase_Call
type MaMPCInterface_UpdateUseCaseAvailability_Call ¶
MaMPCInterface_UpdateUseCaseAvailability_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateUseCaseAvailability'
func (*MaMPCInterface_UpdateUseCaseAvailability_Call) Run ¶
func (_c *MaMPCInterface_UpdateUseCaseAvailability_Call) Run(run func(available bool)) *MaMPCInterface_UpdateUseCaseAvailability_Call
func (*MaMPCInterface_UpdateUseCaseAvailability_Call) RunAndReturn ¶
func (_c *MaMPCInterface_UpdateUseCaseAvailability_Call) RunAndReturn(run func(bool)) *MaMPCInterface_UpdateUseCaseAvailability_Call
type MaMPCInterface_VoltagePerPhase_Call ¶
MaMPCInterface_VoltagePerPhase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'VoltagePerPhase'
func (*MaMPCInterface_VoltagePerPhase_Call) Return ¶
func (_c *MaMPCInterface_VoltagePerPhase_Call) Return(_a0 []float64, _a1 error) *MaMPCInterface_VoltagePerPhase_Call
func (*MaMPCInterface_VoltagePerPhase_Call) Run ¶
func (_c *MaMPCInterface_VoltagePerPhase_Call) Run(run func(entity spine_goapi.EntityRemoteInterface)) *MaMPCInterface_VoltagePerPhase_Call
func (*MaMPCInterface_VoltagePerPhase_Call) RunAndReturn ¶
func (_c *MaMPCInterface_VoltagePerPhase_Call) RunAndReturn(run func(spine_goapi.EntityRemoteInterface) ([]float64, error)) *MaMPCInterface_VoltagePerPhase_Call
Source Files
¶
- CemCEVCInterface.go
- CemEVCCInterface.go
- CemEVCEMInterface.go
- CemEVSECCInterface.go
- CemEVSOCInterface.go
- CemOPEVInterface.go
- CemOSCEVInterface.go
- CemVABDInterface.go
- CemVAPDInterface.go
- CsLPCInterface.go
- CsLPPInterface.go
- EgLPCInterface.go
- EgLPPInterface.go
- GcpMGCPInterface.go
- MaMGCPInterface.go
- MaMPCInterface.go