DKTank

public struct DKTank

An object that represents a scuba diving cylinder.

Since

1.0
  • The type of scuba diving cylinder.

    Since

    1.0
    See more

    Declaration

    Swift

    public enum DKTankType
  • Rated or working pressure of cylinder

    Declaration

    Swift

    public var ratedPressure: Double
  • Capacity of cylinder

    Declaration

    Swift

    public var volume: Double
  • DKTankType of cylinder

    Declaration

    Swift

    public var type: DKTankType
  • Initializes DKTankType with the specified values.

    Declaration

    Swift

    public init(ratedPressure: Double, volume: Double, type: DKTankType)

    Parameters

    ratedPressure

    Double representing the rated pressure of cylinder.

    volume

    Double representing the capacity of cylinder.

    type

    DKTankType representing the type of cylinder.

    Since

    1.0