/// <summary> /// Takes a list of <see cref="KeyValuePair{string, object}"/> an tries to write them to the plc. /// Where the string is the variable name and the object is the data to write /// </summary> /// <param name="values">a list of tags with the following syntax Area.Offset,DataType[,length]</param> /// <returns>returns a enumerable with the write result, 0xFF = Success</returns> public static Task <IEnumerable <ItemResponseRetValue> > WriteAsync(this Dacs7Client client, IEnumerable <KeyValuePair <string, object> > values) => client.WriteAsync(client.CreateWriteNodeIdCollection(values));