因为每一秒你的价值都在变化所以你需要同样更新变量:// It will always compare with the previous maximum and minimum valuesrealStopMin = Math.Min(realStopMin, realStop);realStopMax = Math.Max(realStopMax, realStop);MarzeMin = Math.Min(MarzeMin, Marze);MarzeMax = Math.Max(MarzeMax, Marze);