Exemple #1
0
 public Kernel(Configuration config)
 {
     IP  = config.Ip;
     Usr = config.User;
     Pwd = config.Password;
     POC_NET_TCP_PORT = int.Parse(config.TcpPort);
     POC_NET_UDP_PORT = int.Parse(config.UdpPort);
     debugswitch      = config.DebugSwitch;
     _wd = WaveInProc;
 }
Exemple #2
0
        public Form1()
        {
            InitializeComponent();
            _wd     = WaveInProc;
            _wdPlay = WaveOutProc;

            ////以下注册回调
            //var call1 = new EvrcProtocal.CallBackHeartBeat(HeartBeat);//DLL心跳回调
            //EvrcProtocal.SetHeartBeat(call1);
            //var call2 = new EvrcProtocal.CallBackSendVoice(VoiceSend);//DLL音频回调
            //EvrcProtocal.SetSendVoice(call2);
            //EvrcProtocal.InitCCS(100);
        }