public bool SetAccessPoint(AccessPoint accessPoint)
 {
     return DBOperation.SetAccessPoint(accessPoint);
 }
        public static bool SetAccessPoint(AccessPoint accessPoint)
        {
            //AccessPointData accessPointData = new AccessPointData
            //{
            //    RecordId = Guid.NewGuid(),
            //    Bssid = accessPoint.Bssid,
            //    CenterFrequency = accessPoint.CenterFrequency,
            //    Quality = accessPoint.Quality,
            //    RssiLevel = accessPoint.RssiLevel,
            //    Ssid = accessPoint.Ssid,
            //    X = accessPoint.X,
            //    XReal = accessPoint.XReal,
            //    Y = accessPoint.Y,
            //    YReal = accessPoint.YReal
            //};

            //using (DataClassesDataContext dataContex = new DataClassesDataContext())
            //{
            //    dataContex.AccessPointDatas.InsertOnSubmit(accessPointData);

            //    dataContex.SubmitChanges();
            //}

            return true;
        }