增加公共操作的方法,过热度和过冷度的配置弹窗设置
This commit is contained in:
45
CapMachine.Wpf/Models/PPCalc/SuperHeatCoolConfigModel.cs
Normal file
45
CapMachine.Wpf/Models/PPCalc/SuperHeatCoolConfigModel.cs
Normal 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";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user