feat: Cleaning up shared models.
This commit is contained in:
@@ -40,7 +40,10 @@ extension RatedAirflowPerTon {
|
||||
// MARK: - Airflow Limits
|
||||
public typealias RatedAirflowLimits = RatedEnvelope<AirflowLimits>
|
||||
extension RatedAirflowLimits {
|
||||
public init(tons: CoolingCapacity, using airflowPerTon: RatedAirflowPerTon = .init()) {
|
||||
public init(
|
||||
tons: EquipmentMetadata.CoolingCapacity,
|
||||
airflowPerTon: RatedAirflowPerTon = .init()
|
||||
) {
|
||||
self.init(
|
||||
maximum: airflowPerTon.maximum * tons.rawValue,
|
||||
minimum: airflowPerTon.minimum * tons.rawValue,
|
||||
|
||||
Reference in New Issue
Block a user