Table of Contents

Constructor TableMatrixHelper

Namespace
Skyline.DataMiner.Core.Matrix.Protocol
Assembly
Skyline.DataMiner.Core.Matrix.Protocol.dll

TableMatrixHelper(SLProtocol, int, int, int, int, int, int, int)

Initializes a new instance of the TableMatrixHelper class.

public TableMatrixHelper(SLProtocol protocol, int matrixDummyParameterId, int matrixTablesVirtualSetsParameterId = -2, int matrixTablesSerializedSetsParameterId = -2, int matrixConnectionsBufferParameterId = -2, int matrixSerializedParameterId = -2, int maxInputCount = 0, int maxOutputCount = 0)

Parameters

protocol SLProtocol

Link with SLProtocol process.

matrixDummyParameterId int

The parameter ID of the single parameter that represents the matrix control.

matrixTablesVirtualSetsParameterId int

The parameter ID of the single parameter that handles the virtual sets from the tables.

matrixTablesSerializedSetsParameterId int

The parameter ID of the single parameter that handles serialized sets.

matrixConnectionsBufferParameterId int

The parameter ID of the single parameter that contains all the matrix crosspoint connections in one string.

matrixSerializedParameterId int

The parameter ID of the single parameter that contains all the matrix content in one JSON serialized string.

maxInputCount int

The maximum amount of inputs. The DisplayedInputs property cannot be larger than this value.

maxOutputCount int

The maximum amount of outputs. The DisplayedOutputs property cannot be larger than this value.

Exceptions

ArgumentNullException

protocol is null. -or- Skyline.DataMiner.Net.Messages.GetElementProtocolResponseMessage is null.

ArgumentException

Invalid matrixConnectionsBufferParameterId. -or- Invalid matrixSerializedParameterId. -or- A valid maxInputCount and maxOutputCount need to be provided when there is no matrix parameter.