internal void UpdatePointFromVisibility(GeoCalcPoint point) { _log.DebugEx("> UpdatePoint START."); GeoCalculatiorFacade.UpdateUserSessionPoint(point); _log.DebugEx("> UpdatePoint END."); }
internal void SaveAllPointsToDB(IEnumerable <GeoCalcPoint> points) { _log.DebugEx("> SaveAllPointsToDB START."); GeoCalculatiorFacade.SaveUserSessionPoints(points); _log.DebugEx("> SaveAllPointsToDB END."); }
internal void ClearSession() { _log.DebugEx("> ClearSession START."); GeoCalculatiorFacade.ClearUserSessionPoints(); OnPointDeleted.Invoke(-1); _log.DebugEx("> ClearSession END."); }
internal void UpdatePoints(IEnumerable <GeoCalcPoint> points) { _log.DebugEx("> UpdatePoints START."); GeoCalculatiorFacade.UpdateUserSessionPoints(points); OnPointUpdated.Invoke(); _log.DebugEx("> UpdatePoints END."); }
internal void FillPointsListFromDB() { _log.DebugEx("> FillPointsListFromDB START."); var points = GeoCalculatiorFacade.GetUserSessionPoints(); View.AddPointsToGrid(points); _log.DebugEx("> FillPointsListFromDB END."); }
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."); }
internal IObserverPoint[] GetGeoCalcPoints() { return(GeoCalculatiorFacade.GetUserSessionPoints().ToArray()); }