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
protocol
SLProtocolLink with SLProtocol process.
matrixDummyParameterId
intThe parameter ID of the single parameter that represents the matrix control.
matrixTablesVirtualSetsParameterId
intThe parameter ID of the single parameter that handles the virtual sets from the tables.
matrixTablesSerializedSetsParameterId
intThe parameter ID of the single parameter that handles serialized sets.
matrixConnectionsBufferParameterId
intThe parameter ID of the single parameter that contains all the matrix crosspoint connections in one string.
matrixSerializedParameterId
intThe parameter ID of the single parameter that contains all the matrix content in one JSON serialized string.
maxInputCount
intThe maximum amount of inputs. The DisplayedInputs property cannot be larger than this value.
maxOutputCount
intThe 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- InvalidmatrixSerializedParameterId
. -or- A validmaxInputCount
andmaxOutputCount
need to be provided when there is no matrix parameter.