Initial commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace RobotNet10.FleetManager.Services.OpenACS;
|
||||
|
||||
public class ACSHeader(string messageName, string time)
|
||||
{
|
||||
[JsonPropertyName("msgname")]
|
||||
[Required]
|
||||
public string MessageName { get; set; } = messageName;
|
||||
|
||||
[JsonPropertyName("time")]
|
||||
[Required]
|
||||
public string Time { get; set; } = time;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user