添加项目文件。
This commit is contained in:
35
MoviconHub.App/Models/FaultDetails.cs
Normal file
35
MoviconHub.App/Models/FaultDetails.cs
Normal file
@@ -0,0 +1,35 @@
|
||||
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; }
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user