public override int GetHashCode() { int hash = 1; if (canConf_ != null) { hash ^= CanConf.GetHashCode(); } if (EntranceNum != 0) { hash ^= EntranceNum.GetHashCode(); } return(hash); }
public void MergeFrom(UltrasonicRadarConf other) { if (other == null) { return; } if (other.canConf_ != null) { if (canConf_ == null) { canConf_ = new global::Apollo.Drivers.UltrasonicRadar.CanConf(); } CanConf.MergeFrom(other.CanConf); } if (other.EntranceNum != 0) { EntranceNum = other.EntranceNum; } }