# Name of the plugin.
name=Price Client
category=Smart Energy

# Any string is allowable here.  Generally it is either: Production Ready, Test Tool, or Requires Extending
qualityString=Production Ready (Smart Energy 1.2a Certified)
# This must be one of the following:  productionReady, testTool, extensionNeeded
quality=production

introducedIn=se-1.1-07-5356-16

# Description of the plugin.
description=This plugin provides an implementation of a Price client. It simply stores the prices received over-the-air.  It requires extending of the code to act on the price changes.

# List of .c files that need to be compiled and linked in.
sourceFiles=price-client.c,price-client-cli.c,price-client-consolidated-bills.c

# List of callbacks implemented by this plugin
implementedCallbacks=emberAfPriceClusterClientInitCallback,emberAfPriceClusterClientTickCallback,emberAfPriceClusterPublishPriceCallback,emberAfPriceClusterPublishTariffInformationCallback,emberAfPriceClusterPublishBillingPeriodCallback,emberAfPriceClusterPublishConsolidatedBillCallback,emberAfPriceClusterPublishCppEventCallback,emberAfPriceClusterPublishCreditPaymentCallback,emberAfPriceClusterPublishCurrencyConversionCallback,emberAfPriceClusterPublishCO2ValueCallback,emberAfPriceClusterPublishConversionFactorCallback,emberAfPriceClusterPublishCalorificValueCallback,emberAfPriceClusterPublishTierLabelsCallback,emberAfPriceClusterCancelTariffCallback,emberAfPriceClusterPublishBlockPeriodCallback,emberAfPriceClusterPublishBlockThresholdsCallback

requiredPlugins=price-common

# Turn this on by default
includedByDefault=true

dependsOnClusterClient=price

options=tableSize,consolidatedBillTableSize,tierLabelsTableSize,maxTiersPerTariff,creditPaymentTableSize,currencyConversionTableSize,co2TableSize,conversionFactorTableSize,calorificValueTableSize,billingPeriodTableSize,blockPeriodTableSize,blockThresholdTableSize,maxNumberBlockThresholds,maxNumberTiers

tableSize.name=Price table size
tableSize.description=Maximum number of saved prices.  The spec requires Price clients to save at least two prices.
tableSize.type=NUMBER:2,255
tableSize.default=2

blockPeriodTableSize.name=Block Period Table Size
blockPeriodTableSize.description=Size of the block period table
blockPeriodTableSize.type=NUMBER:2,255
blockPeriodTableSize.default=2

blockThresholdTableSize.name=Block Threshold Table Size
blockThresholdTableSize.description=Size of the block threshold table.
blockThresholdTableSize.type=NUMBER:2,255
blockThresholdTableSize.default=2

maxNumberBlockThresholds.name=Maximum Number Block Thresholds
maxNumberBlockThresholds.description=Maximum number of block thresholds stored on the client, per tier.
maxNumberBlockThresholds.type=NUMBER:0,15
maxNumberBlockThresholds.default=4

maxNumberTiers.name=Maximum Number Tiers
maxNumberTiers.description=Maximum number of tiers stored on the client.
maxNumberTiers.type=NUMBER:0,15
maxNumberTiers.default=5

co2TableSize.name=CO2 Table Size
co2TableSize.description=Size of the client CO2 table
co2TableSize.type=NUMBER:2,255
co2TableSize.default=2

consolidatedBillTableSize.name=Consolidated Bill Table Size
consolidatedBillTableSize.description=Number of stored consolidated bills
consolidatedBillTableSize.type=NUMBER:2,255
consolidatedBillTableSize.default=2

tierLabelsTableSize.name=Tier label Table Size
tierLabelsTableSize.description=Number of tier label entries to store.
tierLabelsTableSize.type=NUMBER:1,255
tierLabelsTableSize.default=2

creditPaymentTableSize.name=Credit payment table size
creditPaymentTableSize.description=Maximum number of credit payment events that can be stored.
creditPaymentTableSize.type=NUMBER:1,255
creditPaymentTableSize.default=5

currencyConversionTableSize.name=Currency conversion table size
currencyConversionTableSize.description=Maximum number of currency conversion events that can be stored.
currencyConversionTableSize.type=NUMBER:1,255
currencyConversionTableSize.default=2

maxTiersPerTariff.name=Max number of tiers per tariff
maxTiersPerTariff.description=The maximum number of tiers and tier labels that can be stored per tariff.
maxTiersPerTariff.type=NUMBER:1,255
maxTiersPerTariff.default=2

conversionFactorTableSize.name=Conversion factor table size
conversionFactorTableSize.description=The number of conversion factors to store.
conversionFactorTableSize.type=NUMBER:2,255
conversionFactorTableSize.default=2

calorificValueTableSize.name=Calorific value table size
calorificValueTableSize.description=The number of calorific values to store.
calorificValueTableSize.type=NUMBER:2,255
calorificValueTableSize.default=2

billingPeriodTableSize.name=Billing period table size
billingPeriodTableSize.description=The number of billing periods to store.
billingPeriodTableSize.type=NUMBER:0,255
billingPeriodTableSize.default=2



