C# Class Animatroller.Framework.Import.HighLevelImporter2

Inheritance: BaseImporter2
Datei anzeigen Open project: HakanL/animatroller

Protected Properties

Property Type Description
channelEffectsPerChannel IList>.Dictionary
devices List
lockObject object
timeline Timeline2

Public Methods

Method Description
ControlDevice ( IReceivesBrightness device ) : void
Dump ( ) : void
HighLevelImporter2 ( string name, int priority ) : System
ListUnmappedChannels ( ) : void
MapDevice ( string channelName, IReceivesBrightness device ) : void
MapDeviceRGB ( string channelNameR, string channelNameG, string channelNameB, IReceivesColor device ) : void
MapDeviceRGBW ( string channelNameR, string channelNameG, string channelNameB, string channelNameW, IReceivesColor device ) : void
Prepare ( ) : void
Start ( long offsetMs, System.TimeSpan duration = null ) : System.Threading.Tasks.Task
Stop ( ) : void

Protected Methods

Method Description
ConnectTo ( IReceivesBrightness device ) : DeviceController
ConnectTo ( IReceivesColor device ) : DeviceController
PopulateTimeline ( ) : void

Private Methods

Method Description
AddEffectData ( IChannelIdentity channelIdentity, IEnumerable devices, ChannelEffectInstance deviceType ) : void

Method Details

ConnectTo() protected method

protected ConnectTo ( IReceivesBrightness device ) : DeviceController
device IReceivesBrightness
return DeviceController

ConnectTo() protected method

protected ConnectTo ( IReceivesColor device ) : DeviceController
device IReceivesColor
return DeviceController

ControlDevice() public method

public ControlDevice ( IReceivesBrightness device ) : void
device IReceivesBrightness
return void

Dump() public method

public Dump ( ) : void
return void

HighLevelImporter2() public method

public HighLevelImporter2 ( string name, int priority ) : System
name string
priority int
return System

ListUnmappedChannels() public method

public ListUnmappedChannels ( ) : void
return void

MapDevice() public method

public MapDevice ( string channelName, IReceivesBrightness device ) : void
channelName string
device IReceivesBrightness
return void

MapDeviceRGB() public method

public MapDeviceRGB ( string channelNameR, string channelNameG, string channelNameB, IReceivesColor device ) : void
channelNameR string
channelNameG string
channelNameB string
device IReceivesColor
return void

MapDeviceRGBW() public method

public MapDeviceRGBW ( string channelNameR, string channelNameG, string channelNameB, string channelNameW, IReceivesColor device ) : void
channelNameR string
channelNameG string
channelNameB string
channelNameW string
device IReceivesColor
return void

PopulateTimeline() protected method

protected PopulateTimeline ( ) : void
return void

Prepare() public method

public Prepare ( ) : void
return void

Start() public method

public Start ( long offsetMs, System.TimeSpan duration = null ) : System.Threading.Tasks.Task
offsetMs long
duration System.TimeSpan
return System.Threading.Tasks.Task

Stop() public method

public Stop ( ) : void
return void

Property Details

channelEffectsPerChannel protected_oe property

protected Dictionary> channelEffectsPerChannel
return IList>.Dictionary

devices protected_oe property

protected List devices
return List

lockObject protected_oe property

protected object lockObject
return object

timeline protected_oe property

protected Timeline2 timeline
return Timeline2