Exemple #1
0
 public void Init()
 {
     m_speecher   = new Speecher();
     m_recognizer = new Recognizer
     {
         OnRecognized = OnRecognized
     };
     Console.WriteLine("初始化完成");
 }
Exemple #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);
     }
 }
Exemple #3
0
 public NetServer()
 {
     m_speecher = new Speecher();
     m_socket   = new SocketExtra(this);
 }