Log I/O
|
Class representing a LIS reel header. 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 | GetPreviousReelName () |
Get name of previous reel. | |
string | GetReelName () |
Get reel name of this record. | |
int | GetReelNumber () |
Get reel number of this record. | |
string | GetServiceName () |
Return service name of this record. | |
LisReelHeaderRecord (string serviceName, DateTime? date, string origin, string reelName, int reelNumber, string previousReelName, string comments) | |
Create a reel 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 | SetPreviousReelName (string previousReelName) |
Set previous reel name. | |
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. | |
Class representing a LIS reel header.
The Reel Header Logical Record is 128 bytes in length and is the first record on any physical reel. It is intended to identify the reel of tape.
See LIS 79 Documentation Section 4.1.18.
LisReelHeaderRecord | ( | string | serviceName, |
DateTime? | date, | ||
string | origin, | ||
string | reelName, | ||
int | reelNumber, | ||
string | previousReelName, | ||
string | comments ) |
Create a reel header 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. |
reelName | Reel name. Should be within eight characters or it will be clipped when written to file. Null if N/A. |
reelNumber | Reel number. [1,99]. |
previousReelName | Previous reel 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 GetOrigin | ( | ) |
Get origin of this record.
string GetPreviousReelName | ( | ) |
Get name of previous reel.
string GetReelName | ( | ) |
Get reel name of this record.
int GetReelNumber | ( | ) |
Get reel number of this record.
string GetServiceName | ( | ) |
Return service name 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 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 SetPreviousReelName | ( | string | previousReelName | ) |
Set previous reel name.
Should be within eight characters or it will be clipped when written to file.
previousReelName | Previous reel name to set. Null if N/A. |
void SetReelName | ( | string | reelName | ) |
Set reel name of this record.
Should be within eight characters or it will be clipped when written to file.
reelName | Reel name to set. Null if N/A. |
void SetReelNumber | ( | int | reelNumber | ) |
Set reel number of this record.
reelNumber | Reel number of this record. [1,99]. |
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. |