feat: Begins flagged measurement list view.

This commit is contained in:
2024-06-06 22:23:45 -04:00
parent d253a470ca
commit 425b1d0c8f
12 changed files with 622 additions and 34 deletions

View File

@@ -0,0 +1,19 @@
import SharedModels
import SwiftUI
public struct CoolingCapacityPicker: View {
@Binding var selection: CoolingCapacity
public init(selection: Binding<CoolingCapacity>) {
self._selection = selection
}
public var body: some View {
Picker("Cooling Capacity", selection: $selection) {
ForEach(CoolingCapacity.allCases) {
Text($0.description)
.tag($0)
}
}
}
}

View File

@@ -0,0 +1,19 @@
import SharedModels
import SwiftUI
public struct EquipmentTypePicker: View {
@Binding var selection: EquipmentType
public init(selection: Binding<EquipmentType>) {
self._selection = selection
}
public var body: some View {
Picker("Equipment Type", selection: $selection) {
ForEach(EquipmentType.allCases) {
Text($0.description)
.tag($0)
}
}
}
}

View File

@@ -0,0 +1,21 @@
import SharedModels
import SwiftUI
public struct FanTypePicker: View {
@Binding var selection: FanType
public init(selection: Binding<FanType>) {
self._selection = selection
}
public var body: some View {
Picker("Fan Type", selection: $selection) {
ForEach(FanType.allCases) {
Text($0.description)
.tag($0)
}
}
}
}