Constructor TableMatrixHelper
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
protocolSLProtocolLink with SLProtocol process.
matrixDummyParameterIdintThe parameter ID of the single parameter that represents the matrix control.
matrixTablesVirtualSetsParameterIdintThe parameter ID of the single parameter that handles the virtual sets from the tables.
matrixTablesSerializedSetsParameterIdintThe parameter ID of the single parameter that handles serialized sets.
matrixConnectionsBufferParameterIdintThe parameter ID of the single parameter that contains all the matrix crosspoint connections in one string.
matrixSerializedParameterIdintThe parameter ID of the single parameter that contains all the matrix content in one JSON serialized string.
maxInputCountintThe maximum amount of inputs. The DisplayedInputs property cannot be larger than this value.
maxOutputCountintThe maximum amount of outputs. The DisplayedOutputs property cannot be larger than this value.
Exceptions
- ArgumentNullException
protocolis null. -or- Skyline.DataMiner.Net.Messages.GetElementProtocolResponseMessage is null.- ArgumentException
Invalid
matrixConnectionsBufferParameterId. -or- InvalidmatrixSerializedParameterId. -or- A validmaxInputCountandmaxOutputCountneed to be provided when there is no matrix parameter.