Initial commit
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace RobotNet10.FleetManager.Services.OpenACS;
|
||||
public class TrafficACSResult
|
||||
{
|
||||
public static string GO => "go";
|
||||
public static string NO => "no";
|
||||
}
|
||||
public class TrafficACSResponse
|
||||
{
|
||||
[JsonPropertyName("time")]
|
||||
[Required]
|
||||
public string? Time { get; set; }
|
||||
|
||||
[JsonPropertyName("agv_id")]
|
||||
[Required]
|
||||
public string? AgvId { get; set; }
|
||||
|
||||
[JsonPropertyName("traffic_zone_id")]
|
||||
[Required]
|
||||
public string? TrafficZoneId { get; set; }
|
||||
|
||||
[JsonPropertyName("inout")]
|
||||
[Required]
|
||||
public string? InOut { get; set; }
|
||||
|
||||
[JsonPropertyName("result")]
|
||||
[Required]
|
||||
public string? Result { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user