Exemplo n.º 1
0
        public PointCloudCC(Special c)
        {
            cloud = c;
            cc    = this;

            Thread check = new Thread(CreateThreadToCheckData);

            check.IsBackground = true;
            check.Start();
        }
        static void Main(string[] args)
        {
            //model
            Special PointCloudSever = new Special();
            //control
            PointCloudCC point = new PointCloudCC(PointCloudSever);
            //view
            PointCloud_EVCS_ServerView view = new PointCloud_EVCS_ServerView(PointCloudSever, point);

            view.shell();
        }
Exemplo n.º 3
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();
        }
Exemplo n.º 4
0
 public PointCloud_EVCS_ServerView(Special s, PointCloudCC c)
 {
     cloud = s;
     cc    = c;
 }