Beispiel #1
0
 private void SetMeasSVInfoHelper(ref measSVInfostruct measSV_Info, string[] measRespCsv, ref int index)
 {
     if (index < measRespCsv.Length)
     {
         try
         {
             measSV_Info.svId               = Convert.ToByte(measRespCsv[index++]);
             measSV_Info.cNo                = Convert.ToByte(measRespCsv[index++]);
             measSV_Info.svDoppler          = ((double)Convert.ToUInt16(measRespCsv[index++])) / 5.0;
             measSV_Info.svCodePhaseWH      = Convert.ToUInt16(measRespCsv[index++]);
             measSV_Info.svCodePhaseFR      = TWO_POW_MIN10 * Convert.ToUInt16(measRespCsv[index++]);
             measSV_Info.multipathIndicator = Convert.ToByte(measRespCsv[index++]);
             measSV_Info.psudorangeRMSErr   = Convert.ToByte(measRespCsv[index++]);
         }
         catch (Exception exception)
         {
             throw exception;
         }
     }
 }
Beispiel #2
0
 private void SetMeasSVInfoHelper(ref measSVInfostruct measSV_Info, string[] measRespCsv, ref int index)
 {
     if (index < measRespCsv.Length)
     {
         try
         {
             measSV_Info.svId = Convert.ToByte(measRespCsv[index++]);
             measSV_Info.cNo = Convert.ToByte(measRespCsv[index++]);
             measSV_Info.svDoppler = ((double) Convert.ToUInt16(measRespCsv[index++])) / 5.0;
             measSV_Info.svCodePhaseWH = Convert.ToUInt16(measRespCsv[index++]);
             measSV_Info.svCodePhaseFR = TWO_POW_MIN10 * Convert.ToUInt16(measRespCsv[index++]);
             measSV_Info.multipathIndicator = Convert.ToByte(measRespCsv[index++]);
             measSV_Info.psudorangeRMSErr = Convert.ToByte(measRespCsv[index++]);
         }
         catch (Exception exception)
         {
             throw exception;
         }
     }
 }