C# 클래스 SensorbergSDK.Beacon

파일 보기 프로젝트 열기: sensorberg-dev/windows10-sdk 1 사용 예제들

Private Properties

프로퍼티 타입 설명
CalculateDistance void
Equals bool
UpdatePid void

공개 메소드들

메소드 설명
Equals ( object obj ) : bool
GetHashCode ( ) : int
Matches ( Beacon beacon ) : bool

Compares the given beacon to this.

ToString ( ) : string

Creates a string representation of this instance consisting of ID1, ID2, ID3 and measured power.

operator ( ) : bool

비공개 메소드들

메소드 설명
CalculateDistance ( int rawSignalStrengthInDBm, int measuredPower ) : void
Equals ( Beacon other ) : bool
UpdatePid ( ) : void

Updated the beacon PID; The ID 1 (without dashes) + 5 digits ID 2 (padded with zeros) + 5 digits ID 3 (padded with zeros).

메소드 상세

Equals() 공개 메소드

public Equals ( object obj ) : bool
obj object
리턴 bool

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

Matches() 공개 메소드

Compares the given beacon to this.
public Matches ( Beacon beacon ) : bool
beacon Beacon The beacon to compare to.
리턴 bool

ToString() 공개 메소드

Creates a string representation of this instance consisting of ID1, ID2, ID3 and measured power.
public ToString ( ) : string
리턴 string

operator() 공개 정적인 메소드

public static operator ( ) : bool
리턴 bool