public void StopService()
 {
     wsprotocol.Uninit();
     wsprotocol = null;
 }
 public void StartService(uint port)
 {
     wsprotocol = new IVXWSProtocol();
     wsprotocol.EventDataReceived += wsprotocol_EventDataReceived;
     wsprotocol.Init(port);
 }