C# Class BACnet.Core.Network.Address

Datei anzeigen Open project: LorenVS/bacstack Class Usage Examples

Public Properties

Property Type Description
DirectlyConnectedBroadcast Address
GlobalBroadcast Address

Public Methods

Method Description
Address ( ushort network, Mac mac ) : System

Constructs a new address instance

Equals ( object obj ) : bool

Checks to see if this object is equal to another

GetHashCode ( ) : int

Retrieves a hashcode suitable for this object

IsDirectedlyConnectedBroadcast ( ) : bool

Determines whether this address is a directly connected broadcast address

IsGlobalBroadcast ( ) : bool

Determines whether this address is a global broadcast address

operator ( ) : bool

Compares two addresses to determine if they are inequal

Method Details

Address() public method

Constructs a new address instance
public Address ( ushort network, Mac mac ) : System
network ushort The network number of the address
mac BACnet.Core.Datalink.Mac The mac address of the address
return System

Equals() public method

Checks to see if this object is equal to another
public Equals ( object obj ) : bool
obj object The object to compare to
return bool

GetHashCode() public method

Retrieves a hashcode suitable for this object
public GetHashCode ( ) : int
return int

IsDirectedlyConnectedBroadcast() public method

Determines whether this address is a directly connected broadcast address
public IsDirectedlyConnectedBroadcast ( ) : bool
return bool

IsGlobalBroadcast() public method

Determines whether this address is a global broadcast address
public IsGlobalBroadcast ( ) : bool
return bool

operator() public static method

Compares two addresses to determine if they are inequal
public static operator ( ) : bool
return bool

Property Details

DirectlyConnectedBroadcast public_oe static_oe property

Shared address instance that represents a broadcast on all directly connected networks, without being a global broadcast
public static Address,BACnet.Core.Network DirectlyConnectedBroadcast
return Address

GlobalBroadcast public_oe static_oe property

Shared global broadcast instance
public static Address,BACnet.Core.Network GlobalBroadcast
return Address