Exemplo n.º 1
0
        internal void UpdatePointFromVisibility(GeoCalcPoint point)
        {
            _log.DebugEx("> UpdatePoint START.");

            GeoCalculatiorFacade.UpdateUserSessionPoint(point);

            _log.DebugEx("> UpdatePoint END.");
        }
Exemplo n.º 2
0
        internal void SaveAllPointsToDB(IEnumerable <GeoCalcPoint> points)
        {
            _log.DebugEx("> SaveAllPointsToDB START.");

            GeoCalculatiorFacade.SaveUserSessionPoints(points);

            _log.DebugEx("> SaveAllPointsToDB END.");
        }
Exemplo n.º 3
0
        internal void ClearSession()
        {
            _log.DebugEx("> ClearSession START.");

            GeoCalculatiorFacade.ClearUserSessionPoints();
            OnPointDeleted.Invoke(-1);

            _log.DebugEx("> ClearSession END.");
        }
Exemplo n.º 4
0
        internal void UpdatePoints(IEnumerable <GeoCalcPoint> points)
        {
            _log.DebugEx("> UpdatePoints START.");

            GeoCalculatiorFacade.UpdateUserSessionPoints(points);
            OnPointUpdated.Invoke();

            _log.DebugEx("> UpdatePoints END.");
        }
Exemplo n.º 5
0
        internal void FillPointsListFromDB()
        {
            _log.DebugEx("> FillPointsListFromDB START.");

            var points = GeoCalculatiorFacade.GetUserSessionPoints();

            View.AddPointsToGrid(points);

            _log.DebugEx("> FillPointsListFromDB END.");
        }
Exemplo n.º 6
0
        internal void RemovePoint(Guid id)
        {
            _log.DebugEx("> RemovePoint START.");

            var removingGeoPoint = GeoCalculatiorFacade.GetUserSessionPointById(id);

            GeoCalculatiorFacade.DeleteUserSessionPoint(id);
            OnPointDeleted.Invoke(removingGeoPoint.PointNumber);

            _log.DebugEx("> RemovePoint END.");
        }
Exemplo n.º 7
0
 internal IObserverPoint[] GetGeoCalcPoints()
 {
     return(GeoCalculatiorFacade.GetUserSessionPoints().ToArray());
 }