public void updateFlight(CAT10 listcat10, int i) { if (this.callsign == null && listcat10.TargetID != null) { this.callsign = listcat10.TargetID; } packages.Add(i); Xs.Add(Convert.ToDouble(listcat10.Xcomponent)); Ys.Add(Convert.ToDouble(listcat10.Ycomponent)); fls.Add(listcat10.FlightLevel); Vxs.Add(Convert.ToDouble(listcat10.Vx)); Vys.Add(Convert.ToDouble(listcat10.Vy)); TODs.Add(listcat10.TimeOfDay); }
public void updateFlight(CAT20 listcat20, int i) { if (this.callsign == null && listcat20.callsign != null) { this.callsign = listcat20.callsign; } packages.Add(i); Xs.Add(listcat20.X); Ys.Add(listcat20.Y); fls.Add(listcat20.FL[2]); Vxs.Add(listcat20.Vx); Vys.Add(listcat20.Vy); TODs.Add(listcat20.TOD); }
public Flight(CAT10 listcat10, int i) { this.callsign = listcat10.TargetID; this.CAT = 20; this.tracknumber = listcat10.TrackNumber; this.messagetype = listcat10.MessageType; this.SIC = Convert.ToInt32(listcat10.SICnum); this.SAC = Convert.ToInt32(listcat10.SACnum); packages.Add(i); Xs.Add(Convert.ToDouble(listcat10.Xcomponent)); Ys.Add(Convert.ToDouble(listcat10.Ycomponent)); fls.Add(listcat10.FlightLevel); Vxs.Add(Convert.ToDouble(listcat10.Vx)); Vys.Add(Convert.ToDouble(listcat10.Vy)); TODs.Add(listcat10.TimeOfDay); }
public Flight(CAT20 listcat20, int i) { this.callsign = listcat20.callsign; this.CAT = 20; this.tracknumber = listcat20.TrackNum; this.messagetype = "MLAT"; this.SIC = listcat20.SIC; this.SAC = listcat20.SAC; packages.Add(i); Xs.Add(listcat20.X); Ys.Add(listcat20.Y); fls.Add(listcat20.FL[2]); Vxs.Add(listcat20.Vx); Vys.Add(listcat20.Vy); TODs.Add(listcat20.TOD); }