Log I/O
Loading...
Searching...
No Matches
LisReelTrailerRecord Class Referencesealed

Class representing a LIS reel trailer record. More...

Inherits LisRecord.

Public Member Functions

string GetComments ()
 Return comments.
 
DateTime? GetDate ()
 Return date of this record.
 
string GetNextReelName ()
 Get name of next reel.
 
string GetOrigin ()
 Get origin of this record.
 
string GetReelName ()
 Get reel name of this record.
 
int GetReelNumber ()
 Get reel number of this record.
 
string GetServiceName ()
 Return service name of this record.
 
 LisReelTrailerRecord (string serviceName, DateTime? date, string origin, string reelName, int reelNumber, string previousReelName, string comments)
 Create a reel trailer record.
 
void SetComments (string comments)
 Set comments.
 
void SetDate (DateTime? date)
 Set date of this record.
 
void SetNextReelName (string nextReelName)
 Set next reel name.
 
void SetOrigin (string origin)
 Set origin of this record.
 
void SetReelName (string reelName)
 Set reel name of this record.
 
void SetReelNumber (int reelNumber)
 Set reel number of this record.
 
void SetServiceName (string serviceName)
 Set service name of this record.
 
override string ToString ()
 
- Public Member Functions inherited from LisRecord
int GetAttributes ()
 Return attributes of this record.
 
int GetRecordType ()
 Return type of this record.
 
override string ToString ()
 

Additional Inherited Members

- Static Public Attributes inherited from LisRecord
const int ALTERNATE_DATA = 1
 Type 1: Alternate data.
 
const int BLANK = 234
 Type 234: Blank.
 
const int BOOTSTRAP_LOADER = 96
 Type 96: Bootstrap loader.
 
const int COMMENT = 232
 Type 232: Comment.
 
const int DATA_FORMAT_SPECIFICATION = 64
 Type 64: Data format specification.
 
const int ENCRYPTED_TABLE = 42
 Type 42: Encrypted table dump.
 
const int FILE_HEADER = 128
 Type 128: File header.
 
const int FILE_TRAILER = 129
 Type 129: File trailer.
 
const int IMAGE = 86
 Type 86: Image.
 
const int JOB_IDENTIFICATION = 32
 Type 32: Information (job identification).
 
const int KERNEL_LOADER_BOOT = 97
 Type 97: CP-Kernel loader boot.
 
const int LOGICAL_BOT = 138
 Type 138: Logical beginning-of-tape.
 
const int LOGICAL_EOF = 137
 Type 137: Logical end-of-file.
 
const int LOGICAL_EOM = 141
 Type 141: Logical end-of-medium.
 
const int LOGICAL_EOT = 139
 Type 139: Logical end-of-tap.
 
const int NORMAL_DATA = 0
 Type 0: Normal data.
 
const int OPERATOR_COMMAND_INPUTS = 224
 Type 224: Operator command inputs.
 
const int OPERATOR_RESPONSE_INPUTS = 225
 Type 225: Operator response inputs.
 
const int PICTURE = 85
 Type 85: Picture.
 
const int PROGRAM_OVERLAY_HEADER = 101
 Type 101: Program overlay header.
 
const int PROGRAM_OVERLAY_LOAD = 102
 Type 102: Program overlay load.
 
const int REEL_HEADER = 132
 Type 132: Reel header.
 
const int REEL_TRAILER = 133
 Type 133: Reel trailer.
 
const int SOFTWARE_BOOT = 95
 Type 95: TU10 Software boot.
 
const int SYSTEM_OUTPUTS_TO_OPERATOR = 227
 Type 227: System outputs to operator.
 
const int TABLE_DUMP = 47
 Type 47: Table dump.
 
const int TAPE_HEADER = 130
 Type 130: Tape header.
 
const int TAPE_TRAILER = 131
 Type 131: Tape trailer.
 
const int TOOL_STRING_INFO = 39
 Type 39: Information (tool string info).
 
const int WELL_SITE_DATA = 34
 Type 34: Information (well site data).
 
- Protected Member Functions inherited from LisRecord
 LisRecord (int recordType, int attributes)
 Create a new LIS record.
 

Detailed Description

Class representing a LIS reel trailer record.

The Reel Trailer Logical Record is 128 bytes in length and may optionally be used as the last record on a Physical reel of tape.

See LIS 79 Documentation Section 4.1.19.

Author
Petroware AS

Constructor & Destructor Documentation

◆ LisReelTrailerRecord()

LisReelTrailerRecord ( string serviceName,
DateTime? date,
string origin,
string reelName,
int reelNumber,
string previousReelName,
string comments )

Create a reel trailer record.

Parameters
serviceNameService name. Should be within six characters or it will be clipped when written to file. Null if N/A.
dateDate. Null to indicate unknown or N/A.
originOrigin. Should be within four characters or it will be clipped when written to file. Null if N/A.
reelNameReel name. Should be within eight characters or it will be clipped when written to file. Null if N/A.
reelNumberReel number. [1,99].
previousReelNamePrevious reel name. Should be within eight characters or it will be clipped when written to file. Null if N/A.
commentsComments. Should be within 74 characters or it will be clipped when written to file. Null if N/A.

Member Function Documentation

◆ GetComments()

string GetComments ( )

Return comments.

Returns
Comments. Null if N/A.

◆ GetDate()

DateTime? GetDate ( )

Return date of this record.

Returns
Date of this record. Null if unknown or N/A.

◆ GetNextReelName()

string GetNextReelName ( )

Get name of next reel.

Returns
Name of next reel. Null if N/A.

◆ GetOrigin()

string GetOrigin ( )

Get origin of this record.

Returns
Origin of this record. Null if N/A.

◆ GetReelName()

string GetReelName ( )

Get reel name of this record.

Returns
Reel name of this record. Null if N/A.

◆ GetReelNumber()

int GetReelNumber ( )

Get reel number of this record.

Returns
Reel number of this record. [1,99].

◆ GetServiceName()

string GetServiceName ( )

Return service name of this record.

Returns
Service name of this record. Null if N/A.

◆ SetComments()

void SetComments ( string comments)

Set comments.

Should be within 74 characters or it will be clipped when written to file.

Parameters
commentsComments to set. Null if N/A.

◆ SetDate()

void SetDate ( DateTime? date)

Set date of this record.

Parameters
dateDate to set. Null if N/A.

◆ SetNextReelName()

void SetNextReelName ( string nextReelName)

Set next reel name.

Should be within eight characters or it will be clipped when written to file.

Parameters
nextReelNameNext reel name to set. Null if N/A.

◆ SetOrigin()

void SetOrigin ( string origin)

Set origin of this record.

Should be within four characters or it will be clipped when written to file.

Parameters
originOrigin to set. Null if N/A.

◆ SetReelName()

void SetReelName ( string reelName)

Set reel name of this record.

Should be within eight characters or it will be clipped when written to file.

Parameters
reelNameReel name to set. Null if N/A.

◆ SetReelNumber()

void SetReelNumber ( int reelNumber)

Set reel number of this record.

Parameters
reelNumberReel number of this record. [1,99].

◆ SetServiceName()

void SetServiceName ( string serviceName)

Set service name of this record.

Should be within six characters or it will be clipped when written to file.

Parameters
serviceNameService name to set. Null if N/A.

The documentation for this class was generated from the following file: