C# Класс SensorbergSDK.Beacon

Показать файл Открыть проект Примеры использования класса

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