WIP: Cleans up ManualDClient and adds some more document strings.
Some checks failed
CI / Linux Tests (push) Failing after 7m3s

This commit is contained in:
2026-01-29 22:56:39 -05:00
parent 9b618d55fa
commit 4f3cc2c7ea
14 changed files with 86 additions and 96 deletions

View File

@@ -7,13 +7,13 @@ public struct FrictionRate: Codable, Equatable, Sendable {
/// minus the ``ComponentPressureLoss``es for the project.
public let availableStaticPressure: Double
/// The calculated design friction rate value.
public let value: DesignFrictionRate
public let value: Double
/// Whether the design friction rate is within a valid range.
public var hasErrors: Bool { error != nil }
public init(
availableStaticPressure: Double,
value: DesignFrictionRate
value: Double
) {
self.availableStaticPressure = availableStaticPressure
self.value = value