Objects
These are miscellaneous objects that are used throughout the library, documented here for reference.
AssetTypes
The AssetTypes object is used to define the possible types of an Asset.
AssetReadings
The AssetReadings object holds the possible readings of an asset, retrieved through the readings API.
AssetReadingsCollection
ValveFamilies
ValveGroups
PipeGroups
JunctionGroups
Unit
The Unit object is used to define the possible units of a measurement. It is a string that can be one of the following values:
mm
in
kw
hp
m
ft
m^3
ft^3
ft^3/s
l/s
l/m
l/min
Ml/d
m^3/h
m^3/d
gal/min
Mgal/d
Mgallon-imp/d
acre ft/d
km
mi
mwc
m/s
mwc/km
ft/s
ft/kft
psi
percentage
h
ul
null
Units
The Units object is used to define the measurement system used by the network. It is an object with the following properties:
International system
US Customary System
Materials
The Materials property is used to define the possible materials of a pipe. Its value can be one of:
- AC: Asbestos Cement
- ARO: Abrasion Resistant Outerwrap
- CI: Cast Iron
- COPP: Copper
- CWOSMJ: Concrete Without Steel Metal Jacket
- CWSMJ: Concrete With Steel Metal Jacket
- DI: Ductile Iron
- DIL: Lined Ductile Iron
- FE: Iron
- GI: Galvanized Iron
- GIL: Lined Galvanized Iron
- HDPE: High Density Polyethylene
- L: Lead
- LDPE: Low Density Polyethylene
- MDPE: Medium Density Polyethylene
- NA: Not Available
- PC: Prestressed Concrete
- PE: Polyethylene
- PE80: Polyethylene 80
- PE100: Polyethylene 100
- PVC: Polyvinyl Chloride
- PVCO: Oriented Polyvinyl Chloride
- RC: Reinforced Concrete
- S: Steel
- SI: Spun Iron
- SS: Stainless Steel
- UNK: Unknown
- UPVC: Unplasticized Polyvinyl Chloride
Time
Time has 2 attributes:
- time: The specific Date and time in UTC
- timezone: The timezone to use to localize this date