Esempio n. 1
0
 public void WriteTimebuffer(SingleDataBuffer buffer)
 {
     Time.Write(buffer.Bdatetime, 0, 6);
 }
Esempio n. 2
0
 public GraphData(int Points)
 {
     x = new double[Points];
         y = new double[Points];
         date = new DateTime[Points];
         max = new List<double>();
         min = new List<double>();
         databuffer = new SingleDataBuffer();
 }
Esempio n. 3
0
 public void Writebuffer(SingleDataBuffer buffer)
 {
     V.Write(buffer.BV, 0, 4);
             A.Write(buffer.BA, 0, 4);
             Vx.Write(buffer.BVx, 0, 4);
             Vy.Write(buffer.BVy, 0, 4);
             Vz.Write(buffer.BVz, 0, 4);
             Ax.Write(buffer.BAx, 0, 4);
             Ay.Write(buffer.BAy, 0, 4);
             Az.Write(buffer.BAz, 0, 4);
             X.Write(buffer.BX, 0, 4);
             Y.Write(buffer.BY, 0, 4);
             Z.Write(buffer.BZ, 0, 4);
             Altitude.Write(buffer.BAltitude, 0, 4);
             Latitude.Write(buffer.BLatitude, 0, 4);
             Longitude.Write(buffer.BLongitude, 0, 4);
             V_p.Write(buffer.BV_Processed, 0, 4);
             Vx_p.Write(buffer.BVx_Processed, 0, 4);
             Vy_p.Write(buffer.BVy_Processed, 0, 4);
             Vz_p.Write(buffer.BVz_Processed, 0, 4);
             X_p.Write(buffer.BX_Processed, 0, 4);
             Y_p.Write(buffer.BY_Processed, 0, 4);
             Z_p.Write(buffer.BZ_Processed, 0, 4);
             Altitude_p.Write(buffer.BAltitude_Processed, 0, 4);
             Latitude_p.Write(buffer.BLatitude_Processed, 0, 4);
             Longitude_p.Write(buffer.BLongitude_Processed, 0, 4);
             PDOP.Write(buffer.BPDOP, 0, 4);
             state.WriteByte(buffer.Bstate);
             Temperature.WriteByte(buffer.BTemperature);
             UsedStats.Write(buffer.BNumOfUsedStats, 0, 4);
             VisibleStats.Write(buffer.BNumOfVisibleStats, 0, 4);
             Time.Write(buffer.Bdatetime, 0, 6);
             GPS.Write(buffer.BGPSstat, 0, 12);
             Glonass.Write(buffer.BGLONASSstat, 0, 12);
             Sat.Write(buffer.BSatStats, 0, 16);
         if (buffer.WriteExtreme)
         {
             buffer.WriteExtreme = false;
             VxMax.Write(buffer.BVxMax, 0, 4);
             VxMin.Write(buffer.BVxMin, 0, 4);
             VyMax.Write(buffer.BVyMax, 0, 4);
             VyMin.Write(buffer.BVyMin, 0, 4);
             VzMax.Write(buffer.BVzMax, 0, 4);
             VzMin.Write(buffer.BVzMin, 0, 4);
             AxMax.Write(buffer.BAxMax, 0, 4);
             AxMin.Write(buffer.BAxMin, 0, 4);
             AyMax.Write(buffer.BAyMax, 0, 4);
             AyMin.Write(buffer.BAyMin, 0, 4);
             AzMax.Write(buffer.BAzMax, 0, 4);
             AzMin.Write(buffer.BAzMin, 0, 4);
             XMax.Write(buffer.BXMax, 0, 4);
             XMin.Write(buffer.BXMin, 0, 4);
             YMax.Write(buffer.BYMax, 0, 4);
             YMin.Write(buffer.BYMin, 0, 4);
             ZMax.Write(buffer.BZMax, 0, 4);
             ZMin.Write(buffer.BZMin, 0, 4);
             VMax.Write(buffer.BVMax, 0, 4);
             VMin.Write(buffer.BVMin, 0, 4);
             AMax.Write(buffer.BAMax, 0, 4);
             AMin.Write(buffer.BAMin, 0, 4);
             AltitudeMax.Write(buffer.BAltitudeMax, 0, 4);
             AltitudeMin.Write(buffer.BAltitudeMin, 0, 4);
             LatitudeMax.Write(buffer.BLatitudeMax, 0, 4);
             LatitudeMin.Write(buffer.BLatitudeMin, 0, 4);
             LongitudeMax.Write(buffer.BLongitudeMax, 0, 4);
             LongitudeMin.Write(buffer.BLongitudeMin, 0, 4);
             PDOPMax.Write(buffer.BPDOPMax, 0, 4);
             PDOPMin.Write(buffer.BPDOPMin, 0, 4);
         }
 }