Beispiel #1
0
 void Init(DataTable t)
 {
     Id          = t.GetInt("id");
     Name        = t.GetStr("name");
     DriverPath  = t.GetStr("driver_path");
     DriverIndex = t.GetInt("driver_index");
     tvp         = new TvProcess(DriverId, DriverPath);
 }
Beispiel #2
0
 public Tuner(string name, string driverPath)
 {
     Id          = -1;
     Name        = name;
     DriverPath  = driverPath;
     DriverIndex = 0;
     tvp         = new TvProcess(DriverId, DriverPath);
 }