Skip to content

Commit

Permalink
Erweiterungen Wärmepumpe (#537)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoschaMetze authored Sep 25, 2024
1 parent 3a74a69 commit ae2c2e5
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
5 changes: 4 additions & 1 deletion BO4E/BO/TechnischeRessource.cs
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,11 @@ public class TechnischeRessource : BusinessObject
/// Wärmenutzung
/// Beispiel: CAV+Z56'
/// Z56: Speicherheizung
/// Z57: Wärmepumpe
/// Z57: Wärmepumpe (unspezifiziert)
/// Z61: Direktheizung
/// ZV5: Wärmepumpe (Wärme und Kälte)
/// ZV6: Wärmepumpe (Kälte)
/// ZV7: Wärmepumpe (Wärme)
/// </summary>
[JsonProperty(PropertyName = "waermenutzung", Required = Required.Default, Order = 19)]
[JsonPropertyOrder(19)]
Expand Down
15 changes: 15 additions & 0 deletions BO4E/ENUM/Waermenutzung.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,19 @@ public enum Waermenutzung
[ProtoEnum(Name = nameof(Waermenutzung) + "_" + nameof(DIREKTHEIZUNG))]
[EnumMember(Value = "DIREKTHEIZUNG")]
DIREKTHEIZUNG,

/// <summary>ZV5: Wärmepumpe (Wärme+Kälte)</summary>
[ProtoEnum(Name = nameof(Waermenutzung) + "_" + nameof(WAERMEPUMPE_WAERME_KAELTE))]
[EnumMember(Value = "WAERMEPUMPE_WAERME_KAELTE")]
WAERMEPUMPE_WAERME_KAELTE,

/// <summary>ZV6: Wärmepumpe (Kälte)</summary>
[ProtoEnum(Name = nameof(Waermenutzung) + "_" + nameof(WAERMEPUMPE_KAELTE))]
[EnumMember(Value = "WAERMEPUMPE_KAELTE")]
WAERMEPUMPE_KAELTE,

/// <summary>ZV7: Wärmepumpe (Wärme)</summary>
[ProtoEnum(Name = nameof(Waermenutzung) + "_" + nameof(WAERMEPUMPE_WAERME))]
[EnumMember(Value = "WAERMEPUMPE_WAERME")]
WAERMEPUMPE_WAERME,
}
3 changes: 3 additions & 0 deletions BO4E/protobuf-files/bo4e.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1864,6 +1864,9 @@ enum Waermenutzung {
Waermenutzung_SPEICHERHEIZUNG = 0;
Waermenutzung_WAERMEPUMPE = 1;
Waermenutzung_DIREKTHEIZUNG = 2;
Waermenutzung_WAERMEPUMPE_WAERME_KAELTE = 3;
Waermenutzung_WAERMEPUMPE_KAELTE = 4;
Waermenutzung_WAERMEPUMPE_WAERME = 5;
}
enum Wertermittlungsverfahren {
option (.protobuf_net.enumopt).namespace = "BO4E.ENUM";
Expand Down

0 comments on commit ae2c2e5

Please sign in to comment.