压缩机PTC 功能

参数控制,由跟随速度到单个大参数控制
This commit is contained in:
2025-08-14 17:28:15 +08:00
parent c4be5e0929
commit 06ac590208
16 changed files with 3545 additions and 862 deletions

View File

@@ -9,6 +9,7 @@ namespace CapMachine.Model
{
/// <summary>
/// PTC入口温度(℃) 表设置
/// 给冷水机组
/// </summary>
[Table(Name = "MeterPTCEntTemp")]
public class MeterPTCEntTemp

View File

@@ -9,6 +9,7 @@ namespace CapMachine.Model
{
/// <summary>
/// PTC流量 表设置
/// 给冷水机组
/// </summary>
[Table(Name = "MeterPTCFlow")]
public class MeterPTCFlow

View File

@@ -3,7 +3,8 @@
namespace CapMachine.Model
{
/// <summary>
/// PTC功率 表设置
/// PTC功率 表设置 给压缩机的PTC使用
/// PTC SV1 PTC功率给定
/// </summary>
[Table(Name = "MeterPTCPw")]
public class MeterPTCPw

View File

@@ -3,7 +3,8 @@
namespace CapMachine.Model.MeterConfig
{
/// <summary>
/// PTC功率 表设置
/// PTC功率2 表设置 给压缩机的PTC使用
/// PTC SV2 PTC功率给定
/// </summary>
[Table(Name = "MeterPTCPw2")]
public class MeterPTCPw2

View File

@@ -0,0 +1,85 @@
using FreeSql.DataAnnotations;
namespace CapMachine.Model
{
/// <summary>
/// PTC水流量 表设置 给压缩机的PTC使用
/// PTC水流量
/// </summary>
[Table(Name = "MeterPTCWaterFlow")]
public class MeterPTCWaterFlow
{
/// <summary>
/// 主键
/// </summary>
[Column(IsPrimary = true, IsIdentity = true)]
public long Id { get; set; }
/// <summary>
/// 程序步骤序号
/// </summary>
[Column(Name = "StepNo")]
public int StepNo { get; set; }
/// <summary>
/// 开始值
/// </summary>
[Column(Name = "StartValue")]
public double StartValue { get; set; }
/// <summary>
/// 结束值
/// </summary>
[Column(Name = "EndValue")]
public double EndValue { get; set; }
/// <summary>
/// 维持时间
/// </summary>
[Column(Name = "KeepTime")]
public int KeepTime { get; set; }
/// <summary>
/// 配置值类型
/// </summary>
[Column(MapType = typeof(int))]
public ConfigValueType ValueType { get; set; }
/// <summary>
/// 常值
/// 在ValueType为常值时会使用
/// </summary>
[Column(Name = "Constant")]
public double Constant { get; set; }
/// <summary>
/// PID No
/// </summary>
[Column(Name = "PIDNo")]
public int PIDNo { get; set; }
/// <summary>
/// 限幅 No
/// </summary>
[Column(Name = "LimitNo")]
public int LimitNo { get; set; }
/// <summary>
/// 报警 No
/// </summary>
[Column(Name = "AlarmNo")]
public int AlarmNo { get; set; }
[Column(ServerTime = DateTimeKind.Local, CanUpdate = false)]
public DateTime CreateTime { get; set; }
/// <summary>
/// ///////////////////////////////////////////导航属性///////////////////////////////////////////////////////
/// </summary>
public long ProStepId { get; set; }
public ProStep? ProStep { get; set; }
}
}

View File

@@ -0,0 +1,85 @@
using FreeSql.DataAnnotations;
namespace CapMachine.Model
{
/// <summary>
/// PTC目标水温 表设置 给压缩机的PTC使用
/// PTC目标水温
/// </summary>
[Table(Name = "MeterPTCWaterTemp")]
public class MeterPTCWaterTemp
{
/// <summary>
/// 主键
/// </summary>
[Column(IsPrimary = true, IsIdentity = true)]
public long Id { get; set; }
/// <summary>
/// 程序步骤序号
/// </summary>
[Column(Name = "StepNo")]
public int StepNo { get; set; }
/// <summary>
/// 开始值
/// </summary>
[Column(Name = "StartValue")]
public double StartValue { get; set; }
/// <summary>
/// 结束值
/// </summary>
[Column(Name = "EndValue")]
public double EndValue { get; set; }
/// <summary>
/// 维持时间
/// </summary>
[Column(Name = "KeepTime")]
public int KeepTime { get; set; }
/// <summary>
/// 配置值类型
/// </summary>
[Column(MapType = typeof(int))]
public ConfigValueType ValueType { get; set; }
/// <summary>
/// 常值
/// 在ValueType为常值时会使用
/// </summary>
[Column(Name = "Constant")]
public double Constant { get; set; }
/// <summary>
/// PID No
/// </summary>
[Column(Name = "PIDNo")]
public int PIDNo { get; set; }
/// <summary>
/// 限幅 No
/// </summary>
[Column(Name = "LimitNo")]
public int LimitNo { get; set; }
/// <summary>
/// 报警 No
/// </summary>
[Column(Name = "AlarmNo")]
public int AlarmNo { get; set; }
[Column(ServerTime = DateTimeKind.Local, CanUpdate = false)]
public DateTime CreateTime { get; set; }
/// <summary>
/// ///////////////////////////////////////////导航属性///////////////////////////////////////////////////////
/// </summary>
public long ProStepId { get; set; }
public ProStep? ProStep { get; set; }
}
}

View File

@@ -106,33 +106,33 @@ namespace CapMachine.Model
[Column(Name = "PTCEnable")]
public bool PTCEnable { get; set; }
/// <summary>
/// 加热器 PTC功率1
/// 跟随速度步骤的常值数据
/// </summary>
[Column(Name = "PTCPw1")]
public double PTCPw1 { get; set; }
///// <summary>
///// 加热器 PTC功率1
///// 跟随速度步骤的常值数据
///// </summary>
//[Column(Name = "PTCPw1")]
//public double PTCPw1 { get; set; }
/// <summary>
/// 加热器 PTC功率2
/// 跟随速度步骤的常值数据
/// </summary>
[Column(Name = "PTCPw2")]
public double PTCPw2 { get; set; }
///// <summary>
///// 加热器 PTC功率2
///// 跟随速度步骤的常值数据
///// </summary>
//[Column(Name = "PTCPw2")]
//public double PTCPw2 { get; set; }
/// <summary>
/// 加热器 PTC水流量
/// 跟随速度步骤的常值数据
/// </summary>
[Column(Name = "PTCWaterFlow")]
public double PTCWaterFlow { get; set; }
///// <summary>
///// 加热器 PTC水流量
///// 跟随速度步骤的常值数据
///// </summary>
//[Column(Name = "PTCWaterFlow")]
//public double PTCWaterFlow { get; set; }
/// <summary>
/// 加热器 PTC水温
/// 跟随速度步骤的常值数据
/// </summary>
[Column(Name = "PTCWaterTemp")]
public double PTCWaterTemp { get; set; }
///// <summary>
///// 加热器 PTC水温
///// 跟随速度步骤的常值数据
///// </summary>
//[Column(Name = "PTCWaterTemp")]
//public double PTCWaterTemp { get; set; }
///// <summary>