Esempio n. 1
0
        public override DcsOutputAndColorBinding CreateDcsOutputAndColorBinding(SaitekPanelLEDPosition saitekPanelLEDPosition, PanelLEDColor panelLEDColor, DCSBIOSOutput dcsBiosOutput)
        {
            var dcsOutputAndColorBinding = new DcsOutputAndColorBindingBIP {
                DCSBiosOutputLED = dcsBiosOutput, LEDColor = panelLEDColor, SaitekLEDPosition = saitekPanelLEDPosition
            };

            return(dcsOutputAndColorBinding);
        }
Esempio n. 2
0
        public override DcsOutputAndColorBinding CreateDcsOutputAndColorBinding(SaitekPanelLEDPosition saitekPanelLEDPosition, PanelLEDColor panelLEDColor, DCSBIOSOutput dcsBiosOutput)
        {
            var dcsOutputAndColorBinding = new DcsOutputAndColorBindingPZ55();

            dcsOutputAndColorBinding.DCSBiosOutputLED  = dcsBiosOutput;
            dcsOutputAndColorBinding.LEDColor          = panelLEDColor;
            dcsOutputAndColorBinding.SaitekLEDPosition = saitekPanelLEDPosition;
            return(dcsOutputAndColorBinding);
        }
Esempio n. 3
0
 public void LedLightChanged(string uniqueId, SaitekPanelLEDPosition saitekPanelLEDPosition, PanelLEDColor panelLEDColor)
 {
     try
     {
         //todo
     }
     catch (Exception ex)
     {
         Common.ShowErrorMessageBox(2012, ex);
     }
 }
 public LEDConfigsWindow(string description, SaitekPanelLEDPosition saitekPanelLEDPosition, List <DcsOutputAndColorBinding> colorOutputBindings, SaitekPanel callingPanel)
 {
     InitializeComponent();
     _saitekPanelLEDPosition = saitekPanelLEDPosition;
     _callingPanel           = callingPanel;
     if (colorOutputBindings != null)
     {
         _colorOutputBindings = colorOutputBindings;
     }
     _description = description;
     ShowItems();
 }
 public void LedLightChanged(string uniqueId, SaitekPanelLEDPosition saitekPanelLEDPosition, PanelLEDColor panelLEDColor)
 {
     try
     {
         if (!_loaded)
         {
             return;
         }
         Dispatcher.BeginInvoke((Action)(ShowGraphicConfiguration));
     }
     catch (Exception ex)
     {
         Common.ShowErrorMessageBox(2033, ex);
     }
 }
Esempio n. 6
0
 public DcsOutputAndColorBinding CreateDcsOutputAndColorBinding(SaitekPanelLEDPosition saitekPanelLEDPosition, PanelLEDColor panelLEDColor, DCSBIOSOutput dcsBiosOutput)
 {
     return(null);
 }
 public abstract DcsOutputAndColorBinding CreateDcsOutputAndColorBinding(SaitekPanelLEDPosition saitekPanelLEDPosition, PanelLEDColor panelLEDColor, DCSBIOSOutput dcsBiosOutput);
 public static void LedLightChanged(object sender, string hidInstance, SaitekPanelLEDPosition saitekPanelLEDPosition, PanelLEDColor panelLEDColor)
 {
     OnLedLightChangedA?.Invoke(sender, new LedLightChangeEventArgs {
         HIDInstance = hidInstance, LEDPosition = saitekPanelLEDPosition, LEDColor = panelLEDColor
     });
 }