We are going to a further development of relations between formal measurement theory and thermodynamics. Higher-order geometrical structures on Lagrangian manifolds are introduced and their relations with an accuracy of measurement and confidence domains as well as phase transitions in thermodynamics are discussed. The approach is illustrated for the case of real gases and in detail for methane