feat: Initial filter pressure drop views, calculations need implemented.
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
public enum ClimateZone: String, Codable, Equatable, Sendable {
|
||||
case dry
|
||||
public enum ClimateZone: String, CaseIterable, Codable, Equatable, Sendable {
|
||||
// NOTE: Keep in this order.
|
||||
|
||||
case hotHumid
|
||||
case marine
|
||||
case moist
|
||||
case dry
|
||||
case marine
|
||||
|
||||
public var zoneIdentifiers: [String] {
|
||||
switch self {
|
||||
@@ -26,6 +28,6 @@ public enum ClimateZone: String, Codable, Equatable, Sendable {
|
||||
}
|
||||
|
||||
public var label: String {
|
||||
return "\(rawValue.capitalized) (\(zoneIdentifiers.joined(separator: ",")))"
|
||||
return "\(self == .hotHumid ? "Hot Humid" : rawValue.capitalized) (\(zoneIdentifiers.joined(separator: ", ")))"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user