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
protocol
SLProtocolLink with SLProtocol process.
paramsToSet
IDictionary<int, object>The IDs of the parameters to set with their value to set.
dateTime
DateTime?The time stamp for the new values (in case of historySets).
Exceptions
- ArgumentNullException
paramsToSet
is null.