Sha256: 23de2c800ececb1a7c600eb95a3c9bfe31a4a2c26ac2e3f7dbbf3829d418019e
Contents?: true
Size: 897 Bytes
Versions: 64
Compression:
Stored size: 897 Bytes
Contents
# encoding: ascii-8bit # Copyright 2014 Ball Aerospace & Technologies Corp. # All Rights Reserved. # # This program is free software; you can modify and/or redistribute it # under the terms of the GNU General Public License # as published by the Free Software Foundation; version 3 with # attribution addendums as found in the LICENSE.txt require 'cosmos/conversions/conversion' module Cosmos # Converts the packet received count as a derived telemetry item class ReceivedCountConversion < Conversion # Initializes converted_type to :UINT and converted_bit_size to 32 def initialize super() @converted_type = :UINT @converted_bit_size = 32 end # @param (see Conversion#call) # @return [Integer] packet.received_count def call(value, packet, buffer) packet.received_count end end # class ReceivedCountConversion end # module Cosmos
Version data entries
64 entries across 64 versions & 1 rubygems