36 lines
847 B
C#
36 lines
847 B
C#
using Newtonsoft.Json;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace MoviconHub.App.Models
|
|
{
|
|
/// <summary>
|
|
/// 设备故障数据模型
|
|
/// </summary>
|
|
public class FaultDetails
|
|
{
|
|
/// <summary>
|
|
///错误代码, 无错误为空
|
|
/// </summary>
|
|
[JsonProperty("Fault_Code")]
|
|
public string Fault_Code { get; set; }
|
|
|
|
/// <summary>
|
|
/// 错误发生时间,无错误为空
|
|
/// </summary>
|
|
[JsonProperty("Fault_Time")]
|
|
public DateTime Fault_Time { get; set; } = DateTime.Now;
|
|
|
|
/// <summary>
|
|
/// 错误描述,无错误为空
|
|
/// </summary>
|
|
[JsonProperty("Fault_Description")]
|
|
public string Fault_Description { get; set; }
|
|
|
|
}
|
|
|
|
}
|