mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-10 15:11:59 +01:00
Update tariff filter for Radius (#16634)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk> Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
This commit is contained in:
parent
2f487ce68b
commit
1a2cfac151
@ -70,7 +70,7 @@ public class DatahubTariffFilterFactory {
|
|||||||
public static final LocalDate IKAST_EL_NET_CUTOFF_DATE = LocalDate.of(2022, 10, 1);
|
public static final LocalDate IKAST_EL_NET_CUTOFF_DATE = LocalDate.of(2022, 10, 1);
|
||||||
public static final LocalDate KONSTANT_CUTOFF_DATE = LocalDate.of(2023, 2, 1);
|
public static final LocalDate KONSTANT_CUTOFF_DATE = LocalDate.of(2023, 2, 1);
|
||||||
public static final LocalDate N1_CUTOFF_DATE = LocalDate.of(2023, 1, 1);
|
public static final LocalDate N1_CUTOFF_DATE = LocalDate.of(2023, 1, 1);
|
||||||
public static final LocalDate RADIUS_CUTOFF_DATE = LocalDate.of(2023, 1, 1);
|
public static final LocalDate RADIUS_CUTOFF_DATE = LocalDate.of(2024, 4, 1);
|
||||||
|
|
||||||
public static DatahubTariffFilter getGridTariffByGLN(String globalLocationNumber) {
|
public static DatahubTariffFilter getGridTariffByGLN(String globalLocationNumber) {
|
||||||
switch (globalLocationNumber) {
|
switch (globalLocationNumber) {
|
||||||
@ -128,7 +128,7 @@ public class DatahubTariffFilterFactory {
|
|||||||
return new DatahubTariffFilter(Set.of(ChargeTypeCode.of("30030")), Set.of(NOTE_NET_TARIFF_C),
|
return new DatahubTariffFilter(Set.of(ChargeTypeCode.of("30030")), Set.of(NOTE_NET_TARIFF_C),
|
||||||
DateQueryParameter.of(DateQueryParameterType.START_OF_DAY));
|
DateQueryParameter.of(DateQueryParameterType.START_OF_DAY));
|
||||||
case GLN_RADIUS:
|
case GLN_RADIUS:
|
||||||
return new DatahubTariffFilter(Set.of(ChargeTypeCode.of("DT_C_01")), Set.of(NOTE_NET_TARIFF_C_HOUR),
|
return new DatahubTariffFilter(Set.of(ChargeTypeCode.of("DT_C_01")), Set.of(NOTE_NET_TARIFF_C),
|
||||||
DateQueryParameter.of(RADIUS_CUTOFF_DATE));
|
DateQueryParameter.of(RADIUS_CUTOFF_DATE));
|
||||||
case GLN_RAH_NET:
|
case GLN_RAH_NET:
|
||||||
return new DatahubTariffFilter(Set.of(ChargeTypeCode.of("RAH-C")), Set.of(NOTE_NET_TARIFF_C_HOUR),
|
return new DatahubTariffFilter(Set.of(ChargeTypeCode.of("RAH-C")), Set.of(NOTE_NET_TARIFF_C_HOUR),
|
||||||
|
Loading…
Reference in New Issue
Block a user