feat: Adds airflow at pressure feature.

This commit is contained in:
2024-05-28 10:09:59 -04:00
parent c1741de3f9
commit 187a682a63
6 changed files with 323 additions and 93 deletions

View File

@@ -0,0 +1,44 @@
import SwiftUI
struct AirflowAtPressureInfoView: View {
static let heading = """
Calculate the airflow at the target pressure from the existing airflow and existing pressure.
"""
static let body = """
This can be useful to determine the effect of a different blower speed on a specific measurement location (generally the supply or return plenum).
"""
var body: some View {
VStack(spacing: 40) {
ZStack {
Text(Self.heading)
.font(.headline)
.bold()
.foregroundStyle(Color.white)
.padding()
}
.background {
RoundedRectangle(cornerRadius: 10)
.foregroundStyle(Color.orange.opacity(0.6))
}
ZStack {
Text(Self.body)
.font(.callout)
.padding()
}
.background {
RoundedRectangle(cornerRadius: 10)
.foregroundStyle(Color.secondary.opacity(0.3))
}
.padding(.horizontal, 10)
Spacer()
}
.padding(.horizontal)
}
}