示例#1
0
        public static PlayStop DeserializeObject(byte[] bytes)
        {
            PlayStop pi = new PlayStop();

            pi.Deserialize(bytes);
            return(pi);
        }
示例#2
0
        public override bool Equals(object obj)
        {
            if (obj == null)
            {
                return(false);
            }
            PlayStop pi = obj as PlayStop;

            if (pi == null)
            {
                return(false);
            }
            return(pi.ReceiveIp == this.ReceiveIp && pi.ReceiveRTPPort == this.ReceiveRTPPort &&
                   pi.PlatformId == this.PlatformId && pi.PlayDeviceId == this.PlayDeviceId);
        }