23 lines
481 B
Swift
23 lines
481 B
Swift
public enum RequiredKW {
|
|
|
|
public struct Request: Codable, Equatable, Sendable {
|
|
|
|
public let capacityAtDesign: Int?
|
|
public let heatLoss: Int
|
|
|
|
public init(capacityAtDesign: Int? = nil, heatLoss: Int) {
|
|
self.capacityAtDesign = capacityAtDesign
|
|
self.heatLoss = heatLoss
|
|
}
|
|
}
|
|
|
|
public struct Response: Codable, Equatable, Sendable {
|
|
|
|
public let requiredKW: Double
|
|
|
|
public init(requiredKW: Double) {
|
|
self.requiredKW = requiredKW
|
|
}
|
|
}
|
|
}
|