Skip to content

Commit

Permalink
Add Marktrollen zu Netzlokation, SteuerbarenRessource und Technischen…
Browse files Browse the repository at this point in the history
…Ressource (#614)

* Add Marktrollen zu Netzlokation und SteuerbarenRessource

* csharpier

* RMV BOM

* Add TranchenFeld

* Revert "Add TranchenFeld"

This reverts commit 833ee83.

* Add Marktrolle zu Technische Ressource

* Revert "Add Marktrollen zu Netzlokation und SteuerbarenRessource"

This reverts commit 0adc32a.
  • Loading branch information
FreddyFox892 authored Nov 27, 2024
1 parent 88c362b commit c905388
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 0 deletions.
10 changes: 10 additions & 0 deletions BO4E/BO/Netzlokation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -143,4 +143,14 @@ public class Netzlokation : BusinessObject
[ProtoMember(16)]
[JsonPropertyOrder(22)]
public List<Netzlokationsabrechnungsdaten>? Abrechnungsdaten { get; set; }

/// <summary>
/// Ergänzt die Marktrollen zu der Netzlokation
/// </summary>
[JsonProperty(Order = 23, PropertyName = "marktrollen")]
[JsonPropertyName("marktrollen")]
[ProtoMember(17)]
[JsonPropertyOrder(23)]
[NonOfficial(NonOfficialCategory.CUSTOMER_REQUIREMENTS)]
public List<MarktpartnerDetails>? Marktrollen { get; set; } // ToDo: evaluate this
}
10 changes: 10 additions & 0 deletions BO4E/BO/SteuerbareRessource.cs
Original file line number Diff line number Diff line change
Expand Up @@ -92,4 +92,14 @@ public class SteuerbareRessource : BusinessObject
[JsonPropertyOrder(16)]
[NonOfficial(NonOfficialCategory.CUSTOMER_REQUIREMENTS)]
public string? LokationsbuendelObjektcode { get; set; }

/// <summary>
/// Ergänzt die Marktrollen zu der Steuerbaren Ressource
/// </summary>
[JsonProperty(Order = 17, PropertyName = "marktrollen")]
[JsonPropertyName("marktrollen")]
[ProtoMember(17)]
[JsonPropertyOrder(17)]
[NonOfficial(NonOfficialCategory.CUSTOMER_REQUIREMENTS)]
public List<MarktpartnerDetails>? Marktrollen { get; set; } // ToDo: evaluate this
}
11 changes: 11 additions & 0 deletions BO4E/BO/TechnischeRessource.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
using System.Collections.Generic;
using System.ComponentModel;
using System.Text.Json.Serialization;
using BO4E.COM;
Expand Down Expand Up @@ -259,4 +260,14 @@ public class TechnischeRessource : BusinessObject
[ProtoMember(29)]
[JsonPropertyOrder(29)]
public InformationWeitereTechnischeRessource? WeitereEinrichtung { get; set; }

/// <summary>
/// Ergänzt die Marktrollen zu der Technischen Ressource
/// </summary>
[JsonProperty(Order = 30, PropertyName = "marktrollen")]
[JsonPropertyName("marktrollen")]
[ProtoMember(30)]
[JsonPropertyOrder(30)]
[NonOfficial(NonOfficialCategory.CUSTOMER_REQUIREMENTS)]
public List<MarktpartnerDetails>? Marktrollen { get; set; } // ToDo: evaluate this
}

0 comments on commit c905388

Please sign in to comment.