Пример #1
0
        public UdpCommuReceive(Communication.IndexOutputType indexOutputType,
                               UdpCommu udpCommu,
                               notifyReplyEventHandler notifyDone)
        {
            this.udpCommu   = udpCommu;
            this.notifyDone = notifyDone;
            Thread childThread = new Thread(new ThreadStart(CommuReceiveThread));

            childThread.IsBackground = true;
            childThread.Start();
        }
Пример #2
0
 protected void RegisterSampleEvent(notifyReplyEventHandler callBack)
 {
     sampleEvent = callBack;
 }