Пример #1
0
        // Creating an uninitialized track with an associated measurement
        public GaussianTrack(ulong trackID, GaussianVector gaussianVector, Coordinate.Type coordinateType, DateTime dateTime)
        {
            // Save track initial information
            this.trackID = trackID;
            this.gaussianVector = gaussianVector.Clone();
            this.coordinateType = coordinateType;
            this.dateTime = dateTime;

            // Initialize database
            associatedMeasurements = new SortedList<DateTime, GaussianMeasurement>();
        }
 // Constructor
 public GaussianMeasurement(uint platformID, uint sensorID, 
     Vector creatorUnityReference, GaussianVector gaussianVector,
     Coordinate.Type coordinateType, DateTime dateTime)
 {
     this.platformID = platformID;
     this.sensorID = sensorID;
     this.creatorUnityReference = creatorUnityReference.Clone();
     this.gaussianVector = gaussianVector.Clone();
     this.coordinateType = coordinateType;
     this.dateTime = dateTime;
 }