SympatheticHardwareControl.Controller.isLaserLocked C# (CSharp) Метод

isLaserLocked() приватный Метод

private isLaserLocked ( double threshold, double error ) : bool
threshold double
error double
Результат bool
        private bool isLaserLocked(double threshold, double error)
        {
            if (-threshold <= error && error <= threshold)
            {
                return true;
            }
            else
            {
                return false;
            }
        }