예제 #1
0
 public FlightPlainInfo(FlightPlainInfo from)
 {
     CharterKey         = from.CharterKey;
     ClassKey           = from.ClassKey;
     FlightDateTimeFrom = from.FlightDateTimeFrom;
     FlightDateTimeTo   = from.FlightDateTimeTo;
     FlightNumber       = from.FlightNumber;
     AirportFrom        = from.AirportFrom;
     AirportTo          = from.AirportTo;
     FlightClassName    = from.FlightClassName;
     QuotaState         = new QuotaStatePlaces(from.QuotaState);
     AirlineCode        = from.AirlineCode;
     AirlineKey         = from.AirlineKey;
     AirlineName        = from.AirlineName;
     PartnerKey         = from.PartnerKey;
     AircraftCode       = from.AirlineCode;
 }
예제 #2
0
 /// <summary>
 /// Метод по определению равенства объектов
 /// </summary>
 /// <param name="other">Объект, с которым сравниваем</param>
 /// <returns></returns>
 protected bool Equals(QuotaStatePlaces other)
 {
     return(QuotaState == other.QuotaState && Places == other.Places && IsCheckInQuota.Equals(other.IsCheckInQuota));
 }
예제 #3
0
 public QuotaStatePlaces(QuotaStatePlaces from)
 {
     QuotaState     = from.QuotaState;
     Places         = from.Places;
     IsCheckInQuota = from.IsCheckInQuota;
 }
예제 #4
0
 public FlightPlainInfo()
 {
     QuotaState = new QuotaStatePlaces();
 }