private FlightDataReading.AircraftModel1.AircraftModel1RawData GetDataItem(DataRow r)
        {
            FlightDataReading.AircraftModel1.AircraftModel1RawData dt = new FlightDataReading.AircraftModel1.AircraftModel1RawData();

            dt.aT = Convert.ToSingle(r["aT"]);
            dt.CS = Convert.ToSingle(r["CS"]);
            dt.DR = Convert.ToSingle(r["DR"]);
            dt.Dx = Convert.ToSingle(r["Dx"]);
            dt.Dy = Convert.ToSingle(r["Dy"]);
            dt.Dz = Convert.ToSingle(r["Dz"]);
            dt.Et = Convert.ToSingle(r["Et"]);
            dt.EW = Convert.ToSingle(r["EW"]);
            dt.FY = Convert.ToSingle(r["FY"]);
            dt.GS = Convert.ToSingle(r["GS"]);
            dt.HG = Convert.ToSingle(r["HG"]);
            dt.Hp = Convert.ToSingle(r["Hp"]);
            dt.KCB = Convert.ToSingle(r["KCB"]);
            dt.KZB = Convert.ToSingle(r["KZB"]);
            dt.M = Convert.ToSingle(r["M"]);
            dt.NHL = Convert.ToSingle(r["NHL"]);
            dt.NHR = Convert.ToSingle(r["NHR"]);
            dt.NS = Convert.ToSingle(r["NS"]);
            dt.Nx = Convert.ToSingle(r["Nx"]);
            dt.Ny = Convert.ToSingle(r["Ny"]);
            dt.Nz = Convert.ToSingle(r["Nz"]);
            dt.Second = Convert.ToSingle(r["Second"]);
            dt.T6L = Convert.ToSingle(r["T6L"]);
            dt.T6R = Convert.ToSingle(r["T6R"]);
            dt.Tt = Convert.ToSingle(r["Tt"]);
            dt.Vi = Convert.ToSingle(r["Vi"]);
            dt.Vy = Convert.ToSingle(r["Vy"]);
            dt.Wx = Convert.ToSingle(r["Wx"]);
            dt.Wy = Convert.ToSingle(r["Wy"]);
            dt.Wz = Convert.ToSingle(r["Wz"]);
            dt.ZH = Convert.ToSingle(r["ZH"]);
            dt.ZS = Convert.ToSingle(r["ZS"]);

            return dt;
        }
        private void AddToRawDataCollection(ObservableCollection<KeyValuePair<string,
            ObservableCollection<ParameterRawData>>> collection,
            FlightDataReading.AircraftModel1.AircraftModel1RawDataBuilder builder)
        {//clear
            Dictionary<int, FlightDataReading.AircraftModel1.AircraftModel1RawData> dicSecond
                = new Dictionary<int, FlightDataReading.AircraftModel1.AircraftModel1RawData>();

            foreach (var one in collection)
            {
                foreach (var two in one.Value)
                {
                    if (!dicSecond.ContainsKey(two.Second))
                    {
                        FlightDataReading.AircraftModel1.AircraftModel1RawData dt =
                            new FlightDataReading.AircraftModel1.AircraftModel1RawData();
                        dt.Second = two.Second;
                        dicSecond.Add(two.Second, dt);
                    }

                    FlightDataReading.AircraftModel1.AircraftModel1RawData data = dicSecond[two.Second];
                    builder.AssignValueExt(data, two);
                }
            }

            var result = from i in dicSecond
                         orderby i.Key ascending
                         select i.Value;

            this.RawDatas = new ObservableCollection<FlightDataReading.AircraftModel1.AircraftModel1RawData>(result);
        }