Skip to content

P_Grid and P_Load not integers #3

@cmdigital

Description

@cmdigital

When not integer values in the response these two properties (P_Grid and P_Load) generate an error.

Defining them as decimal solves the issue. Proposed fix:

In PowerFlowRealtimeData.cs

` [JsonProperty("P_Grid")]
public decimal PGrid { get; set; }

 /// <summary> /// This value is null if no meter is enabled ( + generator, - consumer ) /// </summary> [JsonProperty("P_Load")] public **decimal** PLoad { get; set; } 

`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions