Module: RSMP::TLC::Modules::StartupSequence

Included in:
TrafficController
Defined in:
lib/rsmp/tlc/modules/startup_sequence.rb

Overview

Startup sequence management

Instance Method Summary collapse

Instance Method Details

#end_startup_sequenceObject



16
17
18
# File 'lib/rsmp/tlc/modules/startup_sequence.rb', line 16

def end_startup_sequence
  @startup_sequence.stop
end

#initiate_startup_sequenceObject



10
11
12
13
14
# File 'lib/rsmp/tlc/modules/startup_sequence.rb', line 10

def initiate_startup_sequence
  log 'Initiating startup sequence', level: :info
  reset_modes
  @startup_sequence.start
end

#startup_stateObject



6
7
8
# File 'lib/rsmp/tlc/modules/startup_sequence.rb', line 6

def startup_state
  @startup_sequence.current_state
end