private void PackageTalonInfo() { if ((cntr++) % 100 != 0) { return; } NUC_SerialConnection.WriteDashboardState(); ArrayList talonInfoList = new ArrayList(); foreach (TalonInfo info in driveBase.GetTalonInfo()) { talonInfoList.Add(info); } foreach (TalonInfo info in excavation.GetTalonInfo()) { talonInfoList.Add(info); } NUC_SerialConnection.WriteMotorInfo(ref talonInfoList); }