This repository has been archived on 2026-02-12. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
swift-duct-calc/Sources/ManualDCore/Room.swift

21 lines
447 B
Swift

import Foundation
public struct Room: Codable, Equatable {
public let name: String
public let heatingLoad: Double
public let coolingLoad: CoolingLoad
public let registerCount: Int
public init(
name: String,
heatingLoad: Double,
coolingLoad: CoolingLoad,
registerCount: Int = 1
) {
self.name = name
self.heatingLoad = heatingLoad
self.coolingLoad = coolingLoad
self.registerCount = registerCount
}
}