'generated source for method equals'

def __eq__(self, other):

    if (self == other):
        return True
    if (other is None):
        return False
    state = other
    if ((self.m_commission != state.m_commission) or (self.m_minCommission != state.m_minCommission) or (self.m_maxCommission != state.m_maxCommission)):
        return False
    if ((Util.StringCompare(self.m_status, state.m_status) != 0) or (Util.StringCompare(self.m_initMargin, state.m_initMargin) != 0) or (Util.StringCompare(self.m_maintMargin, state.m_maintMargin) != 0) or (Util.StringCompare(self.m_equityWithLoan, state.m_equityWithLoan) != 0) or (Util.StringCompare(self.m_commissionCurrency, state.m_commissionCurrency) != 0)):
        return False
    return True
