Method MatrixEnableLine
- Namespace
- Skyline.DataMiner.Automation
- Assembly
- SLManagedAutomation.dll
MatrixEnableLine(int, bool, int, bool)
Enables or disables the specified matrix input or output.
void MatrixEnableLine(int pid, bool input, int index, bool state)
Parameters
pidintThe ID of the matrix parameter.
inputbooltrueif the specified index is an input; otherwise,false.indexintThe index of the input or output.
statebooltrueto enable the input or output; otherwise,false.
Remarks
index must be in the range 1..nrOfInputs if input is true.
index must be in the range 1..nrOfOutputs if input is false.
MatrixEnableLine(int, bool, string, bool)
Enables or disables the specified matrix input or output.
void MatrixEnableLine(int pid, bool input, string lineLabel, bool state)
Parameters
pidintThe ID of the matrix parameter.
inputbooltrueif the specified index is an input; otherwise,false.lineLabelstringThe label of the input or output.
statebooltrueto enable the input or output; otherwise,false.
MatrixEnableLine(string, bool, int, bool)
Enables or disables the specified matrix input or output.
note
Please use an overload that takes the parameter ID instead to prevent issues in case the parameter Description changes.
[Obsolete("Use overloads with parameter ID instead of name.")]
void MatrixEnableLine(string parameterName, bool input, int index, bool state)
Parameters
parameterNamestringThe name of the matrix parameter.
inputbooltrueif the specified index is an input; otherwise,false.indexintThe index of the input or output.
statebooltrueto enable the input or output; otherwise,false.
Remarks
The specified value for the parameterName argument should be the value of the Description tag of the parameter and not the value of the Name tag.
index must be in the range 1..nrOfInputs if input is true.
index must be in the range 1..nrOfOutputs if input is false.
MatrixEnableLine(string, bool, string, bool)
Enables or disables the specified matrix input or output.
note
Please use an overload that takes the parameter ID instead to prevent issues in case the parameter Description changes.
[Obsolete("Use overloads with parameter ID instead of name.")]
void MatrixEnableLine(string parameterName, bool input, string lineLabel, bool state)
Parameters
parameterNamestringThe name of the matrix parameter.
inputbooltrueif the specified index is an input; otherwise,false.lineLabelstringThe label of the input or output.
statebooltrueto enable the input or output; otherwise,false.
Remarks
The specified value for the parameterName argument should be the value of the Description tag of the parameter and not the value of the Name tag.