Skip to main content

SCC_GetSalesTariffEntryData

Open topic with navigation CAPL Functions » Smart Charging » SCC Modeling Libraries (Simulation Setup) » V2G Data Queries » EV Functions » SCC_GetSalesTariffEntryData Valid for: CANoe DE • CANoe4SW DE

Note

Function Syntax

void SCC_GetSalesTariffEntryData ( 
long i1, long i2, long& Start, long& Duration, 
long& EPriceLevel, long& ConsumptionCostCount )

Description

Gets the start time, duration, price level and the number of ConsumptionCost subelements of the SalesTariffEntry with the selected indices.

Parameters

  • i1: Selected index of the target SAScheduleTuple (< TariffCount).
  • i2: Selected index of the target SalesTariffEntry (< SalesTariffEntriesCount).
  • Start: Gets the start time of the entry with the selected indices (via reference).
  • Duration: Gets the duration of the entry with the selected indices (via reference).
  • EPriceLevel: Gets the EPriceLevel of the entry with the selected indices (-1 is returned if not present) (via reference).
  • ConsumptionCostCount: Gets the number of ConsumptionCost subelements of the SalesTariffEntry with the selected indices (via reference).

Return Values

Example