UNPKG

unitsnet-js

Version:

A better way to hold unit variables and easily convert to the destination unit

1,301 lines 124 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.VolumeFlow = exports.VolumeFlowUnits = void 0; const base_unit_1 = require("../base-unit"); /** VolumeFlowUnits enumeration */ var VolumeFlowUnits; (function (VolumeFlowUnits) { /** */ VolumeFlowUnits["CubicMetersPerSecond"] = "CubicMeterPerSecond"; /** */ VolumeFlowUnits["CubicMetersPerMinute"] = "CubicMeterPerMinute"; /** */ VolumeFlowUnits["CubicMetersPerHour"] = "CubicMeterPerHour"; /** */ VolumeFlowUnits["CubicMetersPerDay"] = "CubicMeterPerDay"; /** */ VolumeFlowUnits["CubicFeetPerSecond"] = "CubicFootPerSecond"; /** */ VolumeFlowUnits["CubicFeetPerMinute"] = "CubicFootPerMinute"; /** */ VolumeFlowUnits["CubicFeetPerHour"] = "CubicFootPerHour"; /** */ VolumeFlowUnits["CubicYardsPerSecond"] = "CubicYardPerSecond"; /** */ VolumeFlowUnits["CubicYardsPerMinute"] = "CubicYardPerMinute"; /** */ VolumeFlowUnits["CubicYardsPerHour"] = "CubicYardPerHour"; /** */ VolumeFlowUnits["CubicYardsPerDay"] = "CubicYardPerDay"; /** */ VolumeFlowUnits["MillionUsGallonsPerDay"] = "MillionUsGallonPerDay"; /** */ VolumeFlowUnits["UsGallonsPerDay"] = "UsGallonPerDay"; /** */ VolumeFlowUnits["LitersPerSecond"] = "LiterPerSecond"; /** */ VolumeFlowUnits["LitersPerMinute"] = "LiterPerMinute"; /** */ VolumeFlowUnits["LitersPerHour"] = "LiterPerHour"; /** */ VolumeFlowUnits["LitersPerDay"] = "LiterPerDay"; /** */ VolumeFlowUnits["UsGallonsPerSecond"] = "UsGallonPerSecond"; /** */ VolumeFlowUnits["UsGallonsPerMinute"] = "UsGallonPerMinute"; /** */ VolumeFlowUnits["UkGallonsPerDay"] = "UkGallonPerDay"; /** */ VolumeFlowUnits["UkGallonsPerHour"] = "UkGallonPerHour"; /** */ VolumeFlowUnits["UkGallonsPerMinute"] = "UkGallonPerMinute"; /** */ VolumeFlowUnits["UkGallonsPerSecond"] = "UkGallonPerSecond"; /** */ VolumeFlowUnits["KilousGallonsPerMinute"] = "KilousGallonPerMinute"; /** */ VolumeFlowUnits["UsGallonsPerHour"] = "UsGallonPerHour"; /** */ VolumeFlowUnits["CubicDecimetersPerMinute"] = "CubicDecimeterPerMinute"; /** */ VolumeFlowUnits["OilBarrelsPerDay"] = "OilBarrelPerDay"; /** */ VolumeFlowUnits["OilBarrelsPerMinute"] = "OilBarrelPerMinute"; /** */ VolumeFlowUnits["OilBarrelsPerHour"] = "OilBarrelPerHour"; /** */ VolumeFlowUnits["OilBarrelsPerSecond"] = "OilBarrelPerSecond"; /** */ VolumeFlowUnits["CubicMillimetersPerSecond"] = "CubicMillimeterPerSecond"; /** */ VolumeFlowUnits["AcreFeetPerSecond"] = "AcreFootPerSecond"; /** */ VolumeFlowUnits["AcreFeetPerMinute"] = "AcreFootPerMinute"; /** */ VolumeFlowUnits["AcreFeetPerHour"] = "AcreFootPerHour"; /** */ VolumeFlowUnits["AcreFeetPerDay"] = "AcreFootPerDay"; /** */ VolumeFlowUnits["CubicCentimetersPerMinute"] = "CubicCentimeterPerMinute"; /** */ VolumeFlowUnits["MegausGallonsPerDay"] = "MegausGallonPerDay"; /** */ VolumeFlowUnits["NanolitersPerSecond"] = "NanoliterPerSecond"; /** */ VolumeFlowUnits["MicrolitersPerSecond"] = "MicroliterPerSecond"; /** */ VolumeFlowUnits["MillilitersPerSecond"] = "MilliliterPerSecond"; /** */ VolumeFlowUnits["CentilitersPerSecond"] = "CentiliterPerSecond"; /** */ VolumeFlowUnits["DecilitersPerSecond"] = "DeciliterPerSecond"; /** */ VolumeFlowUnits["DecalitersPerSecond"] = "DecaliterPerSecond"; /** */ VolumeFlowUnits["HectolitersPerSecond"] = "HectoliterPerSecond"; /** */ VolumeFlowUnits["KilolitersPerSecond"] = "KiloliterPerSecond"; /** */ VolumeFlowUnits["MegalitersPerSecond"] = "MegaliterPerSecond"; /** */ VolumeFlowUnits["NanolitersPerMinute"] = "NanoliterPerMinute"; /** */ VolumeFlowUnits["MicrolitersPerMinute"] = "MicroliterPerMinute"; /** */ VolumeFlowUnits["MillilitersPerMinute"] = "MilliliterPerMinute"; /** */ VolumeFlowUnits["CentilitersPerMinute"] = "CentiliterPerMinute"; /** */ VolumeFlowUnits["DecilitersPerMinute"] = "DeciliterPerMinute"; /** */ VolumeFlowUnits["DecalitersPerMinute"] = "DecaliterPerMinute"; /** */ VolumeFlowUnits["HectolitersPerMinute"] = "HectoliterPerMinute"; /** */ VolumeFlowUnits["KilolitersPerMinute"] = "KiloliterPerMinute"; /** */ VolumeFlowUnits["MegalitersPerMinute"] = "MegaliterPerMinute"; /** */ VolumeFlowUnits["NanolitersPerHour"] = "NanoliterPerHour"; /** */ VolumeFlowUnits["MicrolitersPerHour"] = "MicroliterPerHour"; /** */ VolumeFlowUnits["MillilitersPerHour"] = "MilliliterPerHour"; /** */ VolumeFlowUnits["CentilitersPerHour"] = "CentiliterPerHour"; /** */ VolumeFlowUnits["DecilitersPerHour"] = "DeciliterPerHour"; /** */ VolumeFlowUnits["DecalitersPerHour"] = "DecaliterPerHour"; /** */ VolumeFlowUnits["HectolitersPerHour"] = "HectoliterPerHour"; /** */ VolumeFlowUnits["KilolitersPerHour"] = "KiloliterPerHour"; /** */ VolumeFlowUnits["MegalitersPerHour"] = "MegaliterPerHour"; /** */ VolumeFlowUnits["NanolitersPerDay"] = "NanoliterPerDay"; /** */ VolumeFlowUnits["MicrolitersPerDay"] = "MicroliterPerDay"; /** */ VolumeFlowUnits["MillilitersPerDay"] = "MilliliterPerDay"; /** */ VolumeFlowUnits["CentilitersPerDay"] = "CentiliterPerDay"; /** */ VolumeFlowUnits["DecilitersPerDay"] = "DeciliterPerDay"; /** */ VolumeFlowUnits["DecalitersPerDay"] = "DecaliterPerDay"; /** */ VolumeFlowUnits["HectolitersPerDay"] = "HectoliterPerDay"; /** */ VolumeFlowUnits["KilolitersPerDay"] = "KiloliterPerDay"; /** */ VolumeFlowUnits["MegalitersPerDay"] = "MegaliterPerDay"; /** */ VolumeFlowUnits["MegaukGallonsPerDay"] = "MegaukGallonPerDay"; /** */ VolumeFlowUnits["MegaukGallonsPerSecond"] = "MegaukGallonPerSecond"; })(VolumeFlowUnits = exports.VolumeFlowUnits || (exports.VolumeFlowUnits = {})); /** In physics and engineering, in particular fluid dynamics and hydrometry, the volumetric flow rate, (also known as volume flow rate, rate of fluid flow or volume velocity) is the volume of fluid which passes through a given surface per unit time. The SI unit is m³/s (cubic meters per second). In US Customary Units and British Imperial Units, volumetric flow rate is often expressed as ft³/s (cubic feet per second). It is usually represented by the symbol Q. */ class VolumeFlow extends base_unit_1.BaseUnit { /** * Create a new VolumeFlow. * @param value The value. * @param fromUnit The ‘VolumeFlow’ unit to create from. * The default unit is CubicMetersPerSecond */ constructor(value, fromUnit = VolumeFlowUnits.CubicMetersPerSecond) { super(); this.cubicmeterspersecondLazy = null; this.cubicmetersperminuteLazy = null; this.cubicmetersperhourLazy = null; this.cubicmetersperdayLazy = null; this.cubicfeetpersecondLazy = null; this.cubicfeetperminuteLazy = null; this.cubicfeetperhourLazy = null; this.cubicyardspersecondLazy = null; this.cubicyardsperminuteLazy = null; this.cubicyardsperhourLazy = null; this.cubicyardsperdayLazy = null; this.millionusgallonsperdayLazy = null; this.usgallonsperdayLazy = null; this.literspersecondLazy = null; this.litersperminuteLazy = null; this.litersperhourLazy = null; this.litersperdayLazy = null; this.usgallonspersecondLazy = null; this.usgallonsperminuteLazy = null; this.ukgallonsperdayLazy = null; this.ukgallonsperhourLazy = null; this.ukgallonsperminuteLazy = null; this.ukgallonspersecondLazy = null; this.kilousgallonsperminuteLazy = null; this.usgallonsperhourLazy = null; this.cubicdecimetersperminuteLazy = null; this.oilbarrelsperdayLazy = null; this.oilbarrelsperminuteLazy = null; this.oilbarrelsperhourLazy = null; this.oilbarrelspersecondLazy = null; this.cubicmillimeterspersecondLazy = null; this.acrefeetpersecondLazy = null; this.acrefeetperminuteLazy = null; this.acrefeetperhourLazy = null; this.acrefeetperdayLazy = null; this.cubiccentimetersperminuteLazy = null; this.megausgallonsperdayLazy = null; this.nanoliterspersecondLazy = null; this.microliterspersecondLazy = null; this.milliliterspersecondLazy = null; this.centiliterspersecondLazy = null; this.deciliterspersecondLazy = null; this.decaliterspersecondLazy = null; this.hectoliterspersecondLazy = null; this.kiloliterspersecondLazy = null; this.megaliterspersecondLazy = null; this.nanolitersperminuteLazy = null; this.microlitersperminuteLazy = null; this.millilitersperminuteLazy = null; this.centilitersperminuteLazy = null; this.decilitersperminuteLazy = null; this.decalitersperminuteLazy = null; this.hectolitersperminuteLazy = null; this.kilolitersperminuteLazy = null; this.megalitersperminuteLazy = null; this.nanolitersperhourLazy = null; this.microlitersperhourLazy = null; this.millilitersperhourLazy = null; this.centilitersperhourLazy = null; this.decilitersperhourLazy = null; this.decalitersperhourLazy = null; this.hectolitersperhourLazy = null; this.kilolitersperhourLazy = null; this.megalitersperhourLazy = null; this.nanolitersperdayLazy = null; this.microlitersperdayLazy = null; this.millilitersperdayLazy = null; this.centilitersperdayLazy = null; this.decilitersperdayLazy = null; this.decalitersperdayLazy = null; this.hectolitersperdayLazy = null; this.kilolitersperdayLazy = null; this.megalitersperdayLazy = null; this.megaukgallonsperdayLazy = null; this.megaukgallonspersecondLazy = null; if (value === undefined || value === null || Number.isNaN(value)) { throw new TypeError('invalid unit value ‘' + value + '’'); } this.value = this.convertToBase(value, fromUnit); } /** * The base value of VolumeFlow is CubicMetersPerSecond. * This accessor used when needs a value for calculations and it's better to use directly the base value */ get BaseValue() { return this.value; } /** Gets the default unit used when creating instances of the unit or its DTO */ get baseUnit() { return VolumeFlowUnits.CubicMetersPerSecond; } /** */ get CubicMetersPerSecond() { if (this.cubicmeterspersecondLazy !== null) { return this.cubicmeterspersecondLazy; } return this.cubicmeterspersecondLazy = this.convertFromBase(VolumeFlowUnits.CubicMetersPerSecond); } /** */ get CubicMetersPerMinute() { if (this.cubicmetersperminuteLazy !== null) { return this.cubicmetersperminuteLazy; } return this.cubicmetersperminuteLazy = this.convertFromBase(VolumeFlowUnits.CubicMetersPerMinute); } /** */ get CubicMetersPerHour() { if (this.cubicmetersperhourLazy !== null) { return this.cubicmetersperhourLazy; } return this.cubicmetersperhourLazy = this.convertFromBase(VolumeFlowUnits.CubicMetersPerHour); } /** */ get CubicMetersPerDay() { if (this.cubicmetersperdayLazy !== null) { return this.cubicmetersperdayLazy; } return this.cubicmetersperdayLazy = this.convertFromBase(VolumeFlowUnits.CubicMetersPerDay); } /** */ get CubicFeetPerSecond() { if (this.cubicfeetpersecondLazy !== null) { return this.cubicfeetpersecondLazy; } return this.cubicfeetpersecondLazy = this.convertFromBase(VolumeFlowUnits.CubicFeetPerSecond); } /** */ get CubicFeetPerMinute() { if (this.cubicfeetperminuteLazy !== null) { return this.cubicfeetperminuteLazy; } return this.cubicfeetperminuteLazy = this.convertFromBase(VolumeFlowUnits.CubicFeetPerMinute); } /** */ get CubicFeetPerHour() { if (this.cubicfeetperhourLazy !== null) { return this.cubicfeetperhourLazy; } return this.cubicfeetperhourLazy = this.convertFromBase(VolumeFlowUnits.CubicFeetPerHour); } /** */ get CubicYardsPerSecond() { if (this.cubicyardspersecondLazy !== null) { return this.cubicyardspersecondLazy; } return this.cubicyardspersecondLazy = this.convertFromBase(VolumeFlowUnits.CubicYardsPerSecond); } /** */ get CubicYardsPerMinute() { if (this.cubicyardsperminuteLazy !== null) { return this.cubicyardsperminuteLazy; } return this.cubicyardsperminuteLazy = this.convertFromBase(VolumeFlowUnits.CubicYardsPerMinute); } /** */ get CubicYardsPerHour() { if (this.cubicyardsperhourLazy !== null) { return this.cubicyardsperhourLazy; } return this.cubicyardsperhourLazy = this.convertFromBase(VolumeFlowUnits.CubicYardsPerHour); } /** */ get CubicYardsPerDay() { if (this.cubicyardsperdayLazy !== null) { return this.cubicyardsperdayLazy; } return this.cubicyardsperdayLazy = this.convertFromBase(VolumeFlowUnits.CubicYardsPerDay); } /** */ get MillionUsGallonsPerDay() { if (this.millionusgallonsperdayLazy !== null) { return this.millionusgallonsperdayLazy; } return this.millionusgallonsperdayLazy = this.convertFromBase(VolumeFlowUnits.MillionUsGallonsPerDay); } /** */ get UsGallonsPerDay() { if (this.usgallonsperdayLazy !== null) { return this.usgallonsperdayLazy; } return this.usgallonsperdayLazy = this.convertFromBase(VolumeFlowUnits.UsGallonsPerDay); } /** */ get LitersPerSecond() { if (this.literspersecondLazy !== null) { return this.literspersecondLazy; } return this.literspersecondLazy = this.convertFromBase(VolumeFlowUnits.LitersPerSecond); } /** */ get LitersPerMinute() { if (this.litersperminuteLazy !== null) { return this.litersperminuteLazy; } return this.litersperminuteLazy = this.convertFromBase(VolumeFlowUnits.LitersPerMinute); } /** */ get LitersPerHour() { if (this.litersperhourLazy !== null) { return this.litersperhourLazy; } return this.litersperhourLazy = this.convertFromBase(VolumeFlowUnits.LitersPerHour); } /** */ get LitersPerDay() { if (this.litersperdayLazy !== null) { return this.litersperdayLazy; } return this.litersperdayLazy = this.convertFromBase(VolumeFlowUnits.LitersPerDay); } /** */ get UsGallonsPerSecond() { if (this.usgallonspersecondLazy !== null) { return this.usgallonspersecondLazy; } return this.usgallonspersecondLazy = this.convertFromBase(VolumeFlowUnits.UsGallonsPerSecond); } /** */ get UsGallonsPerMinute() { if (this.usgallonsperminuteLazy !== null) { return this.usgallonsperminuteLazy; } return this.usgallonsperminuteLazy = this.convertFromBase(VolumeFlowUnits.UsGallonsPerMinute); } /** */ get UkGallonsPerDay() { if (this.ukgallonsperdayLazy !== null) { return this.ukgallonsperdayLazy; } return this.ukgallonsperdayLazy = this.convertFromBase(VolumeFlowUnits.UkGallonsPerDay); } /** */ get UkGallonsPerHour() { if (this.ukgallonsperhourLazy !== null) { return this.ukgallonsperhourLazy; } return this.ukgallonsperhourLazy = this.convertFromBase(VolumeFlowUnits.UkGallonsPerHour); } /** */ get UkGallonsPerMinute() { if (this.ukgallonsperminuteLazy !== null) { return this.ukgallonsperminuteLazy; } return this.ukgallonsperminuteLazy = this.convertFromBase(VolumeFlowUnits.UkGallonsPerMinute); } /** */ get UkGallonsPerSecond() { if (this.ukgallonspersecondLazy !== null) { return this.ukgallonspersecondLazy; } return this.ukgallonspersecondLazy = this.convertFromBase(VolumeFlowUnits.UkGallonsPerSecond); } /** */ get KilousGallonsPerMinute() { if (this.kilousgallonsperminuteLazy !== null) { return this.kilousgallonsperminuteLazy; } return this.kilousgallonsperminuteLazy = this.convertFromBase(VolumeFlowUnits.KilousGallonsPerMinute); } /** */ get UsGallonsPerHour() { if (this.usgallonsperhourLazy !== null) { return this.usgallonsperhourLazy; } return this.usgallonsperhourLazy = this.convertFromBase(VolumeFlowUnits.UsGallonsPerHour); } /** */ get CubicDecimetersPerMinute() { if (this.cubicdecimetersperminuteLazy !== null) { return this.cubicdecimetersperminuteLazy; } return this.cubicdecimetersperminuteLazy = this.convertFromBase(VolumeFlowUnits.CubicDecimetersPerMinute); } /** */ get OilBarrelsPerDay() { if (this.oilbarrelsperdayLazy !== null) { return this.oilbarrelsperdayLazy; } return this.oilbarrelsperdayLazy = this.convertFromBase(VolumeFlowUnits.OilBarrelsPerDay); } /** */ get OilBarrelsPerMinute() { if (this.oilbarrelsperminuteLazy !== null) { return this.oilbarrelsperminuteLazy; } return this.oilbarrelsperminuteLazy = this.convertFromBase(VolumeFlowUnits.OilBarrelsPerMinute); } /** */ get OilBarrelsPerHour() { if (this.oilbarrelsperhourLazy !== null) { return this.oilbarrelsperhourLazy; } return this.oilbarrelsperhourLazy = this.convertFromBase(VolumeFlowUnits.OilBarrelsPerHour); } /** */ get OilBarrelsPerSecond() { if (this.oilbarrelspersecondLazy !== null) { return this.oilbarrelspersecondLazy; } return this.oilbarrelspersecondLazy = this.convertFromBase(VolumeFlowUnits.OilBarrelsPerSecond); } /** */ get CubicMillimetersPerSecond() { if (this.cubicmillimeterspersecondLazy !== null) { return this.cubicmillimeterspersecondLazy; } return this.cubicmillimeterspersecondLazy = this.convertFromBase(VolumeFlowUnits.CubicMillimetersPerSecond); } /** */ get AcreFeetPerSecond() { if (this.acrefeetpersecondLazy !== null) { return this.acrefeetpersecondLazy; } return this.acrefeetpersecondLazy = this.convertFromBase(VolumeFlowUnits.AcreFeetPerSecond); } /** */ get AcreFeetPerMinute() { if (this.acrefeetperminuteLazy !== null) { return this.acrefeetperminuteLazy; } return this.acrefeetperminuteLazy = this.convertFromBase(VolumeFlowUnits.AcreFeetPerMinute); } /** */ get AcreFeetPerHour() { if (this.acrefeetperhourLazy !== null) { return this.acrefeetperhourLazy; } return this.acrefeetperhourLazy = this.convertFromBase(VolumeFlowUnits.AcreFeetPerHour); } /** */ get AcreFeetPerDay() { if (this.acrefeetperdayLazy !== null) { return this.acrefeetperdayLazy; } return this.acrefeetperdayLazy = this.convertFromBase(VolumeFlowUnits.AcreFeetPerDay); } /** */ get CubicCentimetersPerMinute() { if (this.cubiccentimetersperminuteLazy !== null) { return this.cubiccentimetersperminuteLazy; } return this.cubiccentimetersperminuteLazy = this.convertFromBase(VolumeFlowUnits.CubicCentimetersPerMinute); } /** */ get MegausGallonsPerDay() { if (this.megausgallonsperdayLazy !== null) { return this.megausgallonsperdayLazy; } return this.megausgallonsperdayLazy = this.convertFromBase(VolumeFlowUnits.MegausGallonsPerDay); } /** */ get NanolitersPerSecond() { if (this.nanoliterspersecondLazy !== null) { return this.nanoliterspersecondLazy; } return this.nanoliterspersecondLazy = this.convertFromBase(VolumeFlowUnits.NanolitersPerSecond); } /** */ get MicrolitersPerSecond() { if (this.microliterspersecondLazy !== null) { return this.microliterspersecondLazy; } return this.microliterspersecondLazy = this.convertFromBase(VolumeFlowUnits.MicrolitersPerSecond); } /** */ get MillilitersPerSecond() { if (this.milliliterspersecondLazy !== null) { return this.milliliterspersecondLazy; } return this.milliliterspersecondLazy = this.convertFromBase(VolumeFlowUnits.MillilitersPerSecond); } /** */ get CentilitersPerSecond() { if (this.centiliterspersecondLazy !== null) { return this.centiliterspersecondLazy; } return this.centiliterspersecondLazy = this.convertFromBase(VolumeFlowUnits.CentilitersPerSecond); } /** */ get DecilitersPerSecond() { if (this.deciliterspersecondLazy !== null) { return this.deciliterspersecondLazy; } return this.deciliterspersecondLazy = this.convertFromBase(VolumeFlowUnits.DecilitersPerSecond); } /** */ get DecalitersPerSecond() { if (this.decaliterspersecondLazy !== null) { return this.decaliterspersecondLazy; } return this.decaliterspersecondLazy = this.convertFromBase(VolumeFlowUnits.DecalitersPerSecond); } /** */ get HectolitersPerSecond() { if (this.hectoliterspersecondLazy !== null) { return this.hectoliterspersecondLazy; } return this.hectoliterspersecondLazy = this.convertFromBase(VolumeFlowUnits.HectolitersPerSecond); } /** */ get KilolitersPerSecond() { if (this.kiloliterspersecondLazy !== null) { return this.kiloliterspersecondLazy; } return this.kiloliterspersecondLazy = this.convertFromBase(VolumeFlowUnits.KilolitersPerSecond); } /** */ get MegalitersPerSecond() { if (this.megaliterspersecondLazy !== null) { return this.megaliterspersecondLazy; } return this.megaliterspersecondLazy = this.convertFromBase(VolumeFlowUnits.MegalitersPerSecond); } /** */ get NanolitersPerMinute() { if (this.nanolitersperminuteLazy !== null) { return this.nanolitersperminuteLazy; } return this.nanolitersperminuteLazy = this.convertFromBase(VolumeFlowUnits.NanolitersPerMinute); } /** */ get MicrolitersPerMinute() { if (this.microlitersperminuteLazy !== null) { return this.microlitersperminuteLazy; } return this.microlitersperminuteLazy = this.convertFromBase(VolumeFlowUnits.MicrolitersPerMinute); } /** */ get MillilitersPerMinute() { if (this.millilitersperminuteLazy !== null) { return this.millilitersperminuteLazy; } return this.millilitersperminuteLazy = this.convertFromBase(VolumeFlowUnits.MillilitersPerMinute); } /** */ get CentilitersPerMinute() { if (this.centilitersperminuteLazy !== null) { return this.centilitersperminuteLazy; } return this.centilitersperminuteLazy = this.convertFromBase(VolumeFlowUnits.CentilitersPerMinute); } /** */ get DecilitersPerMinute() { if (this.decilitersperminuteLazy !== null) { return this.decilitersperminuteLazy; } return this.decilitersperminuteLazy = this.convertFromBase(VolumeFlowUnits.DecilitersPerMinute); } /** */ get DecalitersPerMinute() { if (this.decalitersperminuteLazy !== null) { return this.decalitersperminuteLazy; } return this.decalitersperminuteLazy = this.convertFromBase(VolumeFlowUnits.DecalitersPerMinute); } /** */ get HectolitersPerMinute() { if (this.hectolitersperminuteLazy !== null) { return this.hectolitersperminuteLazy; } return this.hectolitersperminuteLazy = this.convertFromBase(VolumeFlowUnits.HectolitersPerMinute); } /** */ get KilolitersPerMinute() { if (this.kilolitersperminuteLazy !== null) { return this.kilolitersperminuteLazy; } return this.kilolitersperminuteLazy = this.convertFromBase(VolumeFlowUnits.KilolitersPerMinute); } /** */ get MegalitersPerMinute() { if (this.megalitersperminuteLazy !== null) { return this.megalitersperminuteLazy; } return this.megalitersperminuteLazy = this.convertFromBase(VolumeFlowUnits.MegalitersPerMinute); } /** */ get NanolitersPerHour() { if (this.nanolitersperhourLazy !== null) { return this.nanolitersperhourLazy; } return this.nanolitersperhourLazy = this.convertFromBase(VolumeFlowUnits.NanolitersPerHour); } /** */ get MicrolitersPerHour() { if (this.microlitersperhourLazy !== null) { return this.microlitersperhourLazy; } return this.microlitersperhourLazy = this.convertFromBase(VolumeFlowUnits.MicrolitersPerHour); } /** */ get MillilitersPerHour() { if (this.millilitersperhourLazy !== null) { return this.millilitersperhourLazy; } return this.millilitersperhourLazy = this.convertFromBase(VolumeFlowUnits.MillilitersPerHour); } /** */ get CentilitersPerHour() { if (this.centilitersperhourLazy !== null) { return this.centilitersperhourLazy; } return this.centilitersperhourLazy = this.convertFromBase(VolumeFlowUnits.CentilitersPerHour); } /** */ get DecilitersPerHour() { if (this.decilitersperhourLazy !== null) { return this.decilitersperhourLazy; } return this.decilitersperhourLazy = this.convertFromBase(VolumeFlowUnits.DecilitersPerHour); } /** */ get DecalitersPerHour() { if (this.decalitersperhourLazy !== null) { return this.decalitersperhourLazy; } return this.decalitersperhourLazy = this.convertFromBase(VolumeFlowUnits.DecalitersPerHour); } /** */ get HectolitersPerHour() { if (this.hectolitersperhourLazy !== null) { return this.hectolitersperhourLazy; } return this.hectolitersperhourLazy = this.convertFromBase(VolumeFlowUnits.HectolitersPerHour); } /** */ get KilolitersPerHour() { if (this.kilolitersperhourLazy !== null) { return this.kilolitersperhourLazy; } return this.kilolitersperhourLazy = this.convertFromBase(VolumeFlowUnits.KilolitersPerHour); } /** */ get MegalitersPerHour() { if (this.megalitersperhourLazy !== null) { return this.megalitersperhourLazy; } return this.megalitersperhourLazy = this.convertFromBase(VolumeFlowUnits.MegalitersPerHour); } /** */ get NanolitersPerDay() { if (this.nanolitersperdayLazy !== null) { return this.nanolitersperdayLazy; } return this.nanolitersperdayLazy = this.convertFromBase(VolumeFlowUnits.NanolitersPerDay); } /** */ get MicrolitersPerDay() { if (this.microlitersperdayLazy !== null) { return this.microlitersperdayLazy; } return this.microlitersperdayLazy = this.convertFromBase(VolumeFlowUnits.MicrolitersPerDay); } /** */ get MillilitersPerDay() { if (this.millilitersperdayLazy !== null) { return this.millilitersperdayLazy; } return this.millilitersperdayLazy = this.convertFromBase(VolumeFlowUnits.MillilitersPerDay); } /** */ get CentilitersPerDay() { if (this.centilitersperdayLazy !== null) { return this.centilitersperdayLazy; } return this.centilitersperdayLazy = this.convertFromBase(VolumeFlowUnits.CentilitersPerDay); } /** */ get DecilitersPerDay() { if (this.decilitersperdayLazy !== null) { return this.decilitersperdayLazy; } return this.decilitersperdayLazy = this.convertFromBase(VolumeFlowUnits.DecilitersPerDay); } /** */ get DecalitersPerDay() { if (this.decalitersperdayLazy !== null) { return this.decalitersperdayLazy; } return this.decalitersperdayLazy = this.convertFromBase(VolumeFlowUnits.DecalitersPerDay); } /** */ get HectolitersPerDay() { if (this.hectolitersperdayLazy !== null) { return this.hectolitersperdayLazy; } return this.hectolitersperdayLazy = this.convertFromBase(VolumeFlowUnits.HectolitersPerDay); } /** */ get KilolitersPerDay() { if (this.kilolitersperdayLazy !== null) { return this.kilolitersperdayLazy; } return this.kilolitersperdayLazy = this.convertFromBase(VolumeFlowUnits.KilolitersPerDay); } /** */ get MegalitersPerDay() { if (this.megalitersperdayLazy !== null) { return this.megalitersperdayLazy; } return this.megalitersperdayLazy = this.convertFromBase(VolumeFlowUnits.MegalitersPerDay); } /** */ get MegaukGallonsPerDay() { if (this.megaukgallonsperdayLazy !== null) { return this.megaukgallonsperdayLazy; } return this.megaukgallonsperdayLazy = this.convertFromBase(VolumeFlowUnits.MegaukGallonsPerDay); } /** */ get MegaukGallonsPerSecond() { if (this.megaukgallonspersecondLazy !== null) { return this.megaukgallonspersecondLazy; } return this.megaukgallonspersecondLazy = this.convertFromBase(VolumeFlowUnits.MegaukGallonsPerSecond); } /** * Create a new VolumeFlow instance from a CubicMetersPerSecond * * @param value The unit as CubicMetersPerSecond to create a new VolumeFlow from. * @returns The new VolumeFlow instance. */ static FromCubicMetersPerSecond(value) { return new VolumeFlow(value, VolumeFlowUnits.CubicMetersPerSecond); } /** * Create a new VolumeFlow instance from a CubicMetersPerMinute * * @param value The unit as CubicMetersPerMinute to create a new VolumeFlow from. * @returns The new VolumeFlow instance. */ static FromCubicMetersPerMinute(value) { return new VolumeFlow(value, VolumeFlowUnits.CubicMetersPerMinute); } /** * Create a new VolumeFlow instance from a CubicMetersPerHour * * @param value The unit as CubicMetersPerHour to create a new VolumeFlow from. * @returns The new VolumeFlow instance. */ static FromCubicMetersPerHour(value) { return new VolumeFlow(value, VolumeFlowUnits.CubicMetersPerHour); } /** * Create a new VolumeFlow instance from a CubicMetersPerDay * * @param value The unit as CubicMetersPerDay to create a new VolumeFlow from. * @returns The new VolumeFlow instance. */ static FromCubicMetersPerDay(value) { return new VolumeFlow(value, VolumeFlowUnits.CubicMetersPerDay); } /** * Create a new VolumeFlow instance from a CubicFeetPerSecond * * @param value The unit as CubicFeetPerSecond to create a new VolumeFlow from. * @returns The new VolumeFlow instance. */ static FromCubicFeetPerSecond(value) { return new VolumeFlow(value, VolumeFlowUnits.CubicFeetPerSecond); } /** * Create a new VolumeFlow instance from a CubicFeetPerMinute * * @param value The unit as CubicFeetPerMinute to create a new VolumeFlow from. * @returns The new VolumeFlow instance. */ static FromCubicFeetPerMinute(value) { return new VolumeFlow(value, VolumeFlowUnits.CubicFeetPerMinute); } /** * Create a new VolumeFlow instance from a CubicFeetPerHour * * @param value The unit as CubicFeetPerHour to create a new VolumeFlow from. * @returns The new VolumeFlow instance. */ static FromCubicFeetPerHour(value) { return new VolumeFlow(value, VolumeFlowUnits.CubicFeetPerHour); } /** * Create a new VolumeFlow instance from a CubicYardsPerSecond * * @param value The unit as CubicYardsPerSecond to create a new VolumeFlow from. * @returns The new VolumeFlow instance. */ static FromCubicYardsPerSecond(value) { return new VolumeFlow(value, VolumeFlowUnits.CubicYardsPerSecond); } /** * Create a new VolumeFlow instance from a CubicYardsPerMinute * * @param value The unit as CubicYardsPerMinute to create a new VolumeFlow from. * @returns The new VolumeFlow instance. */ static FromCubicYardsPerMinute(value) { return new VolumeFlow(value, VolumeFlowUnits.CubicYardsPerMinute); } /** * Create a new VolumeFlow instance from a CubicYardsPerHour * * @param value The unit as CubicYardsPerHour to create a new VolumeFlow from. * @returns The new VolumeFlow instance. */ static FromCubicYardsPerHour(value) { return new VolumeFlow(value, VolumeFlowUnits.CubicYardsPerHour); } /** * Create a new VolumeFlow instance from a CubicYardsPerDay * * @param value The unit as CubicYardsPerDay to create a new VolumeFlow from. * @returns The new VolumeFlow instance. */ static FromCubicYardsPerDay(value) { return new VolumeFlow(value, VolumeFlowUnits.CubicYardsPerDay); } /** * Create a new VolumeFlow instance from a MillionUsGallonsPerDay * * @param value The unit as MillionUsGallonsPerDay to create a new VolumeFlow from. * @returns The new VolumeFlow instance. */ static FromMillionUsGallonsPerDay(value) { return new VolumeFlow(value, VolumeFlowUnits.MillionUsGallonsPerDay); } /** * Create a new VolumeFlow instance from a UsGallonsPerDay * * @param value The unit as UsGallonsPerDay to create a new VolumeFlow from. * @returns The new VolumeFlow instance. */ static FromUsGallonsPerDay(value) { return new VolumeFlow(value, VolumeFlowUnits.UsGallonsPerDay); } /** * Create a new VolumeFlow instance from a LitersPerSecond * * @param value The unit as LitersPerSecond to create a new VolumeFlow from. * @returns The new VolumeFlow instance. */ static FromLitersPerSecond(value) { return new VolumeFlow(value, VolumeFlowUnits.LitersPerSecond); } /** * Create a new VolumeFlow instance from a LitersPerMinute * * @param value The unit as LitersPerMinute to create a new VolumeFlow from. * @returns The new VolumeFlow instance. */ static FromLitersPerMinute(value) { return new VolumeFlow(value, VolumeFlowUnits.LitersPerMinute); } /** * Create a new VolumeFlow instance from a LitersPerHour * * @param value The unit as LitersPerHour to create a new VolumeFlow from. * @returns The new VolumeFlow instance. */ static FromLitersPerHour(value) { return new VolumeFlow(value, VolumeFlowUnits.LitersPerHour); } /** * Create a new VolumeFlow instance from a LitersPerDay * * @param value The unit as LitersPerDay to create a new VolumeFlow from. * @returns The new VolumeFlow instance. */ static FromLitersPerDay(value) { return new VolumeFlow(value, VolumeFlowUnits.LitersPerDay); } /** * Create a new VolumeFlow instance from a UsGallonsPerSecond * * @param value The unit as UsGallonsPerSecond to create a new VolumeFlow from. * @returns The new VolumeFlow instance. */ static FromUsGallonsPerSecond(value) { return new VolumeFlow(value, VolumeFlowUnits.UsGallonsPerSecond); } /** * Create a new VolumeFlow instance from a UsGallonsPerMinute * * @param value The unit as UsGallonsPerMinute to create a new VolumeFlow from. * @returns The new VolumeFlow instance. */ static FromUsGallonsPerMinute(value) { return new VolumeFlow(value, VolumeFlowUnits.UsGallonsPerMinute); } /** * Create a new VolumeFlow instance from a UkGallonsPerDay * * @param value The unit as UkGallonsPerDay to create a new VolumeFlow from. * @returns The new VolumeFlow instance. */ static FromUkGallonsPerDay(value) { return new VolumeFlow(value, VolumeFlowUnits.UkGallonsPerDay); } /** * Create a new VolumeFlow instance from a UkGallonsPerHour * * @param value The unit as UkGallonsPerHour to create a new VolumeFlow from. * @returns The new VolumeFlow instance. */ static FromUkGallonsPerHour(value) { return new VolumeFlow(value, VolumeFlowUnits.UkGallonsPerHour); } /** * Create a new VolumeFlow instance from a UkGallonsPerMinute * * @param value The unit as UkGallonsPerMinute to create a new VolumeFlow from. * @returns The new VolumeFlow instance. */ static FromUkGallonsPerMinute(value) { return new VolumeFlow(value, VolumeFlowUnits.UkGallonsPerMinute); } /** * Create a new VolumeFlow instance from a UkGallonsPerSecond * * @param value The unit as UkGallonsPerSecond to create a new VolumeFlow from. * @returns The new VolumeFlow instance. */ static FromUkGallonsPerSecond(value) { return new VolumeFlow(value, VolumeFlowUnits.UkGallonsPerSecond); } /** * Create a new VolumeFlow instance from a KilousGallonsPerMinute * * @param value The unit as KilousGallonsPerMinute to create a new VolumeFlow from. * @returns The new VolumeFlow instance. */ static FromKilousGallonsPerMinute(value) { return new VolumeFlow(value, VolumeFlowUnits.KilousGallonsPerMinute); } /** * Create a new VolumeFlow instance from a UsGallonsPerHour * * @param value The unit as UsGallonsPerHour to create a new VolumeFlow from. * @returns The new VolumeFlow instance. */ static FromUsGallonsPerHour(value) { return new VolumeFlow(value, VolumeFlowUnits.UsGallonsPerHour); } /** * Create a new VolumeFlow instance from a CubicDecimetersPerMinute * * @param value The unit as CubicDecimetersPerMinute to create a new VolumeFlow from. * @returns The new VolumeFlow instance. */ static FromCubicDecimetersPerMinute(value) { return new VolumeFlow(value, VolumeFlowUnits.CubicDecimetersPerMinute); } /** * Create a new VolumeFlow instance from a OilBarrelsPerDay * * @param value The unit as OilBarrelsPerDay to create a new VolumeFlow from. * @returns The new VolumeFlow instance. */ static FromOilBarrelsPerDay(value) { return new VolumeFlow(value, VolumeFlowUnits.OilBarrelsPerDay); } /** * Create a new VolumeFlow instance from a OilBarrelsPerMinute * * @param value The unit as OilBarrelsPerMinute to create a new VolumeFlow from. * @returns The new VolumeFlow instance. */ static FromOilBarrelsPerMinute(value) { return new VolumeFlow(value, VolumeFlowUnits.OilBarrelsPerMinute); } /** * Create a new VolumeFlow instance from a OilBarrelsPerHour * * @param value The unit as OilBarrelsPerHour to create a new VolumeFlow from. * @returns The new VolumeFlow instance. */ static FromOilBarrelsPerHour(value) { return new VolumeFlow(value, VolumeFlowUnits.OilBarrelsPerHour); } /** * Create a new VolumeFlow instance from a OilBarrelsPerSecond * * @param value The unit as OilBarrelsPerSecond to create a new VolumeFlow from. * @returns The new VolumeFlow instance. */ static FromOilBarrelsPerSecond(value) { return new VolumeFlow(value, VolumeFlowUnits.OilBarrelsPerSecond); } /** * Create a new VolumeFlow instance from a CubicMillimetersPerSecond * * @param value The unit as CubicMillimetersPerSecond to create a new VolumeFlow from. * @returns The new VolumeFlow instance. */ static FromCubicMillimetersPerSecond(value) { return new VolumeFlow(value, VolumeFlowUnits.CubicMillimetersPerSecond); } /** * Create a new VolumeFlow instance from a AcreFeetPerSecond * * @param value The unit as AcreFeetPerSecond to create a new VolumeFlow from. * @returns The new VolumeFlow instance. */ static FromAcreFeetPerSecond(value) { return new VolumeFlow(value, VolumeFlowUnits.AcreFeetPerSecond); } /** * Create a new VolumeFlow instance from a AcreFeetPerMinute * * @param value The unit as AcreFeetPerMinute to create a new VolumeFlow from. * @returns The new VolumeFlow instance. */ static FromAcreFeetPerMinute(value) { return new VolumeFlow(value, VolumeFlowUnits.AcreFeetPerMinute); } /** * Create a new VolumeFlow instance from a AcreFeetPerHour * * @param value The unit as AcreFeetPerHour to create a new VolumeFlow from. * @returns The new VolumeFlow instance. */ static FromAcreFeetPerHour(value) { return new VolumeFlow(value, VolumeFlowUnits.AcreFeetPerHour); } /** * Create a new VolumeFlow instance from a AcreFeetPerDay * * @param value The unit as AcreFeetPerDay to create a new VolumeFlow from. * @returns The new VolumeFlow instance. */ static FromAcreFeetPerDay(value) { return new VolumeFlow(value, VolumeFlowUnits.AcreFeetPerDay); } /** * Create a new VolumeFlow instance from a CubicCentimetersPerMinute * * @param value The unit as CubicCentimetersPerMinute to create a new VolumeFlow from. * @returns The new VolumeFlow instance. */ static FromCubicCentimetersPerMinute(value) { return new VolumeFlow(value, VolumeFlowUnits.CubicCentimetersPerMinute); } /** * Create a new VolumeFlow instance from a MegausGallonsPerDay * * @param value The unit as MegausGallonsPerDay to create a new VolumeFlow from. * @returns The new VolumeFlow instance. */ static FromMegausGallonsPerDay(value) { return new VolumeFlow(value, VolumeFlowUnits.MegausGallonsPerDay); } /** * Create a new VolumeFlow instance from a NanolitersPerSecond * * @param value The unit as NanolitersPerSecond to create a new VolumeFlow from. * @returns The new VolumeFlow instance. */ static FromNanolitersPerSecond(value) { return new VolumeFlow(value, VolumeFlowUnits.NanolitersPerSecond); } /** * Create a new VolumeFlow instance from a MicrolitersPerSecond * * @param value The unit as MicrolitersPerSecond to create a new VolumeFlow from. * @returns The new VolumeFlow instance. */ static FromMicrolitersPerSecond(value) { return new VolumeFlow(value, VolumeFlowUnits.MicrolitersPerSecond); } /** * Create a new VolumeFlow instance from a MillilitersPerSecond * * @param value The unit as MillilitersPerSecond to create a new VolumeFlow from. * @returns The new VolumeFlow instance. */ static FromMillilitersPerSecond(value) { return new VolumeFlow(value, VolumeFlowUnits.MillilitersPerSecond); } /** * Create a new VolumeFlow instance from a CentilitersPerSecond * * @param value The unit as CentilitersPerSecond to create a new VolumeFlow from. * @returns The new VolumeFlow instance. */ static FromCentilitersPerSecond(value) { return new VolumeFlow(value, VolumeFlowUnits.CentilitersPerSecond); } /** * Create a new VolumeFlow instance from a DecilitersPerSecond * * @param value The unit as DecilitersPerSecond to create a new VolumeFlow from. * @returns The new VolumeFlow instance. */ static FromDecilitersPerSecond(value) { return new VolumeFlow(value, VolumeFlowUnits.DecilitersPerSecond); } /** * Create a new VolumeFlow instance from a DecalitersPerSecond * * @param value The unit as DecalitersPerSecond to create a new VolumeFlow from. * @returns The new VolumeFlow instance. */ static FromDecalitersPerSecond(value) { return new VolumeFlow(value, VolumeFlowUnits.DecalitersPerSecond); } /** * Create a new VolumeFlow instance from a HectolitersPerSecond * * @param value The unit as HectolitersPerSecond to create a new VolumeFlow from. * @returns The new VolumeFlow instance. */ static FromHectolitersPerSecond(value) { return new VolumeFlow(value, VolumeFlowUnits.HectolitersPerSecond); } /** * Create a new VolumeFlow instance from a KilolitersPerSecond * * @param value The unit as KilolitersPerSecond to create a new VolumeFlow from. * @returns The new VolumeFlow instance. */ static FromKilolitersPerSecond(value) { return new VolumeFlow(value, VolumeFlowUnits.KilolitersPerSecond); } /** * Create a new VolumeFlow instance from a MegalitersPerSecond * * @param value The unit as MegalitersPerSecond to create a new VolumeFlow from. * @returns The new VolumeFlow instance. */ static FromMegalitersPerSecond(value) { return new VolumeFlow(value, VolumeFlowUnits.MegalitersPerSecond); } /** * Create a new VolumeFlow instance from a NanolitersPerMinute * * @param value The unit as NanolitersPerMinute to create a new VolumeFlow from. * @returns The new VolumeFlow instance. */ static FromNanolitersPerMinute(value) { return new VolumeFlow(value, VolumeFlowUnits.NanolitersPerMinute); } /** * Create a new VolumeFlow instance from a MicrolitersPerMinute * * @param value The unit as MicrolitersPerMinute to create a new VolumeFlow from. * @returns The new VolumeFlow instance. */ static FromMicrolitersPerMinute(value) { return new VolumeFlow(value, VolumeFlowUnits.MicrolitersPerMinute); } /** * Create a new VolumeFlow instance from a MillilitersPerMinute * * @param value The unit as MillilitersPerMinute to create a new VolumeFlow from. * @returns The new VolumeFlow instance. */ static FromMillilitersPerMinute(value) { return new VolumeFlow(value, VolumeFlowUnits.MillilitersPerMinute); } /** * Create a new VolumeFlow instance from a CentilitersPerMinute * * @param value The unit as CentilitersPerMinute to create a new VolumeFlow from. * @returns The new VolumeFlow instance. */ static FromCentilitersPerMinute(value) { return new VolumeFlow(value, VolumeFlowUnits.CentilitersPerMinute); } /** * Create a new VolumeFlow instance from a DecilitersPerMinute * * @param value The unit as DecilitersPerMinute to create a new VolumeFlow from. * @returns The new VolumeFlow instance. */ static FromDecilitersPerMinute(value) { return new VolumeFlow(value, VolumeFlowUnits.DecilitersPerMinute); } /** * Create a new VolumeFlow instance from a DecalitersPerMinute * * @param value The unit as DecalitersPerMinute to create a new VolumeFlow from. * @returns The new VolumeFlow instance. */ static FromDecalitersPerMinute(value) { return new VolumeFlow(value, VolumeFlowUnits.DecalitersPerMinute); } /** * Create a new VolumeFlow instance from a HectolitersPerMinute * * @param value The unit as HectolitersPerMinute to create a new VolumeFlow from. * @returns The new VolumeFlow instance. */ static FromHectolitersPerMinute(value) { return new VolumeFlow(value, VolumeFlowUnits.HectolitersPerMinute); } /** * Create a new VolumeFlow instance from a KilolitersPerMinute * * @param value The unit as KilolitersPerMinute to create a new VolumeFlow from. * @returns The new VolumeFlow instance. */ static FromKilolitersPerMinute(value) { return new VolumeFlow(value, VolumeFlowUnits.KilolitersPerMinute); } /** * Create a new VolumeFlow instance from a MegalitersPerMinute * * @param value The unit as MegalitersPerMinute to create a new VolumeFlow from. * @returns The new VolumeFlow instance. */ static FromMegalitersPerMinute(value) { return new VolumeFlow(value, VolumeFlowUnits.MegalitersPerMinute); } /** * Create a new VolumeFlow instance from a NanolitersPerHour * * @param value The unit as NanolitersPerHour to create a new VolumeFlow from. * @returns The new VolumeFlow instance. */ static FromNanolitersPerHour(value) { return new VolumeFlow(value, VolumeFlowUnits.NanolitersPerHour); } /** * Create a new VolumeFlow instance from a MicrolitersPerHour * * @param value The unit as MicrolitersPerHour to create a new VolumeFlow from. * @returns The new VolumeFlow instance. */ static FromMicrolitersPerHour(value) { return new VolumeFlow(value, VolumeFlowUnits.MicrolitersPerHour); } /** * Create a new VolumeFlow instance from a MillilitersPerHour * * @param value The unit as Mil