Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
AdditionalPersonalDetails.cs
2{
7 {
12 : base([])
13 {
14 }
15
34 {
35 this.TagList = TagList;
36 this.FullName = FullName?.StringValue;
37 this.OtherNames = OtherNames?.Names;
38 this.PersonalNumber = PersonalNumber?.StringValue;
39 this.DateOfBirth = DateOfBirth?.StringValue;
40 this.PlaceOfBirth = PlaceOfBirth?.StringValue;
41 this.PermanentAddress = PermanentAddress?.StringValue;
42 this.Telephone = Telephone?.StringValue;
43 this.Profession = Profession?.StringValue;
44 this.Title = Title?.StringValue;
45 this.PersonalSummary = PersonalSummary?.StringValue;
46 this.ProofOfCitizenship = ProofOfCitizenship;
47 this.OtherNumbers = OtherNumbers?.NumberFields;
48 this.CustodyInformation = CustodyInformation?.StringValue;
49 }
50
54 public override ushort Tag => 0x6b;
55
59 public TagList? TagList { get; }
60
64 public string? FullName { get; }
65
69 public string[]? OtherNames { get; }
70
74 public string? PersonalNumber { get; }
75
79 public string? DateOfBirth { get; }
80
84 public string? PlaceOfBirth { get; }
85
89 public string? PermanentAddress { get; }
90
94 public string? Telephone { get; }
95
99 public string? Profession { get; }
100
104 public string? Title { get; }
105
109 public string? PersonalSummary { get; }
110
115
119 public string[]? OtherNumbers { get; }
120
124 public string? CustodyInformation { get; }
125
132 public override IDataObject Create(byte[] Value, IDataObject[] Inner, TravelDocumentsClient Client)
133 {
134 TagList? TagList = null;
135 FullName? FullName = null;
136 OtherNames? OtherNames = null;
138 DateOfBirth? DateOfBirth = null;
141 Telephone? Telephone = null;
142 Profession? Profession = null;
143 Title? Title = null;
148
149 foreach (IDataObject Object in Inner)
150 {
151 if (Object is TagList TagList2)
152 TagList = TagList2;
153 else if (Object is FullName FullName2)
154 FullName = FullName2;
155 else if (Object is OtherNames OtherNames2)
156 OtherNames = OtherNames2;
157 else if (Object is PersonalNumber PersonalNumber2)
158 PersonalNumber = PersonalNumber2;
159 else if (Object is DateOfBirth DateOfBirth2)
160 DateOfBirth = DateOfBirth2;
161 else if (Object is PlaceOfBirth PlaceOfBirth2)
162 PlaceOfBirth = PlaceOfBirth2;
163 else if (Object is PermanentAddress PermanentAddress2)
164 PermanentAddress = PermanentAddress2;
165 else if (Object is Telephone Telephone2)
166 Telephone = Telephone2;
167 else if (Object is Profession Profession2)
168 Profession = Profession2;
169 else if (Object is Title Title2)
170 Title = Title2;
171 else if (Object is PersonalSummary PersonalSummary2)
172 PersonalSummary = PersonalSummary2;
173 else if (Object is ProofOfCitizenship ProofOfCitizenship2)
174 ProofOfCitizenship = ProofOfCitizenship2;
175 else if (Object is OtherNumbers OtherNumbers2)
176 OtherNumbers = OtherNumbers2;
177 else if (Object is CustodyInformation CustodyInformation2)
178 CustodyInformation = CustodyInformation2;
179 }
180
184 }
185 }
186}
Additional Personal Details. Reference: §4.7.11, EF.DG11, ICAO Doc 9303-10, Table 71.
override IDataObject Create(byte[] Value, IDataObject[] Inner, TravelDocumentsClient Client)
Creates a parsed instance of the data object.
AdditionalPersonalDetails()
Additional Personal Details. Reference: §4.7.11, EF.DG11, ICAO Doc 9303-10, Table 71.
AdditionalPersonalDetails(byte[] Value, TagList? TagList, FullName? FullName, OtherNames? OtherNames, PersonalNumber? PersonalNumber, DateOfBirth? DateOfBirth, PlaceOfBirth? PlaceOfBirth, PermanentAddress? PermanentAddress, Telephone? Telephone, Profession? Profession, Title? Title, PersonalSummary? PersonalSummary, ProofOfCitizenship? ProofOfCitizenship, OtherNumbers? OtherNumbers, CustodyInformation? CustodyInformation)
Additional Personal Details. Reference: §4.7.11, EF.DG11, ICAO Doc 9303-10, Table 71.
Abstract base class for data objects that contain nested data objects.
string?[] Names
Actual other names reported.
Definition: OtherNames.cs:44
string?[] NumberFields
Fields identifying the address.
Definition: OtherNumbers.cs:36