DirectOutput
DirectOutput framework R3 for virtual pinball cabinets.
Loading...
Searching...
No Matches
DirectOutput.LedControl.Loader.TableConfigSetting Class Reference

A single setting from a LedControl.ini file. More...

Collaboration diagram for DirectOutput.LedControl.Loader.TableConfigSetting:

Public Member Functions

void ParseSettingData (string SettingData)
 Parses the setting data.

 TableConfigSetting (string SettingData)
 Initializes a new instance of the TableConfigSetting class. Parses the setting data.

 TableConfigSetting ()
 Initializes a new instance of the TableConfigSetting class.

Public Attributes

string TableElement = null
 The table element triggering the effect (if available)
string Condition = null
 The condition if available.
int BlinkLow
int AreaLeft = 0
int AreaTop = 0
int AreaWidth = 100
int AreaHeight = 100
int AreaSpeed = 100
int AreaAcceleration = 0
int AreaFlickerDensity = 0
int AreaFlickerMinDurationMs = 0
int AreaFlickerMaxDurationMs = 0
int AreaFlickerFadeDurationMs = 0
MatrixShiftDirectionEnumAreaDirection = null
bool IsArea = false
bool IsBitmap = false
int AreaBitmapTop = 0
int AreaBitmapLeft = 0
int AreaBitmapWidth = -1
int AreaBitmapHeight = -1
int AreaBitmapFrame = 0
int AreaBitmapAnimationStepSize = 1
int AreaBitmapAnimationStepCount = 0
int AreaBitmapAnimationFrameDuration = 30
MatrixAnimationStepDirectionEnum AreaBitmapAnimationDirection = MatrixAnimationStepDirectionEnum.Frame
AnimationBehaviourEnum AreaBitmapAnimationBehaviour = AnimationBehaviourEnum.Loop
string ShapeName =null
bool IsPlasma = false
int PlasmaSpeed = 100
int PlasmaDensity = 100
string ColorName2 = ""
ColorConfig ColorConfig2 = null

Properties

OutputControlEnum OutputControl [get, set]
 Defines the control mode for a output. It can be constantly on, off or it can be controlled by a element of a pinball table.
string ColorName [get, set]
 Gets or sets the name of the color of the setting.
This should only be set for RGB outputs.
ColorConfig ColorConfig [get, set]
 Gets or sets the color config.
OutputTypeEnum OutputType [get]
 Gets the type of the output.
The value of this property depends on the value of the ColorName property.
int DurationMs [get, set]
 Gets or sets the duration in milliseconds.
int MinDurationMs [get, set]
 Gets or sets the minimum duration in milliseconds.
int MaxDurationMs [get, set]
 Gets or sets the max duration for the effect in milliseconds.
int ExtDurationMs [get, set]
 Gets or sets the extended duration for the effect in milliseconds.
int Intensity [get, set]
 Gets or sets the intensity.
If the property ColorName is set, this property will always return -1.
int FadingUpDurationMs [get, set]
 Gets or sets the duration for fading up in milliseconds.
int FadingDownDurationMs [get, set]
 Gets or sets the duration for fading down in milliseconds.
int Blink [get, set]
 Gets or sets the number blinks.
int BlinkIntervalMs [get, set]
 Gets or sets the blink interval in milliseconds.
int BlinkIntervalMsNested [get, set]
 Gets or sets the blink interval in milliseconds for nested blinking.
int BlinkPulseWidthNested [get, set]
 Gets or sets the width of the blink pulse for nested blinking. Value must be between 1 and 99 (defaults to 50).
int BlinkPulseWidth [get, set]
 Gets or sets the width of the blink pulse. Value must be between 1 and 99 (defaults to 50).
bool Invert [get, set]
 Gets or sets a value indicating whether the trigger value for the effect is inverted.
bool NoBool [get, set]
 Indicates the the trigger value of the effect is not to be treated as a boolean value resp. that the value should not be mapped to 0 or 255 (255 for all values which are not 0).
int WaitDurationMs [get, set]
 Gets or sets the wait duration before the effect is triggered.
int? Layer [get, set]
 Gets or sets the layer for the settings.

Detailed Description

A single setting from a LedControl.ini file.

Constructor & Destructor Documentation

◆ TableConfigSetting() [1/2]

DirectOutput.LedControl.Loader.TableConfigSetting.TableConfigSetting ( string SettingData)

Initializes a new instance of the TableConfigSetting class. Parses the setting data.

Parameters
SettingDataThe setting data.
Exceptions
System.ExceptionNo data to parse.
or
Cant parse the part {0} of the ledcontrol table config setting {1}.

◆ TableConfigSetting() [2/2]

