增加公共操作的方法,过热度和过冷度的配置弹窗设置

This commit is contained in:
2025-01-06 17:55:01 +08:00
parent ff07461818
commit 82ee066300
18 changed files with 673 additions and 43 deletions

View File

@@ -0,0 +1,45 @@
using Prism.Mvvm;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CapMachine.Wpf.Models.PPCalc
{
/// <summary>
/// 过热度和过冷度的计算配置
/// </summary>
public class SuperHeatCoolConfigModel : BindableBase
{
/// <summary>
/// 制冷剂
/// </summary>
public string? Cryogen { get; set; }
private string _FluidsPath = "C:\\Program Files (x86)\\REFPROP\\fluids";
/// <summary>
/// 过热度和过冷度计算FLUID路径
/// REFPROP
/// REFPRP64.DLL
///
/// ****FluidsPath 路径不能太长,否则会导致错误***********
/// </summary>
public string FluidsPath
{
get { return _FluidsPath; }
set { _FluidsPath = value; RaisePropertyChanged(); }
}
///// <summary>
///// 过热度和过冷度计算FLUID路径
///// REFPROP
///// REFPRP64.DLL
/////
///// ****FluidsPath 路径不能太长,否则会导致错误***********
///// </summary>
//public string FluidsPath { get; set; } = "C:\\Program Files (x86)\\REFPROP\\fluids";
}
}