public void Init() { m_speecher = new Speecher(); m_recognizer = new Recognizer { OnRecognized = OnRecognized }; Console.WriteLine("初始化完成"); }
public void Init() { try { m_speecher = new Speecher(); m_recognizer = new Recognizer { OnRecognized = OnRecognized }; Console.WriteLine("初始化完成"); } catch (Exception e) { Console.WriteLine(e.Message); } }
public NetServer() { m_speecher = new Speecher(); m_socket = new SocketExtra(this); }