added value update to panel and adjusted speed to match, only need to display speed with 1 decimal
This commit is contained in:
@@ -424,6 +424,20 @@ namespace RH_Engine
|
||||
return JsonConvert.SerializeObject(Payload(payload));
|
||||
}
|
||||
|
||||
public string RouteSpeed(float speedValue,string nodeID)
|
||||
{
|
||||
dynamic payload = new
|
||||
{
|
||||
id = "route/follow/speed",
|
||||
data = new
|
||||
{
|
||||
node = nodeID,
|
||||
speed = speedValue
|
||||
}
|
||||
};
|
||||
return JsonConvert.SerializeObject(Payload(payload));
|
||||
}
|
||||
|
||||
public string RoadCommand(string uuid_route)
|
||||
{
|
||||
Console.WriteLine("road");
|
||||
|
||||
Reference in New Issue
Block a user