public override int GetHashCode()
        {
            int hash = 1;

            if (FusionMethod.Length != 0)
            {
                hash ^= FusionMethod.GetHashCode();
            }
            if (FusionMainSensor.Length != 0)
            {
                hash ^= FusionMainSensor.GetHashCode();
            }
            if (ObjectInRoiCheck != false)
            {
                hash ^= ObjectInRoiCheck.GetHashCode();
            }
            if (RadiusForRoiObjectCheck != 0D)
            {
                hash ^= RadiusForRoiObjectCheck.GetHashCode();
            }
            if (OutputObstaclesChannelName.Length != 0)
            {
                hash ^= OutputObstaclesChannelName.GetHashCode();
            }
            if (OutputVizFusedContentChannelName.Length != 0)
            {
                hash ^= OutputVizFusedContentChannelName.GetHashCode();
            }
            return(hash);
        }
Esempio n. 2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (CameraNames.Length != 0)
            {
                hash ^= CameraNames.GetHashCode();
            }
            if (InputCameraChannelNames.Length != 0)
            {
                hash ^= InputCameraChannelNames.GetHashCode();
            }
            if (TimestampOffset != 0D)
            {
                hash ^= TimestampOffset.GetHashCode();
            }
            if (CameraObstaclePerceptionConfDir.Length != 0)
            {
                hash ^= CameraObstaclePerceptionConfDir.GetHashCode();
            }
            if (CameraObstaclePerceptionConfFile.Length != 0)
            {
                hash ^= CameraObstaclePerceptionConfFile.GetHashCode();
            }
            if (FrameCapacity != 0)
            {
                hash ^= FrameCapacity.GetHashCode();
            }
            if (ImageChannelNum != 0)
            {
                hash ^= ImageChannelNum.GetHashCode();
            }
            if (EnableUndistortion != false)
            {
                hash ^= EnableUndistortion.GetHashCode();
            }
            if (EnableVisualization != false)
            {
                hash ^= EnableVisualization.GetHashCode();
            }
            if (OutputObstaclesChannelName.Length != 0)
            {
                hash ^= OutputObstaclesChannelName.GetHashCode();
            }
            if (CameraPerceptionVizMessageChannelName.Length != 0)
            {
                hash ^= CameraPerceptionVizMessageChannelName.GetHashCode();
            }
            if (PrefusedChannelName.Length != 0)
            {
                hash ^= PrefusedChannelName.GetHashCode();
            }
            if (DefaultCameraPitch != 0D)
            {
                hash ^= DefaultCameraPitch.GetHashCode();
            }
            if (DefaultCameraHeight != 0D)
            {
                hash ^= DefaultCameraHeight.GetHashCode();
            }
            if (LaneCalibrationWorkingSensorName.Length != 0)
            {
                hash ^= LaneCalibrationWorkingSensorName.GetHashCode();
            }
            if (CalibratorMethod.Length != 0)
            {
                hash ^= CalibratorMethod.GetHashCode();
            }
            if (CalibServiceName.Length != 0)
            {
                hash ^= CalibServiceName.GetHashCode();
            }
            if (RunCalibService != false)
            {
                hash ^= RunCalibService.GetHashCode();
            }
            if (OutputCameraDebugMsg != false)
            {
                hash ^= OutputCameraDebugMsg.GetHashCode();
            }
            if (CameraDebugChannelName.Length != 0)
            {
                hash ^= CameraDebugChannelName.GetHashCode();
            }
            if (TsDiff != 0D)
            {
                hash ^= TsDiff.GetHashCode();
            }
            if (OutputFinalObstacles != false)
            {
                hash ^= OutputFinalObstacles.GetHashCode();
            }
            return(hash);
        }