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.2.5 app/models/extface/serial_config.rb
extface-0.2.4 app/models/extface/serial_config.rb
extface-0.2.3 app/models/extface/serial_config.rb
extface-0.2.2 app/models/extface/serial_config.rb
extface-0.2.1 app/models/extface/serial_config.rb
extface-0.2.0 app/models/extface/serial_config.rb
extface-0.1.9 app/models/extface/serial_config.rb
extface-0.1.8 app/models/extface/serial_config.rb
extface-0.1.7 app/models/extface/serial_config.rb
extface-0.1.6 app/models/extface/serial_config.rb
extface-0.1.5 app/models/extface/serial_config.rb
extface-0.1.4 app/models/extface/serial_config.rb
extface-0.1.3 app/models/extface/serial_config.rb
extface-0.1.2 app/models/extface/serial_config.rb
extface-0.1.1 app/models/extface/serial_config.rb