Пример #1
0
        public override void Execute(OID oid, AttributeValuesMap values)
        {
            var n = Convert.ToDecimal(values[AttributeName]);

            _totalValue = Decimal.Add(_totalValue, ValuesUtil.Convert(n));
            _nbValues++;
        }
Пример #2
0
        public override void Execute(OID oid, AttributeValuesMap values)
        {
            var number = Convert.ToDecimal(values[AttributeName]);
            var bd     = ValuesUtil.Convert(number);

            if (bd.CompareTo(_maxValue) <= 0)
            {
                return;
            }

            _oidOfMaxValues = oid;
            _maxValue       = bd;
        }
Пример #3
0
        public override void Execute(OID oid, AttributeValuesMap values)
        {
            var number = Convert.ToDecimal(values[AttributeName]);

            _sum = Decimal.Add(_sum, ValuesUtil.Convert(number));
        }