예제 #1
0
 public PlaneInfo(string name, string id, string endPointName, string startPointName, double speedInKmH, double flightAltitude, List <GeoPoint> points)
 {
     this.nameField           = name;
     this.planeIDField        = id;
     this.endPointNameField   = endPointName;
     this.startPointNameField = startPointName;
     this.speedInKmHField     = speedInKmH;
     this.flightAltitudeField = flightAltitude;
     imagePathField           = ConvertPlaneNameToFilePath(name);
     trajectoryField          = new PlaneTrajectory(points, speedInKmH);
     UpdatePosition(CurrentFlightTime);
 }