feat: Begins thermal balance point
This commit is contained in:
@@ -109,6 +109,18 @@ extension ViewController: DependencyKey {
|
||||
return FilterPressureDropResponse(response: response)
|
||||
}
|
||||
|
||||
case let .heatingBalancePoint(route):
|
||||
switch route {
|
||||
case let .index(mode: mode, heatLossMode: heatLossMode):
|
||||
return request.respond(HeatingBalancePointForm(mode: mode, heatLossMode: heatLossMode, response: nil))
|
||||
case let .heatLossFields(mode: mode):
|
||||
logger.debug("Heat loss mode: \(mode)")
|
||||
return HeatingBalancePointForm.HeatLossFields(mode: mode)
|
||||
case .submit:
|
||||
// FIX:
|
||||
fatalError()
|
||||
}
|
||||
|
||||
case let .hvacSystemPerformance(route):
|
||||
switch route {
|
||||
case .index:
|
||||
|
||||
Reference in New Issue
Block a user