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.

PetrelLogger Class<br />

informational icon, ErrorStatus displays a problem icon, WarningStatus displays a<br />

problem icon along with an audible beep, and Status displays the previous icon used.<br />

Table 5-2 Method<br />

Method<br />

Status<br />

SuccessStatus<br />

ErrorStatus<br />

WarningStatus<br />

Display Icon<br />

Previous icon used<br />

Informational<br />

Problem<br />

Problem with audible beep<br />

Here are examples of the different status messages:<br />

PetrelLogger.SuccessStatus("...");<br />

PetrelLogger.Status ("Status message after success");<br />

Fig. 5-7 Status Message After Success<br />

PetrelLogger.ErrorStatus ("...");<br />

PetrelLogger.Status("Status message after error/warning");<br />

Fig. 5-8 Status Message after Error/Warning<br />

PetrelLogger.SuccessStatus("Success message");<br />

Fig. 5-9 Success Message<br />

PetrelLogger.SuccessStatus("Success message");<br />

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

Petrel Convenience Classes 5-249

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

Saved successfully!

Ooh no, something went wrong!