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.

Custom Worksteps<br />

// input grid argument definition<br />

[Description(“pillar grid”, “Grid to process”)]<br />

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

{<br />

internal get { return grid; }<br />

set { grid = value; }<br />

}<br />

// output number of cells in grid<br />

[Description(“number of cells”, “Number of cells processed.”)]<br />

public int NumCells<br />

{<br />

get { return numberOfCells; }<br />

internal set { numberOfCells = value; }<br />

}<br />

// output property argument definition<br />

[Description(“property”, “Output property”)]<br />

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

{<br />

get { return property; }<br />

internal set { property = value; }<br />

}<br />

}<br />

...<br />

}<br />

Step 2b - Optionally Override Argument Package Creation<br />

Each run of a workflow is independent from another run; the same rule applies to the<br />

worksteps. This means that all data consumed and produced by the workstep must be<br />

completely held in the argument package.<br />

6-304 <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!