Files
CapMachine/CapMachine.Wpf/ChannelModel/ProRunChannelData.cs
Tyrone CT 06ac590208 压缩机PTC 功能
参数控制,由跟随速度到单个大参数控制
2025-08-14 17:28:15 +08:00

76 lines
2.0 KiB
C#

using CapMachine.Wpf.Dtos;
using CapMachine.Wpf.Models.ProModelPars;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CapMachine.Wpf.ChannelModel
{
/// <summary>
/// 程序运行管道数据
/// </summary>
public class ProRunChannelData
{
/// <summary>
/// 参数名称
/// </summary>
public string? MeterName { get; set; }
/// <summary>
/// 程序Seg
/// </summary>
public string? ProSegName { get; set; }
/// <summary>
/// 程序步骤
/// </summary>
public int MeterStep { get; set; }
/// <summary>
/// 斜坡打点步骤
/// </summary>
public int SlopStepNo { get; set; }
/// <summary>
/// 值类型
/// </summary>
public RunStepType RunStepType { get; set; }
/// <summary>
/// 值
/// </summary>
public int SV { get; set; }
/// <summary>
/// PID的配置信息
/// </summary>
public PID? CurLoadPID { get; set; }
/// <summary>
/// Alarm的配置信息
/// </summary>
public Limit? CurLoadLimit { get; set; }
/// <summary>
/// 是否是速度仪表参数
/// 这个模型是通用的,但是发送后的速度参数需要特殊处理(给压缩机),所以要标记
/// </summary>
public bool IsSpeed { get; set; } = false;
/// <summary>
/// 执行标记信息
/// 特殊的参数控制
/// </summary>
public ProExFlag ProExFlag { get; set; }
/// <summary>
/// 拓展参数集合
/// 比如:速度参数拓展的输出锁定、吸排气阀,压缩机使能等这些拓展参数
/// 也可以是其他参数附带的拓展信息
/// </summary>
public List<StepExd>? ListStepExd { get; set; }
}
}