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