pipeDiameterDisplay.js 317 B

12345
  1. /** Nominal metres for display only; never a source or interpolated diameter. */
  2. export const DEFAULT_PIPE_DIAMETER_M = Object.freeze({ GAS:0.16, WATER_SUPPLY:0.4, SEWAGE:0.8, RAINWATER:0.8, DRAINAGE_UNKNOWN:0.8 })
  3. export function displayDiameterFor(colorKey) {
  4. return DEFAULT_PIPE_DIAMETER_M[colorKey] ?? null
  5. }