feat: Adds psychrometrics calculator.
This commit is contained in:
@@ -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 {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user