Пример #1
0
 protected bool Equals(ProcessingOptionsBase other)
 {
     return(PixelSizeX == other.PixelSizeX &&
            PixelSizeY == other.PixelSizeY &&
            PixelSizeAngle == other.PixelSizeAngle &&
            (string.IsNullOrEmpty(GainHash) ? GainPath == other.GainPath : GainHash == other.GainHash) &&
            GainFlipX == other.GainFlipX &&
            GainFlipY == other.GainFlipY &&
            GainTranspose == other.GainTranspose &&
            BinTimes == other.BinTimes);
 }
Пример #2
0
 protected bool Equals(ProcessingOptionsBase other)
 {
     return(PixelSizeX == other.PixelSizeX &&
            PixelSizeY == other.PixelSizeY &&
            PixelSizeAngle == other.PixelSizeAngle &&
            (string.IsNullOrEmpty(GainHash) ? GainPath == other.GainPath : GainHash == other.GainHash) &&
            GainFlipX == other.GainFlipX &&
            GainFlipY == other.GainFlipY &&
            GainTranspose == other.GainTranspose &&
            (string.IsNullOrEmpty(DefectsHash) ? DefectsPath == other.DefectsPath : DefectsHash == other.DefectsHash) &&
            BinTimes == other.BinTimes &&
            (EERGroupFrames == 0 || other.EERGroupFrames == 0 || EERGroupFrames == other.EERGroupFrames));
 }