55 lines
1.2 KiB
C#
55 lines
1.2 KiB
C#
using NPOI.SS.Formula.Functions;
|
|
using PropertyChanged;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace ATS.Models
|
|
{
|
|
public enum IsPass
|
|
{
|
|
PASS = 0,
|
|
FAIL = 1,
|
|
NULL = 2
|
|
}
|
|
|
|
|
|
[AddINotifyPropertyChangedInterface]
|
|
public class ReportModel
|
|
{
|
|
//步骤
|
|
public StepModel? stepModel { get; set; }
|
|
|
|
//执行人
|
|
public string? User { get; set; } = "";
|
|
|
|
//执行时间
|
|
public DateTime? ExcuteTime { get; set; }
|
|
|
|
//是否通过
|
|
public IsPass? IsPass { get; set; }
|
|
|
|
//结果
|
|
public string? Result { get; set; }
|
|
|
|
// 新增:记录所属子程序路径
|
|
public string? SubProgramPath { get; set; } = "";
|
|
|
|
// 新增:标记是否为子程序总结行
|
|
public bool? IsSubProgramSummary { get; set; } = false;
|
|
|
|
// 可选:子程序名称(用于总结行)
|
|
public string? SubProgramName { get; set; } = "";
|
|
|
|
}
|
|
|
|
public static class ReportModelList
|
|
{
|
|
public static List<ReportModel> ReportList { get; set; } = new();
|
|
}
|
|
|
|
|
|
}
|