private void SentVideoStateData(VideoControl state) { Display_VideoControl display_VideoControl = new Display_VideoControl(); display_VideoControl.state = state.ToString(); UdpSclient.Instance.SendDataToSever(ParmaterCodes.Display_VideoControl, display_VideoControl); }