for (uint i = 0; i < Constants.NumberOfTargets; i++)
{
VMTI_TargetPackItemWr tTargetPack = new VMTI_TargetPackItemWr((uint)(27 + i));
tTargetPack.AddTargetPackItem(VTargetPackTagWr.TargetCentroidPixel, (UInt64)74985);
tTargetPack.AddTargetPackItem(VTargetPackTagWr.BoundingBoxTopLeftPixel, (UInt64)71380);
tTargetPack.AddTargetPackItem(VTargetPackTagWr.BoundingBoxBottomRightPixel, (UInt64)78590);
tTargetPack.AddTargetPackItem(VTargetPackTagWr.TargetPriority, (byte)2);
tTargetPack.AddTargetPackItem(VTargetPackTagWr.TargetConfidenceLevel, (byte)50);
tTargetPack.AddTargetPackItem(VTargetPackTagWr.NewDetectionFlag, (ushort)i);
var color = Color.Red.ToArgb() & 0x00FFFFFF;
tTargetPack.AddTargetPackItem(VTargetPackTagWr.TargetColor, (uint)color);
tTargetPack.AddTargetPackItem(VTargetPackTagWr.TargetIntensity, (uint)i + 100);
tTargetPack.AddTargetPackItem(VTargetPackTagWr.TargetLocationLatOffset, (float)0.01);
tTargetPack.AddTargetPackItem(VTargetPackTagWr.TargetLocationLonOffset, (float)0.01);
tTargetPack.AddTargetPackItem(VTargetPackTagWr.TargetHeight, (float)(120.0 + i * 10));
tTargetPack.AddTargetPackItem(VTargetPackTagWr.BoundingBoxTopLeftLatOffset, (float)0.04);
tTargetPack.AddTargetPackItem(VTargetPackTagWr.BoundingBoxTopLeftLonOffset, (float)0.04);
tTargetPack.AddTargetPackItem(VTargetPackTagWr.BoundingBoxBottomRightLatOffset, (float)0.04);
tTargetPack.AddTargetPackItem(VTargetPackTagWr.BoundingBoxBottomRightLonOffset, (float)0.04);
tTargetPack.AddTargetPackItem(VTargetPackTagWr.Target_Location, new LocationTypeWr(40.83715820003851, -104.97543811798096, 0));
VTrackerLDSWr tTracker = new VTrackerLDSWr(i);
List<LocationTypeWr> locusList = new List<LocationTypeWr>();
locusList.Add(new LocationTypeWr(40.83715820003851, -104.97543811798096, 0));
locusList.Add(new LocationTypeWr(40.837645225907835, -104.97410774230957, 0.5));
locusList.Add(new LocationTypeWr(40.838262120205684, -104.97307777404785, 100));
locusList.Add(new LocationTypeWr(40.839171217127976, -104.97307777404785, 100));
locusList.Add(new LocationTypeWr(40.84014523570922, -104.97406482696533, 100));
locusList.Add(new LocationTypeWr(40.840534839134165, -104.97445106506348, 100));
tTracker.AddLDS(VTrackerLDSTagWr.NumberOfPoints, (ushort)locusList.Count);
tTracker.AddLDS(VTrackerLDSTagWr.Locus, locusList);
VATypeWr velocity = new VATypeWr(2.0, 4.0, 6.0);
tTracker.AddLDS(VTrackerLDSTagWr.Velocity, velocity);
VATypeWr acceleration = new VATypeWr(0.2, 0.4, 0.6);
tTracker.AddLDS(VTrackerLDSTagWr.Acceleration, acceleration);
tTargetPack.AddTargetPackItem(VTargetPackTagWr.VTracker_LDS, tTracker);
pcktEnc.AddToTargetPackSeries(tTargetPack);
}