Documentation ¶
Index ¶
- func GetNumberOfFixtures(sequenceNumber int, fixtures *fixture.Fixtures) int
- func ListenCommandChannelAndWait(mySequenceNumber int, currentSpeed time.Duration, sequence common.Sequence, ...) common.Sequence
- func LoadSwitchConfiguration(mySequenceNumber int, fixturesConfig *fixture.Fixtures) map[int]common.Switch
- func SetAvalableFixtures(fixturesConfig *fixture.Fixtures) []common.StaticColorButton
- func SetSpeed(commandSpeed int) (Speed time.Duration)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetNumberOfFixtures ¶
func ListenCommandChannelAndWait ¶
func ListenCommandChannelAndWait(mySequenceNumber int, currentSpeed time.Duration, sequence common.Sequence, channels common.Channels, fixturesConfig *fixture.Fixtures) common.Sequence
listenCommandChannelAndWait listens on channel for instructions or timeout and go to next step of sequence.
func LoadSwitchConfiguration ¶
func SetAvalableFixtures ¶
func SetAvalableFixtures(fixturesConfig *fixture.Fixtures) []common.StaticColorButton
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.