예제 #1
0
 public static void WriteData(this XiDataList dataList,
                              WriteData dataObjectToWrite)
 {
     dataList.WriteData(new List <WriteValue> {
         dataObjectToWrite.ToWriteValue()
     });
 }
예제 #2
0
        public static void WriteData(this XiDataList dataList,
                                     WriteData dataObjectToWrite,
                                     OnWriteDataComplete onComplete,
                                     object asyncState)
        {
            var xiWriteValue = dataObjectToWrite.ToWriteValue();

            dataList.WriteData(new List <WriteValue> {
                xiWriteValue
            }, onComplete, asyncState);
        }