51 lines
1.1 KiB
C#
51 lines
1.1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace CapMachine.Wpf.Models.ProModelPars
|
|
{
|
|
/// <summary>
|
|
/// ProStepExe 参数执行的拓展参数
|
|
/// 比如:速度参数拓展的输出锁定、吸排气阀,压缩机使能等这些拓展参数
|
|
/// </summary>
|
|
public class StepExd
|
|
{
|
|
/// <summary>
|
|
/// 参数名称
|
|
/// </summary>
|
|
public string? Name { get; set; }
|
|
|
|
/// <summary>
|
|
/// 值信息
|
|
/// </summary>
|
|
public object? Value { get; set; }
|
|
|
|
/// <summary>
|
|
/// 值类型
|
|
/// </summary>
|
|
public ExdValueType ValueType { get; set; }
|
|
}
|
|
|
|
|
|
/// <summary>
|
|
/// 值类型
|
|
/// </summary>
|
|
public enum ExdValueType
|
|
{
|
|
/// <summary>
|
|
/// 布尔
|
|
/// </summary>
|
|
Bool=1,
|
|
/// <summary>
|
|
/// 整型数据
|
|
/// </summary>
|
|
Short=2,
|
|
/// <summary>
|
|
/// 浮点数
|
|
/// </summary>
|
|
Double=3,
|
|
}
|
|
}
|