CVB.Net 15.0
Loading...
Searching...
No Matches
Pharmacode Class Reference

Configuration for Pharmacode. More...

Inherits ConfigBase< T >.

Public Member Functions

Pharmacode SetMinimumNumberBars (int value)
 Sets the minimum number of bars for decoding.
 
Pharmacode SetMaximumNumberBars (int value)
 Sets the maximum number of bars for decoding.
 
Pharmacode SetMinimumValue (int value)
 Sets the minimum value for decoding.
 
Pharmacode SetMaximumValue (int value)
 Sets the maximum value for decoding.
 
- Public Member Functions inherited from ConfigBase< T >
SetEnabled (bool enabled)
 Sets value for IsEnabled.
 

Properties

int MinimumNumberBars [get, set]
 Gets or sets the minimum number of bars for decoding.
 
int MaximumNumberBars [get, set]
 Gets or sets the maximum number of bars for decoding.
 
int MinimumValue [get, set]
 Gets or sets the minimum value for decoding.
 
int MaximumValue [get, set]
 Gets or sets the maximum value for decoding.
 
- Properties inherited from ConfigBase
virtual bool IsEnabled [get, set]
 The enabled state of this symbology.
 
Decoder Decoder [get]
 Decoder this config belongs to.
 

Detailed Description

Configuration for Pharmacode.


For additional details on configuration including a code example, refer to the GetConfig<T>() method in the Decoder class.

Member Function Documentation

◆ SetMaximumNumberBars()

Pharmacode SetMaximumNumberBars ( int value)

Sets the maximum number of bars for decoding.

Parameters
valueMaximum number of bars. Value has to be between 4 and 16 (inclusive) and greater than MinimumNumberBars.
Returns
A reference to the current Pharmacode object for method chaining.

◆ SetMaximumValue()

Pharmacode SetMaximumValue ( int value)

Sets the maximum value for decoding.

Parameters
valueMaximum value. Value has to be between 15 and 131070 (inclusive) and greater than MinimumValue.
Returns
A reference to the current Pharmacode object for method chaining.

◆ SetMinimumNumberBars()

Pharmacode SetMinimumNumberBars ( int value)

Sets the minimum number of bars for decoding.

Parameters
valueMaximum number of bars. Value has to be between 4 and 16 (inclusive).
Returns
A reference to the current Pharmacode object for method chaining.

◆ SetMinimumValue()

Pharmacode SetMinimumValue ( int value)

Sets the minimum value for decoding.

Parameters
valueMinimum value. Value has to be between 15 and 131070 (inclusive).
Returns
A reference to the current Pharmacode object for method chaining.