Add support for bar and feet as pressure units, fix psi or m for emitters

This commit is contained in:
lbutler
2025-07-04 16:10:01 -04:00
parent f8f2d74bea
commit 3d1d6496c9
12 changed files with 59 additions and 25 deletions

View File

@@ -83,6 +83,7 @@ typedef int INT4;
#define MperFT 0.3048
#define PSIperFT 0.4333
#define KPAperPSI 6.895
#define BARperPSI 0.068948
#define KWperHP 0.7457
#define SECperDAY 86400
@@ -239,7 +240,9 @@ typedef enum {
PSI, // pounds per square inch
KPA, // kiloPascals
METERS, // meters
UNITDEFAULT // default based on unit system (SI or US)
BAR, // bar
FEET, // feet
DEFAULTUNIT // default based on unit system (SI or US)
} PressureUnitsType;
typedef enum {