Files
swift-manual-s/Sources/Models/BalancePoint.swift
2025-03-12 16:59:10 -04:00

25 lines
704 B
Swift

public enum BalancePoint {
public struct Request: Codable, Equatable, Sendable {
public let winterDesignTemperature: Int
public let heatLoss: Int
public let heatPumpCapacity: Capacity.HeatPumpHeating
public init(winterDesignTemperature: Int, heatLoss: Int, heatPumpCapacity: Capacity.HeatPumpHeating) {
self.winterDesignTemperature = winterDesignTemperature
self.heatLoss = heatLoss
self.heatPumpCapacity = heatPumpCapacity
}
}
public struct Response: Codable, Equatable, Sendable {
public let balancePointTemperature: Double
public init(balancePointTemperature: Double) {
self.balancePointTemperature = balancePointTemperature
}
}
}