Example #1
0
    public void update_data(HandInf result)
    {
        Mutex = true;
        if (result != null)
        {
            data_right = result;
        }

        Mutex = false;
    }
Example #2
0
    public void update_data(HandInf result)
    {
        Mutex = true;
        //if (result != null)
        //{
        //    if (result.Type == HandType.Right)
        //    {
        //        data_right = result;
        //    }
        //    else
        //    {
        //        data_left = result;
        //    }
        //}
        if (result != null)
        {
            data_right = result;
        }

        Mutex = false;
    }