Class ProtocolExtension
- Assembly
- Skyline.DataMiner.Utils.Protocol.Extension.dll
Extension of the SLProtocol class.
public static class ProtocolExtension
- Inheritance
-
ProtocolExtension
Methods
- DeleteRows(SLProtocol, int, IEnumerable<object>)
Removes the rows with the specified primary keys from the specified table.
- DeleteRows(SLProtocol, int, IEnumerable<string>)
Removes the rows with the specified primary keys from the specified table.
- GetCell(SLProtocol, int, string, int)
Retrieves a cell from a table with the specified
tablePid
,rowPK
and thecolumnIdx
.
- GetColumn(SLProtocol, int, uint)
Retrieves the values of the column with the specified
tablePid
andcolumnIdx
.
- GetColumns(SLProtocol, int, IEnumerable<uint>)
Retrieves the values of the columns with the specified
tablePid
andcolumnsIdx
.
- RunAction(SLProtocol, int)
Runs the specified action.
- SetCell(SLProtocol, int, string, int, object, DateTime?)
Sets the value of a cell in a table, identified by the primary key of the row and column position, with the specified value. Use null as
value
to clear the cell. ThetablePid
can be retrieved with the static Parameter class. ThecolumnIdx
can be retrieved with the static Parameter.[table].Idx class.
- SetColumns(SLProtocol, IDictionary<int, List<object>>, DateTime?)
Sets the specified columns.
- SetColumns(SLProtocol, IList<int>, IReadOnlyList<IEnumerable<object>>, DateTime?)
Sets the specified columns.
- SetParameters(SLProtocol, IDictionary<int, object>, DateTime?)
Sets the specified parameters to the specified values.