Beispiel #1
0
 public static PSIceAccount read__(IceInternal.BasicStream is__, PSIceAccount v__)
 {
     if (v__ == null)
     {
         v__ = new PSIceAccount();
     }
     v__.read__(is__);
     return(v__);
 }
Beispiel #2
0
 public static void write__(IceInternal.BasicStream os__, PSIceAccount v__)
 {
     if (v__ == null)
     {
         nullMarshalValue__.write__(os__);
     }
     else
     {
         v__.write__(os__);
     }
 }
Beispiel #3
0
        public override bool Equals(object other__)
        {
            if (object.ReferenceEquals(this, other__))
            {
                return(true);
            }
            if (other__ == null)
            {
                return(false);
            }
            if (GetType() != other__.GetType())
            {
                return(false);
            }
            PSIceAccount o__ = (PSIceAccount)other__;

            if (!Id.Equals(o__.Id))
            {
                return(false);
            }
            if (!ClientId.Equals(o__.ClientId))
            {
                return(false);
            }
            if (ClientName == null)
            {
                if (o__.ClientName != null)
                {
                    return(false);
                }
            }
            else
            {
                if (!ClientName.Equals(o__.ClientName))
                {
                    return(false);
                }
            }
            if (Password == null)
            {
                if (o__.Password != null)
                {
                    return(false);
                }
            }
            else
            {
                if (!Password.Equals(o__.Password))
                {
                    return(false);
                }
            }
            if (ComPassword == null)
            {
                if (o__.ComPassword != null)
                {
                    return(false);
                }
            }
            else
            {
                if (!ComPassword.Equals(o__.ComPassword))
                {
                    return(false);
                }
            }
            if (!FundType.Equals(o__.FundType))
            {
                return(false);
            }
            if (BrokerName == null)
            {
                if (o__.BrokerName != null)
                {
                    return(false);
                }
            }
            else
            {
                if (!BrokerName.Equals(o__.BrokerName))
                {
                    return(false);
                }
            }
            if (DepartmentNo == null)
            {
                if (o__.DepartmentNo != null)
                {
                    return(false);
                }
            }
            else
            {
                if (!DepartmentNo.Equals(o__.DepartmentNo))
                {
                    return(false);
                }
            }
            if (FundName == null)
            {
                if (o__.FundName != null)
                {
                    return(false);
                }
            }
            else
            {
                if (!FundName.Equals(o__.FundName))
                {
                    return(false);
                }
            }
            if (SHStockAccount == null)
            {
                if (o__.SHStockAccount != null)
                {
                    return(false);
                }
            }
            else
            {
                if (!SHStockAccount.Equals(o__.SHStockAccount))
                {
                    return(false);
                }
            }
            if (SZStockAccount == null)
            {
                if (o__.SZStockAccount != null)
                {
                    return(false);
                }
            }
            else
            {
                if (!SZStockAccount.Equals(o__.SZStockAccount))
                {
                    return(false);
                }
            }
            if (Node == null)
            {
                if (o__.Node != null)
                {
                    return(false);
                }
            }
            else
            {
                if (!Node.Equals(o__.Node))
                {
                    return(false);
                }
            }
            return(true);
        }