void action_NextTime(object sender, EventArgs e)
        {
            //判断是否到下一组
            if (CurrentTimes % Times == 0 && Times > 0)
            {
                if (GroupRecordList == null)
                {
                    GroupRecordList = new List<GroupRecord>();
                }

                GroupRecord gr = new GroupRecord();
                gr.GroupNum = CurrentTimes / Times;
                gr.Min = groupActionMinAngle;
                gr.Max = groupActionMaxAngle;

                groupActionMinAngle = float.MaxValue;
                groupActionMaxAngle = float.MinValue;

                GroupRecordList.Add(gr);
            }

            if (NextTime != null)
            {
                NextTime(null, null);
            }
        }
        void action_StopAction(object sender, EventArgs e)
        {
            if (Times != 0)
            {
                //保存最后一组的训练数据
                if (GroupRecordList == null)
                {
                    GroupRecordList = new List<GroupRecord>();
                }

                GroupRecord gr = new GroupRecord();
                gr.GroupNum = CurrentTimes / Times;
                gr.Min = groupActionMinAngle;
                gr.Max = groupActionMaxAngle;
                GroupRecordList.Add(gr);
            }

            endTicks = DateTime.Now.Ticks;
            IsPause = false;
            if (StopAction != null)
            {
                StopAction(null, null);
            }
        }