Exemplo n.º 1
0
 //--------------------------------------------------
 // Constructor
 public OpcThread(OpcServer srv)
 {
     OpcSrv       = srv;
     SioGrp       = OpcSrv.AddSyncIOGroup();
     Requests     = new RequestQueue();
     AccessThread = new Thread(new ThreadStart(OpcAccessThread));
     AccessThread.Start();
 }
 //--------------------------------------------------
 // Constructor
 public OpcThread(OpcServer srv)
 {
     // ParentForm = pForm;
     OpcSrv = srv;
     SioGrp = OpcSrv.AddSyncIOGroup();
     //Requests = new RequestQueue();
     //AccessThread = new Thread(new ThreadStart(OpcAccessThread));
     //AccessThread.Start();
 }
Exemplo n.º 3
0
 public OpcThreadImp(OpcServer srv)
 {
     try
     {
         OpcSrv = srv;
         SioGrp = OpcSrv.AddSyncIOGroup();
     }
     catch (Exception errmsg)
     {
     }
 }