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.5.4a app/models/extface/serial_config.rb
extface-0.5.4 app/models/extface/serial_config.rb
extface-0.5.3 app/models/extface/serial_config.rb
extface-0.5.2 app/models/extface/serial_config.rb
extface-0.5.1 app/models/extface/serial_config.rb
extface-0.5.0 app/models/extface/serial_config.rb
extface-0.4.9 app/models/extface/serial_config.rb
extface-0.4.8 app/models/extface/serial_config.rb
extface-0.4.7 app/models/extface/serial_config.rb
extface-0.4.6k app/models/extface/serial_config.rb
extface-0.4.6i app/models/extface/serial_config.rb
extface-0.4.6h app/models/extface/serial_config.rb
extface-0.4.6g app/models/extface/serial_config.rb
extface-0.4.6f app/models/extface/serial_config.rb
extface-0.4.6e app/models/extface/serial_config.rb
extface-0.4.6d app/models/extface/serial_config.rb
extface-0.4.6c app/models/extface/serial_config.rb
extface-0.4.6b app/models/extface/serial_config.rb
extface-0.4.6a app/models/extface/serial_config.rb
extface-0.4.6 app/models/extface/serial_config.rb