Class Energiemenge
Abbildung von Mengen, die Lokationen zugeordnet sind.
Inherited Members
Namespace: BO4E.BO
Assembly: BO4Enet.dll
Syntax
public class Energiemenge : BusinessObject
Properties
| Improve this Doc View SourceEnergieverbrauch
Gibt den Verbrauch in einer Zeiteinheit an.
Declaration
public List<Verbrauch> Energieverbrauch { get; set; }
Property Value
| Type | Description |
|---|---|
| List<Verbrauch> |
LokationsId
Eindeutige Nummer der Marktlokation bzw. der Messlokation, zu der die Energiemenge gehört
Declaration
public string LokationsId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
LokationsTyp
Gibt an, ob es sich um eine Markt- oder Messlokation handelt.
Declaration
public Lokationstyp LokationsTyp { get; set; }
Property Value
| Type | Description |
|---|---|
| Lokationstyp |
Methods
| Improve this Doc View SourceOnDeserialized(StreamingContext)
If energieverbrauch is null or not present, it is initialised with an empty list for easier handling (less null checks) elsewhere.
Declaration
protected void OnDeserialized(StreamingContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| StreamingContext | context |
Operators
| Improve this Doc View SourceAddition(Energiemenge, Energiemenge)
Adding two Energiemenge objects is allowed for Energiemenge with the same location Id and location type. The operation basically merges both energieverbrauch lists. Non-standard attributes (userProperties) are not contained in the result.
Declaration
public static Energiemenge operator +(Energiemenge em1, Energiemenge em2)
Parameters
| Type | Name | Description |
|---|---|---|
| Energiemenge | em1 | |
| Energiemenge | em2 |
Returns
| Type | Description |
|---|---|
| Energiemenge | new Energiemenge object |