02.05.2014 Views

CoreandServices.book - Ocean - Schlumberger

CoreandServices.book - Ocean - Schlumberger

CoreandServices.book - Ocean - Schlumberger

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Custom Worksteps<br />

The argument package would look like this:<br />

class Args : DescribedArgumentsByReflection<br />

{<br />

// input arguments<br />

private WellLog log;<br />

private Grid grid;<br />

// output arguments<br />

private int numberOfCells;<br />

private Property property;<br />

public Slb.<strong>Ocean</strong>.Petrel.DomainObject.Well.WellLog Welllog<br />

{<br />

get { return log; }<br />

set { log = value; }<br />

}<br />

public Slb.<strong>Ocean</strong>.Petrel.DomainObject.PillarGrid.Grid Grid<br />

{<br />

get { return grid; }<br />

set { grid = value; }<br />

}<br />

public int NumCells<br />

{<br />

get { return numberOfCells; }<br />

set { numberOfCells = value; }<br />

}<br />

public Slb.<strong>Ocean</strong>.Petrel.DomainObject.PillarGrid.Property Prop<br />

{<br />

get { return property; }<br />

set { property = value; }<br />

}<br />

}<br />

Your workstep uses the argument package in the obvious way: you get the input<br />

arguments from the package, process the data, and put the output results back into the<br />

package.<br />

6-286 <strong>Ocean</strong> Application Development Framework 2008.1<br />

<strong>Schlumberger</strong> Private

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

Saved successfully!

Ooh no, something went wrong!