@@ -186,6 +186,11 @@ public static BaseDimensions BaseDimensions
186
186
/// </summary>
187
187
public double Decibars => As ( PressureUnit . Decibar ) ;
188
188
189
+ /// <summary>
190
+ /// Get Pressure in DynesPerSquareCentimeter.
191
+ /// </summary>
192
+ public double DynesPerSquareCentimeter => As ( PressureUnit . DynePerSquareCentimeter ) ;
193
+
189
194
/// <summary>
190
195
/// Get Pressure in FeetOfHead.
191
196
/// </summary>
@@ -276,6 +281,11 @@ public static BaseDimensions BaseDimensions
276
281
/// </summary>
277
282
public double MetersOfHead => As ( PressureUnit . MeterOfHead ) ;
278
283
284
+ /// <summary>
285
+ /// Get Pressure in Microbars.
286
+ /// </summary>
287
+ public double Microbars => As ( PressureUnit . Microbar ) ;
288
+
279
289
/// <summary>
280
290
/// Get Pressure in Micropascals.
281
291
/// </summary>
@@ -321,6 +331,11 @@ public static BaseDimensions BaseDimensions
321
331
/// </summary>
322
332
public double PoundsForcePerSquareInch => As ( PressureUnit . PoundForcePerSquareInch ) ;
323
333
334
+ /// <summary>
335
+ /// Get Pressure in PoundsPerInchSecondSquared.
336
+ /// </summary>
337
+ public double PoundsPerInchSecondSquared => As ( PressureUnit . PoundPerInchSecondSquared ) ;
338
+
324
339
/// <summary>
325
340
/// Get Pressure in Psi.
326
341
/// </summary>
@@ -431,6 +446,20 @@ public static Pressure FromDecibars(QuantityValue decibars)
431
446
return new Pressure ( value , PressureUnit . Decibar ) ;
432
447
}
433
448
449
+ /// <summary>
450
+ /// Get Pressure from DynesPerSquareCentimeter.
451
+ /// </summary>
452
+ #if WINDOWS_UWP
453
+ [ Windows . Foundation . Metadata . DefaultOverload ]
454
+ public static Pressure FromDynesPerSquareCentimeter ( double dynespersquarecentimeter )
455
+ #else
456
+ public static Pressure FromDynesPerSquareCentimeter ( QuantityValue dynespersquarecentimeter )
457
+ #endif
458
+ {
459
+ double value = ( double ) dynespersquarecentimeter ;
460
+ return new Pressure ( value , PressureUnit . DynePerSquareCentimeter ) ;
461
+ }
462
+
434
463
/// <summary>
435
464
/// Get Pressure from FeetOfHead.
436
465
/// </summary>
@@ -683,6 +712,20 @@ public static Pressure FromMetersOfHead(QuantityValue metersofhead)
683
712
return new Pressure ( value , PressureUnit . MeterOfHead ) ;
684
713
}
685
714
715
+ /// <summary>
716
+ /// Get Pressure from Microbars.
717
+ /// </summary>
718
+ #if WINDOWS_UWP
719
+ [ Windows . Foundation . Metadata . DefaultOverload ]
720
+ public static Pressure FromMicrobars ( double microbars )
721
+ #else
722
+ public static Pressure FromMicrobars ( QuantityValue microbars )
723
+ #endif
724
+ {
725
+ double value = ( double ) microbars ;
726
+ return new Pressure ( value , PressureUnit . Microbar ) ;
727
+ }
728
+
686
729
/// <summary>
687
730
/// Get Pressure from Micropascals.
688
731
/// </summary>
@@ -809,6 +852,20 @@ public static Pressure FromPoundsForcePerSquareInch(QuantityValue poundsforceper
809
852
return new Pressure ( value , PressureUnit . PoundForcePerSquareInch ) ;
810
853
}
811
854
855
+ /// <summary>
856
+ /// Get Pressure from PoundsPerInchSecondSquared.
857
+ /// </summary>
858
+ #if WINDOWS_UWP
859
+ [ Windows . Foundation . Metadata . DefaultOverload ]
860
+ public static Pressure FromPoundsPerInchSecondSquared ( double poundsperinchsecondsquared )
861
+ #else
862
+ public static Pressure FromPoundsPerInchSecondSquared ( QuantityValue poundsperinchsecondsquared )
863
+ #endif
864
+ {
865
+ double value = ( double ) poundsperinchsecondsquared ;
866
+ return new Pressure ( value , PressureUnit . PoundPerInchSecondSquared ) ;
867
+ }
868
+
812
869
/// <summary>
813
870
/// Get Pressure from Psi.
814
871
/// </summary>
@@ -1071,6 +1128,7 @@ private double AsBaseUnit()
1071
1128
case PressureUnit . Centibar : return ( _value * 1e5 ) * 1e-2d ;
1072
1129
case PressureUnit . Decapascal : return ( _value ) * 1e1d ;
1073
1130
case PressureUnit . Decibar : return ( _value * 1e5 ) * 1e-1d ;
1131
+ case PressureUnit . DynePerSquareCentimeter : return _value * 1.0e-1 ;
1074
1132
case PressureUnit . FootOfHead : return _value * 2989.0669 ;
1075
1133
case PressureUnit . Gigapascal : return ( _value ) * 1e9d ;
1076
1134
case PressureUnit . Hectopascal : return ( _value ) * 1e2d ;
@@ -1089,6 +1147,7 @@ private double AsBaseUnit()
1089
1147
case PressureUnit . MeganewtonPerSquareMeter : return ( _value ) * 1e6d ;
1090
1148
case PressureUnit . Megapascal : return ( _value ) * 1e6d ;
1091
1149
case PressureUnit . MeterOfHead : return _value * 9804.139432 ;
1150
+ case PressureUnit . Microbar : return ( _value * 1e5 ) * 1e-6d ;
1092
1151
case PressureUnit . Micropascal : return ( _value ) * 1e-6d ;
1093
1152
case PressureUnit . Millibar : return ( _value * 1e5 ) * 1e-3d ;
1094
1153
case PressureUnit . MillimeterOfMercury : return _value / 7.50061561302643e-3 ;
@@ -1098,6 +1157,7 @@ private double AsBaseUnit()
1098
1157
case PressureUnit . Pascal : return _value ;
1099
1158
case PressureUnit . PoundForcePerSquareFoot : return _value * 4.788025898033584e1 ;
1100
1159
case PressureUnit . PoundForcePerSquareInch : return _value * 6.894757293168361e3 ;
1160
+ case PressureUnit . PoundPerInchSecondSquared : return _value * 1.785796732283465e1 ;
1101
1161
case PressureUnit . Psi : return _value * 6.894757293168361e3 ;
1102
1162
case PressureUnit . TechnicalAtmosphere : return _value * 9.80680592331 * 1e4 ;
1103
1163
case PressureUnit . TonneForcePerSquareCentimeter : return _value * 9.80665e7 ;
@@ -1123,6 +1183,7 @@ private double AsBaseNumericType(PressureUnit unit)
1123
1183
case PressureUnit . Centibar : return ( baseUnitValue / 1e5 ) / 1e-2d ;
1124
1184
case PressureUnit . Decapascal : return ( baseUnitValue ) / 1e1d ;
1125
1185
case PressureUnit . Decibar : return ( baseUnitValue / 1e5 ) / 1e-1d ;
1186
+ case PressureUnit . DynePerSquareCentimeter : return baseUnitValue / 1.0e-1 ;
1126
1187
case PressureUnit . FootOfHead : return baseUnitValue * 0.000334552565551 ;
1127
1188
case PressureUnit . Gigapascal : return ( baseUnitValue ) / 1e9d ;
1128
1189
case PressureUnit . Hectopascal : return ( baseUnitValue ) / 1e2d ;
@@ -1141,6 +1202,7 @@ private double AsBaseNumericType(PressureUnit unit)
1141
1202
case PressureUnit . MeganewtonPerSquareMeter : return ( baseUnitValue ) / 1e6d ;
1142
1203
case PressureUnit . Megapascal : return ( baseUnitValue ) / 1e6d ;
1143
1204
case PressureUnit . MeterOfHead : return baseUnitValue * 0.0001019977334 ;
1205
+ case PressureUnit . Microbar : return ( baseUnitValue / 1e5 ) / 1e-6d ;
1144
1206
case PressureUnit . Micropascal : return ( baseUnitValue ) / 1e-6d ;
1145
1207
case PressureUnit . Millibar : return ( baseUnitValue / 1e5 ) / 1e-3d ;
1146
1208
case PressureUnit . MillimeterOfMercury : return baseUnitValue * 7.50061561302643e-3 ;
@@ -1150,6 +1212,7 @@ private double AsBaseNumericType(PressureUnit unit)
1150
1212
case PressureUnit . Pascal : return baseUnitValue ;
1151
1213
case PressureUnit . PoundForcePerSquareFoot : return baseUnitValue / 4.788025898033584e1 ;
1152
1214
case PressureUnit . PoundForcePerSquareInch : return baseUnitValue / 6.894757293168361e3 ;
1215
+ case PressureUnit . PoundPerInchSecondSquared : return baseUnitValue / 1.785796732283465e1 ;
1153
1216
case PressureUnit . Psi : return baseUnitValue / 6.894757293168361e3 ;
1154
1217
case PressureUnit . TechnicalAtmosphere : return baseUnitValue / ( 9.80680592331 * 1e4 ) ;
1155
1218
case PressureUnit . TonneForcePerSquareCentimeter : return baseUnitValue / 9.80665e7 ;
0 commit comments