20 lines
420 B
C#
20 lines
420 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace RobotNet.VDA5050.Visualization;
|
|
|
|
public class Velocity
|
|
{
|
|
[Required]
|
|
[JsonPropertyName("vx")]
|
|
public double Vx { get; set; }
|
|
|
|
[Required]
|
|
[JsonPropertyName("vy")]
|
|
public double Vy { get; set; }
|
|
|
|
[Required]
|
|
[JsonPropertyName("omega")]
|
|
public double Omega { get; set; }
|
|
}
|