예제 #1
0
        static void  Twrite()
        {
            while (true)
            {
                Thread.Sleep(10);

                string key = "HSR-DT801B";
                Dictionary <string, string> CoorDic = new Dictionary <string, string>();
                int X = (new Random()).Next(-200, 200);
                int Y = (new Random()).Next(-200, 0);
                int Z = (new Random()).Next(-200, 200);
                RedisHash.SetEntryInHash(key, "P1", X + "," + Y + "," + Z);
            }
            // WriteListToTextFile(list, "111.txt");
        }