Fixed invalid json-type
This commit is contained in:
parent
8bd0c5a4d4
commit
05ae0bff6e
@ -57,8 +57,8 @@ app.Run();
|
|||||||
internal class PathResult
|
internal class PathResult
|
||||||
{
|
{
|
||||||
[JsonInclude]public TimeSpan calcTime;
|
[JsonInclude]public TimeSpan calcTime;
|
||||||
[JsonInclude] public double pathWeight = double.PositiveInfinity;
|
[JsonInclude] public double pathWeight = double.MaxValue;
|
||||||
[JsonInclude] public double pathTravelDistance = double.PositiveInfinity;
|
[JsonInclude] public double pathTravelDistance = double.MaxValue;
|
||||||
[JsonInclude]public List<PathNode> pathNodes;
|
[JsonInclude]public List<PathNode> pathNodes;
|
||||||
|
|
||||||
public PathResult(TimeSpan calcTime, List<PathNode> pathNodes)
|
public PathResult(TimeSpan calcTime, List<PathNode> pathNodes)
|
||||||
|
Reference in New Issue
Block a user