示例#1
0
            private static bool maxGreaterThanMin(ParameterRange param, double?maxValueInDisplayUnit)
            {
                if (doesNotNeedCheck(param.MinValue, maxValueInDisplayUnit))
                {
                    return(true);
                }

                return(param.baseValueFrom(maxValueInDisplayUnit) >= param.MinValue);
            }
示例#2
0
            private static bool minLessThanDbMax(ParameterRange param, double?minValueInDisplayUnit)
            {
                if (doesNotNeedCheck(param.DbMaxValue, minValueInDisplayUnit))
                {
                    return(true);
                }

                return(param.baseValueFrom(minValueInDisplayUnit) <= param.DbMaxValue);
            }