Skip to main content
Open topic with navigation

SCC_GetSalesTariffData

CAPL Functions » Smart Charging » SCC Modeling Libraries (Simulation Setup) » V2G Data Queries » EV Functions » SCC_GetSalesTariffData Valid for: CANoe DE • CANoe4SW DE

Note

Function Syntax

void SCC_GetSalesTariffData ( long Index, 
char IdAttr[], long& SalesTariffId, 
char Description[], long& NumEPriceLevels )

Description

Gets various elements of the Sales Tariff within the SAScheduleTuple with the selected index.

Parameters

  • Index: Selected index of a SAScheduleTuple.
  • IdAttr: Queries the Id attribute (to the given char buffer).
  • SalesTariffId: Gets the SalesTariffId (via reference).
  • Description: Queries the description (to the given char buffer).
  • NumEPriceLevels: Gets number of distinct price levels of the SalesTariff (via reference).

Return Values

Example