2 using System.Collections.Generic;
14 #region IAutoConfigOutputController Member
27 PacDrive PD =
new PacDrive();
32 Log.
Write(
"Detected and added PacDrive");
40 LWE.
Name =
"{0} Equivalent".Build(PD.
Name);
41 for (
int i = 1; i <= 16; i++)
47 if (!Cabinet.
Toys.Contains(LWE.
Name))
49 Cabinet.
Toys.Add(LWE);
The Cabinet object describes the parts of a pinball cabinet (toys, outputcontrollers, outputs and more).
new string Name
Name of the IOutputController. This property is fully implemented in the abstract OutputControllerBas...
Interface for classes used to automatically detect and configure output controllers ...
The namespace DirectOutput.Cab.Toys contains all toy related classes.
LedWizEquivalentOutputList Outputs
Gets or sets the outputs of the LedWizEquivalent toy.
Detectes and configures a PacDrive unit.
Singleton version of the PacDrive class found in the PacDrive SDK.
DirectOutput.Cab.Toys.ToyList Toys
List of IToy objects describing the toys in the cabinet.
static void Write(string Message)
Writes the specified message to the logfile.
A simple logger used to record important events and exceptions.
Out.OutputControllerList OutputControllers
List of IOutputController objects representing the output controllers in the cabinet.
The namespace DirectOutput.Cab contains all cabinet related classes like the Cabinet class itself...
The PacDrive is a simple output controller with 16 digital/on off outputs.
void AutoConfig(Cabinet Cabinet)
This method detects and configures a PacDrive output controller.
The LEDWizEquivalent toy is only used by the framework when ini files are used for the configuration ...
int LedWizNumber
Gets or sets the number of the virtual LedWiz resp. ini file to be matched with the LedWizEquivalentT...
new string Name
Gets or sets the Name of the IToy.
int PacDriveGetIndex()
Gets the Ids of the first PacDrive controller which is connected to the system.
LEDWizEquivalentOutput is the output object for the LedWizEquivalent IToy.
static PacDriveSingleton Instance