public override int GetHashCode() { return(type.GetHashCode() + name.GetHashCode() + fuseCurrent.GetHashCode()); }
public override int GetHashCode() { int hash = 1; if (MaxDistanceValid != false) { hash ^= MaxDistanceValid.GetHashCode(); } if (SensorIdValid != false) { hash ^= SensorIdValid.GetHashCode(); } if (RadarPowerValid != false) { hash ^= RadarPowerValid.GetHashCode(); } if (OutputTypeValid != false) { hash ^= OutputTypeValid.GetHashCode(); } if (SendQualityValid != false) { hash ^= SendQualityValid.GetHashCode(); } if (SendExtInfoValid != false) { hash ^= SendExtInfoValid.GetHashCode(); } if (SortIndexValid != false) { hash ^= SortIndexValid.GetHashCode(); } if (StoreInNvmValid != false) { hash ^= StoreInNvmValid.GetHashCode(); } if (CtrlRelayValid != false) { hash ^= CtrlRelayValid.GetHashCode(); } if (RcsThresholdValid != false) { hash ^= RcsThresholdValid.GetHashCode(); } if (MaxDistance != 0) { hash ^= MaxDistance.GetHashCode(); } if (SensorId != 0) { hash ^= SensorId.GetHashCode(); } if (OutputType != 0) { hash ^= OutputType.GetHashCode(); } if (RadarPower != 0) { hash ^= RadarPower.GetHashCode(); } if (CtrlRelay != 0) { hash ^= CtrlRelay.GetHashCode(); } if (SendExtInfo != false) { hash ^= SendExtInfo.GetHashCode(); } if (SendQuality != false) { hash ^= SendQuality.GetHashCode(); } if (SortIndex != 0) { hash ^= SortIndex.GetHashCode(); } if (StoreInNvm != 0) { hash ^= StoreInNvm.GetHashCode(); } if (RcsThreshold != 0) { hash ^= RcsThreshold.GetHashCode(); } if (InputSendInterval != 0UL) { hash ^= InputSendInterval.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (CameraDev.Length != 0) { hash ^= CameraDev.GetHashCode(); } if (FrameId.Length != 0) { hash ^= FrameId.GetHashCode(); } if (PixelFormat.Length != 0) { hash ^= PixelFormat.GetHashCode(); } if (IoMethod != 0) { hash ^= IoMethod.GetHashCode(); } if (Width != 0) { hash ^= Width.GetHashCode(); } if (Height != 0) { hash ^= Height.GetHashCode(); } if (FrameRate != 0) { hash ^= FrameRate.GetHashCode(); } if (Monochrome != false) { hash ^= Monochrome.GetHashCode(); } if (Brightness != 0) { hash ^= Brightness.GetHashCode(); } if (Contrast != 0) { hash ^= Contrast.GetHashCode(); } if (Saturation != 0) { hash ^= Saturation.GetHashCode(); } if (Sharpness != 0) { hash ^= Sharpness.GetHashCode(); } if (Gain != 0) { hash ^= Gain.GetHashCode(); } if (AutoFocus != false) { hash ^= AutoFocus.GetHashCode(); } if (Focus != 0) { hash ^= Focus.GetHashCode(); } if (AutoExposure != false) { hash ^= AutoExposure.GetHashCode(); } if (Exposure != 0) { hash ^= Exposure.GetHashCode(); } if (AutoWhiteBalance != false) { hash ^= AutoWhiteBalance.GetHashCode(); } if (WhiteBalance != 0) { hash ^= WhiteBalance.GetHashCode(); } if (BytesPerPixel != 0) { hash ^= BytesPerPixel.GetHashCode(); } if (TriggerInternal != 0) { hash ^= TriggerInternal.GetHashCode(); } if (TriggerFps != 0) { hash ^= TriggerFps.GetHashCode(); } if (ChannelName.Length != 0) { hash ^= ChannelName.GetHashCode(); } if (DeviceWaitMs != 0) { hash ^= DeviceWaitMs.GetHashCode(); } if (SpinRate != 0) { hash ^= SpinRate.GetHashCode(); } if (OutputType != 0) { hash ^= OutputType.GetHashCode(); } if (compressConf_ != null) { hash ^= CompressConf.GetHashCode(); } return(hash); }