Skip to content

Commit

Permalink
DEV-73654: Add new field EmpfangendeMarktrolle to enable correct mapp…
Browse files Browse the repository at this point in the history
…ing for Produkt-Daten der SR (#522)

* Add new field EmpfangendeMarktrolle to enable correct mapping for Produkt-Daten der SR

* Update BO4E/COM/Konfigurationsprodukt.cs

Co-authored-by: Annika <[email protected]>

* Beschreibung aus AHB

* Update BO4E/COM/Konfigurationsprodukt.cs

Co-authored-by: Annika <[email protected]>

---------

Co-authored-by: Annika <[email protected]>
  • Loading branch information
levtoji and hf-aschloegl authored Sep 10, 2024
1 parent 893ddd7 commit 1b706f5
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions BO4E/COM/Konfigurationsprodukt.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace BO4E.COM;
public class Konfigurationsprodukt : COM
{
/// <summary>
/// Die Konfigurationsprodukt-Code für das Objekt
/// Der Konfigurationsprodukt-Code für das Objekt
/// </summary>
[JsonProperty(Required = Required.Default, Order = 1, PropertyName = "produktcode")]
[JsonPropertyOrder(1)]
Expand Down Expand Up @@ -47,10 +47,22 @@ public class Konfigurationsprodukt : COM
/// <summary>
/// Auftraggebender Marktpartner
/// </summary>
[JsonProperty(Required = Required.Default, Order = 4, PropertyName = "marktpartner")]
[JsonProperty(Required = Required.Default, Order = 4, PropertyName = "auftraggebenderMarktpartner")]
[JsonPropertyOrder(4)]
[JsonPropertyName("marktpartner")]
[JsonPropertyName("auftraggebenderMarktpartner")]
[ProtoMember(4)]
[NonOfficial(NonOfficialCategory.CUSTOMER_REQUIREMENTS)]
public Marktteilnehmer? Marktpartner { get; set; }
public Marktteilnehmer? AuftraggebenderMarktpartner { get; set; }

/// <summary>
/// Marktrolle des Marktpartners für den die Produkt-Daten relevant sind.
/// Dient zur Identifizierung der Marktrolle an der Marktlokation, an die die Daten des
/// Konfigurationsprodukts vom MSB der Marktlokation zu übermitteln sind.
/// </summary>
[JsonProperty(Required = Required.Default, Order = 5, PropertyName = "empfangendeMarktrolle")]
[JsonPropertyOrder(5)]
[JsonPropertyName("empfangendeMarktrolle")]
[ProtoMember(5)]
[NonOfficial(NonOfficialCategory.CUSTOMER_REQUIREMENTS)]
public ENUM.Marktrolle? EmpfangendeMarktrolle { get; set; }
}

0 comments on commit 1b706f5

Please sign in to comment.