private static byte[] handleQso(string rx) { Qso qso = new Qso(); string[] values = rx.Split(' '); qso.bandId = Int32.Parse(values[7]); qso.wtModeId = Int32.Parse(values[6]); qso.qsoTime = Int32.Parse(values[4]); qso.dxCall = values[13].Replace("\"",""); qso.rstTx = Int32.Parse(values[14].Replace("\"","")); qso.rstRx = Int32.Parse(values[15].Replace("\"","")); qso.opCall = values[22].Replace("\"",""); Console.WriteLine(qso.displayQso()); return qso.compress(); }
private static byte[] handleQso(string rx) { Qso qso = new Qso(); string[] values = rx.Split(' '); qso.bandId = Int32.Parse(values[7]); qso.wtModeId = Int32.Parse(values[6]); qso.qsoTime = Int32.Parse(values[4]); qso.dxCall = values[13].Replace("\"", ""); qso.rstTx = Int32.Parse(values[14].Replace("\"", "")); qso.rstRx = Int32.Parse(values[15].Replace("\"", "")); qso.opCall = values[22].Replace("\"", ""); Console.WriteLine(qso.displayQso()); return(qso.compress()); }