速度的拓展参数对应
This commit is contained in:
50
CapMachine.Wpf/Models/ProModelPars/StepExd.cs
Normal file
50
CapMachine.Wpf/Models/ProModelPars/StepExd.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
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,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user