public override bool Equals(RosMessage ____other) { if (____other == null) { return(false); } bool ret = true; var other = ____other as Messages.xamla_sysmon.SystemStatus; if (other == null) { return(false); } ret &= header.Equals(other.header); ret &= system_status == other.system_status; if (topics.Length != other.topics.Length) { return(false); } for (int __i__ = 0; __i__ < topics.Length; __i__++) { ret &= topics[__i__] == other.topics[__i__]; } if (err_code.Length != other.err_code.Length) { return(false); } for (int __i__ = 0; __i__ < err_code.Length; __i__++) { ret &= err_code[__i__] == other.err_code[__i__]; } if (topic_msg.Length != other.topic_msg.Length) { return(false); } for (int __i__ = 0; __i__ < topic_msg.Length; __i__++) { ret &= topic_msg[__i__] == other.topic_msg[__i__]; } // for each SingleType st: // ret &= {st.Name} == other.{st.Name}; return(ret); }
public override bool Equals(RosMessage ____other) { if (____other == null) { return(false); } bool ret = true; var other = ____other as Messages.xamla_sysmon.HeartBeat; if (other == null) { return(false); } ret &= header.Equals(other.header); ret &= status == other.status; ret &= details == other.details; // for each SingleType st: // ret &= {st.Name} == other.{st.Name}; return(ret); }