MetricUnit
Industry-agnostic measurement units. Vertical-specific units (e.g. SHEETS, IMPRESSIONS) use CUSTOM + customUnit string. Query verticalProductionUnits for available vertical units.
Values
NONE
No unit
PERCENT
Percentage (0-100)
RATIO
Ratio (0.0-1.0)
BOOLEAN
Boolean (0 or 1)
COUNT
Generic count
PIECES
Discrete pieces/items
MILLIMETERS
Millimeters
METERS
Meters
INCHES
Inches
FEET
Feet
METERS_PER_MINUTE
Meters per minute
FEET_PER_MINUTE
Feet per minute
UNITS_PER_MINUTE
Units per minute (generic)
UNITS_PER_HOUR
Units per hour (generic)
CELSIUS
Degrees Celsius
FAHRENHEIT
Degrees Fahrenheit
KELVIN
Kelvin
BAR
Bar
PSI
Pounds per square inch
KILOPASCAL
Kilopascal
GRAMS
Grams
KILOGRAMS
Kilograms
POUNDS
Pounds
MILLILITERS
Milliliters
LITERS
Liters
SQUARE_METERS
Square meters
SQUARE_FEET
Square feet
MILLISECONDS
Milliseconds
SECONDS
Seconds
MINUTES
Minutes
HOURS
Hours
VOLTS
Volts
AMPS
Amperes
WATTS
Watts
KILOWATT_HOURS
Kilowatt-hours
BYTES
Bytes
KILOBYTES
Kilobytes
MEGABYTES
Megabytes
CUSTOM
Vertical-specific or user-defined unit — provide the unit name in customUnit
Referenced by (14)
- CreateMetricInput.unit
- CreateProductionReportConsumptionInput.unit
- CreateProductionReportInput.countUnit
- MetricState.unit
- OperationCompletionState.countUnit
- OperationCompletionState.speedUnit
- ProductionReportConsumptionState.unit
- ProductionReportState.countUnit
- ProgressPointState.countUnit
- ProgressPointState.speedUnit
- RecordProgressPointInput.countUnit
- RecordProgressPointInput.speedUnit
- UpdateMetricInput.unit
- UpsertMetricInput.unit
Exact type SDL
"""
Industry-agnostic measurement units. Vertical-specific units (e.g. SHEETS, IMPRESSIONS) use CUSTOM + customUnit string. Query verticalProductionUnits for available vertical units.
"""
enum MetricUnit {
"""No unit"""
NONE
"""Percentage (0-100)"""
PERCENT
"""Ratio (0.0-1.0)"""
RATIO
"""Boolean (0 or 1)"""
BOOLEAN
"""Generic count"""
COUNT
"""Discrete pieces/items"""
PIECES
"""Millimeters"""
MILLIMETERS
"""Meters"""
METERS
"""Inches"""
INCHES
"""Feet"""
FEET
"""Meters per minute"""
METERS_PER_MINUTE
"""Feet per minute"""
FEET_PER_MINUTE
"""Units per minute (generic)"""
UNITS_PER_MINUTE
"""Units per hour (generic)"""
UNITS_PER_HOUR
"""Degrees Celsius"""
CELSIUS
"""Degrees Fahrenheit"""
FAHRENHEIT
"""Kelvin"""
KELVIN
"""Bar"""
BAR
"""Pounds per square inch"""
PSI
"""Kilopascal"""
KILOPASCAL
"""Grams"""
GRAMS
"""Kilograms"""
KILOGRAMS
"""Pounds"""
POUNDS
"""Milliliters"""
MILLILITERS
"""Liters"""
LITERS
"""Square meters"""
SQUARE_METERS
"""Square feet"""
SQUARE_FEET
"""Milliseconds"""
MILLISECONDS
"""Seconds"""
SECONDS
"""Minutes"""
MINUTES
"""Hours"""
HOURS
"""Volts"""
VOLTS
"""Amperes"""
AMPS
"""Watts"""
WATTS
"""Kilowatt-hours"""
KILOWATT_HOURS
"""Bytes"""
BYTES
"""Kilobytes"""
KILOBYTES
"""Megabytes"""
MEGABYTES
"""
Vertical-specific or user-defined unit — provide the unit name in customUnit
"""
CUSTOM
}