Files
CapMachine/CapMachine.Wpf/PPCalculation/IDrynessCalculator.cs
2025-11-02 01:47:18 +08:00

23 lines
857 B
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using System;
namespace CapMachine.Wpf.PPCalculation
{
/// <summary>
/// 干度计算服务接口REFPROP 实现)
/// </summary>
public interface IDrynessCalculator
{
/// <summary>
/// 计算干度T-P 闪蒸),输入压力(MPa)与温度(℃)。
/// 可传入外部的 REFPROP 全局锁以实现跨服务串行化。
/// </summary>
DrynessCalcResult CalcDrynessByTP_MPaC(double pressureMPa, double temperatureC, object externalRefpropLock = null);
/// <summary>
/// 计算干度T-P 闪蒸),输入压力(BarA)与温度(℃)。
/// 可传入外部的 REFPROP 全局锁以实现跨服务串行化。
/// </summary>
DrynessCalcResult CalcDrynessByTP_BarA_C(double pressureBarA, double temperatureC, object externalRefpropLock = null);
}
}