using OpenTap.Addin.Annotation;
|
using System;
|
using System.Collections.Generic;
|
using System.Text;
|
|
namespace OpenTap.Addin.Entity
|
{
|
public class ReportData
|
{
|
public DateTime StartTime { get; set; }
|
public DateTime EndTime { get; set; }
|
public bool Success { get; set; }
|
public Exception Exception { get; set; }
|
|
public List<ReportDetail> Details { get; set; } = new List<ReportDetail>();
|
}
|
|
public class ReportConfig
|
{
|
[DataGridCol("名称", "*", false, false)]
|
public string Name { get; set; }
|
|
[DataGridCol("值", "*", false, true)]
|
public string Value { get; set; }
|
}
|
|
public class ReportDetail
|
{
|
public string Name { get; set; }
|
public string Type { get; set; }
|
public string Value { get; set; }
|
public bool Normal { get; set; }
|
public string Message { get; set; }
|
public Exception Exception { get; set; }
|
}
|
}
|