using System;
using System.Collections.Generic;
namespace Model.Models
{
///
/// 步骤纯数据类(对应 UIShare.UIViewModel.StepModel)
///
public class Step
{
public Guid ID { get; set; } = Guid.NewGuid();
public bool IsUsed { get; set; } = true;
/// 是否测试项(仅子程序步骤可标记,运行时记录其范围内所有 OKExpression 判断)
public bool IsTestItem { get; set; } = false;
public int Index { get; set; }
public string? Name { get; set; }
public string? StepType { get; set; }
public Method? Method { get; set; }
public Program? SubProgram { get; set; }
public int? LoopCount { get; set; }
public int? CurrentLoopCount { get; set; }
public Guid? LoopStartStepId { get; set; }
public int Result { get; set; } = -1;
public int? RunTime { get; set; }
public string? OKExpression { get; set; }
public string GotoSettingString { get; set; } = "";
public Guid? OKGotoStepID { get; set; }
public Guid? NGGotoStepID { get; set; }
public string? Description { get; set; }
}
}