DirectOutput.LedControl.Loader.TableConfigSetting.TableConfigSetting ( )

Initializes a new instance of the TableConfigSetting class.

Member Function Documentation

◆ ParseSettingData()

void DirectOutput.LedControl.Loader.TableConfigSetting.ParseSettingData ( string SettingData)

Parses the setting data.

Parameters
SettingDataThe setting data.
Exceptions
System.ExceptionNo data to parse. or Cant parse the part {0} of the ledcontrol table config setting {1}..

Member Data Documentation

◆ AreaAcceleration

int DirectOutput.LedControl.Loader.TableConfigSetting.AreaAcceleration = 0

◆ AreaBitmapAnimationBehaviour

AnimationBehaviourEnum DirectOutput.LedControl.Loader.TableConfigSetting.AreaBitmapAnimationBehaviour = AnimationBehaviourEnum.Loop

◆ AreaBitmapAnimationDirection

MatrixAnimationStepDirectionEnum DirectOutput.LedControl.Loader.TableConfigSetting.AreaBitmapAnimationDirection = MatrixAnimationStepDirectionEnum.Frame

◆ AreaBitmapAnimationFrameDuration

int DirectOutput.LedControl.Loader.TableConfigSetting.AreaBitmapAnimationFrameDuration = 30

◆ AreaBitmapAnimationStepCount

int DirectOutput.LedControl.Loader.TableConfigSetting.AreaBitmapAnimationStepCount = 0

◆ AreaBitmapAnimationStepSize

int DirectOutput.LedControl.Loader.TableConfigSetting.AreaBitmapAnimationStepSize = 1

◆ AreaBitmapFrame

int DirectOutput.LedControl.Loader.TableConfigSetting.AreaBitmapFrame = 0

◆ AreaBitmapHeight

int DirectOutput.LedControl.Loader.TableConfigSetting.AreaBitmapHeight = -1

◆ AreaBitmapLeft

int DirectOutput.LedControl.Loader.TableConfigSetting.AreaBitmapLeft = 0

◆ AreaBitmapTop

int DirectOutput.LedControl.Loader.TableConfigSetting.AreaBitmapTop = 0

◆ AreaBitmapWidth

int DirectOutput.LedControl.Loader.TableConfigSetting.AreaBitmapWidth = -1

◆ AreaDirection

MatrixShiftDirectionEnum? DirectOutput.LedControl.Loader.TableConfigSetting.AreaDirection = null

◆ AreaFlickerDensity

int DirectOutput.LedControl.Loader.TableConfigSetting.AreaFlickerDensity = 0

◆ AreaFlickerFadeDurationMs

int DirectOutput.LedControl.Loader.TableConfigSetting.AreaFlickerFadeDurationMs = 0

◆ AreaFlickerMaxDurationMs

int DirectOutput.LedControl.Loader.TableConfigSetting.AreaFlickerMaxDurationMs = 0

◆ AreaFlickerMinDurationMs

int DirectOutput.LedControl.Loader.TableConfigSetting.AreaFlickerMinDurationMs = 0

◆ AreaHeight

int DirectOutput.LedControl.Loader.TableConfigSetting.AreaHeight = 100

◆ AreaLeft

int DirectOutput.LedControl.Loader.TableConfigSetting.AreaLeft = 0

◆ AreaSpeed

int DirectOutput.LedControl.Loader.TableConfigSetting.AreaSpeed = 100

◆ AreaTop

int DirectOutput.LedControl.Loader.TableConfigSetting.AreaTop = 0

◆ AreaWidth

int DirectOutput.LedControl.Loader.TableConfigSetting.AreaWidth = 100

◆ BlinkLow

int DirectOutput.LedControl.Loader.TableConfigSetting.BlinkLow

◆ ColorConfig2

ColorConfig DirectOutput.LedControl.Loader.TableConfigSetting.ColorConfig2 = null

◆ ColorName2

string DirectOutput.LedControl.Loader.TableConfigSetting.ColorName2 = ""

◆ Condition

string DirectOutput.LedControl.Loader.TableConfigSetting.Condition = null

The condition if available.

◆ IsArea

bool DirectOutput.LedControl.Loader.TableConfigSetting.IsArea = false

◆ IsBitmap

bool DirectOutput.LedControl.Loader.TableConfigSetting.IsBitmap = false

◆ IsPlasma

bool DirectOutput.LedControl.Loader.TableConfigSetting.IsPlasma = false

◆ PlasmaDensity

int DirectOutput.LedControl.Loader.TableConfigSetting.PlasmaDensity = 100

◆ PlasmaSpeed

int DirectOutput.LedControl.Loader.TableConfigSetting.PlasmaSpeed = 100

◆ ShapeName

