feat: Adds psychrometrics calculator.

This commit is contained in:
2025-03-06 13:41:38 -05:00
parent e0e5b10a34
commit ee577003d5
13 changed files with 1386 additions and 7 deletions

View File

@@ -4,6 +4,9 @@ import Foundation
import PsychrometricClient
@preconcurrency import URLRouting
// FIX: Move Routers into their respective model files, to reduce the size / complexity of this file
// and keep them closer to where changes may need made.
// swiftlint:disable type_body_length
public enum SiteRoute: Equatable, Sendable {
@@ -105,6 +108,7 @@ public extension SiteRoute {
case heatingBalancePoint(HeatingBalancePoint)
case hvacSystemPerformance(HVACSystemPerformance)
case moldRisk(MoldRisk)
case psychrometrics(Self.Psychrometrics)
case roomPressure(RoomPressure)
public static let router = OneOf {
@@ -132,6 +136,9 @@ public extension SiteRoute {
Route(.case(Self.moldRisk)) {
MoldRisk.router
}
Route(.case(Self.psychrometrics)) {
Self.Psychrometrics.router
}
Route(.case(Self.roomPressure)) {
RoomPressure.router
}
@@ -460,6 +467,7 @@ public extension SiteRoute {
}
}
}
}
}