class DynarexEvents

Attributes

to_a[R]

Public Class Methods

new(dxfile=nil, sps_address: 'sps', sps_port: '59000', \ log: nil, time_offset: 0) click to toggle source
Calls superclass method
# File lib/dynarex-events.rb, line 13
def initialize(dxfile=nil, sps_address: 'sps', sps_port: '59000',  \
    log: nil, time_offset: 0)
  
  super(dxfile, sps_address: sps_address, sps_port: sps_port,  \
    log: log, time_offset: time_offset, logtopic: 'DynarexEvents')

end

Public Instance Methods

load_entries(dx) click to toggle source
# File lib/dynarex-events.rb, line 21
def load_entries(dx)
  
  @entries = dx.to_h
  @cron_entries = self.to_a

end