Class Header1
Class object for Arinc424 Header Record 1
Implements
Inherited Members
Namespace: FpAssistantCore.Arinc424.Records
Assembly: FpAssistantCoreScl.dll
Syntax
public class Header1 : BaseRecord, IBaseRecord
Remarks
Header record fields are considered required unless specified otherwise. Header records are identified by HDR in columns 1 through 3 of the record
Constructors
View SourceHeader1()
Constructor: Creating new default record
Declaration
public Header1()
Header1(String)
Constructor: Using existing record
Declaration
public Header1(string record)
Parameters
Type | Name | Description |
---|---|---|
System.String | record | ARINC424 record read from navigation database file (ASCII Format) |
Fields
View SourceFields
List of ARINC 424 Field with column details within the record ASCII format
Declaration
public static List<FieldStructure> Fields
Field Value
Type | Description |
---|---|
List<FieldStructure> |
HdrIdent
Contains “HDR”
Declaration
public const string HdrIdent = null
Field Value
Type | Description |
---|---|
System.String |
HdrNumber
Contains decimal 01 to indicate this is the first Header Record
Declaration
public const string HdrNumber = null
Field Value
Type | Description |
---|---|
System.String |
Properties
View SourceBlank40
Blank (spacing)
Declaration
public string Blank40 { get; }
Property Value
Type | Description |
---|---|
System.String | Blanks |
Remarks
Contains blanks at column 40
Blank61
Blank (spacing)
Declaration
public string Blank61 { get; }
Property Value
Type | Description |
---|---|
System.String | Blanks |
Remarks
Contains blanks at column 61
CreationDate
Contains the date when the file was created
Declaration
public string CreationDate { get; }
Property Value
Type | Description |
---|---|
System.String | Date file created |
Remarks
Internal Format is DD-MMM-YYYY CreationDate2
CreationDate2
Contains the date when the file was created
Declaration
public DateTime CreationDate2 { get; set; }
Property Value
Type | Description |
---|---|
DateTime | Date file created |
Remarks
Uses NET type DateTime - Internal Format is DD-MMM-YYYY
CreationTime
Contains the UTC time when the file was created
Declaration
public string CreationTime { get; }
Property Value
Type | Description |
---|---|
System.String | Time file created |
Remarks
Internal format is two decimal digits each for hours, minutes, and seconds, separated by colons - 24 Hour format CreationTime2
CreationTime2
Contains the UTC time when the file was created
Declaration
public DateTime CreationTime2 { get; set; }
Property Value
Type | Description |
---|---|
DateTime | Time file created |
Remarks
Internal format is two decimal digits each for hours, minutes, and seconds, separated by colons - 24 Hour format
CycleDate
Contains Cycle Date
Declaration
public CycleDate CycleDate { get; set; }
Property Value
Type | Description |
---|---|
CycleDate |
DatabasePartNumber
Unique part number for database
Declaration
public string DatabasePartNumber { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
(Optional - Content TBD)
DataSupplierIdent
Contains information to identify the data supplier
Declaration
public string DataSupplierIdent { get; set; }
Property Value
Type | Description |
---|---|
System.String | Data supplier |
Remarks
Content defined by the data supplier
FileCRC
Contains the 32 bit CRC value for the ARINC data file(including data and header records)
Declaration
public string FileCRC { get; set; }
Property Value
Type | Description |
---|---|
System.String | CRC of data file |
Remarks
For purposes of calculating a CRC value, Header record 1, Columns 125 through 132, shall be considered to contain zeros
FileName
Contains the file name
Declaration
public string FileName { get; set; }
Property Value
Type | Description |
---|---|
System.String | File name |
Remarks
Includes any blank spaces at the end after the filename, any values will be truncated
HeaderIdent
Header Identification
Declaration
public static string HeaderIdent { get; }
Property Value
Type | Description |
---|---|
System.String | Header Identification |
Remarks
Contains “HDR”
HeaderNumber
Header Number
Declaration
public static string HeaderNumber { get; }
Property Value
Type | Description |
---|---|
System.String | Header Number |
Remarks
Contains decimal 01 to indicate this is the first Header Record
ProductionTestFlag
Contains a flag to signify Production or Test
Declaration
public string ProductionTestFlag { get; }
Property Value
Type | Description |
---|---|
System.String | Production or Test |
Remarks
“P” if this is a production data file / “T” if this is a file created for test purposes
See Also
View SourceProductionTestFlagEnum
Contains a flag to signify Production or Test
Declaration
public Arinc424ProductTestFlag ProductionTestFlagEnum { get; set; }
Property Value
Type | Description |
---|---|
Arinc424ProductTestFlag | Production or Test |
RecordCount
Contains the decimal count of the number of data records in the file
Declaration
public long RecordCount { get; }
Property Value
Type | Description |
---|---|
System.Int64 | Record count |
RecordLength
Contains the number of characters in each record
Declaration
public string RecordLength { get; }
Property Value
Type | Description |
---|---|
System.String | Record length in characters |
Reserved
Reserved
Declaration
public string Reserved { get; }
Property Value
Type | Description |
---|---|
System.String | Reserved |
Remarks
Contains 11 blanks at column 114
TargetCustomerIdent
Contains information to identify the data user/customer
Declaration
public string TargetCustomerIdent { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Content defined by the data supplier and/or customer (Optional)
VersionNumber
Contains 3 decimal numbers to uniquely identify revision of this file
Declaration
public string VersionNumber { get; }
Property Value
Type | Description |
---|---|
System.String | Revision of this file |
Remarks
Initially set to 001, but will be incremented if the file is created more than once in the same cycle / VersionNumberUpdate() to update this value
Methods
View SourceVersionNumberUpdate(Int32)
Update Version Number field
Declaration
public void VersionNumberUpdate(int versionNumber)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | versionNumber | New value of the version number field |