Collection of information about a device type
This class represents information about the implementation of the iDevice interface, like RS422 or DigitalInput. VIBSystem::GetDeviceInfo() and VIBSystem::DeviceInfoList use this type to store the information.
◆ DeviceInfo() [1/2]
Creates an instance of DeviceInfo.
- Parameters
-
Type | Type of device. |
Number | Number of entities of the device. |
◆ DeviceInfo() [2/2]
VIB_NET::DeviceInfo::DeviceInfo |
( |
DeviceInfo ^ |
Obj | ) |
|
Creates an copy of a DeviceInfo.
- Parameters
-
◆ CompareTo()
Compares two instances of DeviceInfo.
- Parameters
-
otherDevice | Another instance of DeviceInfo |
- Returns
- 0: types of both instances are equal.
-1: type of the main instance is lower than the type of the other instance.
1: type of the main instance is higher than the type of the other instance.
◆ Equals()
Test two instances of DeviceInfo on equality.
- Parameters
-
otherDevice | Another instance of DeviceInfo |
- Returns
- true: types of both instances are equal.
false: types of both instances are different.
◆ NumberOfEntities
VIB_NET::DeviceInfo::NumberOfEntities |
|
get |
Number of entities of this device
- Returns
- Number of entities
◆ Type
VIB_NET::DeviceInfo::Type |
|
get |
Returns the device type.
- Returns
- Type of device.