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.4.5 app/models/extface/serial_config.rb
extface-0.4.4b app/models/extface/serial_config.rb
extface-0.4.4a app/models/extface/serial_config.rb
extface-0.4.4 app/models/extface/serial_config.rb
extface-0.4.3g app/models/extface/serial_config.rb
extface-0.4.3f app/models/extface/serial_config.rb
extface-0.4.3e app/models/extface/serial_config.rb
extface-0.4.3d app/models/extface/serial_config.rb
extface-0.4.3c app/models/extface/serial_config.rb
extface-0.4.3b app/models/extface/serial_config.rb
extface-0.4.3a app/models/extface/serial_config.rb
extface-0.4.2a app/models/extface/serial_config.rb
extface-0.4.2 app/models/extface/serial_config.rb
extface-0.4.1b app/models/extface/serial_config.rb
extface-0.4.1a app/models/extface/serial_config.rb
extface-0.4.0 app/models/extface/serial_config.rb
extface-0.3.0c app/models/extface/serial_config.rb
extface-0.3.0b app/models/extface/serial_config.rb
extface-0.3.0a app/models/extface/serial_config.rb
extface-0.3.0 app/models/extface/serial_config.rb