class BACnet::ObjectIdentifier

Defined in:

bacnet/objects/object_identifier.cr

Constant Summary

ENDIAN = ["big"]
KLASS_NAME = [BACnet::ObjectIdentifier]
PARTS = [{type: "bitfield", name: 2, cls: BACnet::ObjectIdentifier, onlyif: nil, verify: nil}] of Nil
REMAINING = [] of Nil

Constructors

Class Method Summary

Macro Summary

Instance Method Summary

Constructor Detail

def self.new(object_type : ObjectType, instance_number : Int) #

[View source]
def self.new #

[View source]

Class Method Detail

def self.bit_fields #

[View source]

Macro Detail

macro ba_cnet_apdu_indicator(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_bit_string(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_date(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_npdu(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_npdu_destination(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_npdu_source(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_object_identifier(name, onlyif = nil, verify = nil, value = nil) #

[View source]

Instance Method Detail

def __format__ : IO::ByteFormat #

[View source]
def inspect(io : IO) : Nil #
Description copied from class Reference

Appends a String representation of this object which includes its class name, its object address and the values of all instance variables.

class Person
  def initialize(@name : String, @age : Int32)
  end
end

Person.new("John", 32).inspect # => #<Person:0x10fd31f20 @name="John", @age=32>

[View source]
def instance_number : UInt32 #

def instance_number=(instance_number : UInt32) #


[View source]
def object_type=(object_type : UInt16) #

def object_type=(value : BACnet::ObjectIdentifier::ObjectType) #

[View source]