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 Processes<br />

This adds the process to the bottom of the Utilities group.<br />

public void Integrate ()<br />

{<br />

MyAddCoreImage myProcess = new MyAddCoreImage();<br />

PetrelSystem.ProcessDiagram.Add(myProcess,<br />

WellKnownProcessGroups.Utilities.Group);<br />

}<br />

Fig. 6-57 New Process Inserted In Utilities Group<br />

To control the placement of your process within the group, specify which process your<br />

process should be before. This adds the process to the Utilities group before the<br />

WellDesign process:<br />

public void Integrate ()<br />

{<br />

MyAddCoreImage myProcess = new MyAddCoreImage();<br />

PetrelSystem.ProcessDiagram.Add(myProcess,<br />

WellKnownProcessGroups.Utilities.Group,<br />

WellKnownProcessGroups.Utilities.WellDesign);<br />

}<br />

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

Workflow 6-337

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

Saved successfully!

Ooh no, something went wrong!