private static void Main(string[] args) { Console.OutputEncoding = Encoding.UTF8; var parser = new MyParser(); parser.Parse(); Console.ReadKey(); }
public Owner(string[] arr) { int.TryParse(arr[0], out var objectId); ObjectId = objectId; PgId = MyParser.ParseNullableInt(arr[1]); X = MyParser.ParseNullableDouble(arr[2]); Y = MyParser.ParseNullableDouble(arr[3]); PName = arr[4]; OrId = MyParser.ParseNullableInt(arr[5]); OrTime = arr[6]; PcId = MyParser.ParseNullableInt(arr[7]); PcPgId = MyParser.ParseNullableInt(arr[8]); PcPgIdDoc = MyParser.ParseNullableInt(arr[9]); PcLayer = MyParser.ParseNullableInt(arr[10]); RValid = MyParser.ParseNullableInt(arr[11]); PcZIdCad = MyParser.ParseNullableInt(arr[12]); PcNumber = MyParser.ParseNullableInt(arr[13]); PcFullNumber = arr[14]; PcNumberOld = arr[15]; PcCurrZoneAdmShort = arr[16]; PcCurrZoneAdm = arr[17]; PcCurrZoneGarden = arr[18]; PcZoneAdm = arr[19]; PcZoneGarden = arr[20]; PcLanders = arr[21]; PcfLanderCodes = arr[22]; PcfLanderPassports = arr[23]; PcfLanderAddresses = arr[24]; PcfRights = arr[25]; PcfRightdateSt = arr[26]; PcfRightdateEn = arr[27]; PcfRightFlags = MyParser.ParseNullableInt(arr[28]); PcfParts = arr[29]; PcfDescription = arr[30]; PcAddress = arr[31]; PcDcKind = arr[32]; PcDcNumber = arr[33]; PcfDcRegnum = arr[34]; PcfDcRegdate = arr[35]; PcfDcChangeDate = arr[36]; PcfGroup = arr[37]; PcfPurpose = arr[38]; PcfTargetPurpose = arr[39]; PcHtId = MyParser.ParseNullableInt(arr[40]); PcfFolder = arr[41]; PcsSquare = arr[42]; PcsDocSquare = arr[43]; PcsRealSquare = arr[44]; PcfDcNumberJur = arr[45]; PcfDcDateJur = arr[46]; RLnId = arr[47]; RRight = arr[48]; PcPllMask = MyParser.ParseNullableInt(arr[49]); PcExistsGa = MyParser.ParseNullableInt(arr[50]); RFlags = arr[51]; RUsage = arr[52]; PcfLanderFolders = arr[53]; PcfDcNumberAggrav = arr[54]; PcfLandersComm = arr[55]; PcfDcNumberComm = arr[56]; PcfDcRegnumComm = MyParser.ParseNullableDouble(arr[57]); PcfDcRegdateComm = arr[58]; PcfCadnumDcKind = arr[59]; PcfCadnumDcNumber = arr[60]; PcfCadnumDcDate = arr[61]; PcfGrounds = arr[62]; FMatchedRecords = arr[63]; StAreaShape = MyParser.ParseNullableDouble(arr[64]); StLengthShape = MyParser.ParseNullableDouble(arr[65]); }