Method SetParameters
- Assembly
- Skyline.DataMiner.Utils.Protocol.Extension.dll
SetParameters(SLProtocol, IDictionary<int, object>, DateTime?)
Sets the specified parameters to the specified values.
public static void SetParameters(this SLProtocol protocol, IDictionary<int, object> paramsToSet, DateTime? dateTime = null)
Parameters
protocolSLProtocolLink with SLProtocol process.
paramsToSetIDictionary<int, object>The IDs of the parameters to set with their value to set.
dateTimeDateTime?The time stamp for the new values (in case of historySets).
Exceptions
- ArgumentNullException
paramsToSetis null.