版本更改

This commit is contained in:
2026-03-26 17:47:56 +08:00
parent 6876872145
commit d7dfe27ad5
6 changed files with 29 additions and 6 deletions

View File

@@ -0,0 +1,17 @@
namespace CapMachine.Wpf.Services
{
/// <summary>
/// REFPROP 全局同步对象。
/// </summary>
/// <remarks>
/// REFPROP 不是线程安全组件,所有底层 DLL 调用必须串行进入。
/// 该类提供进程内统一锁,供不同计算器共享,避免并发调用导致的瞬时异常结果。
/// </remarks>
internal static class RefpropGlobalSync
{
/// <summary>
/// REFPROP 全局互斥锁。
/// </summary>
internal static readonly object SyncRoot = new object();
}
}