示例#1
0
文件: Param.cs 项目: yenyulin/ISR
 public Param(ParamPK _id
              , string _paramname
              )
 {
     this._id        = _id;
     this._paramname = _paramname;
 }
示例#2
0
文件: ParamPK.cs 项目: yenyulin/ISR
        public override bool Equals(object obj)
        {
            if (this == obj)
            {
                return(true);
            }
            if ((obj == null) || (obj.GetType() != this.GetType()))
            {
                return(false);
            }
            ParamPK that = (ParamPK)obj;

            if (that == null)
            {
                return(false);
            }
            else
            {
                if (this._paramid != that._paramid)
                {
                    return(false);
                }
                if (this._paramcode != that._paramcode)
                {
                    return(false);
                }
                return(true);
            }
        }