/// <summary>
 /// This function removes all previous device drivers for the projector
 /// serial ports, it will then re-create the drivers, configure them, and
 /// add them to the device interface for later use.
 /// </summary>
 private void RegenProjectorSerialPorts()
 {
     // this will remove all projector device drivers.
     UVDLPApp.Instance().m_deviceinterface.RemoveAllProjDrivers();
     foreach (MonitorConfig mc in UVDLPApp.Instance().m_printerinfo.m_lstMonitorconfigs)
     {
         //check to see if we're recreatiung the port
         if (mc.m_displayconnectionenabled == true)
         {
             DeviceDriver dev = DriverFactory.Create(eDriverType.eGENERIC);
             dev.Configure(mc.m_displayconnection);
             UVDLPApp.Instance().m_deviceinterface.AddDriver(dev);
         }
     }
 }
예제 #2
0
 public void Configure(ConnectionConfig cc)
 {
     Driver.Configure(cc);
 }
 public void ConfigureProjector(ConnectionConfig cc)
 {
     DriverProjector.Configure(cc);
 }