public PointCloudDeviceC(Socket socket, Package package, EventManager m)
        {
            data    = PointCloud_EVCS_Core.CreatDeviceData(socket, package);//DI
            MailBox = new DeviceMailBox(data);
            manager = m;

            Thread check = new Thread(CreateThreadToCheckData);

            check.IsBackground = true;
            check.Start();
        }
Example #2
0
        public PointCloudUserC(Socket socket, Package package, PointCloudCC c, EventManager m)
        {
            cc      = c;
            data    = PointCloud_EVCS_Core.CreatUserData(socket, package);
            MailBox = new UserMailBox(data);

            manager           = m;
            manager.IPLEvent += new EventManager.IPLHandler(sendiplist);//事件注册

            Thread check = new Thread(CreateThreadToCheckData);

            check.IsBackground = true;
            check.Start();
        }