Skip to content

Add TemperatureCelsius as contraint type enumeration value #37

@BobZuidhoek

Description

@BobZuidhoek

I'd like to add something to the OTM 5 spec.

Background / context
In the perishables and refrigerated transport industry, it is very common to specify a minimum, maximum or range of temperatures that a consignment must be transported in. Currently, there is no explicit Constraint>Value>Type for TemperatureCelsius.

My opinion is that a temperature constraint is so common, that it deserves to have its own type. The type SensorValueConstaint or GenericContraint does not quite cut it.

Describe the solution you'd like

  • Add TemperatureCelsius to Constraint>Value>Type enumeration
  • Have the same setup as currently for weightConstraint (i.e. maximum, minimum, range).

Additional context and considerations
I think that we do not have to make it that flexible so you can specify the temperature type (Celsius, Fahrenheit or Kelvin). Fahrenheit is only used in the United States. Kelvin is more for scientific purposes.

I do not know if it should be allowed that 2 goods-lines in 1 consignment could be transported at 2 different temperatures (e.g. the frozen fish must be transported below -5 degrees and the fruit between 5 to 10 degrees). I presume a scenario like that is, also from a legal perspective, best handled using 2 separate consignments (and 2 different CMR's). I hope other people can comment on how this works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    OTM 5.3This ticket is included in OTM 5.3enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions