补充test_mql气动支路配置接口

This commit is contained in:
huojiarong committed 2026-07-16 09:31:12 +00:00
1 parent 2cea81739e
commit 95ebca89f6
3 files changed
+102

No files matched your search

+10
View File
@@ -11,12 +11,22 @@ from PythonModels.core.medium import ThermodynamicProperties
from PythonModels.core.state import VolumeState
@dataclass(frozen=True)
class TestMqlPneumaticBranchSpec:
name: str
upstream_volume_alias: str
orifice_alias: str
downstream_volume_alias: str
source: str = "manual"
@dataclass(frozen=True)
class TestMqlPneumaticBranchComponents:
name: str
upstream_volume: AmesimPneumaticVolume
orifice: AmesimPneumaticOrifice
downstream_volume: AmesimPneumaticVolume
spec: TestMqlPneumaticBranchSpec | None = None
@dataclass(frozen=True)