DKTank
public struct DKTank
An object that represents a scuba diving cylinder.
Since
1.0-
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 -
DKTankTypeof cylinderDeclaration
Swift
public var type: DKTankType -
Initializes
DKTankTypewith the specified values.Declaration
Swift
public init(ratedPressure: Double, volume: Double, type: DKTankType)Parameters
ratedPressureDouble representing the rated pressure of cylinder.
volumeDouble representing the capacity of cylinder.
typeDKTankTyperepresenting the type of cylinder.Since
1.0
DKTank Structure Reference