string DirectOutput.LedControl.Loader.TableConfigSetting.ShapeName =null

◆ TableElement

string DirectOutput.LedControl.Loader.TableConfigSetting.TableElement = null

The table element triggering the effect (if available)

Property Documentation

◆ Blink

int DirectOutput.LedControl.Loader.TableConfigSetting.Blink
getset

Gets or sets the number blinks.

The number of blinks. -1 means infinite number of blinks.

◆ BlinkIntervalMs

int DirectOutput.LedControl.Loader.TableConfigSetting.BlinkIntervalMs
getset

Gets or sets the blink interval in milliseconds.

The blink interval in milliseconds.

◆ BlinkIntervalMsNested

int DirectOutput.LedControl.Loader.TableConfigSetting.BlinkIntervalMsNested
getset

Gets or sets the blink interval in milliseconds for nested blinking.

The blink interval in milliseconds for nested blinking.

◆ BlinkPulseWidth

int DirectOutput.LedControl.Loader.TableConfigSetting.BlinkPulseWidth
getset

Gets or sets the width of the blink pulse. Value must be between 1 and 99 (defaults to 50).

The width of the blink pulse.

◆ BlinkPulseWidthNested

int DirectOutput.LedControl.Loader.TableConfigSetting.BlinkPulseWidthNested
getset

Gets or sets the width of the blink pulse for nested blinking. Value must be between 1 and 99 (defaults to 50).

The width of the blink pulse for nested blinking.

◆ ColorConfig

ColorConfig DirectOutput.LedControl.Loader.TableConfigSetting.ColorConfig
getset

Gets or sets the color config.

The color config.

◆ ColorName

string DirectOutput.LedControl.Loader.TableConfigSetting.ColorName
getset

Gets or sets the name of the color of the setting.
This should only be set for RGB outputs.

The name of the color as specified in the color section of the Ledcontrol.ini file.

◆ DurationMs

int DirectOutput.LedControl.Loader.TableConfigSetting.DurationMs
getset

Gets or sets the duration in milliseconds.

The duration in milliseconds.

◆ ExtDurationMs

int DirectOutput.LedControl.Loader.TableConfigSetting.ExtDurationMs
getset

Gets or sets the extended duration for the effect in milliseconds.

The extended duration of the effect in milliseconds.

◆ FadingDownDurationMs

int DirectOutput.LedControl.Loader.TableConfigSetting.FadingDownDurationMs
getset

Gets or sets the duration for fading down in milliseconds.

The duration of the fading in milliseconds.

◆ FadingUpDurationMs

int DirectOutput.LedControl.Loader.TableConfigSetting.FadingUpDurationMs
getset

Gets or sets the duration for fading up in milliseconds.

The duration of the fading in milliseconds.

◆ Intensity

int DirectOutput.LedControl.Loader.TableConfigSetting.Intensity
getset

Gets or sets the intensity.
If the property ColorName is set, this property will always return -1.

The intensity.

◆ Invert

bool DirectOutput.LedControl.Loader.TableConfigSetting.Invert
getset

Gets or sets a value indicating whether the trigger value for the effect is inverted.

true if invert; otherwise, false.

◆ Layer

int? DirectOutput.LedControl.Loader.TableConfigSetting.Layer
getset

Gets or sets the layer for the settings.

The layer for the settings.

◆ MaxDurationMs

int DirectOutput.LedControl.Loader.TableConfigSetting.MaxDurationMs
getset

Gets or sets the max duration for the effect in milliseconds.

The max duration of the effect in milliseconds.

◆ MinDurationMs

int DirectOutput.LedControl.Loader.TableConfigSetting.MinDurationMs
getset

Gets or sets the minimum duration in milliseconds.

The minimum duration in milliseconds.

◆ NoBool

bool DirectOutput.LedControl.Loader.TableConfigSetting.NoBool
getset

Indicates the the trigger value of the effect is not to be treated as a boolean value resp. that the value should not be mapped to 0 or 255 (255 for all values which are not 0).

true if [no bool]; otherwise, false.

◆ OutputControl

OutputControlEnum DirectOutput.LedControl.Loader.TableConfigSetting.OutputControl
getset

Defines the control mode for a output. It can be constantly on, off or it can be controlled by a element of a pinball table.

The output control enum value.

◆ OutputType

OutputTypeEnum DirectOutput.LedControl.Loader.TableConfigSetting.OutputType
get

Gets the type of the output.
The value of this property depends on the value of the ColorName property.

The type of the output.

◆ WaitDurationMs

int DirectOutput.LedControl.Loader.TableConfigSetting.WaitDurationMs
getset

Gets or sets the wait duration before the effect is triggered.

The wait duration in milliseconds


The documentation for this class was generated from the following file: