You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
838 B
28 lines
838 B
using System.ComponentModel.DataAnnotations;
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace Mirle.Component.API.AutomatedGuideVehicleController.Models
|
|
{
|
|
/// <summary>
|
|
/// 系統狀態回報類別
|
|
/// </summary>
|
|
/// <remarks>3.3.Online</remarks>
|
|
public class OnlineReportDto : CommonMessage
|
|
{
|
|
/// <summary>
|
|
/// 設備名稱/車號
|
|
/// </summary>
|
|
[Required, JsonPropertyName("device"), JsonPropertyOrder(101)]
|
|
public string Device { get; set; }
|
|
/// <summary>
|
|
/// 系統狀態
|
|
/// </summary>
|
|
/// <value>
|
|
/// reomte <br/>
|
|
/// local <br/>
|
|
/// off-line <br/>
|
|
/// </value>
|
|
[Required, StringLength(8), JsonPropertyName("status"), JsonPropertyOrder(102)]
|
|
public string Status { get; set; }
|
|
}
|
|
}
|