public void TestRedis()
        {
            var wheel = new VGame.CLR.Wheel();
            var ir = new VGame.CLR.Input
            {
                Switch = 1,
                RunTime = 1,
                GameRate = 1,
                MaxBet = 10,
                MinBet = 1,
                Bet = 9,
                GameUndulate = 8,
                Line = 7,
                RecCycle = 6,
                WupCondi1 = 1,
                WupCondi2 = 1,
                WupRate = 1,
                Free = 0,
                Fever = 0,
                WinSet = 1
            };

            var result = wheel.Spin(ir);
            var data = wheel.Export();
            var redis = StackExchange.Redis.ConnectionMultiplexer.Connect("127.0.0.1:6379");
            var client = new Regulus.Database.Redis.Client(redis.GetDatabase(0) , new JsonProvider() );
            client.Add(data);
        }
        private static Value<SpinResult> _SpinNormal(int bet, int line)
        {
            var wheel = new VGame.CLR.Wheel();
            var ir = new VGame.CLR.Input
            {
                Switch = 1,
                RunTime = 1,
                GameRate = 1,
                MaxBet = 10,
                MinBet = 1,
                Bet = bet,
                GameUndulate = 8,
                Line = line,
                RecCycle = 6,
                WupCondi1 = 1,
                WupCondi2 = 1,
                WupRate = 1,
                Free = 0,
                Fever = 0,
                WinSet = 0
            };

            var result = wheel.Spin(ir);

            var spinResult = new SpinResult
            {
                Symbols = (from reel in result.Reels select (SYMBOL) reel ).ToArray(),
                ExpectedScore = result.Score,
                Score = Regulus.Utility.Random.Instance.NextInt(0, 1000)
            };
            return spinResult;
        }