Exemplo n.º 1
0
 public static ComPortListener getInstance()
 {
     lock (syncRoot)
     {
         if (instance == null)
         {
             instance = new ComPortListener();
             DBController.getInstance();
         }
     }
     return(instance);
 }
Exemplo n.º 2
0
 private DataTableLog()
 {
     //Subcribe to the event so we know when a new scan have been made
     DBController.getInstance().NewRequest += DataTableLog_NewRequest;
 }
Exemplo n.º 3
0
 private void Dbcallaction(object obj)
 {
     //Tells the DBController to run this method
     DBController.getInstance().DbLog();
 }