/// <summary> /// Lista másolása a projectbe. /// </summary> /// <param name="target">Project cél.</param> public void CopyTo(StorageCanTxMessageCollection target) { target.Clear(); foreach (var item in this) { var targetItem = new StorageCanTxMessageItem(); item.CopyTo(targetItem); target.Add(targetItem); } }
/// <summary> /// Lista másolása a projectbe. /// </summary> /// <param name="target">Project cél.</param> public void CopyTo(StorageCanTxMessageItem target) { target.Name = Name; target.Key = Key; target.IsPeriod = IsPeriod; target.PeriodTime = PeriodTime; target.Type = Type; target.Remote = Remote; target.ArbitrationId = CustomDataConversion.UInt32ToStringHighSpeed(ArbitrationId); target.Data = CustomDataConversion.ByteArrayToStringHighSpeed(Data); target.Documentation = _documentation; target.Description = Description; }