Log I/O
|
Class representing a LIS tape trailer record. More...
Inherits LisRecord.
Public Member Functions | |
string | GetComments () |
Return comments. | |
DateTime? | GetDate () |
Return date of this record. | |
string | GetNextTapeName () |
Get name of next tape. | |
string | GetOrigin () |
Get origin of this record. | |
string | GetServiceName () |
Return service name of this record. | |
string | GetTapeName () |
Get tape name of this record. | |
int | GetTapeNumber () |
Get tape number of this record. | |
LisTapeTrailerRecord (string serviceName, DateTime? date, string origin, string tapeName, int tapeNumber, string previousTapeName, string comments) | |
Create a tape trailer record. | |
void | SetComments (string comments) |
Set comments. | |
void | SetDate (DateTime? date) |
Set date of this record. | |
void | SetNextTapeName (string nextTapeName) |
Set next tape name. | |
void | SetOrigin (string origin) |
Set origin of this record. | |
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. | |
Class representing a LIS tape trailer record.
The Tape Trailer Logical Record is 128 bytes in length. If several Logical Tapes are stored on one Physical Reel, then this type indicates the end of a Logical Tape. This record is optional; in its absence a Logical Tape is assumed to be terminated when a new Tape Header Logical Record is encountered.
See LIS 79 Documentation Section 4.1.17.
LisTapeTrailerRecord | ( | string | serviceName, |
DateTime? | date, | ||
string | origin, | ||
string | tapeName, | ||
int | tapeNumber, | ||
string | previousTapeName, | ||
string | comments ) |
Create a tape trailer record.
serviceName | Service name. Should be within six characters or it will be clipped when written to file. Null if N/A. |
date | Date. Null to indicate unknown or N/A. |
origin | Origin. Should be within four characters or it will be clipped when written to file. Null if N/A. |
tapeName | Tape name. Should be within eight characters or it will be clipped when written to file. Null if N/A. |
tapeNumber | Tape number. [1,99]. |
previousTapeName | Previous tape name. Should be within eight characters or it will be clipped when written to file. Null if N/A. |
comments | Comments. Should be within 74 characters or it will be clipped when written to file. Null if N/A. |
string GetComments | ( | ) |
Return comments.
DateTime? GetDate | ( | ) |
Return date of this record.
string GetNextTapeName | ( | ) |
Get name of next tape.
string GetOrigin | ( | ) |
Get origin of this record.
string GetServiceName | ( | ) |
Return service name of this record.
string GetTapeName | ( | ) |
Get tape name of this record.
int GetTapeNumber | ( | ) |
Get tape number of this record.
void SetComments | ( | string | comments | ) |
Set comments.
Should be within 74 characters or it will be clipped when written to file.
comments | Comments to set. Null if N/A. |
void SetDate | ( | DateTime? | date | ) |
Set date of this record.
date | Date to set. Null if N/A. |
void SetNextTapeName | ( | string | nextTapeName | ) |
Set next tape name.
Should be within eight characters or it will be clipped when written to file.
nextTapeName | Next tape name to set. Null if N/A. |
void SetOrigin | ( | string | origin | ) |
Set origin of this record.
Should be within four characters or it will be clipped when written to file.
origin | Origin to set. Null if N/A. |
void SetServiceName | ( | string | serviceName | ) |
Set service name of this record.
Should be within six characters or it will be clipped when written to file.
serviceName | Service name to set. Null if N/A. |
void SetTapeName | ( | string | tapeName | ) |
Set tape name of this record.
Should be within eight characters or it will be clipped when written to file.
tapeName | Tape name to set. Null if N/A. |
void SetTapeNumber | ( | int | tapeNumber | ) |
Set tape number of this record.
tapeNumber | Tape number of this record. [1,99]. |