Class GenICamSourceInfo
GenICam source information.
Implements
Inherited Members
Namespace: VisioForge.Core.Types.X.Sources
Assembly: VisioForge.Core.dll
Syntax
public class GenICamSourceInfo : IComparable
Properties
Address
Gets or sets the address.
Declaration
public string Address { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The address. |
FrameRateRange
Gets the frame rate range.
Declaration
public Tuple<double, double> FrameRateRange { get; }
Property Value
| Type | Description |
|---|---|
| Tuple<double, double> | The frame rate range. |
HeightRange
Gets the height range and increment.
Declaration
public Tuple<int, int, int> HeightRange { get; }
Property Value
| Type | Description |
|---|---|
| Tuple<int, int, int> | The height range and increment. |
ManufacturerInfo
Gets or sets the manufacturer information.
Declaration
public string ManufacturerInfo { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The manufacturer information. |
Model
Gets or sets the model.
Declaration
public string Model { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The model. |
Name
Gets or sets the name of the source.
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The name of the source. |
PhysicalID
Gets or sets the physical identifier.
Declaration
public string PhysicalID { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The physical identifier. |
PixelFormats
Gets the pixel formats.
Declaration
public GenICamPixelFormat[] PixelFormats { get; }
Property Value
| Type | Description |
|---|---|
| GenICamPixelFormat[] | The pixel formats. |
Protocol
Gets or sets the protocol.
Declaration
public string Protocol { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The protocol. |
SensorSize
Gets the size of the sensor. Call the ReadInfo method first.
Declaration
public Size SensorSize { get; }
Property Value
| Type | Description |
|---|---|
| Size | The size of the sensor. |
SerialNumber
Gets or sets the serial number.
Declaration
public string SerialNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The serial number. |
URL
Gets or sets the URL.
Declaration
public string URL { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The URL. |
Vendor
Gets or sets the vendor.
Declaration
public string Vendor { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The vendor. |
WidthRange
Gets the width range and increment.
Declaration
public Tuple<int, int, int> WidthRange { get; }
Property Value
| Type | Description |
|---|---|
| Tuple<int, int, int> | The width range and increment. |
XOffsetRange
Gets the X offset range and increment.
Declaration
public Tuple<int, int, int> XOffsetRange { get; }
Property Value
| Type | Description |
|---|---|
| Tuple<int, int, int> | The X offset range and increment. |
YOffsetRange
Gets the Y offset range and increment.
Declaration
public Tuple<int, int, int> YOffsetRange { get; }
Property Value
| Type | Description |
|---|---|
| Tuple<int, int, int> | The Y offset range and increment. |
Methods
CompareTo(object)
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
Declaration
public int CompareTo(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| object | obj | An object to compare with this instance. |
Returns
| Type | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| int | A value that indicates the relative order of the objects being compared. The return value has these meanings:
|
ReadInfo()
Reads the information.
Declaration
public bool ReadInfo()
Returns
| Type | Description |
|---|---|
| bool | bool. |
ToString()
Returns a string that represents this instance.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | A string that represents this instance. |