C# Class Netronics.Ant.QueenAnt.Network

Show file Open project: shlee322/Netronics

Public Properties

Property Type Description
Mask byte[]
Service1 string
Service1Id int
Service2 string
Service2Id int
Subnet byte[]

Public Methods

Method Description
Check ( Ant ant ) : bool
Check ( byte address ) : bool
GetAddress ( Ant ant ) : IEnumerable
Network ( string service1, string service2, byte subnet, byte mask ) : System

Private Methods

Method Description
ByteArrayCompare ( byte array1, byte array2 ) : bool

Method Details

Check() public method

public Check ( Ant ant ) : bool
ant Ant
return bool

Check() public method

public Check ( byte address ) : bool
address byte
return bool

GetAddress() public method

public GetAddress ( Ant ant ) : IEnumerable
ant Ant
return IEnumerable

Network() public method

public Network ( string service1, string service2, byte subnet, byte mask ) : System
service1 string
service2 string
subnet byte
mask byte
return System

Property Details

Mask public property

public byte[] Mask
return byte[]

Service1 public property

public string Service1
return string

Service1Id public property

public int Service1Id
return int

Service2 public property

public string Service2
return string

Service2Id public property

public int Service2Id
return int

Subnet public property

public byte[] Subnet
return byte[]