46 lines
1.0 KiB
C#
46 lines
1.0 KiB
C#
using System;
|
||
using System.Collections.Generic;
|
||
|
||
namespace Model.Models
|
||
{
|
||
/// <summary>
|
||
/// 步骤纯数据类(对应 UIShare.UIViewModel.StepModel)
|
||
/// </summary>
|
||
public class Step
|
||
{
|
||
public Guid ID { get; set; } = Guid.NewGuid();
|
||
|
||
public bool IsUsed { get; set; } = true;
|
||
|
||
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; }
|
||
}
|
||
}
|