public ActiveNumber setDirection(int dir)
    {
        if (dir == DIR_DEC)
        {
            this.increase = false;
            return this;
        }
        if (dir == DIR_INC)
        {
            this.increase = true;
            return this;
        }
        this.isStatic = true;
        return this;

    }