Table of Contents

Constructor MatrixHelperForMatrix

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

MatrixHelperForMatrix(SLProtocol, int, int, int, int)

Initializes a new instance of the MatrixHelperForMatrix class with all parameter IDs specified.

public MatrixHelperForMatrix(SLProtocol protocol, int matrixConnectionsBufferParameterId, int matrixReadParameterId, int discreetInfoParameterId, int matrixSerializedParameterId)

Parameters

protocol SLProtocol

Link with SLProtocol process.

matrixConnectionsBufferParameterId int

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

matrixReadParameterId int

The parameter ID of the matrix read parameter.

discreetInfoParameterId int

The parameter ID of the discreet info type parameter.

matrixSerializedParameterId int

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

Exceptions

ArgumentNullException

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

ArgumentException

Invalid matrixConnectionsBufferParameterId. -or- Invalid matrixSerializedParameterId. -or- Invalid discreetInfoParameterId. -or- Invalid matrixReadParameterId. -or- The specified matrixReadParameterId does not have a corresponding matrix parameter of type write with the same name.

MatrixHelperForMatrix(SLProtocol, int, int, int)

Initializes a new instance of the MatrixHelperForMatrix class with all parameter IDs specified, except the matrixSerializedParameterId. It is the intention that this parameter is always filled in, however the possibility has been offered to skip this in case of a large table that would be causing performance issues.

public MatrixHelperForMatrix(SLProtocol protocol, int matrixConnectionsBufferParameterId, int matrixReadParameterId, int discreetInfoParameterId)

Parameters

protocol SLProtocol

Link with SLProtocol process.

matrixConnectionsBufferParameterId int

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

matrixReadParameterId int

The parameter ID of the matrix read parameter.

discreetInfoParameterId int

The parameter ID of the discreet info type parameter.

Exceptions

ArgumentNullException

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

ArgumentException

Invalid matrixConnectionsBufferParameterId. -or- Invalid discreetInfoParameterId. -or- Invalid matrixReadParameterId. -or- The specified matrixReadParameterId does not have a corresponding matrix parameter of type write with the same name.

MatrixHelperForMatrix(SLProtocol, int)

Initializes a new instance of the MatrixHelperForMatrix class with automatic detection of the matrix parameters.

public MatrixHelperForMatrix(SLProtocol protocol, int discreetInfoParameterId)

Parameters

protocol SLProtocol

Link with SLProtocol process.

discreetInfoParameterId int

The parameter ID of the discreet info type parameter.

Exceptions

ArgumentNullException

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

ArgumentException

The driver does not have one matrix parameter of type read and write. -or- Invalid discreetInfoParameterId.

Advanced search syntax