2 using System.Collections.Generic;
6 namespace DirectOutput.Cab.Toys.LWEquivalent
27 get {
return _Outputs; }
28 set { _Outputs = value; }
31 private int _LedWizNumber=-1;
39 public int LedWizNumber
41 get {
return _LedWizNumber; }
42 set { _LedWizNumber = value; }
53 Outputs.
Init(Cabinet);
59 public override void Reset()
67 public override void Finish()
83 this.LedWizNumber = LedWiz.Number;
84 this.Name =
"LedWizEquivalent {0}".Build(LedWiz.Number);
85 foreach (DirectOutput.Cab.Out.IOutput O in LedWiz.Outputs)
87 Outputs.Add(
new LedWizEquivalentOutput() {OutputName=
"{0}\\{1}".Build(LedWiz.Name,O.Name),LedWizEquivalentOutputNumber=((DirectOutput.Cab.Out.LW.LedWizOutput)O).LedWizOutputNumber});