添加项目文件。
This commit is contained in:
26
Model/Models/HardwareReportArgs.cs
Normal file
26
Model/Models/HardwareReportArgs.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Model.Models
|
||||
{
|
||||
public class HardwareReportArgs
|
||||
{
|
||||
/// <summary>作用域标识(台架名称)</summary>
|
||||
public string Scope { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>硬件指纹(物理设备唯一标识,如 "Tcp:192.168.1.1:5000")</summary>
|
||||
public string HardwareFingerprint { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>方法名</summary>
|
||||
public string MethodName { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>采样值</summary>
|
||||
public double Value { get; set; }
|
||||
|
||||
/// <summary>采样时间</summary>
|
||||
public DateTime Time { get; set; } = DateTime.Now;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user