02.05.2014 Views

CoreandServices.book - Ocean - Schlumberger

CoreandServices.book - Ocean - Schlumberger

CoreandServices.book - Ocean - Schlumberger

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

or OSDD. Measurements and units may be added to the system, but they first must go<br />

through acceptance into OSDD.<br />

Units<br />

Units Catalog<br />

Unit<br />

System<br />

(English)<br />

Unit<br />

System<br />

(Metric)<br />

Unit<br />

System<br />

(SI)<br />

Units<br />

Measurements<br />

Fig. 4-11 Units Catalog<br />

<strong>Ocean</strong> Unit Service Interfaces<br />

The <strong>Ocean</strong> Unit Service allows developers to present data quantities consistently across<br />

applications. The Unit Service provides:<br />

• Unit catalog containing unit systems including Metric and English<br />

• Relationship measurements and base measurements<br />

• Unit definitions with scale and offset for conversion to base units<br />

• Unit converters<br />

• Context that keeps track of the current unit system<br />

The primary purpose of the unit service is to allow data to be converted between units. A<br />

converter that operates between the two units is created and applied to the data. Data to<br />

be converted must share the same base measurement. Dimensionless measurements<br />

cannot be used in unit conversion.<br />

Unit Service and Settings<br />

When an <strong>Ocean</strong> application starts, the unit service and settings are setup by the product<br />

family with their implementations according to the product family needs and rules. The<br />

application may then access the service and settings through the IUnitService and<br />

IUnitServiceSettings interfaces respectively. These interfaces provide access to the<br />

<strong>Schlumberger</strong> Private<br />

<strong>Ocean</strong> Services 4-201

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!