Constructor MatrixHelperForMatrix
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
protocolSLProtocolLink with SLProtocol process.
matrixConnectionsBufferParameterIdintThe parameter ID of the single parameter that contains all the matrix crosspoint connections in one string.
matrixReadParameterIdintThe parameter ID of the matrix read parameter.
discreetInfoParameterIdintThe parameter ID of the discreet info type parameter.
matrixSerializedParameterIdintThe parameter ID of the single parameter that contains all the matrix content in one JSON serialized string.
Exceptions
- ArgumentNullException
protocolis null. -or- Skyline.DataMiner.Net.Messages.GetElementProtocolResponseMessage is null.- ArgumentException
Invalid
matrixConnectionsBufferParameterId. -or- InvalidmatrixSerializedParameterId. -or- InvaliddiscreetInfoParameterId. -or- InvalidmatrixReadParameterId. -or- The specifiedmatrixReadParameterIddoes 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
protocolSLProtocolLink with SLProtocol process.
matrixConnectionsBufferParameterIdintThe parameter ID of the single parameter that contains all the matrix crosspoint connections in one string.
matrixReadParameterIdintThe parameter ID of the matrix read parameter.
discreetInfoParameterIdintThe parameter ID of the discreet info type parameter.
Exceptions
- ArgumentNullException
protocolis null. -or- Skyline.DataMiner.Net.Messages.GetElementProtocolResponseMessage is null.- ArgumentException
Invalid
matrixConnectionsBufferParameterId. -or- InvaliddiscreetInfoParameterId. -or- InvalidmatrixReadParameterId. -or- The specifiedmatrixReadParameterIddoes 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
protocolSLProtocolLink with SLProtocol process.
discreetInfoParameterIdintThe parameter ID of the discreet info type parameter.
Exceptions
- ArgumentNullException
protocolis 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.