Sha256: fb259d8965257eb7ed2a2e36c410f4f941b3187d25d97804841349bdf2b88445

Contents?: true

Size: 308 Bytes

Versions: 75

Compression:

Stored size: 308 Bytes

Contents

module Extface
  class SerialConfig < ActiveRecord::Base
    BOUD_RATES = [2400, 4800, 9600, 19200, 38400].freeze
    DATA_LENGTHS = [7, 8].freeze
    PARITY_CHECKS = [0, 1, 2].freeze
    STOP_BITS = [1, 2].freeze
    HANDSHAKE = [0, 1, 2].freeze
    belongs_to :driver, inverse_of: :serial_config
  end
end

Version data entries

75 entries across 75 versions & 1 rubygems

Version Path
extface-0.7.3 app/models/extface/serial_config.rb
extface-0.7.2 app/models/extface/serial_config.rb
extface-0.7.1 app/models/extface/serial_config.rb
extface-0.7.0 app/models/extface/serial_config.rb
extface-0.6.9 app/models/extface/serial_config.rb
extface-0.6.8 app/models/extface/serial_config.rb
extface-0.6.7 app/models/extface/serial_config.rb
extface-0.6.6 app/models/extface/serial_config.rb
extface-0.6.5 app/models/extface/serial_config.rb
extface-0.6.4 app/models/extface/serial_config.rb
extface-0.6.3 app/models/extface/serial_config.rb
extface-0.6.2 app/models/extface/serial_config.rb
extface-0.6.1 app/models/extface/serial_config.rb
extface-0.6.0 app/models/extface/serial_config.rb
extface-0.5.9 app/models/extface/serial_config.rb
extface-0.5.8 app/models/extface/serial_config.rb
extface-0.5.7 app/models/extface/serial_config.rb
extface-0.5.6 app/models/extface/serial_config.rb
extface-0.5.5 app/models/extface/serial_config.rb
extface-0.5.4b app/models/extface/serial_config.rb