feat: Initial commit
This commit is contained in:
24
Sources/Models/BalancePoint.swift
Normal file
24
Sources/Models/BalancePoint.swift
Normal file
@@ -0,0 +1,24 @@
|
||||
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
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user