38 lines
955 B
C#
38 lines
955 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace RobotNet.VDA5050.Visualization;
|
|
|
|
public class AgvPosition
|
|
{
|
|
[Required]
|
|
[JsonPropertyName("x")]
|
|
public double X { get; set; }
|
|
|
|
[Required]
|
|
[JsonPropertyName("y")]
|
|
public double Y { get; set; }
|
|
|
|
[Required]
|
|
[JsonPropertyName("theta")]
|
|
public double Theta { get; set; }
|
|
|
|
[Required]
|
|
[JsonPropertyName("mapId")]
|
|
public string MapId { get; set; } = string.Empty;
|
|
|
|
[Required]
|
|
[JsonPropertyName("mapDescription")]
|
|
public string MapDescription { get; set; } = string.Empty;
|
|
|
|
[Required]
|
|
[JsonPropertyName("positionInitialized")]
|
|
public bool PositionInitialized { get; set; }
|
|
|
|
[JsonPropertyName("localizationScore")]
|
|
public double LocalizationScore { get; set; }
|
|
|
|
[JsonPropertyName("deviationRange")]
|
|
public double DeviationRange { get; set; }
|
|
}
|