C# 클래스 BACnet.Core.Datalink.Mac

파일 보기 프로젝트 열기: LorenVS/bacstack 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Broadcast Mac

공개 메소드들

메소드 설명
Equals ( object obj ) : bool

Tests to see if this object equals another

GetHashCode ( ) : int

Computes a hash code for the mac address

IsBroadcast ( ) : bool

Checks to see if this mac address contains a broadcast address

Mac ( byte bytes, bool copy = true ) : System

Constructs a new mac address instance

Mac ( byte bytes, int offset, int length ) : System

Constructs a new mac address instance by copying bytes from a buffer

operator ( ) : bool

Compares two mac addresses for inequality

this ( int index ) : byte

Retrieves the index-th byte of the mac address

메소드 상세

Equals() 공개 메소드

Tests to see if this object equals another
public Equals ( object obj ) : bool
obj object The object to compare this object with
리턴 bool

GetHashCode() 공개 메소드

Computes a hash code for the mac address
public GetHashCode ( ) : int
리턴 int

IsBroadcast() 공개 메소드

Checks to see if this mac address contains a broadcast address
public IsBroadcast ( ) : bool
리턴 bool

Mac() 공개 메소드

Constructs a new mac address instance
public Mac ( byte bytes, bool copy = true ) : System
bytes byte The bytes of the mac address
copy bool True if the bytes must be copied to a new array, false otherwise
리턴 System

Mac() 공개 메소드

Constructs a new mac address instance by copying bytes from a buffer
public Mac ( byte bytes, int offset, int length ) : System
bytes byte The buffer containing the bytes to copy
offset int The offset of the mac address bytes
length int The length of the mac address bytes
리턴 System

operator() 공개 정적인 메소드

Compares two mac addresses for inequality
public static operator ( ) : bool
리턴 bool

this() 공개 메소드

Retrieves the index-th byte of the mac address
public this ( int index ) : byte
index int The index of the byte to retrieve
리턴 byte

프로퍼티 상세

Broadcast 공개적으로 정적으로 프로퍼티

Shared instance of the broadcast mac
public static Mac,BACnet.Core.Datalink Broadcast
리턴 Mac