速度的拓展参数对应

This commit is contained in:
2025-04-14 10:33:49 +08:00
parent 4a07d45b25
commit 43e0ff62e7
10 changed files with 470 additions and 52 deletions

View 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,
}
}