Пример #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="Name"></param>
 /// <param name="Driver"></param>
 public void SetDriver(string Name, IHleIoDriver Driver)
 {
     //Drivers.Add(Name, Driver);
     Drivers[Name] = Driver;
     try
     {
         Driver.IoInit();
     }
     catch (Exception Exception)
     {
         Console.Error.WriteLine(Exception);
     }
 }
Пример #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="name"></param>
 /// <param name="driver"></param>
 public void SetDriver(string name, IHleIoDriver driver)
 {
     //Console.Error.WriteLine("SetDriver: {0}", Name);
     //Drivers.Add(Name, Driver);
     Drivers[name] = driver;
     try
     {
         driver.IoInit();
     }
     catch (Exception exception)
     {
         Console.Error.WriteLine(exception);
     }
 }
Пример #3
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="Name"></param>
 /// <param name="Driver"></param>
 public void SetDriver(string Name, IHleIoDriver Driver)
 {
     //Drivers.Add(Name, Driver);
     Drivers[Name] = Driver;
     try
     {
         Driver.IoInit();
     }
     catch (Exception Exception)
     {
         Console.Error.WriteLine(Exception);
     }
 }
Пример #4
0
 public virtual int IoInit()
 {
     return(ParentDriver.IoInit());
 }