2 using System.Collections.Generic;
5 using DirectOutput.Cab.Toys.LWEquivalent;
6 using DirectOutput.Cab.Toys;
8 namespace DirectOutput.Cab.Out.LW
15 #region IAutoConfigOutputController Member
25 List<int> Preconfigured =
new List<int>(Cabinet.
OutputControllers.Where(OC => OC is
LedWiz).Select(LW => ((LedWiz)LW).Number));
26 List<int> Numbers = LedWiz.GetLedwizNumbers();
27 foreach (
int N
in Numbers)
29 if (!Preconfigured.Contains(N))
36 Log.
Write(
"Detected and added LedWiz Nr. {0} with name {1}".Build(LW.
Number, LW.
Name));
43 LWE.
Name =
"{0} Equivalent".Build(LW.
Name);
45 for (
int i = 1; i < 33; i++)