public static PlayStop DeserializeObject(byte[] bytes) { PlayStop pi = new PlayStop(); pi.Deserialize(bytes); return(pi); }
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); }