RobotNet/RobotNet.RobotManager/Services/OpenACS/ACSHeader.cs
2025-10-15 15:15:53 +07:00

17 lines
399 B
C#

using System.ComponentModel.DataAnnotations;
using System.Text.Json.Serialization;
namespace RobotNet.RobotManager.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;
}