/// <summary> /// 重写Equals方法 /// </summary> /// <param name="obj"></param> /// <returns></returns> public override bool Equals(object obj) { if (obj == null) { return(false); } Jc_JcsdkzInfo temp = (Jc_JcsdkzInfo)obj; if (temp.ZkPoint != this.ZkPoint) { return(false); } if (temp.Bkpoint != this.Bkpoint) { return(false); } if (temp.Type != this.Type) { return(false); } if (temp.Upflag != this.Upflag) { return(false); } return(true); }
///<summary> /// 深度拷贝 /// </summary> /// <returns></returns> public Jc_JcsdkzInfo Clone() { Jc_JcsdkzInfo CloneJcsdkz = Basic.Framework.Common.JSONHelper.ParseJSONString <Jc_JcsdkzInfo>(Basic.Framework.Common.JSONHelper.ToJSONString(this)); //MemoryStream stream = new MemoryStream(); //BinaryFormatter formatter = new BinaryFormatter(); //formatter.Serialize(stream, this); //stream.Position = 0; return(CloneJcsdkz); }