Show
Ignore:
Timestamp:
10/11/07 11:25:24 (11 months ago)
Author:
otter
Message:

Added annotation(Dymola_absoluteValue=true)
for the temperature types in NonSIunits, in order that
unit checking is possible (the unit checker needs to know
for a unit that has an offset, whether it is used as absolute
or as a relative number)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/maintenance/2.2.2/Modelica/SIunits.mo

    r663 r671  
    383383       
    384384      type Temperature_degC = Real (final quantity="ThermodynamicTemperature", 
    385             final unit="degC"); 
     385            final unit="degC") annotation(__Dymola_absoluteValue=true); 
    386386      type Temperature_degF = Real (final quantity="ThermodynamicTemperature", 
    387             final unit="degF"); 
     387            final unit="degF") annotation(__Dymola_absoluteValue=true); 
    388388      type Temperature_degRk = Real (final quantity="ThermodynamicTemperature", 
    389             final unit="degRk"); 
     389            final unit="degRk") annotation(__Dymola_absoluteValue=true); 
    390390      type Angle_deg = Real (final quantity="Angle", final unit="deg"); 
    391391      type AngularVelocity_rpm = Real (final quantity="AngularVelocity", final unit