Full constructor.

Namespace: XpressnetLib
Assembly: XpressnetLib (in XpressnetLib.dll) Version: 0.1.4195.39796

Syntax

C#
public AccessoryInfo(
	int address,
	bool finished,
	AccessoryType type,
	int nibble,
	OperationResult operation
)
Visual Basic
Public Sub New ( _
	address As Integer, _
	finished As Boolean, _
	type As AccessoryType, _
	nibble As Integer, _
	operation As OperationResult _
)
Visual C++
public:
AccessoryInfo(
	int address, 
	bool finished, 
	AccessoryType type, 
	int nibble, 
	OperationResult operation
)

Parameters

address
Type: System..::..Int32
Address of the turnout (not the decoder group address!)
finished
Type: System..::..Boolean
Has the previous operation been finished?
type
Type: XpressnetLib..::..AccessoryType
Type of the accessory
nibble
Type: System..::..Int32
Distinguishes between turnouts 0+1 and 2+3
operation
Type: XpressnetLib..::..OperationResult
Current status of the turnout (result of the previous operation)

See Also