public bool Equals(EeeOutputAmount other) { if (other == null) { return(false); } return(Equals((ReturnItem)other) && RegisteredProducer.Equals(other.RegisteredProducer)); }