Exemplo n.º 1
0
 public static HHDeviceManager GetInstance()
 {
     if (manager == null)
     {
         manager = new HHDeviceManager();
         string fieName = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, @"Config\设备.rhhcfg");
         manager.Load(fieName);
     }
     return(manager);
 }
Exemplo n.º 2
0
 public static HHDeviceManager GetInstance()
 {
     if (manager == null)
     {
         manager = new HHDeviceManager();
         string fieName = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, @"Config\设备.rhhcfg");
         manager.Load(fieName);
     }
     return manager;
 }