void ExecuteStartMeasurCommand()
        {
            if (!_CollectionDataSave.IsConnectionOpen)
            {
                _CollectionDataSave.openSQLiteConnection();
            }
            CurrentTestTableName = GetFreqTableName();
            if (DbHelper.CreateFreqTable(CurrentTestTableName))
            {
                RoadTestInfor.FreqDataTable = CurrentTestTableName;
            }
            DbHelper.CreateCdma1xTable(CurrentTestTableName);

            if (Sensor.IsUseSensor)
            {
                //存储任务信息
                RoadTest rt = new RoadTest();
                rt.Bandwidth = Convert.ToInt32(RoadTestInfor.Bandwidth * 1000);
                rt.CarPlate  = RoadTestInfor.CarPlate;
                //rt.EndFreq = RoadTestInfor.EndFreq;
                rt.ReciverIp    = RoadTestInfor.ReciverIp;
                rt.RoadTestName = RoadTestInfor.RoadTestName;
                //rt.StartFreq = RoadTestInfor.StartFreq;
                rt.TestDateTime  = DateTime.Now;
                rt.TestSample    = RoadTestInfor.TestSample;
                rt.TestStaffName = RoadTestInfor.TestStaffName;
                rt.Bz            = "";
                rt.ReciverPort   = 0;
                rt.FreqDataTable = RoadTestInfor.FreqDataTable;

                //if (EntityQuery<RoadTest>.Instance.Insert(rt) > 0)
                {
                    //Clear()
                    _LineChartViewModel.Clear();
                    FreqMeasureId                 = 0;
                    FreqMeasurePakageId           = 0;
                    FreqDataIndex                 = 0;
                    _TestStatus                   = FreqTestStatus.testing;
                    _CollectionDataSave.MeasureID = "Measure" + DateTime.Now.ToString("yyyyMMddHHmmss");
                    IsRecordFreqCount             = true;
                    endFreq = Convert.ToDouble(RoadTestInfor.EndFreq) * 1000 * 1000.0;
                    _proc   = CallBack;
                    AgilentDll.Sensor.SendWbqexCmd(RoadTestInfor.StartFreq * 1000000.0, RoadTestInfor.EndFreq * 1000000.0, RoadTestInfor.Bandwidth * 1000.0, _proc);
                }
                collectTime = DateTime.Now;
                UpdateTextBlockEnable();
                return;
            }
        }