Пример #1
0
        public override bool Equals(object obj)
        {
            if (obj != null && obj is LandedState)
            {
                LandedState landedState = (LandedState)obj;

                return(landedState.body.Equals(body) && landedState.latitude == latitude && landedState.longitude == longitude);
            }

            return(false);
        }
Пример #2
0
        public override bool Equals(object obj)
        {
            if (obj != null && obj is LandedState)
            {
                LandedState landedState = (LandedState)obj;

                return(landedState.body.Equals(body) && landedState.latitude == latitude && landedState.longitude == longitude && landedState.startTimestamp == startTimestamp && landedState.paused == paused);
            }

            return(false);
        }