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

Class representing a LIS tape header record ("TTLR"). More...

Inherits LisRecord.

Public Member Functions

string GetComments ()
 Return comments.
 
DateTime? GetDate ()
 Return date of this record.
 
string GetOrigin ()
 Get origin of this record.
 
string GetPreviousTapeName ()
 Get name of previous tape.
 
string GetServiceName ()
 Return service name of this record.
 
string GetTapeName ()
 Get tape name of this record.
 
int GetTapeNumber ()
 Get tape number of this record.
 
 LisTapeHeaderRecord (string serviceName, DateTime? date, string origin, string tapeName, int tapeNumber, string previousTapeName, string comments)
 Create a tape header record.
 
void SetComments (string comments)
 Set comments.
 
void SetDate (DateTime? date)
 Set date of this record.
 
void SetOrigin (string origin)
 Set origin of this record.
 
void SetPreviousTapeName (string previousTapeName)
 Set previous tape name.
 
void SetServiceName (string serviceName)
 Set service name of this record.
 
void SetTapeName (string tapeName)
 Set tape name of this record.
 
void SetTapeNumber (int tapeNumber)
 Set tape number 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 tape header record ("TTLR").

The Tape Header Logical Record is 128 bytes in length. It is used to

  • identify the beginning of a set of Logical Files that constitute an LIS Logical Tape.
  • provide the consumer with some information about a specific Logical Tape.

See LIS 79 Documentation Section 4.1.16.

Author
Petroware AS

Constructor & Destructor Documentation

◆ LisTapeHeaderRecord()

LisTapeHeaderRecord ( string serviceName,
DateTime? date,
string origin,
string tapeName,
int tapeNumber,
string previousTapeName,
string comments )

Create a tape header 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.
tapeNameTape name. Should be within eight characters or it will be clipped when written to file. Null if N/A.
tapeNumberTape number. [1,99].
previousTapeNamePrevious tape 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.

◆ GetOrigin()

string GetOrigin ( )

Get origin of this record.

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

◆ GetPreviousTapeName()

string GetPreviousTapeName ( )

Get name of previous tape.

Returns
Name of previous tape. Null if N/A.

◆ GetServiceName()

string GetServiceName ( )

Return service name of this record.

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

◆ GetTapeName()

string GetTapeName ( )

Get tape name of this record.

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

◆ GetTapeNumber()

int GetTapeNumber ( )

Get tape number of this record.

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

◆ 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.

◆ 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.

◆ SetPreviousTapeName()

void SetPreviousTapeName ( string previousTapeName)

Set previous tape name.

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

Parameters
previousTapeNamePrevious tape name to set. Null if N/A.

◆ 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.

◆ SetTapeName()

void SetTapeName ( string tapeName)

Set tape name of this record.

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

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

◆ SetTapeNumber()

void SetTapeNumber ( int tapeNumber)

Set tape number of this record.

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

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