diff --git a/CampusAppWP8/CampusAppWP8/App.xaml b/CampusAppWP8/CampusAppWP8/App.xaml index a4aef1d3..282eda77 100644 --- a/CampusAppWP8/CampusAppWP8/App.xaml +++ b/CampusAppWP8/CampusAppWP8/App.xaml @@ -16,6 +16,7 @@ + diff --git a/CampusAppWP8/CampusAppWP8/Assets/Icons/DarkTheme/departments_159.png b/CampusAppWP8/CampusAppWP8/Assets/Icons/DarkTheme/departments_159.png deleted file mode 100644 index 917436d2..00000000 Binary files a/CampusAppWP8/CampusAppWP8/Assets/Icons/DarkTheme/departments_159.png and /dev/null differ diff --git a/CampusAppWP8/CampusAppWP8/Assets/Icons/DarkTheme/events_159.png b/CampusAppWP8/CampusAppWP8/Assets/Icons/DarkTheme/events_159.png new file mode 100644 index 00000000..85178e99 Binary files /dev/null and b/CampusAppWP8/CampusAppWP8/Assets/Icons/DarkTheme/events_159.png differ diff --git a/CampusAppWP8/CampusAppWP8/Assets/Icons/DarkTheme/lehrstuehle_159.png b/CampusAppWP8/CampusAppWP8/Assets/Icons/DarkTheme/lehrstuehle_159.png new file mode 100644 index 00000000..02d15bff Binary files /dev/null and b/CampusAppWP8/CampusAppWP8/Assets/Icons/DarkTheme/lehrstuehle_159.png differ diff --git a/CampusAppWP8/CampusAppWP8/Assets/Icons/DarkTheme/mensa_159.png b/CampusAppWP8/CampusAppWP8/Assets/Icons/DarkTheme/mensa_159.png deleted file mode 100644 index 3a6abae2..00000000 Binary files a/CampusAppWP8/CampusAppWP8/Assets/Icons/DarkTheme/mensa_159.png and /dev/null differ diff --git a/CampusAppWP8/CampusAppWP8/Assets/Icons/DarkTheme/mensaplan_159.png b/CampusAppWP8/CampusAppWP8/Assets/Icons/DarkTheme/mensaplan_159.png new file mode 100644 index 00000000..fe25b542 Binary files /dev/null and b/CampusAppWP8/CampusAppWP8/Assets/Icons/DarkTheme/mensaplan_159.png differ diff --git a/CampusAppWP8/CampusAppWP8/Assets/Icons/DarkTheme/news_159.png b/CampusAppWP8/CampusAppWP8/Assets/Icons/DarkTheme/news_159.png index 2d11f51b..37bfd04b 100644 Binary files a/CampusAppWP8/CampusAppWP8/Assets/Icons/DarkTheme/news_159.png and b/CampusAppWP8/CampusAppWP8/Assets/Icons/DarkTheme/news_159.png differ diff --git a/CampusAppWP8/CampusAppWP8/Assets/Icons/DarkTheme/placeinfo_159.png b/CampusAppWP8/CampusAppWP8/Assets/Icons/DarkTheme/placeinfo_159.png index f95a93ca..5065137f 100644 Binary files a/CampusAppWP8/CampusAppWP8/Assets/Icons/DarkTheme/placeinfo_159.png and b/CampusAppWP8/CampusAppWP8/Assets/Icons/DarkTheme/placeinfo_159.png differ diff --git a/CampusAppWP8/CampusAppWP8/Assets/Icons/DarkTheme/placeinfoacces_159.png b/CampusAppWP8/CampusAppWP8/Assets/Icons/DarkTheme/placeinfoacces_159.png new file mode 100644 index 00000000..9abdc9ae Binary files /dev/null and b/CampusAppWP8/CampusAppWP8/Assets/Icons/DarkTheme/placeinfoacces_159.png differ diff --git a/CampusAppWP8/CampusAppWP8/Assets/Icons/DarkTheme/placeinfowc_159.png b/CampusAppWP8/CampusAppWP8/Assets/Icons/DarkTheme/placeinfowc_159.png new file mode 100644 index 00000000..d0885d65 Binary files /dev/null and b/CampusAppWP8/CampusAppWP8/Assets/Icons/DarkTheme/placeinfowc_159.png differ diff --git a/CampusAppWP8/CampusAppWP8/Assets/Icons/DarkTheme/placelab_159.png b/CampusAppWP8/CampusAppWP8/Assets/Icons/DarkTheme/placelab_159.png new file mode 100644 index 00000000..39943f90 Binary files /dev/null and b/CampusAppWP8/CampusAppWP8/Assets/Icons/DarkTheme/placelab_159.png differ diff --git a/CampusAppWP8/CampusAppWP8/Assets/Icons/DarkTheme/placesearchred_159.png b/CampusAppWP8/CampusAppWP8/Assets/Icons/DarkTheme/placesearchred_159.png new file mode 100644 index 00000000..ef79139b Binary files /dev/null and b/CampusAppWP8/CampusAppWP8/Assets/Icons/DarkTheme/placesearchred_159.png differ diff --git a/CampusAppWP8/CampusAppWP8/Assets/Icons/DarkTheme/pos_159.png b/CampusAppWP8/CampusAppWP8/Assets/Icons/DarkTheme/pos_159.png new file mode 100644 index 00000000..7c9b56cc Binary files /dev/null and b/CampusAppWP8/CampusAppWP8/Assets/Icons/DarkTheme/pos_159.png differ diff --git a/CampusAppWP8/CampusAppWP8/Assets/Icons/DarkTheme/speaker_159.png b/CampusAppWP8/CampusAppWP8/Assets/Icons/DarkTheme/speaker_159.png new file mode 100644 index 00000000..56a6c44e Binary files /dev/null and b/CampusAppWP8/CampusAppWP8/Assets/Icons/DarkTheme/speaker_159.png differ diff --git a/CampusAppWP8/CampusAppWP8/Assets/Icons/DarkTheme/student_council_159.png b/CampusAppWP8/CampusAppWP8/Assets/Icons/DarkTheme/student_council_159.png index 26ab3658..998d470e 100644 Binary files a/CampusAppWP8/CampusAppWP8/Assets/Icons/DarkTheme/student_council_159.png and b/CampusAppWP8/CampusAppWP8/Assets/Icons/DarkTheme/student_council_159.png differ diff --git a/CampusAppWP8/CampusAppWP8/Assets/Icons/LightTheme/events_159.png b/CampusAppWP8/CampusAppWP8/Assets/Icons/LightTheme/events_159.png new file mode 100644 index 00000000..811253df Binary files /dev/null and b/CampusAppWP8/CampusAppWP8/Assets/Icons/LightTheme/events_159.png differ diff --git a/CampusAppWP8/CampusAppWP8/Assets/Icons/LightTheme/departments_159.png b/CampusAppWP8/CampusAppWP8/Assets/Icons/LightTheme/lehrstuehle_159.png similarity index 100% rename from CampusAppWP8/CampusAppWP8/Assets/Icons/LightTheme/departments_159.png rename to CampusAppWP8/CampusAppWP8/Assets/Icons/LightTheme/lehrstuehle_159.png diff --git a/CampusAppWP8/CampusAppWP8/Assets/Icons/LightTheme/mensa_159.png b/CampusAppWP8/CampusAppWP8/Assets/Icons/LightTheme/mensa_159.png deleted file mode 100644 index e1f15575..00000000 Binary files a/CampusAppWP8/CampusAppWP8/Assets/Icons/LightTheme/mensa_159.png and /dev/null differ diff --git a/CampusAppWP8/CampusAppWP8/Assets/Icons/LightTheme/mensaplan_159.png b/CampusAppWP8/CampusAppWP8/Assets/Icons/LightTheme/mensaplan_159.png new file mode 100644 index 00000000..2327a52d Binary files /dev/null and b/CampusAppWP8/CampusAppWP8/Assets/Icons/LightTheme/mensaplan_159.png differ diff --git a/CampusAppWP8/CampusAppWP8/Assets/Icons/LightTheme/news_159.png b/CampusAppWP8/CampusAppWP8/Assets/Icons/LightTheme/news_159.png index 9d7650bd..75e64a3f 100644 Binary files a/CampusAppWP8/CampusAppWP8/Assets/Icons/LightTheme/news_159.png and b/CampusAppWP8/CampusAppWP8/Assets/Icons/LightTheme/news_159.png differ diff --git a/CampusAppWP8/CampusAppWP8/Assets/Icons/LightTheme/placeinfo_159.png b/CampusAppWP8/CampusAppWP8/Assets/Icons/LightTheme/placeinfo_159.png index f95a93ca..5065137f 100644 Binary files a/CampusAppWP8/CampusAppWP8/Assets/Icons/LightTheme/placeinfo_159.png and b/CampusAppWP8/CampusAppWP8/Assets/Icons/LightTheme/placeinfo_159.png differ diff --git a/CampusAppWP8/CampusAppWP8/Assets/Icons/LightTheme/placeinfoacces_159.png b/CampusAppWP8/CampusAppWP8/Assets/Icons/LightTheme/placeinfoacces_159.png new file mode 100644 index 00000000..a29a38f1 Binary files /dev/null and b/CampusAppWP8/CampusAppWP8/Assets/Icons/LightTheme/placeinfoacces_159.png differ diff --git a/CampusAppWP8/CampusAppWP8/Assets/Icons/LightTheme/placeinfowc_159.png b/CampusAppWP8/CampusAppWP8/Assets/Icons/LightTheme/placeinfowc_159.png new file mode 100644 index 00000000..d0885d65 Binary files /dev/null and b/CampusAppWP8/CampusAppWP8/Assets/Icons/LightTheme/placeinfowc_159.png differ diff --git a/CampusAppWP8/CampusAppWP8/Assets/Icons/LightTheme/placelab_159.png b/CampusAppWP8/CampusAppWP8/Assets/Icons/LightTheme/placelab_159.png new file mode 100644 index 00000000..39943f90 Binary files /dev/null and b/CampusAppWP8/CampusAppWP8/Assets/Icons/LightTheme/placelab_159.png differ diff --git a/CampusAppWP8/CampusAppWP8/Assets/Icons/LightTheme/placesearchred_159.png b/CampusAppWP8/CampusAppWP8/Assets/Icons/LightTheme/placesearchred_159.png new file mode 100644 index 00000000..ef79139b Binary files /dev/null and b/CampusAppWP8/CampusAppWP8/Assets/Icons/LightTheme/placesearchred_159.png differ diff --git a/CampusAppWP8/CampusAppWP8/Assets/Icons/LightTheme/pos_159.png b/CampusAppWP8/CampusAppWP8/Assets/Icons/LightTheme/pos_159.png new file mode 100644 index 00000000..757bb58f Binary files /dev/null and b/CampusAppWP8/CampusAppWP8/Assets/Icons/LightTheme/pos_159.png differ diff --git a/CampusAppWP8/CampusAppWP8/Assets/Icons/LightTheme/speaker_159.png b/CampusAppWP8/CampusAppWP8/Assets/Icons/LightTheme/speaker_159.png new file mode 100644 index 00000000..919b979c Binary files /dev/null and b/CampusAppWP8/CampusAppWP8/Assets/Icons/LightTheme/speaker_159.png differ diff --git a/CampusAppWP8/CampusAppWP8/Assets/Icons/LightTheme/student_council_159.png b/CampusAppWP8/CampusAppWP8/Assets/Icons/LightTheme/student_council_159.png index 47ed68d2..29fc275b 100644 Binary files a/CampusAppWP8/CampusAppWP8/Assets/Icons/LightTheme/student_council_159.png and b/CampusAppWP8/CampusAppWP8/Assets/Icons/LightTheme/student_council_159.png differ diff --git a/CampusAppWP8/CampusAppWP8/Assets/Maps/IKMZ.png b/CampusAppWP8/CampusAppWP8/Assets/Maps/IKMZ.png new file mode 100644 index 00000000..a65e9b28 Binary files /dev/null and b/CampusAppWP8/CampusAppWP8/Assets/Maps/IKMZ.png differ diff --git a/CampusAppWP8/CampusAppWP8/Assets/Maps/MZG.png b/CampusAppWP8/CampusAppWP8/Assets/Maps/MZG.png new file mode 100644 index 00000000..30e6ba8d Binary files /dev/null and b/CampusAppWP8/CampusAppWP8/Assets/Maps/MZG.png differ diff --git a/CampusAppWP8/CampusAppWP8/Assets/campusmap.png b/CampusAppWP8/CampusAppWP8/Assets/Maps/campusmap.png similarity index 100% rename from CampusAppWP8/CampusAppWP8/Assets/campusmap.png rename to CampusAppWP8/CampusAppWP8/Assets/Maps/campusmap.png diff --git a/CampusAppWP8/CampusAppWP8/Assets/testmap.png b/CampusAppWP8/CampusAppWP8/Assets/testmap.png deleted file mode 100644 index a2cdfad3..00000000 Binary files a/CampusAppWP8/CampusAppWP8/Assets/testmap.png and /dev/null differ diff --git a/CampusAppWP8/CampusAppWP8/CampusAppWP8.csproj b/CampusAppWP8/CampusAppWP8/CampusAppWP8.csproj index b102877a..11336ba6 100644 --- a/CampusAppWP8/CampusAppWP8/CampusAppWP8.csproj +++ b/CampusAppWP8/CampusAppWP8/CampusAppWP8.csproj @@ -113,12 +113,18 @@ + + + + + + @@ -132,6 +138,7 @@ + @@ -206,6 +213,9 @@ + + BTUTagInfo.xaml + RoomListPage.xaml @@ -228,7 +238,11 @@ + + + DefaultHeader.xaml + @@ -353,6 +367,10 @@ Designer MSBuild:Compile + + Designer + MSBuild:Compile + Designer MSBuild:Compile @@ -493,6 +511,10 @@ Designer MSBuild:Compile + + Designer + MSBuild:Compile + @@ -512,7 +534,19 @@ PreserveNewest - + + + + + + + + + + + + + @@ -531,7 +565,11 @@ + + + + @@ -543,12 +581,10 @@ - - @@ -561,10 +597,6 @@ - - - - @@ -572,7 +604,11 @@ + + + + @@ -590,7 +626,8 @@ - + + PreserveNewest @@ -609,6 +646,7 @@ + Designer @@ -657,6 +695,7 @@ CampusAppWPortalLib8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/CampusAppWP8/CampusAppWP8/Pages/BTUTag/BTUTagInfo.xaml.cs b/CampusAppWP8/CampusAppWP8/Pages/BTUTag/BTUTagInfo.xaml.cs new file mode 100644 index 00000000..954a455e --- /dev/null +++ b/CampusAppWP8/CampusAppWP8/Pages/BTUTag/BTUTagInfo.xaml.cs @@ -0,0 +1,45 @@ + +namespace CampusAppWP8.Pages.BTTTag +{ + using System; + using System.Windows.Navigation; + using CampusApp8.Model.Setting; + using Microsoft.Phone.Controls; + + public partial class BTUTagInfo : PhoneApplicationPage + { + + #region Member + private TagHandlerListPickerItemListModel taghandlerModel; + #endregion + + #region Constructor + + public BTUTagInfo() + { + InitializeComponent(); + this.taghandlerModel = new TagHandlerListPickerItemListModel(); + this.TagHandler.ItemsSource = this.taghandlerModel.List; + int tagselIndex = this.taghandlerModel.GetIndexOrDefault(Settings.AppSetting.TagDefaultHandler.ToString()); + this.TagHandler.SelectedIndex = tagselIndex; + } + + #endregion + + #region Method + + /// + /// Override the OnNavigatedFrom method + /// + /// Arguments of navigation + protected override void OnNavigatedFrom(NavigationEventArgs e) + { + if (NavigationMode.Back == e.NavigationMode) + { + Settings.AppSetting.TagDefaultHandler = (CampusAppWP8.Model.Setting.AppSettings.BTUTagDefaultHandler)Enum.Parse(typeof(CampusAppWP8.Model.Setting.AppSettings.BTUTagDefaultHandler), ((CampusAppWPortalLib8.Model.Utility.ListPickerItemModel)this.TagHandler.SelectedItem).Value); + } + } + + #endregion + } +} \ No newline at end of file diff --git a/CampusAppWP8/CampusAppWP8/Pages/Campusmap/CampusMapPage.xaml b/CampusAppWP8/CampusAppWP8/Pages/Campusmap/CampusMapPage.xaml index 29065130..82346753 100644 --- a/CampusAppWP8/CampusAppWP8/Pages/Campusmap/CampusMapPage.xaml +++ b/CampusAppWP8/CampusAppWP8/Pages/Campusmap/CampusMapPage.xaml @@ -8,10 +8,11 @@ xmlns:Location="clr-namespace:System.Device.Location;assembly=System.Device" x:Class="CampusAppWP8.Pages.Campusmap.CampusMapPage" xmlns:lui="clr-namespace:CampusAppWP8.Utility.Lui.Button" + xmlns:header="clr-namespace:CampusAppWP8.Utility.Lui.Header" FontFamily="{StaticResource PhoneFontFamilyNormal}" FontSize="{StaticResource PhoneFontSizeNormal}" Foreground="{StaticResource PhoneForegroundBrush}" - SupportedOrientations="PortraitOrLandscape" Orientation="Portrait" + SupportedOrientations="Portrait" Orientation="Portrait" mc:Ignorable="d" shell:SystemTray.IsVisible="True"> @@ -21,10 +22,9 @@ - - - + + @@ -40,18 +40,16 @@ - + - - + - - - + @@ -61,9 +59,9 @@ + - diff --git a/CampusAppWP8/CampusAppWP8/Pages/Campusmap/CampusMapPage.xaml.cs b/CampusAppWP8/CampusAppWP8/Pages/Campusmap/CampusMapPage.xaml.cs index 39877a04..8a9b7ab1 100644 --- a/CampusAppWP8/CampusAppWP8/Pages/Campusmap/CampusMapPage.xaml.cs +++ b/CampusAppWP8/CampusAppWP8/Pages/Campusmap/CampusMapPage.xaml.cs @@ -16,7 +16,9 @@ namespace CampusAppWP8.Pages.Campusmap using System.Threading; using System.Windows; using System.Windows.Controls; + using System.Windows.Input; using System.Windows.Navigation; + using Windows.Networking.Proximity; using CampusAppWP8.File.Places; using CampusAppWP8.Model.Campusmap; using CampusAppWP8.Model.GeoDb; @@ -26,7 +28,6 @@ namespace CampusAppWP8.Pages.Campusmap using CampusAppWP8.Utility.NDEF; using Microsoft.Phone.Controls; using Microsoft.Phone.Shell; - using Windows.Networking.Proximity; /// Class for the campusMap page. /// Stubbfel, 19.08.2013. @@ -65,6 +66,8 @@ namespace CampusAppWP8.Pages.Campusmap /// private bool buildInfoEnable; + private long ndefId; + #endregion #region Constructor @@ -79,19 +82,19 @@ namespace CampusAppWP8.Pages.Campusmap ApplicationBarMenuItem menuItem2 = ApplicationBar.MenuItems[1] as ApplicationBarMenuItem; ApplicationBarMenuItem menuItem3 = ApplicationBar.MenuItems[2] as ApplicationBarMenuItem; - if (menuItem1 != null) - { - menuItem1.Text = AppResources.CampusMapApp_ScanQR; - } - if (menuItem2 != null) { - menuItem2.Text = AppResources.CampusMapApp_ScanNfc; + menuItem2.Text = AppResources.App_ScanQR; } if (menuItem3 != null) { - menuItem3.Text = AppResources.CampusMapApp_EnableBuildInfo; + menuItem3.Text = AppResources.App_ScanNfc; + } + + if (menuItem1 != null) + { + menuItem1.Text = AppResources.CampusMapApp_EnableBuildInfo; } if (this.file == null) @@ -117,6 +120,7 @@ namespace CampusAppWP8.Pages.Campusmap /// Event for loading places /// public event LoadingPlace OnLoadingPlace; + #endregion #region Method @@ -139,8 +143,17 @@ namespace CampusAppWP8.Pages.Campusmap if (NavigationContext.QueryString.ContainsKey(Constants.ParamModelMap_SearchTermAlias)) { string alias = NavigationContext.QueryString[Constants.ParamModelMap_SearchTermAlias]; + this.ShowPlacesByQueryAsSearchPin(alias); scroll = false; + if (Utilities.IsRoomId(alias)) + { + PlaceModel place = this.file.Model.GetPlaceById(alias); + if (place != null) + { + this.GoToRoomList(place.ParentId, place.PlaceId); + } + } } else { @@ -156,13 +169,38 @@ namespace CampusAppWP8.Pages.Campusmap App.SaveToIsolatedStorage(Constants.CampusMapApp_QRCodeSearchResultStorageKey, null); string searchPid = Wp8StringManager.FilterPlaceIdinQRResultString(qrcodeResult); + PlaceModel place = this.file.Model.GetPlaceById(searchPid); + if (searchPid != null) { - this.ShowAllPlacesByPlaceIdAsSearchPin(searchPid); + + //this.ShowAllPlacesByPlaceIdAsSearchPin(searchPid); + if (place.ParentId.Equals(this.campusMap.CampusId) || place.PlaceId.Equals(this.campusMap.CampusId)) + { + this.ShowAllPlacesByPlaceIdAsSearchPin(searchPid); + } + else + { + this.GoToRoomList(place.ParentId, place.PlaceId); + } } } + + ndefId = this.device.SubscribeForMessage(Constants.NCFMessageType_NDEF, this.NDEFHandler); } + /// + /// Methods overrides the OnNavigatedFrom-Method + /// + /// some NavigationEventArgs + protected override void OnNavigatedFrom(NavigationEventArgs e) + { + this.device.StopSubscribingForMessage(ndefId); + + base.OnNavigatedFrom(e); + } + + #endregion #region private @@ -352,7 +390,7 @@ namespace CampusAppWP8.Pages.Campusmap menuText = AppResources.CampusMapApp_EnableBuildInfo; } - ApplicationBarMenuItem item = ApplicationBar.MenuItems[2] as ApplicationBarMenuItem; + ApplicationBarMenuItem item = ApplicationBar.MenuItems[0] as ApplicationBarMenuItem; item.Text = menuText; } @@ -447,8 +485,9 @@ namespace CampusAppWP8.Pages.Campusmap private void SearchPlaceByNFC_Click(object sender, EventArgs e) { MessageBoxes.ShowMainModelInfoMessageBox(AppResources.ScarNfc_Search); - this.ProgressBar.Visibility = Visibility.Visible; - long id = this.device.SubscribeForMessage(Constants.NCFMessageType_NDEF, this.NDEFHandler); + this.DefHeader.ProgressVisibility = Visibility.Visible; + this.device.StopSubscribingForMessage(this.ndefId); + this.ndefId = this.device.SubscribeForMessage(Constants.NCFMessageType_NDEF, this.NDEFHandler); } /// @@ -481,16 +520,33 @@ namespace CampusAppWP8.Pages.Campusmap // search for placeId string nfcContent = ndef.GetContent(); string searchPid = Wp8StringManager.FilterPlaceIdinNFCResultString(nfcContent.Trim()); + PlaceModel place = this.file.Model.GetPlaceById(searchPid); + if (searchPid != null) { // add pins to map if (this.Dispatcher != null) { - this.Dispatcher.BeginInvoke(new Action(() => this.ShowAllPlacesByPlaceIdAsSearchPin(searchPid))); + if (place.ParentId.Equals(this.campusMap.CampusId)) + { + this.Dispatcher.BeginInvoke(new Action(() => this.ShowAllPlacesByPlaceIdAsSearchPin(searchPid))); + } + else + { + this.Dispatcher.BeginInvoke(new Action(() => this.GoToRoomList(place.ParentId, place.PlaceId))); + } } else { - this.ShowAllPlacesByPlaceIdAsSearchPin(searchPid); + //this.ShowAllPlacesByPlaceIdAsSearchPin(searchPid); + if (place.ParentId.Equals(this.campusMap.CampusId)) + { + this.ShowAllPlacesByPlaceIdAsSearchPin(searchPid); + } + else + { + this.GoToRoomList(place.ParentId, place.PlaceId); + } } } else @@ -508,12 +564,15 @@ namespace CampusAppWP8.Pages.Campusmap if (this.Dispatcher != null) { - this.Dispatcher.BeginInvoke(new Action(() => this.ProgressBar.Visibility = Visibility.Collapsed)); + this.Dispatcher.BeginInvoke(new Action(() => this.DefHeader.ProgressVisibility = Visibility.Collapsed)); } else { - this.ProgressBar.Visibility = Visibility.Collapsed; + this.DefHeader.ProgressVisibility = Visibility.Collapsed; } + ndefId = this.device.SubscribeForMessage(Constants.NCFMessageType_NDEF, this.NDEFHandler); + + } /// Searches for the first places. @@ -589,6 +648,23 @@ namespace CampusAppWP8.Pages.Campusmap MapScroller.UpdateLayout(); if (scroll) { + if (scrollPoint.X > this.campusMap.ImageWidth) + { + scrollPoint.X = this.campusMap.ImageWidth; + } + else if (scrollPoint.X < 0) + { + scrollPoint.X = 0; + } + + if (scrollPoint.Y > this.campusMap.ImageHeight) + { + scrollPoint.Y = this.campusMap.ImageHeight; + } + else if (scrollPoint.Y < 0) + { + scrollPoint.Y = 0; + } MapScroller.ScrollToVerticalOffset(scrollPoint.Y); MapScroller.ScrollToHorizontalOffset(scrollPoint.X); } @@ -608,7 +684,7 @@ namespace CampusAppWP8.Pages.Campusmap /// (Optional) the scroll. private void ShowCurrentPositionDispatcher(bool scroll = true) { - ProgressBar.Visibility = Visibility.Visible; + this.DefHeader.ProgressVisibility = Visibility.Visible; Thread thread = new Thread(delegate() { this.ShowCurrentPosition(scroll); }); thread.Start(); @@ -635,11 +711,11 @@ namespace CampusAppWP8.Pages.Campusmap { if (this.Dispatcher != null) { - this.Dispatcher.BeginInvoke(new Action(() => this.ProgressBar.Visibility = Visibility.Collapsed)); + this.Dispatcher.BeginInvoke(new Action(() => this.DefHeader.ProgressVisibility = Visibility.Collapsed)); } else { - this.ProgressBar.Visibility = Visibility.Collapsed; + this.DefHeader.ProgressVisibility = Visibility.Collapsed; } } } @@ -651,14 +727,14 @@ namespace CampusAppWP8.Pages.Campusmap { string lat = App.LoadFromAppState(Constants.GeoWatch_CurrentPosition_Lat); string log = App.LoadFromAppState(Constants.GeoWatch_CurrentPosition_Long); - if (lat == null || log == null ||(lat.Equals("0") && log.Equals("0"))) + if (lat == null || log == null || (lat.Equals("0") && log.Equals("0"))) { if (Settings.AppSetting.GeoWatchEnable) { MessageBoxes.ShowMainModelInfoMessageBox(AppResources.MsgBox_NoLocation); } - this.ProgressBar.Visibility = Visibility.Collapsed; + this.DefHeader.ProgressVisibility = Visibility.Collapsed; } else { @@ -683,7 +759,7 @@ namespace CampusAppWP8.Pages.Campusmap } this.AddPin(x, y, type, scroll); - ProgressBar.Visibility = Visibility.Collapsed; + this.DefHeader.ProgressVisibility = Visibility.Collapsed; } /// @@ -692,6 +768,11 @@ namespace CampusAppWP8.Pages.Campusmap /// List of places private void ShowMapInfo(List places) { + if (places == null) + { + return; + } + string msgText = string.Empty; foreach (PlaceModel place in places) { @@ -733,16 +814,26 @@ namespace CampusAppWP8.Pages.Campusmap MessageBoxResult msgResult = MessageBoxes.ShowPlaceInfoOkCancelMessageBox(AppResources.MsgBox_ShowRoomList); if (msgResult.Equals(MessageBoxResult.OK)) { - string urlString = Constants.PathCampusmap_RoomListPage; - urlString += "?" + Constants.ParamBuildingId + "=" + place.PlaceId; - Uri url = new Uri(urlString as string, UriKind.Relative); - this.NavigationService.Navigate(url); + this.GoToRoomList(place.PlaceId); return; } } } } + private void GoToRoomList(string buildingId, string roomId = null) + { + string urlString = Constants.PathCampusmap_RoomListPage; + urlString += "?" + Constants.ParamBuildingId + "=" + buildingId; + if (roomId != null) + { + urlString += "&" + Constants.ParamRoomId + "=" + roomId; + } + Uri url = new Uri(urlString as string, UriKind.Relative); + this.NavigationService.Navigate(url); + } + + /// /// Method check if a certain place has some rooms /// @@ -761,6 +852,16 @@ namespace CampusAppWP8.Pages.Campusmap return false; } + + private void Button_KeyDown(object sender, System.Windows.Input.KeyEventArgs e) + { + if (e.Key == Key.Enter) + { + this.SearchByText(sender, e); + this.MapScroller.Focus(); + } + + } #endregion #endregion diff --git a/CampusAppWP8/CampusAppWP8/Pages/Campusmap/RoomListPage.xaml b/CampusAppWP8/CampusAppWP8/Pages/Campusmap/RoomListPage.xaml index be326965..12d47a20 100644 --- a/CampusAppWP8/CampusAppWP8/Pages/Campusmap/RoomListPage.xaml +++ b/CampusAppWP8/CampusAppWP8/Pages/Campusmap/RoomListPage.xaml @@ -7,42 +7,53 @@ xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:lui="clr-namespace:CampusAppWP8.Utility.Lui.Button" - mc:Ignorable="d" + xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit" + xmlns:header="clr-namespace:CampusAppWP8.Utility.Lui.Header" FontFamily="{StaticResource PhoneFontFamilyNormal}" FontSize="{StaticResource PhoneFontSizeNormal}" Foreground="{StaticResource PhoneForegroundBrush}" - SupportedOrientations="Portrait" Orientation="Portrait" + SupportedOrientations="Portrait" Orientation="Portrait" + mc:Ignorable="d" shell:SystemTray.IsVisible="True"> - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/CampusAppWP8/CampusAppWP8/Pages/Campusmap/RoomListPage.xaml.cs b/CampusAppWP8/CampusAppWP8/Pages/Campusmap/RoomListPage.xaml.cs index dc0cac40..7205a010 100644 --- a/CampusAppWP8/CampusAppWP8/Pages/Campusmap/RoomListPage.xaml.cs +++ b/CampusAppWP8/CampusAppWP8/Pages/Campusmap/RoomListPage.xaml.cs @@ -17,6 +17,13 @@ namespace CampusAppWP8.Pages.Campusmap using CampusAppWP8.Resources; using Microsoft.Phone.Controls; using CampusAppWP8.Utility.Lui.MessageBoxes; + using CampusAppWP8.Model.Campusmap; + using System.Windows; + using System.Windows.Controls; + using CampusAppWP8.Utility; + using System.Windows.Input; + using System.Windows.Media; + using CampusAppWPortalLib8.Model.Utility; /// /// Class of the RoomListPage @@ -34,6 +41,14 @@ namespace CampusAppWP8.Pages.Campusmap /// private CampusBuildingModel building; + /// Variable for the map model. + private BuildingMapModel buildingMap; + + private bool pinchRun = false; + private Point mappoint; + private Point offsetPoint; + private ListPickerItemListModel layerListPicker; + #endregion #region Constructor @@ -85,23 +100,32 @@ namespace CampusAppWP8.Pages.Campusmap { if (this.placeFile.Model != null) { - this.SetupPivot(); + this.SetupMap(); } } /// /// Method setup the PivotElement /// - private void SetupPivot() + private void SetupMap() { if (NavigationContext.QueryString.ContainsKey(Constants.ParamBuildingId)) { - this.building = new CampusBuildingModel(NavigationContext.QueryString[Constants.ParamBuildingId], this.placeFile.Model.Places.ToList()); + this.setupCanvas(NavigationContext.QueryString[Constants.ParamBuildingId]); + this.createLayerListPicker(); if (this.building != null && this.building.Layers != null && this.building.Layers.Count > 0) { - this.SetCaptionsToRooms(); - this.RoomPivot.ItemsSource = this.GetSortedLayers(this.building); + if (NavigationContext.QueryString.ContainsKey(Constants.ParamRoomId)) + { + string layerKey = this.building.GetLayerKey(NavigationContext.QueryString[Constants.ParamRoomId]); + if (layerKey != null) + { + this.Layer.SelectedIndex = this.layerListPicker.GetIndexOrDefault(layerKey); + this.showCurrentRoom(NavigationContext.QueryString[Constants.ParamRoomId]); + } + } + this.showLayerPlaces(((ListPickerItemModel)this.Layer.SelectedItem).Value); } else { @@ -112,44 +136,227 @@ namespace CampusAppWP8.Pages.Campusmap { MessageBoxes.ShowMainModelErrorMessageBox(AppResources.MsgBox_ErrorMainModelLoad); } - + } - /// - /// Method sorts the Layers - /// - /// building of the layers - /// sorted Dictionary - private Dictionary GetSortedLayers(CampusBuildingModel build) + private void showCurrentRoom(string placeId) { - Dictionary result = new Dictionary(); - foreach (CampusBuildingLayerModel layer in build.Layers.Values) + + double x; + double y; + + this.ClearMap(new List() { MapPinModel.InfoPlacePinString }); + + PlaceModel room = this.building.GetPlaceById(placeId); + + x = room.GeoRefPoint.Longitude; + y = room.GeoRefPoint.Latitude; + Point roompoint = this.buildingMap.GetScrollPoint(this.buildingMap.ConverToPixelPoint(this.buildingMap.ConverToMapPoint(x, y))); + Point viewPoint = new Point(roompoint.X - mappoint.X + offsetPoint.X, roompoint.Y - mappoint.Y + offsetPoint.Y); + + MapCanvas.Children.Add(this.buildingMap.AddPin(viewPoint, MapPinModel.PinType.InfoRedPlace, new List { room })); + } + + private void ShowMapInfo(List places) + { + if (this.pinchRun) { - var sortRom = from place in layer.Rooms.Places - orderby place.GetInformationsValue(Constants.PisInformationName_Typ), place.GetInformationsValue(Constants.PisInformationName_Name) - select place; - result.Add(layer.LayerId, new CampusBuildingLayerModel(layer.LayerId, sortRom.ToList())); + return; + } + string msgText = string.Empty; + if (places == null) + { + return; + } + foreach (PlaceModel place in places) + { + msgText += AppResources.PlaceLabel_Name + ": "; + msgText += place.GetInformationsValue(Constants.PisInformationName_Name); + msgText = Wp8StringManager.AddNewLine(msgText); + + string type = place.GetInformationsValue(Constants.PisInformationName_Typ); + if (type != null) + { + msgText += AppResources.PlaceLabel_Type + ": "; + msgText += type; + msgText = Wp8StringManager.AddNewLine(msgText); + } + + string shortDesc = place.GetInformationsValue(Constants.PisInformationName_ShortDesc); + if (shortDesc != null) + { + msgText += AppResources.PlaceLabel_ShortDesc + ": "; + msgText += shortDesc; + msgText = Wp8StringManager.AddNewLine(msgText); + } + + string access = place.GetInformationsValue(Constants.PisInformationName_Accesbility); + if (access != null) + { + msgText += AppResources.PlaceLabel_Accessbility + ": "; + msgText += access; + msgText = Wp8StringManager.AddNewLine(msgText); + } } - return result; + MessageBoxes.ShowMainModelInfoMessageBox(msgText); } - /// - /// Method set all rooms a formatted string , which will be show as buttonContent - /// - private void SetCaptionsToRooms() + private void MapCanvas_ManipulationDelta(object sender, System.Windows.Input.ManipulationDeltaEventArgs e) { - string name; - string type; - foreach (CampusBuildingLayerModel layer in this.building.Layers.Values) + PinchManipulation pinch = e.PinchManipulation; + if (pinch == null) { - foreach (PlaceModel place in layer.Rooms.Places) + return; + } + + ScaleTransform scale = MapCanvas.RenderTransform as ScaleTransform; + + if (scale == null) + { + return; + } + + double scaleVal = pinch.CumulativeScale; + if (scaleVal < 1) + { + + scaleVal = 1; + } + else if (scaleVal > 1.5) + { + scaleVal = 1.5; + } + + scale.ScaleX = scaleVal; + scale.ScaleY = scaleVal; + + + + var newCenter = e.PinchManipulation.Current.Center; + scale.CenterX = newCenter.X; + scale.CenterY = newCenter.Y; + } + + private void MapCanvas_ManipulationCompleted(object sender, ManipulationCompletedEventArgs e) + { + this.pinchRun = false; + } + + private void MapCanvas_ManipulationStarted(object sender, ManipulationStartedEventArgs e) + { + this.pinchRun = true; + } + + private void createLayerListPicker() + { + layerListPicker = new ListPickerItemListModel(); + + foreach (string layername in this.building.Layers.Keys) + { + layerListPicker.AddItem(layername, layername); + } + this.Layer.ItemsSource = layerListPicker.List; + } + + private void showLayerPlaces(string layerKey = null) + { + if (layerKey == null) + { + layerKey = this.building.Layers.Keys.First(); + } + + CampusBuildingLayerModel layer = this.building.Layers[layerKey]; + double x; + double y; + + this.ClearMap(new List() { MapPinModel.InfoPlacePinString }); + + foreach (PlaceModel room in layer.Rooms.Places) + { + x = room.GeoRefPoint.Longitude; + y = room.GeoRefPoint.Latitude; + Point roompoint = this.buildingMap.GetScrollPoint(this.buildingMap.ConverToPixelPoint(this.buildingMap.ConverToMapPoint(x, y))); + Point viewPoint = new Point(roompoint.X - mappoint.X + offsetPoint.X, roompoint.Y - mappoint.Y + offsetPoint.Y); + + MapPinModel.PinType type; + + switch (room.GetInformationsValue(Constants.PisInformationName_Typ)) { - name = place.GetInformationsValue(Constants.PisInformationName_Name); - type = place.GetInformationsValue(Constants.PisInformationName_Typ); - if (name != null && type != null) + case "Labor": + type = MapPinModel.PinType.InfoLabPlace; + break; + case "Zugangsbereich": + type = MapPinModel.PinType.InfoAccesPlace; + break; + case "WC": + type = MapPinModel.PinType.InfoWcPlace; + break; + case "Regal": + continue; + default: + type = MapPinModel.PinType.InfoPlace; + break; + + } + MapCanvas.Children.Add(this.buildingMap.AddPin(viewPoint, type, new List { room })); + } + + // MapCanvas.Children.Add(this.buildingMap.AddPin(offsetPoint, MapPinModel.PinType.SearchPlace)); + } + + private void showLayerPlaces(int index = 0) + { + string layerKey = this.building.Layers.Keys.ElementAt(index); + this.showLayerPlaces(layerKey); + } + + private void setupCanvas(string buildingId) + { + this.building = new CampusBuildingModel(buildingId, this.placeFile.Model.Places.ToList()); + + this.buildingMap = new BuildingMapModel(this.building.Building.PlaceId); + this.buildingMap.ShowMapInfos += new CBMainMapModel.MapInfos(this.ShowMapInfo); + this.DefHeader.HeaderName = AppResources.CampusMapApp_RoomListTitle + " (" + this.building.Building.GetInformationsValue(Constants.PisInformationName_ShortName) + ")"; + + double y = this.building.Building.GeoRefPoint.Latitude; + double x = this.building.Building.GeoRefPoint.Longitude; + mappoint = this.buildingMap.GetScrollPoint(this.buildingMap.ConverToPixelPoint(this.buildingMap.ConverToMapPoint(x, y))); + offsetPoint = new Point(-this.buildingMap.MapImageOffsetX, -this.buildingMap.MapImageOffsetY); + + this.MapCanvas.DataContext = buildingMap; + + Canvas.SetLeft(this.imgMap, -1 * mappoint.X); + Canvas.SetTop(this.imgMap, -1 * mappoint.Y); + Canvas.SetZIndex(this.imgMap, 0); + } + + private void Layer_SelectionChanged(object sender, SelectionChangedEventArgs e) + { + this.showLayerPlaces(((ListPickerItemModel)this.Layer.SelectedItem).Value); + } + + private void ClearMap(List removeTags = null) + { + if (removeTags == null) + { + MapCanvas.Children.Clear(); + } + else + { + List childs = MapCanvas.Children.ToList(); + foreach (UIElement child in childs) + { + Image childImg = child as Image; + if (childImg == null || childImg.Tag == null) { - place.Caption = name + " (" + type + ")"; + continue; + } + + string imgTag = childImg.Tag.ToString().Trim(); + if (removeTags.Contains(imgTag)) + { + MapCanvas.Children.Remove(child); } } } diff --git a/CampusAppWP8/CampusAppWP8/Pages/Departments/DepartmentFavoritePage.xaml b/CampusAppWP8/CampusAppWP8/Pages/Departments/DepartmentFavoritePage.xaml index 41b7eb21..b0abbe4c 100644 --- a/CampusAppWP8/CampusAppWP8/Pages/Departments/DepartmentFavoritePage.xaml +++ b/CampusAppWP8/CampusAppWP8/Pages/Departments/DepartmentFavoritePage.xaml @@ -6,6 +6,7 @@ xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:header="clr-namespace:CampusAppWP8.Utility.Lui.Header" FontFamily="{StaticResource PhoneFontFamilyNormal}" FontSize="{StaticResource PhoneFontSizeNormal}" Foreground="{StaticResource PhoneForegroundBrush}" @@ -20,12 +21,8 @@ - - - - - - + + @@ -39,8 +36,8 @@ - diff --git a/CampusAppWP8/CampusAppWP8/Pages/Departments/DepartmentFavoritePage.xaml.cs b/CampusAppWP8/CampusAppWP8/Pages/Departments/DepartmentFavoritePage.xaml.cs index f45eb0cb..b94a4a7f 100644 --- a/CampusAppWP8/CampusAppWP8/Pages/Departments/DepartmentFavoritePage.xaml.cs +++ b/CampusAppWP8/CampusAppWP8/Pages/Departments/DepartmentFavoritePage.xaml.cs @@ -66,7 +66,7 @@ namespace CampusAppWP8.Pages.Departments protected override void OnNavigatedTo(NavigationEventArgs e) { base.OnNavigatedTo(e); - this.progressBar.Visibility = Visibility.Visible; + this.DefHeader.ProgressVisibility = Visibility.Visible; if (this.isNewInstance) { @@ -95,7 +95,7 @@ namespace CampusAppWP8.Pages.Departments this.isSourceSet = true; } - this.progressBar.Visibility = Visibility.Collapsed; + this.DefHeader.ProgressVisibility = Visibility.Collapsed; } /// @@ -180,7 +180,7 @@ namespace CampusAppWP8.Pages.Departments FrameworkElement infoBtn = sender as FrameworkElement; string chairName = ((this.lastClickedBtn as Button).Content as TextBlock).Text.ToString(); - NavigationService.Navigate(new Uri(Constants.PathDepartment_DepartmentInfoPage + "?url=" + infoBtn.Tag.ToString() + "&name=" + chairName, UriKind.Relative)); + NavigationService.Navigate(new Uri(Constants.PathDepartment_DepartmentInfoPage + "?" + Constants.ParamUrl + "=" + infoBtn.Tag.ToString() + "&" + Constants.ParamName + "=" + chairName, UriKind.Relative)); } #endregion diff --git a/CampusAppWP8/CampusAppWP8/Pages/Departments/DepartmentIndexPage.xaml b/CampusAppWP8/CampusAppWP8/Pages/Departments/DepartmentIndexPage.xaml index b1f6f8b6..d8cd2952 100644 --- a/CampusAppWP8/CampusAppWP8/Pages/Departments/DepartmentIndexPage.xaml +++ b/CampusAppWP8/CampusAppWP8/Pages/Departments/DepartmentIndexPage.xaml @@ -7,6 +7,7 @@ xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:lui="clr-namespace:CampusAppWP8.Utility.Lui.Button" + xmlns:header="clr-namespace:CampusAppWP8.Utility.Lui.Header" FontFamily="{StaticResource PhoneFontFamilyNormal}" FontSize="{StaticResource PhoneFontSizeNormal}" Foreground="{StaticResource PhoneForegroundBrush}" @@ -18,16 +19,12 @@ - + - - - - - - + + @@ -38,7 +35,7 @@ - diff --git a/CampusAppWP8/CampusAppWP8/Pages/Departments/DepartmentPage.xaml.cs b/CampusAppWP8/CampusAppWP8/Pages/Departments/DepartmentPage.xaml.cs index 1dd9291d..b3189a4e 100644 --- a/CampusAppWP8/CampusAppWP8/Pages/Departments/DepartmentPage.xaml.cs +++ b/CampusAppWP8/CampusAppWP8/Pages/Departments/DepartmentPage.xaml.cs @@ -66,7 +66,7 @@ namespace CampusAppWP8.Pages.Departments protected override void OnNavigatedTo(NavigationEventArgs e) { base.OnNavigatedTo(e); - this.progressBar.Visibility = Visibility.Visible; + this.DefHeader.ProgressVisibility = Visibility.Visible; if (this.isNewInstance) { @@ -113,7 +113,7 @@ namespace CampusAppWP8.Pages.Departments } } - this.progressBar.Visibility = Visibility.Collapsed; + this.DefHeader.ProgressVisibility = Visibility.Collapsed; } /// @@ -205,7 +205,7 @@ namespace CampusAppWP8.Pages.Departments FrameworkElement infoBtn = sender as FrameworkElement; string chairName = ((this.lastClickedBtn as Button).Content as TextBlock).Text.ToString(); - NavigationService.Navigate(new Uri(Constants.PathDepartment_DepartmentInfoPage + "?url=" + infoBtn.Tag.ToString() + "&name=" + chairName, UriKind.Relative)); + NavigationService.Navigate(new Uri(Constants.PathDepartment_DepartmentInfoPage + "?" + Constants.ParamUrl + "=" + infoBtn.Tag.ToString() + "&" + Constants.ParamName + "=" + chairName, UriKind.Relative)); } #endregion diff --git a/CampusAppWP8/CampusAppWP8/Pages/Dev/QRScanner.xaml.cs b/CampusAppWP8/CampusAppWP8/Pages/Dev/QRScanner.xaml.cs index 9126ab91..8c7c9b23 100644 --- a/CampusAppWP8/CampusAppWP8/Pages/Dev/QRScanner.xaml.cs +++ b/CampusAppWP8/CampusAppWP8/Pages/Dev/QRScanner.xaml.cs @@ -23,6 +23,8 @@ namespace CampusAppWP8.Pages.Dev using Microsoft.Devices; using Microsoft.Phone.Controls; using ZXing; + using CampusAppWP8.Utility.Lui.MessageBoxes; + using CampusAppWP8.Model.Setting; /// /// QR Code scanner. @@ -109,7 +111,12 @@ namespace CampusAppWP8.Pages.Dev if (this.cam != null) { this.captureThreadExit = true; - this.captureThread.Join(); + + if (this.captureThread != null) + { + this.captureThread.Join(); + } + this.cam.Dispose(); @@ -161,11 +168,14 @@ namespace CampusAppWP8.Pages.Dev { if (e.Succeeded) { - this.cam.Focus(); + if (this.cam != null && !this.captureThreadExit) + { + this.cam.Focus(); - this.captureThreadExit = false; - this.captureThread = new Thread(this.CaptureThreadFunc); - this.captureThread.Start(); + this.captureThreadExit = false; + this.captureThread = new Thread(this.CaptureThreadFunc); + this.captureThread.Start(); + } } } @@ -228,16 +238,25 @@ namespace CampusAppWP8.Pages.Dev } else { - string pid = Wp8StringManager.FilterPlaceIdinQRResultString(result.Text); - string urlString = Constants.PathCampusmap_Campusmap; - urlString += "?" + Constants.ParamModelMap_SearchTermAlias + "=" + pid; - Uri url = new Uri(urlString as string, UriKind.Relative); - NavigationService.Navigate(url); + this.GoToCampusMappage(result.Text); } } else { - MessageBox.Show(result.Text); + if (AppSettings.BTUTagDefaultHandler.CampusMap == Settings.AppSetting.TagDefaultHandler) + { + this.GoToCampusMappage(result.Text); + } + else + { + MessageBoxResult msgResult = MessageBoxes.ShowBtuTagInfoOkCancelMessageBox(result.Text); + if (msgResult.Equals(MessageBoxResult.OK)) + { + string urlString = Constants.PathBTUTag_Info; + Uri url = new Uri(urlString as string, UriKind.Relative); + this.NavigationService.Navigate(url); + } + } } }); } @@ -247,6 +266,15 @@ namespace CampusAppWP8.Pages.Dev } } + private void GoToCampusMappage(string tagContent) + { + string pid = Wp8StringManager.FilterPlaceIdinQRResultString(tagContent); + string urlString = Constants.PathCampusmap_Campusmap; + urlString += "?" + Constants.ParamModelMap_SearchTermAlias + "=" + pid; + Uri url = new Uri(urlString as string, UriKind.Relative); + NavigationService.Navigate(url); + } + /// /// Capture thread function. /// @@ -259,10 +287,10 @@ namespace CampusAppWP8.Pages.Dev { //if (this.isInAutofocus == false) //{ - this.cam.GetPreviewBufferArgb32(buffer); + this.cam.GetPreviewBufferArgb32(buffer); - this.OnCaptureImage(buffer, (int)resolution.Width, (int)resolution.Height); - this.isInAutofocus = true; + this.OnCaptureImage(buffer, (int)resolution.Width, (int)resolution.Height); + this.isInAutofocus = true; //} System.Threading.Thread.Sleep(1000); diff --git a/CampusAppWP8/CampusAppWP8/Pages/Events/EventIndexPage.xaml b/CampusAppWP8/CampusAppWP8/Pages/Events/EventIndexPage.xaml index 0aac8c25..f680cfc0 100644 --- a/CampusAppWP8/CampusAppWP8/Pages/Events/EventIndexPage.xaml +++ b/CampusAppWP8/CampusAppWP8/Pages/Events/EventIndexPage.xaml @@ -7,6 +7,7 @@ xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:lui="clr-namespace:CampusAppWP8.Utility.Lui.Button" + xmlns:header="clr-namespace:CampusAppWP8.Utility.Lui.Header" FontFamily="{StaticResource PhoneFontFamilyNormal}" FontSize="{StaticResource PhoneFontSizeNormal}" Foreground="{StaticResource PhoneForegroundBrush}" @@ -21,14 +22,16 @@ - - + + + - + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - - - - - - + + + + + + + + + + + - + diff --git a/CampusAppWP8/CampusAppWP8/Pages/Person/PersonPage.xaml.cs b/CampusAppWP8/CampusAppWP8/Pages/Person/PersonPage.xaml.cs index ac47c1e4..520f1d88 100644 --- a/CampusAppWP8/CampusAppWP8/Pages/Person/PersonPage.xaml.cs +++ b/CampusAppWP8/CampusAppWP8/Pages/Person/PersonPage.xaml.cs @@ -8,8 +8,8 @@ namespace CampusAppWP8.Pages.Person { - using System.Collections.Generic; using System.Windows; + using System.Windows.Input; using CampusAppWP8.Api.Person; using CampusAppWP8.Model.Person; using CampusAppWP8.Resources; @@ -18,6 +18,8 @@ namespace CampusAppWP8.Pages.Person using CampusAppWPortalLib8.Model.Utility; using Microsoft.Phone.Controls; using Microsoft.Phone.Tasks; + using System.Collections.Generic; + using System.Windows.Controls; /// Person page. /// Stubbfel, 09.09.2013. @@ -58,7 +60,7 @@ namespace CampusAppWP8.Pages.Person this.api = new PersonSearchApi(); this.api.OnLoaded += new PersonSearchApi.OnIO(this.ApiIsReady); this.api.OnFailedLoad += new PersonSearchApi.OnFailed(this.ApiIsFail); - this.ProgressBar.Visibility = System.Windows.Visibility.Visible; + this.DefHeader.ProgressVisibility = Visibility.Visible; List parameterList = this.CreateUrlParameter(query); this.api.SetUriParams(parameterList); this.api.LoadData(); @@ -80,7 +82,7 @@ namespace CampusAppWP8.Pages.Person private void ApiIsFail() { MessageBoxResult result = MessageBoxes.ShowMainModelErrorMessageBox(AppResources.MsgBox_ErrorMainModelLoad); - this.ProgressBar.Visibility = Visibility.Collapsed; + this.DefHeader.ProgressVisibility = Visibility.Collapsed; } /// API is ready. @@ -88,7 +90,7 @@ namespace CampusAppWP8.Pages.Person private void ApiIsReady() { this.SetupResultBox(); - this.ProgressBar.Visibility = Visibility.Collapsed; + this.DefHeader.ProgressVisibility = Visibility.Collapsed; } /// Sets up the result box. @@ -97,6 +99,10 @@ namespace CampusAppWP8.Pages.Person { this.api.Model.RemoveNonFunctionAndSetIdsPerson(); this.ResultBox.ItemsSource = this.api.Model.Persons; + if (this.api.Model == null || this.api.Model.Persons == null || this.api.Model.Persons.Count < 1) + { + MessageBoxes.ShowMainModelInfoMessageBox(AppResources.MsgBox_NoResult); + } } /// Event handler. Called by Button for click events. @@ -138,6 +144,25 @@ namespace CampusAppWP8.Pages.Person saveContactTask.Show(); } + private void SearchName_KeyDown(object sender, System.Windows.Input.KeyEventArgs e) + { + if (e.Key == Key.Enter) + { + this.SendRequest(sender,e); + this.ResultBox.Focus(); + } + } + + /// + /// Method is called when the selection in the listbox is changed. + /// + /// listbox object. + /// event args. + private void Box_SelectionChanged(object sender, System.Windows.Controls.SelectionChangedEventArgs e) + { + (sender as ListBox).SelectedIndex = -1; + } + #endregion } } \ No newline at end of file diff --git a/CampusAppWP8/CampusAppWP8/Pages/Setting/AppSettingPage.xaml b/CampusAppWP8/CampusAppWP8/Pages/Setting/AppSettingPage.xaml index 82e30fd7..20e6192b 100644 --- a/CampusAppWP8/CampusAppWP8/Pages/Setting/AppSettingPage.xaml +++ b/CampusAppWP8/CampusAppWP8/Pages/Setting/AppSettingPage.xaml @@ -7,6 +7,7 @@ xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit" + xmlns:header="clr-namespace:CampusAppWP8.Utility.Lui.Header" FontFamily="{StaticResource PhoneFontFamilyNormal}" FontSize="{StaticResource PhoneFontSizeNormal}" Foreground="{StaticResource PhoneForegroundBrush}" @@ -22,14 +23,14 @@ - - - + + + @@ -40,6 +41,25 @@ + + + + + + + + + + + + + + + + + + + diff --git a/CampusAppWP8/CampusAppWP8/Pages/Setting/AppSettingPage.xaml.cs b/CampusAppWP8/CampusAppWP8/Pages/Setting/AppSettingPage.xaml.cs index 905422f7..9239915d 100644 --- a/CampusAppWP8/CampusAppWP8/Pages/Setting/AppSettingPage.xaml.cs +++ b/CampusAppWP8/CampusAppWP8/Pages/Setting/AppSettingPage.xaml.cs @@ -8,13 +8,18 @@ namespace CampusAppWP8.Pages.Setting { using System.Windows.Navigation; - using Microsoft.Phone.Controls; + using Microsoft.Phone.Controls; + using CampusApp8.Model.Setting; + using System; /// /// Class for the AppSettingPage /// public partial class AppSettingPage : PhoneApplicationPage { + #region Member + private TagHandlerListPickerItemListModel taghandlerModel; + #endregion #region Constructor /// @@ -23,8 +28,12 @@ namespace CampusAppWP8.Pages.Setting public AppSettingPage() { this.InitializeComponent(); - GeoWatchToggle.IsChecked = Settings.AppSetting.GeoWatchEnable; - OnlyWiFiToggle.IsChecked = Settings.AppSetting.OnlyWifi; + this.GeoWatchToggle.IsChecked = Settings.AppSetting.GeoWatchEnable; + this.OnlyWiFiToggle.IsChecked = Settings.AppSetting.OnlyWifi; + this.taghandlerModel = new TagHandlerListPickerItemListModel(); + this.TagHandler.ItemsSource = this.taghandlerModel.List; + int tagselIndex = this.taghandlerModel.GetIndexOrDefault(Settings.AppSetting.TagDefaultHandler.ToString()); + this.TagHandler.SelectedIndex = tagselIndex; } #endregion @@ -41,6 +50,7 @@ namespace CampusAppWP8.Pages.Setting { Settings.AppSetting.GeoWatchEnable = GeoWatchToggle.IsChecked.Value; Settings.AppSetting.OnlyWifi = OnlyWiFiToggle.IsChecked.Value; + Settings.AppSetting.TagDefaultHandler = (CampusAppWP8.Model.Setting.AppSettings.BTUTagDefaultHandler)Enum.Parse(typeof(CampusAppWP8.Model.Setting.AppSettings.BTUTagDefaultHandler), ((CampusAppWPortalLib8.Model.Utility.ListPickerItemModel)this.TagHandler.SelectedItem).Value); } } diff --git a/CampusAppWP8/CampusAppWP8/Pages/Setting/UserProfil.xaml b/CampusAppWP8/CampusAppWP8/Pages/Setting/UserProfil.xaml index 421e235e..f92c9a07 100644 --- a/CampusAppWP8/CampusAppWP8/Pages/Setting/UserProfil.xaml +++ b/CampusAppWP8/CampusAppWP8/Pages/Setting/UserProfil.xaml @@ -7,6 +7,7 @@ xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit" + xmlns:header="clr-namespace:CampusAppWP8.Utility.Lui.Header" FontFamily="{StaticResource PhoneFontFamilyNormal}" FontSize="{StaticResource PhoneFontSizeNormal}" Foreground="{StaticResource PhoneForegroundBrush}" @@ -22,12 +23,10 @@ - - - - - + + + diff --git a/CampusAppWP8/CampusAppWP8/Pages/Setting/UserProfil.xaml.cs b/CampusAppWP8/CampusAppWP8/Pages/Setting/UserProfil.xaml.cs index 6455d003..6436902b 100644 --- a/CampusAppWP8/CampusAppWP8/Pages/Setting/UserProfil.xaml.cs +++ b/CampusAppWP8/CampusAppWP8/Pages/Setting/UserProfil.xaml.cs @@ -71,7 +71,7 @@ namespace CampusAppWP8.Pages.Setting /// Stubbfel, 10.09.2013. private void LoadListPicker() { - this.ProgressBar.Visibility = Visibility.Visible; + this.DefHeader.ProgressVisibility = Visibility.Visible; this.courseList = new CourseListPickerItemListWp8Model(); this.courseList.OnLoaded += new CourseListPickerItemListWp8Model.OnIO(this.SetupListPickers); this.courseList.LoadCourseList(); @@ -98,7 +98,7 @@ namespace CampusAppWP8.Pages.Setting this.Semster.SelectedIndex = semesterList.GetIndexOrDefault(this.userProfil.Semester.ToString()); this.Role.SelectedIndex = roleList.GetIndexOrDefault(this.userProfil.Role.ToString()); this.Campus.SelectedIndex = campusList.GetIndexOrDefault(((int)this.userProfil.DefaultCampus).ToString()); - this.ProgressBar.Visibility = Visibility.Collapsed; + this.DefHeader.ProgressVisibility = Visibility.Collapsed; } /// diff --git a/CampusAppWP8/CampusAppWP8/Pages/StartPage.xaml b/CampusAppWP8/CampusAppWP8/Pages/StartPage.xaml index 7a3c07a2..d7048791 100644 --- a/CampusAppWP8/CampusAppWP8/Pages/StartPage.xaml +++ b/CampusAppWP8/CampusAppWP8/Pages/StartPage.xaml @@ -25,7 +25,7 @@ - + @@ -39,11 +39,23 @@ - + + + + + + + + + + + + @@ -83,16 +95,32 @@ - + + + + + + + + + + + + + + + + - + @@ -126,14 +154,15 @@ - - - - + + + + + - + @@ -152,14 +181,15 @@ - + - - + + - + + @@ -174,8 +204,19 @@ - - + + + + + + + + + + + + + @@ -187,8 +228,7 @@ - - + @@ -200,25 +240,9 @@ - - - - - - - - - - - - - - - - - + - - diff --git a/CampusAppWP8/CampusAppWP8/Pages/StartPage.xaml.cs b/CampusAppWP8/CampusAppWP8/Pages/StartPage.xaml.cs index fb4dfb53..d351d030 100644 --- a/CampusAppWP8/CampusAppWP8/Pages/StartPage.xaml.cs +++ b/CampusAppWP8/CampusAppWP8/Pages/StartPage.xaml.cs @@ -9,18 +9,22 @@ namespace CampusAppWP8.Pages { using System; using System.Linq; + using System.Runtime.InteropServices.WindowsRuntime; using System.Threading; using System.Windows; using System.Windows.Controls; using System.Windows.Navigation; + using Windows.Networking.Proximity; using CampusAppWP8.Feed.Utility; + using CampusAppWP8.File.Places; using CampusAppWP8.Resources; using CampusAppWP8.Utility; using CampusAppWP8.Utility.Lui.MessageBoxes; + using CampusAppWP8.Utility.Lui.Tiles; + using CampusAppWP8.Utility.NDEF; using Microsoft.Phone.Controls; using Microsoft.Phone.Shell; - using CampusAppWP8.File.Places; - using CampusAppWP8.Utility.Lui.Tiles; + using CampusAppWP8.Model.Setting; /// /// Class for the StartPage @@ -29,9 +33,14 @@ namespace CampusAppWP8.Pages { #region Member + /// The device. + private readonly ProximityDevice device = ProximityDevice.GetDefault(); + /// List of initialise courses. private CourseFeed initCourseList; + private PageOrientation prevOrientation; + #endregion #region Constructor @@ -42,6 +51,7 @@ namespace CampusAppWP8.Pages public StartPage() { this.InitializeComponent(); + ApplicationBarMenuItem menuItem1 = ApplicationBar.MenuItems[0] as ApplicationBarMenuItem; ApplicationBarMenuItem menuItem2 = ApplicationBar.MenuItems[1] as ApplicationBarMenuItem; ApplicationBarMenuItem menuItem3 = ApplicationBar.MenuItems[2] as ApplicationBarMenuItem; @@ -57,18 +67,16 @@ namespace CampusAppWP8.Pages menuItem2.Text = AppResources.Setting_ApplAppBarTitle; } - if (Settings.AppSetting.DevMode) + if (menuItem3 != null) { - if (menuItem3 != null) - { - menuItem3.Text = "Nfc"; - } - - if (menuItem4 != null) - { - menuItem4.Text = "QR-Reader"; - } + menuItem3.Text = AppResources.App_ScanQR; } + + if (menuItem4 != null) + { + menuItem4.Text = AppResources.App_ScanNfc; + } + else { ApplicationBar.MenuItems.RemoveAt(ApplicationBar.MenuItems.Count - 1); @@ -99,6 +107,8 @@ namespace CampusAppWP8.Pages file.LoadData(); } + private long ndefId; + #endregion #region Method @@ -112,6 +122,27 @@ namespace CampusAppWP8.Pages protected override void OnNavigatedTo(NavigationEventArgs e) { base.OnNavigatedTo(e); + if (this.Orientation.Equals(PageOrientation.PortraitUp) || this.Orientation.Equals(PageOrientation.PortraitDown) || this.Orientation.Equals(PageOrientation.Portrait)) + { + this.prevOrientation = PageOrientation.Portrait; + } + else + { + this.prevOrientation = PageOrientation.Landscape; + } + + ndefId = this.device.SubscribeForMessage(Constants.NCFMessageType_NDEF, this.NDEFHandler); + } + + /// + /// Methods overrides the OnNavigatedFrom-Method + /// + /// some NavigationEventArgs + protected override void OnNavigatedFrom(NavigationEventArgs e) + { + this.device.StopSubscribingForMessage(ndefId); + + base.OnNavigatedFrom(e); } #endregion @@ -133,23 +164,36 @@ namespace CampusAppWP8.Pages private void PhoneApplicationPage_OrientationChanged(object sender, OrientationChangedEventArgs e) { // Switch the placement of the buttons based on an orientation change. - if (this.Orientation == PageOrientation.LandscapeLeft) + if (this.Orientation.Equals(PageOrientation.LandscapeLeft)) { this.ContentPanel.Margin = new Thickness(24, -24, 76, 0); this.AppTitle.Margin = new Thickness(12, 17, 0, 28); - this.MoveGridToLandscape(); + if (!this.prevOrientation.Equals(PageOrientation.Landscape)) + { + this.MoveGridToLandscape(); + this.prevOrientation = PageOrientation.Landscape; + } } - else if (this.Orientation == PageOrientation.LandscapeRight) + else if (this.Orientation.Equals(PageOrientation.LandscapeRight)) { this.ContentPanel.Margin = new Thickness(76, -24, 24, 0); this.AppTitle.Margin = new Thickness(64, 17, 0, 28); - this.MoveGridToLandscape(); + if (!this.prevOrientation.Equals(PageOrientation.Landscape)) + { + this.MoveGridToLandscape(); + this.prevOrientation = PageOrientation.Landscape; + } } else { this.ContentPanel.Margin = new Thickness(12, 0, 12, 12); this.AppTitle.Margin = new Thickness(12, 17, 0, 28); - this.MoveToPortrait(); + + if (!this.prevOrientation.Equals(PageOrientation.Portrait)) + { + this.MoveToPortrait(); + this.prevOrientation = PageOrientation.Portrait; + } } } @@ -157,18 +201,19 @@ namespace CampusAppWP8.Pages /// Stubbfel, 27.08.2013. private void MoveToPortrait() { - bool test = this.Row0.Children.Remove(this.OpenHoursAppButton); - if (!test) + if (!this.Row0.Children.Contains(this.MailAppButton) + && !this.Row1.Children.Contains(this.OpenHoursAppButton) + && !this.Row2.Children.Contains(this.LinkAppButton)) { return; } + this.Row0.Children.Remove(this.MailAppButton); + this.Row3.Children.Add(this.MailAppButton); + this.MailAppButton.SetValue(Grid.ColumnProperty, 0); + this.Row1.Children.Remove(this.OpenHoursAppButton); this.Row3.Children.Add(this.OpenHoursAppButton); - this.OpenHoursAppButton.SetValue(Grid.ColumnProperty, 0); - - this.Row1.Children.Remove(this.OSAAppButton); - this.Row3.Children.Add(this.OSAAppButton); - this.OSAAppButton.SetValue(Grid.ColumnProperty, 1); + this.OpenHoursAppButton.SetValue(Grid.ColumnProperty, 1); this.Row2.Children.Remove(this.LinkAppButton); this.Row3.Children.Add(this.LinkAppButton); @@ -179,18 +224,20 @@ namespace CampusAppWP8.Pages /// Stubbfel, 27.08.2013. private void MoveGridToLandscape() { - bool test = this.Row3.Children.Remove(this.OpenHoursAppButton); - if (!test) + if (!this.Row3.Children.Contains(this.MailAppButton) + && !this.Row3.Children.Contains(this.OpenHoursAppButton) + && !this.Row3.Children.Contains(this.LinkAppButton)) { return; } - this.Row0.Children.Add(this.OpenHoursAppButton); - this.OpenHoursAppButton.SetValue(Grid.ColumnProperty, 3); + this.Row3.Children.Remove(this.MailAppButton); + this.Row0.Children.Add(this.MailAppButton); ; + this.MailAppButton.SetValue(Grid.ColumnProperty, 3); - this.Row3.Children.Remove(this.OSAAppButton); - this.Row1.Children.Add(this.OSAAppButton); - this.OSAAppButton.SetValue(Grid.ColumnProperty, 3); + this.Row3.Children.Remove(this.OpenHoursAppButton); + this.Row1.Children.Add(this.OpenHoursAppButton); + this.OpenHoursAppButton.SetValue(Grid.ColumnProperty, 3); this.Row3.Children.Remove(this.LinkAppButton); this.Row2.Children.Add(this.LinkAppButton); @@ -224,10 +271,10 @@ namespace CampusAppWP8.Pages /// /// Caller of the function /// some EventArgs - private void ApplicationBarMenuItem3_Click(object sender, EventArgs e) + private void ApplicationBarMenuItem4_Click(object sender, EventArgs e) { - Uri url = new Uri("/Pages/Dev/NFC.xaml", UriKind.Relative); - NavigationService.Navigate(url); + /* Uri url = new Uri("/Pages/Dev/NFC.xaml", UriKind.Relative); + NavigationService.Navigate(url);*/ } /// @@ -235,7 +282,7 @@ namespace CampusAppWP8.Pages /// /// Caller of the function. /// Event information. - private void ApplicationBarMenuItem4_Click(object sender, EventArgs e) + private void ApplicationBarMenuItem3_Click(object sender, EventArgs e) { Uri url = new Uri("/Pages/Dev/QRScanner.xaml", UriKind.Relative); NavigationService.Navigate(url); @@ -285,8 +332,6 @@ namespace CampusAppWP8.Pages } } - #endregion - private void PintoStart_Click(object sender, RoutedEventArgs e) { FrameworkElement elment = sender as FrameworkElement; @@ -346,28 +391,68 @@ namespace CampusAppWP8.Pages } - private void PintoStart_Click2(object sender, RoutedEventArgs e) + private void NDEFHandler(ProximityDevice sender, ProximityMessage message) { - IconicTileData oIcontile = new IconicTileData(); - oIcontile.Title = "WebmailPage"; + // create ndefMessage + this.device.StopSubscribingForMessage(message.SubscriptionId); - oIcontile.IconImage = new Uri(Icons.Mensa, UriKind.Relative); - oIcontile.SmallIconImage = new Uri(Icons.Mensa, UriKind.Relative); - - // find the tile object for the application tile that using "Iconic" contains string in it. - ShellTile TileToFind = ShellTile.ActiveTiles.FirstOrDefault(x => x.NavigationUri.ToString().Contains("WebmailPage".ToString())); - - if (TileToFind != null && TileToFind.NavigationUri.ToString().Contains("WebmailPage")) + if (AppSettings.BTUTagDefaultHandler.CampusMap == Settings.AppSetting.TagDefaultHandler) { - TileToFind.Delete(); - ShellTile.Create(new Uri(Constants.PathMail_WebMailPage, UriKind.Relative), oIcontile, true); + var ndefMessage = message.Data; + byte[] data = ndefMessage.ToArray(); + NDEFMessage ndef = new NDEFMessage(data); + + // search for placeId + string nfcContent = ndef.GetContent(); + this.GoToCampusMappage(nfcContent); } else { - ShellTile.Create(new Uri(Constants.PathMail_WebMailPage, UriKind.Relative), oIcontile, true); + if (this.Dispatcher != null) + { + this.Dispatcher.BeginInvoke(new Action(() => this.ShowBtuTagMessageBox())); + } + else + { + this.ShowBtuTagMessageBox(); + } + } + + ndefId = this.device.SubscribeForMessage(Constants.NCFMessageType_NDEF, this.NDEFHandler); + } + + private void GoToCampusMappage(string tagContent) + { + string pid = Wp8StringManager.FilterPlaceIdinNFCResultString(tagContent); + string urlString = Constants.PathCampusmap_Campusmap; + urlString += "?" + Constants.ParamModelMap_SearchTermAlias + "=" + pid; + Uri url = new Uri(urlString as string, UriKind.Relative); + + if (this.Dispatcher != null) + { + this.Dispatcher.BeginInvoke(new Action(() => NavigationService.Navigate(url))); + } + else + { + NavigationService.Navigate(url); + } + + } + + private void ShowBtuTagMessageBox() + { + MessageBoxResult msgResult = MessageBoxes.ShowBtuTagInfoOkCancelMessageBox(); + if (msgResult.Equals(MessageBoxResult.OK)) + { + string urlString = Constants.PathBTUTag_Info; + Uri url = new Uri(urlString as string, UriKind.Relative); + this.NavigationService.Navigate(url); + return; } } #endregion + + #endregion } } \ No newline at end of file diff --git a/CampusAppWP8/CampusAppWP8/Pages/StudentCouncil/StudentCouncilPage.xaml b/CampusAppWP8/CampusAppWP8/Pages/StudentCouncil/StudentCouncilPage.xaml index f4f7b52c..25db516a 100644 --- a/CampusAppWP8/CampusAppWP8/Pages/StudentCouncil/StudentCouncilPage.xaml +++ b/CampusAppWP8/CampusAppWP8/Pages/StudentCouncil/StudentCouncilPage.xaml @@ -7,6 +7,7 @@ xmlns:lui="clr-namespace:CampusAppWP8.Utility.Lui.Button" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:header="clr-namespace:CampusAppWP8.Utility.Lui.Header" mc:Ignorable="d" FontFamily="{StaticResource PhoneFontFamilyNormal}" FontSize="{StaticResource PhoneFontSizeNormal}" @@ -16,13 +17,21 @@ - - + + + + + + + + + + - + @@ -38,13 +47,17 @@ - - - - - + + + + + + + + + - + diff --git a/CampusAppWP8/CampusAppWP8/Pages/StudentCouncil/StudentCouncilPage.xaml.cs b/CampusAppWP8/CampusAppWP8/Pages/StudentCouncil/StudentCouncilPage.xaml.cs index d57a1ffe..a1ea39e0 100644 --- a/CampusAppWP8/CampusAppWP8/Pages/StudentCouncil/StudentCouncilPage.xaml.cs +++ b/CampusAppWP8/CampusAppWP8/Pages/StudentCouncil/StudentCouncilPage.xaml.cs @@ -54,12 +54,18 @@ namespace CampusAppWP8.Pages.StudentCouncil protected override void OnNavigatedTo(NavigationEventArgs e) { base.OnNavigatedTo(e); + + if (this.Orientation.Equals(PageOrientation.Landscape) || this.Orientation.Equals(PageOrientation.LandscapeLeft) || this.Orientation.Equals(PageOrientation.LandscapeRight)) + { + ApplicationBar.Mode = Microsoft.Phone.Shell.ApplicationBarMode.Default; + } + if (this.feed == null) { this.InitializeFeed(); } - this.ProgressBar.Visibility = System.Windows.Visibility.Visible; + this.DefHeader.ProgressVisibility = System.Windows.Visibility.Visible; this.feed.LoadData(Utilities.GetLoadModus()); } @@ -72,6 +78,26 @@ namespace CampusAppWP8.Pages.StudentCouncil this.feed.SaveData(); } + /// + /// Override the OnOrientationChanged method. + /// + /// orientation changed args. + protected override void OnOrientationChanged(OrientationChangedEventArgs e) + { + if (e.Orientation == PageOrientation.Landscape + || e.Orientation == PageOrientation.LandscapeLeft + || e.Orientation == PageOrientation.LandscapeRight) + { + ApplicationBar.Mode = Microsoft.Phone.Shell.ApplicationBarMode.Default; + } + else + { + ApplicationBar.Mode = Microsoft.Phone.Shell.ApplicationBarMode.Minimized; + } + + base.OnOrientationChanged(e); + } + #endregion #region private @@ -92,7 +118,7 @@ namespace CampusAppWP8.Pages.StudentCouncil private void FeedIsReady() { this.SetupStudentCouncilPivot(); - this.ProgressBar.Visibility = System.Windows.Visibility.Collapsed; + this.DefHeader.ProgressVisibility = System.Windows.Visibility.Collapsed; } /// @@ -111,7 +137,7 @@ namespace CampusAppWP8.Pages.StudentCouncil /// event args private void StudentForceUpdate_Click(object sender, EventArgs e) { - this.ProgressBar.Visibility = System.Windows.Visibility.Visible; + this.DefHeader.ProgressVisibility = System.Windows.Visibility.Visible; this.feed.ForceWebUpdate(); } @@ -130,7 +156,7 @@ namespace CampusAppWP8.Pages.StudentCouncil private void FeedIsFailFile() { MessageBoxResult result = MessageBoxes.ShowMainModelErrorMessageBox(AppResources.MsgBox_ErrorMainModelLoadFile); - this.ProgressBar.Visibility = System.Windows.Visibility.Collapsed; + this.DefHeader.ProgressVisibility = System.Windows.Visibility.Collapsed; } #endregion diff --git a/CampusAppWP8/CampusAppWP8/Resources/AppResources.Designer.cs b/CampusAppWP8/CampusAppWP8/Resources/AppResources.Designer.cs index a38ae7ac..5f37747a 100644 --- a/CampusAppWP8/CampusAppWP8/Resources/AppResources.Designer.cs +++ b/CampusAppWP8/CampusAppWP8/Resources/AppResources.Designer.cs @@ -70,11 +70,20 @@ namespace CampusAppWP8.Resources { } /// - /// Sucht eine lokalisierte Zeichenfolge, die Ganztägig ähnelt. + /// Sucht eine lokalisierte Zeichenfolge, die BTU-Tag via NFC ähnelt. /// - public static string AllDay { + public static string App_ScanNfc { get { - return ResourceManager.GetString("AllDay", resourceCulture); + return ResourceManager.GetString("App_ScanNfc", resourceCulture); + } + } + + /// + /// Sucht eine lokalisierte Zeichenfolge, die BTU-Tag via QR-Code ähnelt. + /// + public static string App_ScanQR { + get { + return ResourceManager.GetString("App_ScanQR", resourceCulture); } } @@ -97,7 +106,7 @@ namespace CampusAppWP8.Resources { } /// - /// Sucht eine lokalisierte Zeichenfolge, die BTU CampusApp ähnelt. + /// Sucht eine lokalisierte Zeichenfolge, die BTU Campus-App ähnelt. /// public static string ApplicationTitle { get { @@ -106,29 +115,38 @@ namespace CampusAppWP8.Resources { } /// - /// Sucht eine lokalisierte Zeichenfolge, die Termin ähnelt. + /// Sucht eine lokalisierte Zeichenfolge, die Sie haben einen BTU-Tag eingescannt ähnelt. /// - public static string Appointment { + public static string BTUTag_Prefix { get { - return ResourceManager.GetString("Appointment", resourceCulture); + return ResourceManager.GetString("BTUTag_Prefix", resourceCulture); } } /// - /// Sucht eine lokalisierte Zeichenfolge, die Teilnehmer ähnelt. + /// Sucht eine lokalisierte Zeichenfolge, die Mit einem BTU-Tag können Sie ortsgebundenen Informationen anzeigen lassen und in der App nutzen. Möchten Sie weitere Informationen über die BTU-Tags? ähnelt. /// - public static string Attendees { + public static string BTUTag_Suffix { get { - return ResourceManager.GetString("Attendees", resourceCulture); + return ResourceManager.GetString("BTUTag_Suffix", resourceCulture); } } /// - /// Sucht eine lokalisierte Zeichenfolge, die Automatisch scrollen zur Stunde ähnelt. + /// Sucht eine lokalisierte Zeichenfolge, die Die BTU-Tags (QR-Codes bzw. NFC-Tags) dienen der schnellen Orientierung auf dem Campus der BTU indem sie eine genaue Standortbestimmung ermöglichen. In einer weiteren Entwicklungsphase werden u.a. Funktionen wie die Terminplanung und Evaluation der Lehrveranstaltungen ergänzt. Dabei werden von der CampusApp weder personenbezogene Daten erhoben, noch gespeichert. ähnelt. /// - public static string AutoScrollToHour { + public static string BTUTag_Text { get { - return ResourceManager.GetString("AutoScrollToHour", resourceCulture); + return ResourceManager.GetString("BTUTag_Text", resourceCulture); + } + } + + /// + /// Sucht eine lokalisierte Zeichenfolge, die BTU-Tag-Info ähnelt. + /// + public static string BTUTag_Title { + get { + return ResourceManager.GetString("BTUTag_Title", resourceCulture); } } @@ -160,20 +178,11 @@ namespace CampusAppWP8.Resources { } /// - /// Sucht eine lokalisierte Zeichenfolge, die Info via NFC ähnelt. + /// Sucht eine lokalisierte Zeichenfolge, die Raumübersicht ähnelt. /// - public static string CampusMapApp_ScanNfc { + public static string CampusMapApp_RoomListTitle { get { - return ResourceManager.GetString("CampusMapApp_ScanNfc", resourceCulture); - } - } - - /// - /// Sucht eine lokalisierte Zeichenfolge, die Info via QR-Code ähnelt. - /// - public static string CampusMapApp_ScanQR { - get { - return ResourceManager.GetString("CampusMapApp_ScanQR", resourceCulture); + return ResourceManager.GetString("CampusMapApp_RoomListTitle", resourceCulture); } } @@ -187,20 +196,11 @@ namespace CampusAppWP8.Resources { } /// - /// Sucht eine lokalisierte Zeichenfolge, die Abbrechen ähnelt. + /// Sucht eine lokalisierte Zeichenfolge, die Essenbeschreibung kopieren ähnelt. /// - public static string Cancel { + public static string ContextMenu_MealCopy { get { - return ResourceManager.GetString("Cancel", resourceCulture); - } - } - - /// - /// Sucht eine lokalisierte Zeichenfolge, die Kategorie ähnelt. - /// - public static string Categories { - get { - return ResourceManager.GetString("Categories", resourceCulture); + return ResourceManager.GetString("ContextMenu_MealCopy", resourceCulture); } } @@ -213,24 +213,6 @@ namespace CampusAppWP8.Resources { } } - /// - /// Sucht eine lokalisierte Zeichenfolge, die Erstellen ähnelt. - /// - public static string Creating { - get { - return ResourceManager.GetString("Creating", resourceCulture); - } - } - - /// - /// Sucht eine lokalisierte Zeichenfolge, die Tagesansicht ähnelt. - /// - public static string DayView { - get { - return ResourceManager.GetString("DayView", resourceCulture); - } - } - /// /// Sucht eine lokalisierte Zeichenfolge, die Löschen ähnelt. /// @@ -268,29 +250,20 @@ namespace CampusAppWP8.Resources { } /// - /// Sucht eine lokalisierte Zeichenfolge, die Beschreibung ähnelt. + /// Sucht eine lokalisierte Zeichenfolge, die Möchten Sie Weiter zur Lehstuhlübersicht? ähnelt. /// - public static string Description { + public static string DepartmentForwarding { get { - return ResourceManager.GetString("Description", resourceCulture); + return ResourceManager.GetString("DepartmentForwarding", resourceCulture); } } /// - /// Sucht eine lokalisierte Zeichenfolge, die Dauer ähnelt. + /// Sucht eine lokalisierte Zeichenfolge, die Der angegebene Lehrstuhl konnte nicht gefunden werden. ähnelt. /// - public static string Duration { + public static string DepartmentNotFound { get { - return ResourceManager.GetString("Duration", resourceCulture); - } - } - - /// - /// Sucht eine lokalisierte Zeichenfolge, die Bearbeiten ähnelt. - /// - public static string Edit { - get { - return ResourceManager.GetString("Edit", resourceCulture); + return ResourceManager.GetString("DepartmentNotFound", resourceCulture); } } @@ -321,15 +294,6 @@ namespace CampusAppWP8.Resources { } } - /// - /// Sucht eine lokalisierte Zeichenfolge, die Erweiterte Einstellungen ähnelt. - /// - public static string ExtendedProperties { - get { - return ResourceManager.GetString("ExtendedProperties", resourceCulture); - } - } - /// /// Sucht eine lokalisierte Zeichenfolge, die Favoriten ähnelt. /// @@ -376,11 +340,11 @@ namespace CampusAppWP8.Resources { } /// - /// Sucht eine lokalisierte Zeichenfolge, die groß ähnelt. + /// Sucht eine lokalisierte Zeichenfolge, die Ebene ähnelt. /// - public static string Large { + public static string LayerListPicker_Label { get { - return ResourceManager.GetString("Large", resourceCulture); + return ResourceManager.GetString("LayerListPicker_Label", resourceCulture); } } @@ -520,11 +484,11 @@ namespace CampusAppWP8.Resources { } /// - /// Sucht eine lokalisierte Zeichenfolge, die Autoscrollauswahl ähnelt. + /// Sucht eine lokalisierte Zeichenfolge, die Ebeneauswahl ähnelt. /// - public static string ListPickerHeaderAutoScroll { + public static string ListPickerHeader_Layer { get { - return ResourceManager.GetString("ListPickerHeaderAutoScroll", resourceCulture); + return ResourceManager.GetString("ListPickerHeader_Layer", resourceCulture); } } @@ -574,20 +538,11 @@ namespace CampusAppWP8.Resources { } /// - /// Sucht eine lokalisierte Zeichenfolge, die Anzeigegrößenauswahl ähnelt. + /// Sucht eine lokalisierte Zeichenfolge, die BTU-Tag-StandardFunktionauswahl ähnelt. /// - public static string ListPickerHeaderVisualScale { + public static string ListPickerHeaderTag { get { - return ResourceManager.GetString("ListPickerHeaderVisualScale", resourceCulture); - } - } - - /// - /// Sucht eine lokalisierte Zeichenfolge, die Ort ähnelt. - /// - public static string Location { - get { - return ResourceManager.GetString("Location", resourceCulture); + return ResourceManager.GetString("ListPickerHeaderTag", resourceCulture); } } @@ -601,11 +556,11 @@ namespace CampusAppWP8.Resources { } /// - /// Sucht eine lokalisierte Zeichenfolge, die mittel ähnelt. + /// Sucht eine lokalisierte Zeichenfolge, die Die Mensa ist heute geschlossen ähnelt. /// - public static string Medium { + public static string MensaApp_CloseMensa { get { - return ResourceManager.GetString("Medium", resourceCulture); + return ResourceManager.GetString("MensaApp_CloseMensa", resourceCulture); } } @@ -627,6 +582,15 @@ namespace CampusAppWP8.Resources { } } + /// + /// Sucht eine lokalisierte Zeichenfolge, die BTU-Tag ähnelt. + /// + public static string MsgBox_BtuInfoHeader { + get { + return ResourceManager.GetString("MsgBox_BtuInfoHeader", resourceCulture); + } + } + /// /// Sucht eine lokalisierte Zeichenfolge, die Der aktuelle Campus konnte nicht ermittelt werden. Es wird der im Profil festgelegten Campus verwendet. ähnelt. /// @@ -897,15 +861,6 @@ namespace CampusAppWP8.Resources { } } - /// - /// Sucht eine lokalisierte Zeichenfolge, die Priorität ähnelt. - /// - public static string Priority { - get { - return ResourceManager.GetString("Priority", resourceCulture); - } - } - /// /// Sucht eine lokalisierte Zeichenfolge, die Lehrstühle ähnelt. /// @@ -915,15 +870,6 @@ namespace CampusAppWP8.Resources { } } - /// - /// Sucht eine lokalisierte Zeichenfolge, die Einstellungen ähnelt. - /// - public static string Properties { - get { - return ResourceManager.GetString("Properties", resourceCulture); - } - } - /// /// Sucht eine lokalisierte Zeichenfolge, die ... suche ähnelt. /// @@ -933,15 +879,6 @@ namespace CampusAppWP8.Resources { } } - /// - /// Sucht eine lokalisierte Zeichenfolge, die Wiederholung ähnelt. - /// - public static string Repeat { - get { - return ResourceManager.GetString("Repeat", resourceCulture); - } - } - /// /// Sucht eine lokalisierte Zeichenfolge, die LeftToRight ähnelt. /// @@ -978,15 +915,6 @@ namespace CampusAppWP8.Resources { } } - /// - /// Sucht eine lokalisierte Zeichenfolge, die Speichern ähnelt. - /// - public static string Save { - get { - return ResourceManager.GetString("Save", resourceCulture); - } - } - /// /// Sucht eine lokalisierte Zeichenfolge, die Kein gültigen NFC-Tag gefunden ähnelt. /// @@ -1006,7 +934,7 @@ namespace CampusAppWP8.Resources { } /// - /// Sucht eine lokalisierte Zeichenfolge, die Appeinstellungen ähnelt. + /// Sucht eine lokalisierte Zeichenfolge, die App-Einstellungen ähnelt. /// public static string Setting_App { get { @@ -1041,6 +969,33 @@ namespace CampusAppWP8.Resources { } } + /// + /// Sucht eine lokalisierte Zeichenfolge, die BTU-Tag-StandardFunktion ähnelt. + /// + public static string Setting_TagHandler { + get { + return ResourceManager.GetString("Setting_TagHandler", resourceCulture); + } + } + + /// + /// Sucht eine lokalisierte Zeichenfolge, die BTU-Tag-Informationsseite anzeigen ähnelt. + /// + public static string Setting_TagHandlerInfo { + get { + return ResourceManager.GetString("Setting_TagHandlerInfo", resourceCulture); + } + } + + /// + /// Sucht eine lokalisierte Zeichenfolge, die Raumplan anzeigen ähnelt. + /// + public static string Setting_TagHandlerMap { + get { + return ResourceManager.GetString("Setting_TagHandlerMap", resourceCulture); + } + } + /// /// Sucht eine lokalisierte Zeichenfolge, die Profileinstellungen ähnelt. /// @@ -1104,15 +1059,6 @@ namespace CampusAppWP8.Resources { } } - /// - /// Sucht eine lokalisierte Zeichenfolge, die klein ähnelt. - /// - public static string Small { - get { - return ResourceManager.GetString("Small", resourceCulture); - } - } - /// /// Sucht eine lokalisierte Zeichenfolge, die vorlesen ähnelt. /// @@ -1194,33 +1140,6 @@ namespace CampusAppWP8.Resources { } } - /// - /// Sucht eine lokalisierte Zeichenfolge, die Titel ähnelt. - /// - public static string Title { - get { - return ResourceManager.GetString("Title", resourceCulture); - } - } - - /// - /// Sucht eine lokalisierte Zeichenfolge, die bis ähnelt. - /// - public static string To { - get { - return ResourceManager.GetString("To", resourceCulture); - } - } - - /// - /// Sucht eine lokalisierte Zeichenfolge, die Heute ähnelt. - /// - public static string ToDay { - get { - return ResourceManager.GetString("ToDay", resourceCulture); - } - } - /// /// Sucht eine lokalisierte Zeichenfolge, die Aktualisieren ähnelt. /// @@ -1230,33 +1149,6 @@ namespace CampusAppWP8.Resources { } } - /// - /// Sucht eine lokalisierte Zeichenfolge, die Sichtbarkeit ähnelt. - /// - public static string Visibility { - get { - return ResourceManager.GetString("Visibility", resourceCulture); - } - } - - /// - /// Sucht eine lokalisierte Zeichenfolge, die Anzeige Größe ähnelt. - /// - public static string VisualScale { - get { - return ResourceManager.GetString("VisualScale", resourceCulture); - } - } - - /// - /// Sucht eine lokalisierte Zeichenfolge, die Wochenansicht ähnelt. - /// - public static string WeekView { - get { - return ResourceManager.GetString("WeekView", resourceCulture); - } - } - /// /// Sucht eine lokalisierte Zeichenfolge, die Willkommen zur BTU-CampusApp WP8 ähnelt. /// @@ -1265,14 +1157,5 @@ namespace CampusAppWP8.Resources { return ResourceManager.GetString("WelcomeString", resourceCulture); } } - - /// - /// Sucht eine lokalisierte Zeichenfolge, die Wann ähnelt. - /// - public static string When { - get { - return ResourceManager.GetString("When", resourceCulture); - } - } } } diff --git a/CampusAppWP8/CampusAppWP8/Resources/AppResources.resx b/CampusAppWP8/CampusAppWP8/Resources/AppResources.resx index 7b10450a..ce6d22a1 100644 --- a/CampusAppWP8/CampusAppWP8/Resources/AppResources.resx +++ b/CampusAppWP8/CampusAppWP8/Resources/AppResources.resx @@ -126,7 +126,7 @@ Controls the Language and ensures that the font for all elements in the RootFrame aligns with the app's language. Set to the language code of this resource file's language. - BTU CampusApp + BTU Campus-App Beispielwert für die Laufzeiteigenschaft @@ -327,7 +327,7 @@ Campus - Appeinstellungen + App-Einstellungen Ortung @@ -419,11 +419,11 @@ Auf Startseite - - Info via NFC + + BTU-Tag via NFC - - Info via QR-Code + + BTU-Tag via QR-Code Kein gültigen NFC-Tag gefunden @@ -523,5 +523,52 @@ Wochenansicht + + Die Mensa ist heute geschlossen + + + Möchten Sie Weiter zur Lehstuhlübersicht? + + + Der angegebene Lehrstuhl konnte nicht gefunden werden. + + + Raumübersicht + + + Ebene + + + Ebeneauswahl + + + Essenbeschreibung kopieren + + + Sie haben einen BTU-Tag eingescannt + + + Mit einem BTU-Tag können Sie ortsgebundenen Informationen anzeigen lassen und in der App nutzen. Möchten Sie weitere Informationen über die BTU-Tags? + + + Die BTU-Tags (QR-Codes bzw. NFC-Tags) dienen der schnellen Orientierung auf dem Campus der BTU indem sie eine genaue Standortbestimmung ermöglichen. In einer weiteren Entwicklungsphase werden u.a. Funktionen wie die Terminplanung und Evaluation der Lehrveranstaltungen ergänzt. Dabei werden von der CampusApp weder personenbezogene Daten erhoben, noch gespeichert. + + + BTU-Tag-Info + + + BTU-Tag + + + BTU-Tag-Informationsseite anzeigen + + + Raumplan anzeigen + + + BTU-Tag-StandardFunktionauswahl + + + BTU-Tag-StandardFunktion \ No newline at end of file diff --git a/CampusAppWP8/CampusAppWP8/Resources/Constants.resx b/CampusAppWP8/CampusAppWP8/Resources/Constants.resx index a86f3a97..718c4b4f 100644 --- a/CampusAppWP8/CampusAppWP8/Resources/Constants.resx +++ b/CampusAppWP8/CampusAppWP8/Resources/Constants.resx @@ -382,7 +382,7 @@ File/Campusmap/Offlinemap.xml - /Assets/campusmap.png + /Assets/Maps/campusmap.png DevMode @@ -556,6 +556,36 @@ DeploymentNumber - 3 + 4 + + + name + + + File/Campusmap/BuildingsMaps.xml + + + InfoLabPin + + + ParamRoomId + + + InfoAccesPin + + + InfoRedPin + + + InfoWCPin + + + /Pages/BTUTag/BTUTagInfo.xaml + + + BTUTagDefaultHandler + + + removeBack \ No newline at end of file diff --git a/CampusAppWP8/CampusAppWP8/Resources/Constants1.Designer.cs b/CampusAppWP8/CampusAppWP8/Resources/Constants1.Designer.cs index 00a23ae6..c47a7ebf 100644 --- a/CampusAppWP8/CampusAppWP8/Resources/Constants1.Designer.cs +++ b/CampusAppWP8/CampusAppWP8/Resources/Constants1.Designer.cs @@ -105,6 +105,15 @@ namespace CampusAppWP8.Resources { } } + /// + /// Sucht eine lokalisierte Zeichenfolge, die BTUTagDefaultHandler ähnelt. + /// + public static string AppSetting_BTUTagDefaultHandler { + get { + return ResourceManager.GetString("AppSetting_BTUTagDefaultHandler", resourceCulture); + } + } + /// /// Sucht eine lokalisierte Zeichenfolge, die DeploymentNumber ähnelt. /// @@ -196,7 +205,7 @@ namespace CampusAppWP8.Resources { } /// - /// Sucht eine lokalisierte Zeichenfolge, die 3 ähnelt. + /// Sucht eine lokalisierte Zeichenfolge, die 4 ähnelt. /// public static string DeploymentNumber { get { @@ -286,7 +295,16 @@ namespace CampusAppWP8.Resources { } /// - /// Sucht eine lokalisierte Zeichenfolge, die /Assets/campusmap.png ähnelt. + /// Sucht eine lokalisierte Zeichenfolge, die File/Campusmap/BuildingsMaps.xml ähnelt. + /// + public static string FileMap_BuildingsMap { + get { + return ResourceManager.GetString("FileMap_BuildingsMap", resourceCulture); + } + } + + /// + /// Sucht eine lokalisierte Zeichenfolge, die /Assets/Maps/campusmap.png ähnelt. /// public static string FileMap_CBMainMap { get { @@ -681,6 +699,15 @@ namespace CampusAppWP8.Resources { } } + /// + /// Sucht eine lokalisierte Zeichenfolge, die name ähnelt. + /// + public static string ParamName { + get { + return ResourceManager.GetString("ParamName", resourceCulture); + } + } + /// /// Sucht eine lokalisierte Zeichenfolge, die Uebersicht ähnelt. /// @@ -717,6 +744,24 @@ namespace CampusAppWP8.Resources { } } + /// + /// Sucht eine lokalisierte Zeichenfolge, die removeBack ähnelt. + /// + public static string ParamRemoveBack { + get { + return ResourceManager.GetString("ParamRemoveBack", resourceCulture); + } + } + + /// + /// Sucht eine lokalisierte Zeichenfolge, die ParamRoomId ähnelt. + /// + public static string ParamRoomId { + get { + return ResourceManager.GetString("ParamRoomId", resourceCulture); + } + } + /// /// Sucht eine lokalisierte Zeichenfolge, die Url ähnelt. /// @@ -735,6 +780,15 @@ namespace CampusAppWP8.Resources { } } + /// + /// Sucht eine lokalisierte Zeichenfolge, die /Pages/BTUTag/BTUTagInfo.xaml ähnelt. + /// + public static string PathBTUTag_Info { + get { + return ResourceManager.GetString("PathBTUTag_Info", resourceCulture); + } + } + /// /// Sucht eine lokalisierte Zeichenfolge, die /Pages/Campusmap/CampusMapPage.xaml ähnelt. /// @@ -1005,6 +1059,42 @@ namespace CampusAppWP8.Resources { } } + /// + /// Sucht eine lokalisierte Zeichenfolge, die InfoAccesPin ähnelt. + /// + public static string PinType_InfoAccess { + get { + return ResourceManager.GetString("PinType_InfoAccess", resourceCulture); + } + } + + /// + /// Sucht eine lokalisierte Zeichenfolge, die InfoLabPin ähnelt. + /// + public static string PinType_InfoLab { + get { + return ResourceManager.GetString("PinType_InfoLab", resourceCulture); + } + } + + /// + /// Sucht eine lokalisierte Zeichenfolge, die InfoRedPin ähnelt. + /// + public static string PinType_InfoRed { + get { + return ResourceManager.GetString("PinType_InfoRed", resourceCulture); + } + } + + /// + /// Sucht eine lokalisierte Zeichenfolge, die InfoWCPin ähnelt. + /// + public static string PinType_InfoWC { + get { + return ResourceManager.GetString("PinType_InfoWC", resourceCulture); + } + } + /// /// Sucht eine lokalisierte Zeichenfolge, die SearchPin ähnelt. /// diff --git a/CampusAppWP8/CampusAppWP8/Resources/Icons.cs b/CampusAppWP8/CampusAppWP8/Resources/Icons.cs index ede5416b..3ee4d28a 100644 --- a/CampusAppWP8/CampusAppWP8/Resources/Icons.cs +++ b/CampusAppWP8/CampusAppWP8/Resources/Icons.cs @@ -106,7 +106,29 @@ namespace CampusAppWP8.Resources { get { - return Themerize("departments_159.png"); + return Themerize("lehrstuehle_159.png"); + } + } + + /// + /// Gets the uri string of the Events icon. + /// + public static string Events + { + get + { + return Themerize("events_159.png"); + } + } + + /// + /// Gets the uri string of the ExamApp icon. + /// + public static string ExamApp + { + get + { + return Themerize("pos_159.png"); } } @@ -249,7 +271,7 @@ namespace CampusAppWP8.Resources { get { - return Themerize("mensa_159.png"); + return Themerize("mensaplan_159.png"); } } @@ -319,6 +341,50 @@ namespace CampusAppWP8.Resources } } + /// + /// Gets the uri string of the PlaceInfoAccess icon. + /// + public static string PlaceInfoAccess + { + get + { + return Themerize("placeinfoacces_159.png"); + } + } + + /// + /// Gets the uri string of the PlaceInfoWc icon. + /// + public static string PlaceInfoWc + { + get + { + return Themerize("placeinfowc_159.png"); + } + } + + /// + /// Gets the uri string of the PlaceLab icon. + /// + public static string PlaceLab + { + get + { + return Themerize("placelab_159.png"); + } + } + + /// + /// Gets the uri string of the PlaceRearchRed icon. + /// + public static string PlaceRearchRed + { + get + { + return Themerize("placesearchred_159.png"); + } + } + /// /// Gets the uri string of the Practise icon. /// @@ -392,7 +458,7 @@ namespace CampusAppWP8.Resources { get { - return Themerize("info_159.png"); + return Themerize("speaker_159.png"); } } diff --git a/CampusAppWP8/CampusAppWP8/Resources/Icons.resx b/CampusAppWP8/CampusAppWP8/Resources/Icons.resx index 509cad32..c218a974 100644 --- a/CampusAppWP8/CampusAppWP8/Resources/Icons.resx +++ b/CampusAppWP8/CampusAppWP8/Resources/Icons.resx @@ -139,7 +139,13 @@ delete_159.png - departments_159.png + lehrstuehle_159.png + + + events_159.png + + + pos_159.png exams_159.png @@ -178,7 +184,7 @@ link_159.png - mensa_159.png + mensaplan_159.png news_159.png @@ -198,6 +204,18 @@ placeinfo_159.png + + placeinfoacces_159.png + + + placeinfowc_159.png + + + placelab_159.png + + + placesearchred_159.png + practise_159.png @@ -217,7 +235,7 @@ student_council_159.png - info_159.png + speaker_159.png update_159.png diff --git a/CampusAppWP8/CampusAppWP8/Utility/AppUriMapper.cs b/CampusAppWP8/CampusAppWP8/Utility/AppUriMapper.cs index a25d83e2..c37ee3c8 100644 --- a/CampusAppWP8/CampusAppWP8/Utility/AppUriMapper.cs +++ b/CampusAppWP8/CampusAppWP8/Utility/AppUriMapper.cs @@ -11,6 +11,7 @@ namespace CampusAppWP8.Utility using System; using System.Windows.Navigation; using CampusAppWP8.Resources; + using System.Windows.Controls; /// /// Class map Uri to AppPages @@ -31,7 +32,6 @@ namespace CampusAppWP8.Utility { // Launch as a lens, launch viewfinder screen. tempUri = Constants.PathQR_QRPage; - tempUri += "?" + Constants.ParamQRResultKey + "=" + Constants.CampusMapApp_QRCodeSearchResultStorageKey; Uri url = new Uri(tempUri as string, UriKind.Relative); return new Uri(tempUri, UriKind.Relative); } diff --git a/CampusAppWP8/CampusAppWP8/Utility/BoolToVisibilityConverter.cs b/CampusAppWP8/CampusAppWP8/Utility/BoolToVisibilityConverter.cs new file mode 100644 index 00000000..83ed3adc --- /dev/null +++ b/CampusAppWP8/CampusAppWP8/Utility/BoolToVisibilityConverter.cs @@ -0,0 +1,26 @@ +//----------------------------------------------------------------------------- +// +// Company copyright tag. +// +// fiedlchr +// 10.10.2013 +//----------------------------------------------------------------------------- +namespace CampusAppWP8.Utility +{ + using System; + using System.Windows; + using System.Windows.Data; + + public sealed class BoolToVisibilityConverter : IValueConverter + { + public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo language) + { + return (value is bool && (bool)value) ? Visibility.Visible : Visibility.Collapsed; + } + + public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo language) + { + return (value is Visibility && (Visibility)value == Visibility.Visible); + } + } +} diff --git a/CampusAppWP8/CampusAppWP8/Utility/Lui/Header/DefaultHeader.xaml b/CampusAppWP8/CampusAppWP8/Utility/Lui/Header/DefaultHeader.xaml new file mode 100644 index 00000000..1c21bf58 --- /dev/null +++ b/CampusAppWP8/CampusAppWP8/Utility/Lui/Header/DefaultHeader.xaml @@ -0,0 +1,15 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/CampusAppWP8/CampusAppWP8/Utility/Lui/Header/DefaultHeader.xaml.cs b/CampusAppWP8/CampusAppWP8/Utility/Lui/Header/DefaultHeader.xaml.cs new file mode 100644 index 00000000..8604b6cd --- /dev/null +++ b/CampusAppWP8/CampusAppWP8/Utility/Lui/Header/DefaultHeader.xaml.cs @@ -0,0 +1,83 @@ +//----------------------------------------------------------------------------- +// +// Company copyright tag. +// +// fiedlchr +// 07.10.2013 +//----------------------------------------------------------------------------- +namespace CampusAppWP8.Utility.Lui.Header +{ + using System.Windows; + using System.Windows.Controls; + using CampusAppWP8.Resources; + + /// + /// Default Header Template. + /// + public partial class DefaultHeader : UserControl + { + /// AppTitle property object. + public static readonly DependencyProperty AppTitleProperty = DependencyProperty.Register("AppTitle", typeof(string), typeof(DefaultHeader), new PropertyMetadata(null)); + + /// HeaderName property object. + public static readonly DependencyProperty HeaderNameProperty = DependencyProperty.Register("HeaderName", typeof(string), typeof(DefaultHeader), new PropertyMetadata(null)); + + /// ProgressVisibility property object. + public static readonly DependencyProperty ProgressVisibilityProperty = DependencyProperty.Register("ProgressVisibility", typeof(Visibility), typeof(DefaultHeader), new PropertyMetadata(null)); + + /// + /// Initializes a new instance of the class. + /// + public DefaultHeader() + { + this.InitializeComponent(); + this.AppTitle = AppResources.ApplicationTitle; + this.ProgressVisibility = Visibility.Collapsed; + } + + /// + /// Gets or sets the AppTitle property. + /// + public string AppTitle + { + get + { + return (string)this.GetValue(AppTitleProperty); + } + + set + { + this.SetValue(AppTitleProperty, value); + } + } + + /// + /// Gets or sets the HeaderName property. + /// + public string HeaderName + { + get + { + return (string)this.GetValue(HeaderNameProperty); + } + + set + { + this.SetValue(HeaderNameProperty, value); + } + } + + public Visibility ProgressVisibility + { + get + { + return (Visibility)this.GetValue(ProgressVisibilityProperty); + } + + set + { + this.SetValue(ProgressVisibilityProperty, value); + } + } + } +} \ No newline at end of file diff --git a/CampusAppWP8/CampusAppWP8/Utility/Lui/MessageBoxes/MessageBoxes.cs b/CampusAppWP8/CampusAppWP8/Utility/Lui/MessageBoxes/MessageBoxes.cs index af439b41..21fcefc1 100644 --- a/CampusAppWP8/CampusAppWP8/Utility/Lui/MessageBoxes/MessageBoxes.cs +++ b/CampusAppWP8/CampusAppWP8/Utility/Lui/MessageBoxes/MessageBoxes.cs @@ -63,6 +63,22 @@ namespace CampusAppWP8.Utility.Lui.MessageBoxes return MessageBox.Show(text, AppResources.MsgBox_PlaceInfoHeader, MessageBoxButton.OKCancel); } + public static MessageBoxResult ShowBtuTagInfoOkCancelMessageBox(string text = null) + { + + string tagString; + if (text != null) + { + tagString = ":\n" + Wp8StringManager.ToShortString(text, 160, "..."); + } + else + { + tagString = "!"; + } + string btuString = AppResources.BTUTag_Prefix + tagString + "\n" + AppResources.BTUTag_Suffix; + return MessageBox.Show(btuString, AppResources.MsgBox_BtuInfoHeader, MessageBoxButton.OKCancel); + } + #endregion } } diff --git a/CampusAppWP8/CampusAppWP8/Utility/Lui/Tiles/TileCreator.cs b/CampusAppWP8/CampusAppWP8/Utility/Lui/Tiles/TileCreator.cs index 9bc7c76a..3745abfa 100644 --- a/CampusAppWP8/CampusAppWP8/Utility/Lui/Tiles/TileCreator.cs +++ b/CampusAppWP8/CampusAppWP8/Utility/Lui/Tiles/TileCreator.cs @@ -93,7 +93,7 @@ namespace CampusAppWP8.Utility.Lui.Tiles /// public static void CreateEventTile() { - TileCreator.CreateIconicTile(AppResources.EventApp_Title, Constants.PathEvents_EventsIndexPage, Icons.News, Icons.News); + TileCreator.CreateIconicTile(AppResources.EventApp_Title, Constants.PathEvents_EventsIndexPage, Icons.Events, Icons.Events); // create a new taskk BackgroundTasks.StartBTUCampusAppTask(); diff --git a/CampusAppWP8/CampusAppWP8/Utility/Utilities.cs b/CampusAppWP8/CampusAppWP8/Utility/Utilities.cs index d786d7a8..5982d25f 100644 --- a/CampusAppWP8/CampusAppWP8/Utility/Utilities.cs +++ b/CampusAppWP8/CampusAppWP8/Utility/Utilities.cs @@ -19,6 +19,7 @@ namespace CampusAppWP8.Utility using Microsoft.Phone.Net.NetworkInformation; using CampusAppWPortalLib8.Utility; using CampusAppWPortalLib8.Model; + using Microsoft.Phone.Shell; /// /// Collection of utility functions. @@ -136,22 +137,22 @@ namespace CampusAppWP8.Utility } /// - /// Search for a UIElement with the specified name in the parent Grid and set its visibility. + /// Return the element. /// - /// root object - /// name of the parent grid - /// name of the UIElement - /// new visibility property state - /// index of the element in the parent child list - public static void SetElementVisibility(DependencyObject rootObj, string parentGridName, string elemName, Visibility vis, int index = 0) + /// + /// + /// + /// + /// + public static FrameworkElement GetElement(DependencyObject rootObj, string parentGridName, string elemName, int index = 0) { List l = Utilities.GetChild(rootObj, parentGridName); - // hotfix: OutofRangeIndex Assert if (index > l.Count - 1) { - return; + throw new IndexOutOfRangeException("index (" + index + ") out of range (<" + l.Count + ")"); } + Grid parentGrid = l[index] as Grid; FrameworkElement elem = null; @@ -163,6 +164,21 @@ namespace CampusAppWP8.Utility } } + return elem; + } + + /// + /// Search for a UIElement with the specified name in the parent Grid and set its visibility. + /// + /// root object + /// name of the parent grid + /// name of the UIElement + /// new visibility property state + /// index of the element in the parent child list + public static void SetElementVisibility(DependencyObject rootObj, string parentGridName, string elemName, Visibility vis, int index = 0) + { + FrameworkElement elem = GetElement(rootObj, parentGridName, elemName, index); + if (elem != null) { elem.Visibility = vis; @@ -180,25 +196,8 @@ namespace CampusAppWP8.Utility public static Visibility GetElementVisibility(DependencyObject rootObj, string parentGridName, string elemName, int index = 0) { Visibility retValue; - - List l = Utilities.GetChild(rootObj, parentGridName); - - if (index >= l.Count) - { - index = 0; - } - - Grid parentGrid = l[index] as Grid; - FrameworkElement elem = null; - - foreach (FrameworkElement tempElem in parentGrid.Children) - { - if (tempElem.Name == elemName) - { - elem = tempElem; - } - } - + FrameworkElement elem = GetElement(rootObj, parentGridName, elemName, index); + if (elem != null) { retValue = elem.Visibility; @@ -360,6 +359,15 @@ namespace CampusAppWP8.Utility } } + public static bool IsRoomId(string placeId) + { + if (Wp8StringManager.IsDigitsOnly(placeId) && placeId.Length > 7) + { + return true; + } + return false; + } + #endregion } } \ No newline at end of file diff --git a/CampusAppWP8/CampusAppWP8ScheduledTaskAgent/ScheduledAgent.cs b/CampusAppWP8/CampusAppWP8ScheduledTaskAgent/ScheduledAgent.cs index 08d3aecd..813f7899 100644 --- a/CampusAppWP8/CampusAppWP8ScheduledTaskAgent/ScheduledAgent.cs +++ b/CampusAppWP8/CampusAppWP8ScheduledTaskAgent/ScheduledAgent.cs @@ -147,7 +147,11 @@ namespace CampusAppWP8ScheduledTaskAgent } else { - this.UpdateEventTile(); + this.runningFeeds--; + if (this.runningFeeds == 0) + { + this.NotifyComplete(); + } } } @@ -165,7 +169,11 @@ namespace CampusAppWP8ScheduledTaskAgent } else { - this.UpdateNewsTile(); + this.runningFeeds--; + if (this.runningFeeds == 0) + { + this.NotifyComplete(); + } } } @@ -179,8 +187,17 @@ namespace CampusAppWP8ScheduledTaskAgent if (arg.Result != null) { this.eventModel = XmlManager.DeserializationToModel(arg.Result, CampusAppWPortalLib8.Resources.Constants.XMLRootElementName); + this.eventModel.Channel[0].OrderByDate(); this.UpdateEventTile(); } + else + { + this.runningFeeds--; + if (this.runningFeeds == 0) + { + this.NotifyComplete(); + } + } } /// @@ -193,8 +210,17 @@ namespace CampusAppWP8ScheduledTaskAgent if (arg.Result != null) { this.newsModel = XmlManager.DeserializationToModel(arg.Result, CampusAppWPortalLib8.Resources.Constants.XMLRootElementName); + this.newsModel.Channel[0].OrderByDate(); this.UpdateNewsTile(); } + else + { + this.runningFeeds--; + if (this.runningFeeds == 0) + { + this.NotifyComplete(); + } + } } /// @@ -208,19 +234,25 @@ namespace CampusAppWP8ScheduledTaskAgent { IconicTileData data = new IconicTileData(); Random random = new Random(); - int randomNumber = random.Next(0, this.newsModel.Channel[0].Item.Count); - RSSModel item = this.newsModel.Channel[0].Item[randomNumber]; - data.WideContent1 = item.Date; - data.WideContent2 = DefaultStringManager.ToShortString(item.Title, 40, "..."); - data.WideContent3 = DefaultStringManager.ToShortString(item.Text, 40, "..."); - //data.Count = this.newsModel.Channel[0].Item.Count; - tileToFind.Update(data); + RSSModel item = this.newsModel.Channel[0].Item.FirstOrDefault(); + if (item != null) + { + data.WideContent1 = item.Date; + data.WideContent2 = DefaultStringManager.ToShortString(item.Title, 40, "..."); + data.WideContent3 = DefaultStringManager.ToShortString(item.Text, 40, "..."); + + tileToFind.Update(data); + } this.runningFeeds--; } if (this.runningFeeds == 0) { this.NotifyComplete(); + if (this.runningFeeds == 0) + { + this.NotifyComplete(); + } } } @@ -235,13 +267,16 @@ namespace CampusAppWP8ScheduledTaskAgent { IconicTileData data = new IconicTileData(); Random random = new Random(); - int randomNumber = random.Next(0, this.eventModel.Channel[0].Item.Count); - RSSModel item = this.eventModel.Channel[0].Item[randomNumber]; - data.WideContent1 = item.Date; - data.WideContent2 = DefaultStringManager.ToShortString(item.Title, 40, "..."); - data.WideContent3 = DefaultStringManager.ToShortString(item.Text, 40, "..."); - //data.Count = this.eventModel.Channel[0].Item.Count; - tileToFind.Update(data); + RSSModel item = this.eventModel.Channel[0].Item.FirstOrDefault(); + + if (item != null) + { + data.WideContent1 = item.Date; + data.WideContent2 = DefaultStringManager.ToShortString(item.Title, 40, "..."); + data.WideContent3 = DefaultStringManager.ToShortString(item.Text, 40, "..."); + + tileToFind.Update(data); + } this.runningFeeds--; } @@ -313,6 +348,14 @@ namespace CampusAppWP8ScheduledTaskAgent this.mensaModel = XmlManager.DeserializationToModel(arg.Result, CampusAppWPortalLib8.Resources.Constants.XMLRootElementName); this.UpdateMensaTile(); } + else + { + this.runningFeeds--; + if (this.runningFeeds == 0) + { + this.NotifyComplete(); + } + } } /// diff --git a/CampusAppWP8/CampusAppWPortalLib8/Model/Mensa/MealModel.cs b/CampusAppWP8/CampusAppWPortalLib8/Model/Mensa/MealModel.cs index 51d6c551..80a239f1 100644 --- a/CampusAppWP8/CampusAppWPortalLib8/Model/Mensa/MealModel.cs +++ b/CampusAppWP8/CampusAppWPortalLib8/Model/Mensa/MealModel.cs @@ -101,7 +101,7 @@ namespace CampusAppWPortalLib8.Model.Mensa set { - if (value > -1 && value < 8) + if (value > -2 && value < 8) { this.mealId = value; this.CreateMealName(); @@ -187,7 +187,7 @@ namespace CampusAppWPortalLib8.Model.Mensa this.mealName = AppResources.MensaApp_Action; break; default: - this.mealName = string.Empty; + this.mealName = AppResources.MensaApp_NoFood; break; } } diff --git a/CampusAppWP8/CampusAppWPortalLib8/Model/Mensa/MenuWeekModel.cs b/CampusAppWP8/CampusAppWPortalLib8/Model/Mensa/MenuWeekModel.cs index 0af57379..35338718 100644 --- a/CampusAppWP8/CampusAppWPortalLib8/Model/Mensa/MenuWeekModel.cs +++ b/CampusAppWP8/CampusAppWPortalLib8/Model/Mensa/MenuWeekModel.cs @@ -77,6 +77,29 @@ namespace CampusAppWPortalLib8.Model.Mensa return monday; } + /// + /// Method determine holidays (Days with no meals) and add a pseudo meal + /// + /// text of the pseudo meal + public void SetHolidayCaption(string text) + { + MealModel holiday = new MealModel(); + holiday.MealDesc = text; + holiday.MealId= -1; + + foreach (MenuModel menu in this.Menus) + { + if (menu.Meals == null || menu.Meals.Count < 1) + { + if (menu.Meals == null) + { + menu.Meals = new ObservableCollection(); + } + menu.Meals.Add(holiday); + } + } + } + #endregion } } diff --git a/CampusAppWP8/CampusAppWPortalLib8/Model/Person/PersonListModel.cs b/CampusAppWP8/CampusAppWPortalLib8/Model/Person/PersonListModel.cs index d79729a8..bed28637 100644 --- a/CampusAppWP8/CampusAppWPortalLib8/Model/Person/PersonListModel.cs +++ b/CampusAppWP8/CampusAppWPortalLib8/Model/Person/PersonListModel.cs @@ -16,7 +16,7 @@ namespace CampusAppWPortalLib8.Model.Person /// Stubbfel, 05.09.2013. /// personModel template [XmlRoot("Uebersicht")] - public class PersonListModel + public abstract class PersonListModel { #region Property @@ -31,40 +31,13 @@ namespace CampusAppWPortalLib8.Model.Person /// Sets person identifier to function. /// Stubbfel, 05.09.2013. - public void SetPersonIdToFunction() - { - foreach (T item in this.Persons) - { - IPersonModel person = item as IPersonModel; - if (person != null) - { - person.SetPersonIdToFunction(); - } - } - } + public abstract void SetPersonIdToFunction(); /// Gets a person. /// Stubbfel, 05.09.2013. /// The identifier. /// The person. - public IPersonModel GetPerson(string id) - { - foreach (T item in this.Persons) - { - IPersonModel tmpPerson = item as IPersonModel; - if (tmpPerson == null) - { - continue; - } - - if (tmpPerson.ID.Equals(id)) - { - return tmpPerson; - } - } - - return default(IPersonModel); - } + public abstract T GetPerson(string id); /// Removes the non function and set identifiers person. /// Stubbfel, 05.09.2013. @@ -76,28 +49,8 @@ namespace CampusAppWPortalLib8.Model.Person /// Removes the non function person. /// Stubbfel, 05.09.2013. - public void RemoveNonFunctionPerson() - { - List removeList = new List(); - foreach (T item in this.Persons) - { - IPersonModel tmpPerson = item as IPersonModel; - if (tmpPerson == null) - { - continue; - } - - if (tmpPerson.Functions.Count < 1) - { - removeList.Add(item); - } - } - - foreach (T removePerson in removeList) - { - this.Persons.Remove(removePerson); - } - } + public abstract void RemoveNonFunctionPerson(); + #endregion } diff --git a/CampusAppWP8/CampusAppWPortalLib8/Model/RSS/RSSChannelModel.cs b/CampusAppWP8/CampusAppWPortalLib8/Model/RSS/RSSChannelModel.cs index 1b365770..4b6284b2 100644 --- a/CampusAppWP8/CampusAppWPortalLib8/Model/RSS/RSSChannelModel.cs +++ b/CampusAppWP8/CampusAppWPortalLib8/Model/RSS/RSSChannelModel.cs @@ -9,6 +9,7 @@ namespace CampusAppWPortalLib8.Model.RSS { using System.Collections.ObjectModel; using System.Collections.Specialized; + using System.Linq; using System.Xml.Serialization; /// @@ -60,6 +61,30 @@ namespace CampusAppWPortalLib8.Model.RSS #region Method + public void OrderByDate(bool asc = false) + { + this.item.CollectionChanged -= this.OnListChanged; + + if (asc == false) + { + var sortedOC = from elem in this.item + orderby elem.DTTimestamp descending + select elem; + + this.item = new ObservableCollection(sortedOC); + this.item.CollectionChanged += new NotifyCollectionChangedEventHandler(this.OnListChanged); + } + else + { + var sortedOC = from elem in this.item + orderby elem.DTTimestamp ascending + select elem; + + this.item = new ObservableCollection(sortedOC); + this.item.CollectionChanged += new NotifyCollectionChangedEventHandler(this.OnListChanged); + } + } + /// /// Is called when the item list has changed. /// Here used for the add event. diff --git a/CampusAppWP8/CampusAppWPortalLib8/Model/RSS/RSSModel.cs b/CampusAppWP8/CampusAppWPortalLib8/Model/RSS/RSSModel.cs index 22f79ca1..6d5efa62 100644 --- a/CampusAppWP8/CampusAppWPortalLib8/Model/RSS/RSSModel.cs +++ b/CampusAppWP8/CampusAppWPortalLib8/Model/RSS/RSSModel.cs @@ -10,13 +10,16 @@ namespace CampusAppWPortalLib8.Model.RSS using System; using System.Text; using System.Xml.Serialization; + using System.ComponentModel; /// /// Contains the RSS feed information. /// - public class RSSModel + public class RSSModel : INotifyPropertyChanged { #region Member + + public event PropertyChangedEventHandler PropertyChanged; /// /// Index of this object. @@ -43,8 +46,10 @@ namespace CampusAppWPortalLib8.Model.RSS /// private string link; - #endregion + private bool textVisible = true; + #endregion + #region Property /// @@ -135,6 +140,18 @@ namespace CampusAppWPortalLib8.Model.RSS } } + /// + /// Gets the date of the timestamp as string. + /// example: 25.06. + /// + public string ShortDate + { + get + { + return string.Format("{0:dd.MM.}", this.timestamp); + } + } + /// /// Gets the time of the timestamp as string. /// example: 12:56. @@ -183,6 +200,38 @@ namespace CampusAppWPortalLib8.Model.RSS } } + /// + /// Gets or sets the visibility of the text. + /// + public bool TextVisibility + { + get + { + return this.textVisible; + } + + set + { + if (value != this.textVisible) + { + this.textVisible = value; + this.NotifyPropertyChanged("TextVisibility"); + this.NotifyPropertyChanged("BrowserVisibility"); + } + } + } + + /// + /// Gets or sets the visibility of the browser. + /// + public bool BrowserVisibility + { + get + { + return !this.textVisible; + } + } + #endregion #region Method @@ -212,6 +261,14 @@ namespace CampusAppWPortalLib8.Model.RSS #region private + private void NotifyPropertyChanged(string info) + { + if (PropertyChanged != null) + { + this.PropertyChanged(this, new PropertyChangedEventArgs(info)); + } + } + /// /// Remove or transform html-unicode specific tags into ASCII. /// diff --git a/CampusAppWP8/CampusAppWPortalLib8/Resources/AppResources.Designer.cs b/CampusAppWP8/CampusAppWPortalLib8/Resources/AppResources.Designer.cs index fe2e04e7..c607563d 100644 --- a/CampusAppWP8/CampusAppWPortalLib8/Resources/AppResources.Designer.cs +++ b/CampusAppWP8/CampusAppWPortalLib8/Resources/AppResources.Designer.cs @@ -62,7 +62,7 @@ namespace CampusAppWPortalLib8.Resources { } /// - /// Sucht eine lokalisierte Zeichenfolge, die Cottbus Hauptcampus ähnelt. + /// Sucht eine lokalisierte Zeichenfolge, die Cottbus ähnelt. /// public static string Campus_CBMain { get { @@ -71,7 +71,7 @@ namespace CampusAppWPortalLib8.Resources { } /// - /// Sucht eine lokalisierte Zeichenfolge, die Cottbus Nordcampus ähnelt. + /// Sucht eine lokalisierte Zeichenfolge, die Cottbus Nord ähnelt. /// public static string Campus_CBNorth { get { @@ -80,7 +80,7 @@ namespace CampusAppWPortalLib8.Resources { } /// - /// Sucht eine lokalisierte Zeichenfolge, die Cottbus Südcampus ähnelt. + /// Sucht eine lokalisierte Zeichenfolge, die Cottbus Süd ähnelt. /// public static string Campus_CBSouth { get { @@ -89,7 +89,7 @@ namespace CampusAppWPortalLib8.Resources { } /// - /// Sucht eine lokalisierte Zeichenfolge, die Senftenberg Hauptcampus ähnelt. + /// Sucht eine lokalisierte Zeichenfolge, die Senftenberg ähnelt. /// public static string Campus_SFBMain { get { @@ -196,6 +196,15 @@ namespace CampusAppWPortalLib8.Resources { } } + /// + /// Sucht eine lokalisierte Zeichenfolge, die Kein Essen ähnelt. + /// + public static string MensaApp_NoFood { + get { + return ResourceManager.GetString("MensaApp_NoFood", resourceCulture); + } + } + /// /// Sucht eine lokalisierte Zeichenfolge, die Suppe ähnelt. /// diff --git a/CampusAppWP8/CampusAppWPortalLib8/Resources/AppResources.resx b/CampusAppWP8/CampusAppWPortalLib8/Resources/AppResources.resx index 51ef3544..475cb1d9 100644 --- a/CampusAppWP8/CampusAppWPortalLib8/Resources/AppResources.resx +++ b/CampusAppWP8/CampusAppWPortalLib8/Resources/AppResources.resx @@ -118,16 +118,16 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - Cottbus Hauptcampus + Cottbus - Cottbus Nordcampus + Cottbus Nord - Cottbus Südcampus + Cottbus Süd - Senftenberg Hauptcampus + Senftenberg Bachelor @@ -162,6 +162,9 @@ Essen 5 + + Kein Essen + Suppe diff --git a/CampusAppWP8/CampusAppWPortalLib8/Utility/DefaultStringManager.cs b/CampusAppWP8/CampusAppWPortalLib8/Utility/DefaultStringManager.cs index e417b217..efe015db 100644 --- a/CampusAppWP8/CampusAppWPortalLib8/Utility/DefaultStringManager.cs +++ b/CampusAppWP8/CampusAppWPortalLib8/Utility/DefaultStringManager.cs @@ -111,6 +111,11 @@ namespace CampusAppWPortalLib8.Utility public static string ToShortString(string longStr, int maxLenght, string suffix = "") { string shortStr = longStr; + if (shortStr == null) + { + return null; + } + if (shortStr.Length > maxLenght) { shortStr = shortStr.Substring(0, maxLenght) + suffix; @@ -126,6 +131,12 @@ namespace CampusAppWPortalLib8.Utility /// the id if it was found it in the string otherwise null public static string FilterPlaceIdinQRResultString(string qrcodeResult) { + if (qrcodeResult == null) + { + return null; + + } + string[] lines = qrcodeResult.Split('\n'); string tmpLineTrim; @@ -148,6 +159,11 @@ namespace CampusAppWPortalLib8.Utility /// true if the string contains only digit, otherwise false public static bool IsDigitsOnly(string str) { + if (str == null || str.Length < 1) + { + return false; + } + foreach (char c in str) { if (c < '0' || c > '9') diff --git a/CampusAppWP8/IconCreator/IconCreator.pyproj b/CampusAppWP8/IconCreator/IconCreator.pyproj index c25a7b01..3cb39346 100644 --- a/CampusAppWP8/IconCreator/IconCreator.pyproj +++ b/CampusAppWP8/IconCreator/IconCreator.pyproj @@ -179,6 +179,7 @@ + diff --git a/CampusAppWP8/IconCreator/dstImages/wp8/159x159/DarkTheme/functions/btu_services_159.png b/CampusAppWP8/IconCreator/dstImages/wp8/159x159/DarkTheme/functions/btu_services_159.png new file mode 100644 index 00000000..c1a1e595 Binary files /dev/null and b/CampusAppWP8/IconCreator/dstImages/wp8/159x159/DarkTheme/functions/btu_services_159.png differ diff --git a/CampusAppWP8/IconCreator/dstImages/wp8/159x159/DarkTheme/functions/mensaplan_159.png b/CampusAppWP8/IconCreator/dstImages/wp8/159x159/DarkTheme/functions/mensaplan_159.png new file mode 100644 index 00000000..fe25b542 Binary files /dev/null and b/CampusAppWP8/IconCreator/dstImages/wp8/159x159/DarkTheme/functions/mensaplan_159.png differ diff --git a/CampusAppWP8/IconCreator/dstImages/wp8/159x159/DarkTheme/functions/pos_159.png b/CampusAppWP8/IconCreator/dstImages/wp8/159x159/DarkTheme/functions/pos_159.png new file mode 100644 index 00000000..7c9b56cc Binary files /dev/null and b/CampusAppWP8/IconCreator/dstImages/wp8/159x159/DarkTheme/functions/pos_159.png differ diff --git a/CampusAppWP8/IconCreator/dstImages/wp8/159x159/DarkTheme/listicons/speaker_159.png b/CampusAppWP8/IconCreator/dstImages/wp8/159x159/DarkTheme/listicons/speaker_159.png new file mode 100644 index 00000000..56a6c44e Binary files /dev/null and b/CampusAppWP8/IconCreator/dstImages/wp8/159x159/DarkTheme/listicons/speaker_159.png differ diff --git a/CampusAppWP8/IconCreator/dstImages/wp8/159x159/LightTheme/functions/btu_services_159.png b/CampusAppWP8/IconCreator/dstImages/wp8/159x159/LightTheme/functions/btu_services_159.png new file mode 100644 index 00000000..c989db57 Binary files /dev/null and b/CampusAppWP8/IconCreator/dstImages/wp8/159x159/LightTheme/functions/btu_services_159.png differ diff --git a/CampusAppWP8/IconCreator/dstImages/wp8/159x159/LightTheme/functions/mensaplan_159.png b/CampusAppWP8/IconCreator/dstImages/wp8/159x159/LightTheme/functions/mensaplan_159.png new file mode 100644 index 00000000..2327a52d Binary files /dev/null and b/CampusAppWP8/IconCreator/dstImages/wp8/159x159/LightTheme/functions/mensaplan_159.png differ diff --git a/CampusAppWP8/IconCreator/dstImages/wp8/159x159/LightTheme/functions/pos_159.png b/CampusAppWP8/IconCreator/dstImages/wp8/159x159/LightTheme/functions/pos_159.png new file mode 100644 index 00000000..757bb58f Binary files /dev/null and b/CampusAppWP8/IconCreator/dstImages/wp8/159x159/LightTheme/functions/pos_159.png differ diff --git a/CampusAppWP8/IconCreator/dstImages/wp8/159x159/LightTheme/listicons/speaker_159.png b/CampusAppWP8/IconCreator/dstImages/wp8/159x159/LightTheme/listicons/speaker_159.png new file mode 100644 index 00000000..919b979c Binary files /dev/null and b/CampusAppWP8/IconCreator/dstImages/wp8/159x159/LightTheme/listicons/speaker_159.png differ diff --git a/CampusAppWP8/IconCreator/srcImages/functions/btu_services.svg b/CampusAppWP8/IconCreator/srcImages/functions/btu_services.svg new file mode 100644 index 00000000..321c1a4a --- /dev/null +++ b/CampusAppWP8/IconCreator/srcImages/functions/btu_services.svg @@ -0,0 +1,114 @@ + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + diff --git a/CampusAppWP8/IconCreator/srcImages/functions/mensaplan.svg b/CampusAppWP8/IconCreator/srcImages/functions/mensaplan.svg new file mode 100644 index 00000000..c2a95c4c --- /dev/null +++ b/CampusAppWP8/IconCreator/srcImages/functions/mensaplan.svg @@ -0,0 +1,114 @@ + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + diff --git a/CampusAppWP8/IconCreator/srcImages/functions/pos.svg b/CampusAppWP8/IconCreator/srcImages/functions/pos.svg new file mode 100644 index 00000000..3f91d0ad --- /dev/null +++ b/CampusAppWP8/IconCreator/srcImages/functions/pos.svg @@ -0,0 +1,114 @@ + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + diff --git a/CampusAppWP8/IconCreator/srcImages/listicons/speaker.svg b/CampusAppWP8/IconCreator/srcImages/listicons/speaker.svg new file mode 100644 index 00000000..f9818b0a --- /dev/null +++ b/CampusAppWP8/IconCreator/srcImages/listicons/speaker.svg @@ -0,0 +1,55 @@ + + + + + + image/svg+xml + + + + + + + + + diff --git a/Doc/html/annotated.html b/Doc/html/annotated.html index d916ef2e..a6364974 100644 --- a/Doc/html/annotated.html +++ b/Doc/html/annotated.html @@ -109,188 +109,182 @@ $(document).ready(function(){initNavTree('annotated.html','');});
Here are the classes, structs, unions and interfaces with brief descriptions:
[detail level 12345]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
\NCampusAppWP8
 oNApi
 |oNGeoApi
 |oNLecture
 |\NPerson
 oNFeed
 |oNDepartments
 |oNEvents
 |oNExams
 |oNLink
 |oNMensa
 |oNNews
 |oNOpeninghours
 |oNStudentCouncil
 |\NUtility
 oNFile
 |oNDepartments
 |oNExams
 |\NPlaces
 oNModel
 |oNCampusmap
 |oNDepartments
 |oNevents_news
 |oNExams
 |oNGeoDb
 |oNLecture
 |oNLink
 |oNOpeninghours
 |oNPerson
 |oNSetting
 |oNStudentCouncil
 |oNUtility
 |oCBinaryModelBinary model.
 |\CXmlModel< T >Xml model io handler class.
 oNPages
 |oNCampusmap
 |oNDepartments
 |oNDev
 |oNEvents
 |oNExams
 |oNLecture
 |oNLinks
 |oNMensa
 |oNNews
 |oNOpeninghours
 |oNPerson
 |oNPlaceNews
 |oNSetting
 |oNStudentCouncil
 |oNWebmail
 |\CStartPageClass for the StartPage
 oNResources
 |oCAppResourcesEine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
 |oCConstantsEine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
 |\CIconsIcons uri string.
 oNUtility
 |oNLui
 |oNNDEF
 |oCAppUriMapperClass map Uri to AppPages
 |oCBackgroundTasksClass provide some static methods for background tasks
 |oCFileFile class.
 |oCHttpRequestClass realize the access of restful HttpRequest
 |\CWp8StringManagerClass provides some special StringMethods
 oCApp
 oCConstAccess to Constants.rex
 oCLocalizedStringsLocalized strings.
 oCMainModel< T >Base model io handling class.
 \CThemelizedIconsTheme icons.
oNCampusApp8
|\NModel
| \NSetting
\NCampusAppWP8
 oNApi
 |oNGeoApi
 |oNLecture
 |\NPerson
 oNFeed
 |oNDepartments
 |oNEvents
 |oNExams
 |oNLink
 |oNMensa
 |oNNews
 |oNOpeninghours
 |oNStudentCouncil
 |\NUtility
 oNFile
 |oNDepartments
 |oNExams
 |\NPlaces
 oNModel
 |oNCampusmap
 |oNevents_news
 |oNExams
 |oNGeoDb
 |oNLecture
 |oNOpeninghours
 |oNPerson
 |oNSetting
 |oNUtility
 |oCBinaryModelBinary model.
 |oCMainModel< T >Base model io handling class.
 |\CXmlModel< T >Xml model io handler class.
 oNPages
 |oNBTTTag
 |oNCampusmap
 |oNDepartments
 |oNDev
 |oNEvents
 |oNExams
 |oNLecture
 |oNLinks
 |oNMensa
 |oNNews
 |oNOpeninghours
 |oNPerson
 |oNPlaceNews
 |oNSetting
 |oNStudentCouncil
 |oNWebmail
 |\CStartPageClass for the StartPage
 oNResources
 |oCAppResourcesEine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
 |oCConstantsEine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
 |\CIconsIcons uri string.
 oNUtility
 |oNLui
 |oNNDEF
 |oCAppUriMapperClass map Uri to AppPages
 |oCBackgroundTasksClass provide some static methods for background tasks
 |oCBoolToVisibilityConverter
 |oCFileFile class.
 |oCHttpRequestClass realize the access of restful HttpRequest
 |\CWp8StringManagerClass provides some special StringMethods
 oCApp
 oCConstAccess to Constants.rex
 oCLocalizedStringsLocalized strings.
 \CThemelizedIconsTheme icons.
@@ -298,7 +292,7 @@ $(document).ready(function(){initNavTree('annotated.html','');}); @@ -118,7 +118,7 @@ $(document).ready(function(){initNavTree('class_campus_app_w_p8_1_1_feed_1_1_men - - - + + +

Static Public Member Functions

static MensaFeed CreateCampusMensaFeed (CampusAppWP8.Model.Setting.UserProfilModel.Campus campus)
 Method creates a MensaFeed depends of certain Campus More...
 
static MensaFeed CreateCampusMensaFeed (CampusAppWPortalLib8.Model.Settings.Campus campus)
 Method creates a MensaFeed depends of certain Campus More...
 
@@ -193,7 +193,7 @@ Properties

Member Function Documentation

- +

Protected Member Functions

@@ -203,7 +203,7 @@ Properties - + @@ -259,7 +259,7 @@ Properties
static MensaFeed CampusAppWP8.Feed.Mensa.MensaFeed.CreateCampusMensaFeed (CampusAppWP8.Model.Setting.UserProfilModel.Campus CampusAppWPortalLib8.Model.Settings.Campus  campus)
- + @@ -119,7 +119,7 @@ $(document).ready(function(){initNavTree('class_campus_app_w_p8_1_1_feed_1_1_men - - - + + + @@ -173,7 +173,7 @@ Additional Inherited Members
CreateCampusMensaFeed(CampusAppWP8.Model.Setting.UserProfilModel.Campus campus)CampusAppWP8.Feed.Mensa.MensaFeedstatic
CreateCampusMensaFeed(CampusAppWPortalLib8.Model.Settings.Campus campus)CampusAppWP8.Feed.Mensa.MensaFeedstatic
MensaFeed(string fileName, string feedUrl)CampusAppWP8.Feed.Mensa.MensaFeedprotected
MensaFeedCBMain()CampusAppWP8.Feed.Mensa.MensaFeedCBMain
TitleCampusAppWP8.Feed.Mensa.MensaFeed

Additional Inherited Members

- Static Public Member Functions inherited from CampusAppWP8.Feed.Mensa.MensaFeed
static MensaFeed CreateCampusMensaFeed (CampusAppWP8.Model.Setting.UserProfilModel.Campus campus)
 Method creates a MensaFeed depends of certain Campus More...
 
static MensaFeed CreateCampusMensaFeed (CampusAppWPortalLib8.Model.Settings.Campus campus)
 Method creates a MensaFeed depends of certain Campus More...
 
- Protected Member Functions inherited from CampusAppWP8.Feed.Mensa.MensaFeed
 MensaFeed (string fileName, string feedUrl)
 Initializes a new instance of the MensaFeed class. More...
- + @@ -119,7 +119,7 @@ $(document).ready(function(){initNavTree('class_campus_app_w_p8_1_1_feed_1_1_men - - - + + + @@ -173,7 +173,7 @@ Additional Inherited Members
CreateCampusMensaFeed(CampusAppWP8.Model.Setting.UserProfilModel.Campus campus)CampusAppWP8.Feed.Mensa.MensaFeedstatic
CreateCampusMensaFeed(CampusAppWPortalLib8.Model.Settings.Campus campus)CampusAppWP8.Feed.Mensa.MensaFeedstatic
MensaFeed(string fileName, string feedUrl)CampusAppWP8.Feed.Mensa.MensaFeedprotected
MensaFeedCBNorth()CampusAppWP8.Feed.Mensa.MensaFeedCBNorth
TitleCampusAppWP8.Feed.Mensa.MensaFeed

Additional Inherited Members

- Static Public Member Functions inherited from CampusAppWP8.Feed.Mensa.MensaFeed
static MensaFeed CreateCampusMensaFeed (CampusAppWP8.Model.Setting.UserProfilModel.Campus campus)
 Method creates a MensaFeed depends of certain Campus More...
 
static MensaFeed CreateCampusMensaFeed (CampusAppWPortalLib8.Model.Settings.Campus campus)
 Method creates a MensaFeed depends of certain Campus More...
 
- Protected Member Functions inherited from CampusAppWP8.Feed.Mensa.MensaFeed
 MensaFeed (string fileName, string feedUrl)
 Initializes a new instance of the MensaFeed class. More...
- + @@ -119,7 +119,7 @@ $(document).ready(function(){initNavTree('class_campus_app_w_p8_1_1_feed_1_1_men - - - + + + @@ -173,7 +173,7 @@ Additional Inherited Members
CreateCampusMensaFeed(CampusAppWP8.Model.Setting.UserProfilModel.Campus campus)CampusAppWP8.Feed.Mensa.MensaFeedstatic
CreateCampusMensaFeed(CampusAppWPortalLib8.Model.Settings.Campus campus)CampusAppWP8.Feed.Mensa.MensaFeedstatic
MensaFeed(string fileName, string feedUrl)CampusAppWP8.Feed.Mensa.MensaFeedprotected
MensaFeedCBSouth()CampusAppWP8.Feed.Mensa.MensaFeedCBSouth
TitleCampusAppWP8.Feed.Mensa.MensaFeed

Additional Inherited Members

- Static Public Member Functions inherited from CampusAppWP8.Feed.Mensa.MensaFeed
static MensaFeed CreateCampusMensaFeed (CampusAppWP8.Model.Setting.UserProfilModel.Campus campus)
 Method creates a MensaFeed depends of certain Campus More...
 
static MensaFeed CreateCampusMensaFeed (CampusAppWPortalLib8.Model.Settings.Campus campus)
 Method creates a MensaFeed depends of certain Campus More...
 
- Protected Member Functions inherited from CampusAppWP8.Feed.Mensa.MensaFeed
 MensaFeed (string fileName, string feedUrl)
 Initializes a new instance of the MensaFeed class. More...
- + @@ -119,7 +119,7 @@ $(document).ready(function(){initNavTree('class_campus_app_w_p8_1_1_feed_1_1_men - - - + + + @@ -173,7 +173,7 @@ Additional Inherited Members
CreateCampusMensaFeed(CampusAppWP8.Model.Setting.UserProfilModel.Campus campus)CampusAppWP8.Feed.Mensa.MensaFeedstatic
CreateCampusMensaFeed(CampusAppWPortalLib8.Model.Settings.Campus campus)CampusAppWP8.Feed.Mensa.MensaFeedstatic
MensaFeed(string fileName, string feedUrl)CampusAppWP8.Feed.Mensa.MensaFeedprotected
MensaFeedSBFMain()CampusAppWP8.Feed.Mensa.MensaFeedSBFMain
TitleCampusAppWP8.Feed.Mensa.MensaFeed

Additional Inherited Members

- Static Public Member Functions inherited from CampusAppWP8.Feed.Mensa.MensaFeed
static MensaFeed CreateCampusMensaFeed (CampusAppWP8.Model.Setting.UserProfilModel.Campus campus)
 Method creates a MensaFeed depends of certain Campus More...
 
static MensaFeed CreateCampusMensaFeed (CampusAppWPortalLib8.Model.Settings.Campus campus)
 Method creates a MensaFeed depends of certain Campus More...
 
- Protected Member Functions inherited from CampusAppWP8.Feed.Mensa.MensaFeed
 MensaFeed (string fileName, string feedUrl)
 Initializes a new instance of the MensaFeed class. More...
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - - + +
BinaryModel(ModelType modelType, string fileName, string url)CampusAppWP8.Model.BinaryModel
BinaryModel(ModelType modelType, string sourceName)CampusAppWP8.Model.BinaryModel
ClearUriParams()CampusAppWP8.MainModel< T >
DeserializeModel(byte[] modelData)CampusAppWP8.Model.BinaryModelprotectedvirtual
ExamFile(string fileName, string url)CampusAppWP8.File.Exams.ExamFile
fileCampusAppWP8.MainModel< T >protected
ForceReadFile()CampusAppWP8.MainModel< T >
ForceType enum nameCampusAppWP8.MainModel< T >
ForceWebUpdate()CampusAppWP8.MainModel< T >
GetModel()CampusAppWP8.MainModel< T >
GetModelType()CampusAppWP8.MainModel< T >
IsFile()CampusAppWP8.MainModel< T >protected
IsFileUpToDate(T model, FileInfo fileInfo)CampusAppWP8.MainModel< T >
IsFileUpToDateOnLoadCampusAppWP8.MainModel< T >
IsFileUpToDateOnSaveCampusAppWP8.MainModel< T >
IsHttpApi()CampusAppWP8.MainModel< T >protected
IsModelUpToDate(T model)CampusAppWP8.MainModel< T >
IsModelUpToDateOnLoadCampusAppWP8.MainModel< T >
IsModelUpToDateOnSaveCampusAppWP8.MainModel< T >
LaunchFile()CampusAppWP8.File.Exams.ExamFile
LoadData(ForceType force=ForceType.INVALID)CampusAppWP8.MainModel< T >
MainModel(ModelType modelType, string fileName, string url)CampusAppWP8.MainModel< T >
MainModel(ModelType modelType, string sourceName)CampusAppWP8.MainModel< T >
ModelCampusAppWP8.MainModel< T >
ModelType enum nameCampusAppWP8.MainModel< T >
OnFailed()CampusAppWP8.MainModel< T >
OnFailedFileCampusAppWP8.MainModel< T >
OnFailedLoadCampusAppWP8.MainModel< T >
OnFailedSaveCampusAppWP8.MainModel< T >
OnFailedWebCampusAppWP8.MainModel< T >
OnIO()CampusAppWP8.MainModel< T >
OnLoadedCampusAppWP8.MainModel< T >
OnLoadingCampusAppWP8.MainModel< T >
OnSavedCampusAppWP8.MainModel< T >
OnSavingCampusAppWP8.MainModel< T >
ApiCampusAppWP8.Model.MainModel< T >
BinaryModel(ModelType modelType, string fileName, string url)CampusAppWP8.Model.BinaryModel
BinaryModel(ModelType modelType, string sourceName)CampusAppWP8.Model.BinaryModel
CheckIsNotUpToDate(object checkFunc)CampusAppWP8.Model.MainModel< T >protected
CheckLoadFileIsNotUpToDate()CampusAppWP8.Model.MainModel< T >protected
CheckSaveFileIsNotUpToDate()CampusAppWP8.Model.MainModel< T >protected
DeserializeModel(byte[] modelData)CampusAppWP8.Model.BinaryModelprotected
ExamFile(string fileName, string url)CampusAppWP8.File.Exams.ExamFile
FileCampusAppWP8.Model.MainModel< T >
InitFile()CampusAppWP8.Model.MainModel< T >protected
InitHttpApi()CampusAppWP8.Model.MainModel< T >protected
IsFileUpToDate(T model, FileInfo fileInfo)CampusAppWP8.Model.MainModel< T >
IsFileUpToDateOnLoadCampusAppWP8.Model.MainModel< T >
IsFileUpToDateOnSaveCampusAppWP8.Model.MainModel< T >
LaunchFile()CampusAppWP8.File.Exams.ExamFile
MainModel(ModelType modelType, string fileName, string url)CampusAppWP8.Model.MainModel< T >
MainModel(ModelType modelType, string sourceName)CampusAppWP8.Model.MainModel< T >
SaveAndLaunchFile()CampusAppWP8.File.Exams.ExamFile
SaveData(bool force=false)CampusAppWP8.MainModel< T >
SerializeModel()CampusAppWP8.Model.BinaryModelprotectedvirtual
SetUriParams(List< UrlParamModel > parameters)CampusAppWP8.MainModel< T >
SendHttpGet(Uri url)CampusAppWP8.Model.MainModel< T >protected
SerializeModel()CampusAppWP8.Model.BinaryModelprotected
-CampusAppWP8.Model.BinaryModel -CampusAppWP8.MainModel< T > +CampusAppWP8.Model.BinaryModel +CampusAppWP8.Model.MainModel< T >
@@ -136,72 +136,25 @@ Public Member Functions - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + +
 Saves the and launch file. More...
 
- Public Member Functions inherited from CampusAppWP8.Model.BinaryModel
 BinaryModel (ModelType modelType, string fileName, string url)
 BinaryModel (ModelType modelType, string fileName, string url)
 Initializes a new instance of the BinaryModel class. More...
 
 BinaryModel (ModelType modelType, string sourceName)
 BinaryModel (ModelType modelType, string sourceName)
 Initializes a new instance of the BinaryModel class. More...
 
- Public Member Functions inherited from CampusAppWP8.MainModel< T >
 MainModel (ModelType modelType, string fileName, string url)
 Initializes a new instance of the MainModel{T} class. More...
 
 MainModel (ModelType modelType, string sourceName)
 Initializes a new instance of the MainModel{T} class. More...
 
delegate void OnIO ()
 Delegate of the OnIO callback function. More...
 
delegate void OnFailed ()
 Delegate of the OnFailed(File/Web) callback function. More...
 
delegate bool IsModelUpToDate (T model)
 Delegate of the IsModelUpToDate callback function. More...
 
delegate bool IsFileUpToDate (T model, FileInfo fileInfo)
 Delegate of the IsFileUpToDate callback function. More...
 
void ForceWebUpdate ()
 Forces a update from web. More...
 
void ForceReadFile ()
 Forces a update from file. More...
 
void LoadData (ForceType force=ForceType.INVALID)
 Load the data if necessary, from web or from file, regarding if the file data is up to date. More...
 
void SaveData (bool force=false)
 Save the model data if necessary. More...
 
ModelType GetModelType ()
 Return the model io type. More...
 
GetModel ()
 Return the model. More...
 
void SetUriParams (List< UrlParamModel > parameters)
 Create the parameterized uri. More...
 
void ClearUriParams ()
 Clear the parameterized uri. More...
 
- Public Member Functions inherited from CampusAppWP8.Model.MainModel< T >
 MainModel (ModelType modelType, string fileName, string url)
 Initializes a new instance of the MainModel{T} class. More...
 
 MainModel (ModelType modelType, string sourceName)
 Initializes a new instance of the MainModel{T} class. More...
 
delegate bool IsFileUpToDate (T model, FileInfo fileInfo)
 Delegate of the IsFileUpToDate callback function. More...
 
- - - - - - - @@ -209,51 +162,20 @@ Additional Inherited Members - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + +

Additional Inherited Members

- Public Types inherited from CampusAppWP8.MainModel< T >
enum  ModelType { ModelType.INVALID = 0, -ModelType.File = 1, -ModelType.Feed = 2, -ModelType.FileAndFeed = 3 - }
 Specifies the I/O type of the model. More...
 
enum  ForceType { ForceType.INVALID = 0, -ForceType.FORCE_FILE = 1, -ForceType.FORCE_WEB = 2 - }
 Values that represent ForceType for load function. More...
 
- Protected Member Functions inherited from CampusAppWP8.Model.BinaryModel
override bool DeserializeModel (byte[] modelData)
 Deserialize model. More...
override byte[] SerializeModel ()
 Gets the serialize model. More...
 
- Protected Attributes inherited from CampusAppWP8.MainModel< T >
CampusAppWP8.Utility.File file = null
 File object. More...
 
- Properties inherited from CampusAppWP8.MainModel< T >
Model [get, set]
 Gets or sets the Model. More...
 
- Events inherited from CampusAppWP8.MainModel< T >
OnIO OnLoading = null
 Callback pointer, called before loading. More...
 
OnIO OnLoaded = null
 Callback pointer, called after loading. More...
 
OnIO OnSaving = null
 Callback pointer, called before saving. More...
 
OnIO OnSaved = null
 Callback pointer, called after saving. More...
 
OnFailed OnFailedFile = null
 Callback pointer, called after failed file loading. More...
 
OnFailed OnFailedWeb = null
 Callback pointer, called after failed web loading. More...
 
OnFailed OnFailedLoad = null
 Callback pointer, called after failed file or web loading, if there is no specialized onFailed callback set. More...
 
OnFailed OnFailedSave = null
 Callback pointer, called after failed saving data to file. More...
 
IsFileUpToDate IsFileUpToDateOnLoad = null
 Callback pointer, for checking if file is up to date at loading. More...
 
IsFileUpToDate IsFileUpToDateOnSave = null
 Callback pointer, for checking if file is up to date at saving. More...
 
IsModelUpToDate IsModelUpToDateOnLoad = null
 Callback pointer, for checking if model is up to date at loading. More...
 
IsModelUpToDate IsModelUpToDateOnSave = null
 Callback pointer, for checking if model is up to date at saving. (currently unused) More...
 
- Properties inherited from CampusAppWP8.Model.MainModel< T >
new CampusAppWP8.Utility.File File [get, set]
 Gets or sets the file More...
 
new HttpRequest Api [get, set]
 Gets or sets the api More...
 
- Events inherited from CampusAppWP8.Model.MainModel< T >
IsFileUpToDate IsFileUpToDateOnLoad = null
 Callback pointer, for checking if file is up to date at loading. More...
 
IsFileUpToDate IsFileUpToDateOnSave = null
 Callback pointer, for checking if file is up to date at saving. More...
 

Detailed Description

Exam file.

@@ -341,7 +263,7 @@ Additional Inherited Members
@@ -400,8 +332,6 @@ Additional Inherited Members

Stubbfel, 03.09.2013.

Returns
an byte Array.
-

Implements CampusAppWP8.MainModel< T >.

-

The documentation for this class was generated from the following file:
    @@ -413,7 +343,7 @@ Additional Inherited Members + + + + + + +
    + +
    +
    +
    + +
    + + + + +
    + +
    + +
    +
    +
    CampusAppWP8.Model.Campusmap.InfoLabPlacePinModel Member List
    +
    +
    + +

    This is the complete list of members for CampusAppWP8.Model.Campusmap.InfoLabPlacePinModel, including all inherited members.

    + + + + + + + + + + + + + + + + + + + + + + + + + +
    AssocPlacesCampusAppWP8.Model.Campusmap.ClickAblePlacePinModel
    CallBackCampusAppWP8.Model.Campusmap.ClickAblePlacePinModel
    CurrendPositionPlacePinStringCampusAppWP8.Model.Campusmap.MapPinModelstatic
    HiddenPlacePinStringCampusAppWP8.Model.Campusmap.MapPinModelstatic
    ImageHeightCampusAppWP8.Model.Campusmap.MapPinModel
    ImageSourceCampusAppWP8.Model.Campusmap.MapPinModel
    ImageWidthCampusAppWP8.Model.Campusmap.MapPinModel
    InfoAccesPlacePinString (defined in CampusAppWP8.Model.Campusmap.MapPinModel)CampusAppWP8.Model.Campusmap.MapPinModelstatic
    InfoLabPlacePinModel()CampusAppWP8.Model.Campusmap.InfoLabPlacePinModel
    InfoLabPlacePinString (defined in CampusAppWP8.Model.Campusmap.MapPinModel)CampusAppWP8.Model.Campusmap.MapPinModelstatic
    InfoPlacePinModel()CampusAppWP8.Model.Campusmap.InfoPlacePinModel
    InfoPlacePinStringCampusAppWP8.Model.Campusmap.MapPinModelstatic
    InfoRedPlacePinString (defined in CampusAppWP8.Model.Campusmap.MapPinModel)CampusAppWP8.Model.Campusmap.MapPinModelstatic
    InfoWcPlacePinString (defined in CampusAppWP8.Model.Campusmap.MapPinModel)CampusAppWP8.Model.Campusmap.MapPinModelstatic
    MapPinModel()CampusAppWP8.Model.Campusmap.MapPinModel
    PinImageOffsetXCampusAppWP8.Model.Campusmap.MapPinModel
    PinImageOffsetYCampusAppWP8.Model.Campusmap.MapPinModel
    PinType enum nameCampusAppWP8.Model.Campusmap.MapPinModel
    PinTypeToString(PinType type)CampusAppWP8.Model.Campusmap.MapPinModelstatic
    PositionCampusAppWP8.Model.Campusmap.MapPinModel
    SearchPlacePinStringCampusAppWP8.Model.Campusmap.MapPinModelstatic
    ShowInfo(object sender, System.Windows.Input.MouseButtonEventArgs e)CampusAppWP8.Model.Campusmap.ClickAblePlacePinModel
    TagCampusAppWP8.Model.Campusmap.MapPinModel
    ZIndexCampusAppWP8.Model.Campusmap.MapPinModel
    +
    + + + + diff --git a/Doc/html/class_campus_app_w_p8_1_1_model_1_1_campusmap_1_1_info_lab_place_pin_model.html b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_campusmap_1_1_info_lab_place_pin_model.html new file mode 100644 index 00000000..e86e72d9 --- /dev/null +++ b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_campusmap_1_1_info_lab_place_pin_model.html @@ -0,0 +1,212 @@ + + + + + + +CampusAppWp8: CampusAppWP8.Model.Campusmap.InfoLabPlacePinModel Class Reference + + + + + + + + + + + + + +
    +
    + + + + + + + +
    +
    CampusAppWp8 +
    +
    +
    + + + + + +
    +
    + +
    +
    +
    + +
    + + + + +
    + +
    + +
    + +
    +
    CampusAppWP8.Model.Campusmap.InfoLabPlacePinModel Class Reference
    +
    +
    + +

    Search pin place model. + More...

    +
    +Inheritance diagram for CampusAppWP8.Model.Campusmap.InfoLabPlacePinModel:
    +
    +
    + + +CampusAppWP8.Model.Campusmap.InfoPlacePinModel +CampusAppWP8.Model.Campusmap.ClickAblePlacePinModel +CampusAppWP8.Model.Campusmap.MapPinModel + +
    + + + + + + + + + + + + + + + + + +

    +Public Member Functions

     InfoLabPlacePinModel ()
     Initializes a new instance of the InfoPlacePinModel class. More...
     
    - Public Member Functions inherited from CampusAppWP8.Model.Campusmap.InfoPlacePinModel
     InfoPlacePinModel ()
     Initializes a new instance of the InfoPlacePinModel class. More...
     
    - Public Member Functions inherited from CampusAppWP8.Model.Campusmap.ClickAblePlacePinModel
    void ShowInfo (object sender, System.Windows.Input.MouseButtonEventArgs e)
     Show Information of this pin places More...
     
    - Public Member Functions inherited from CampusAppWP8.Model.Campusmap.MapPinModel
     MapPinModel ()
     Initializes a new instance of the MapPinModel class. More...
     
    + + + + + + + + + + + + + + + + +

    +Additional Inherited Members

    - Public Types inherited from CampusAppWP8.Model.Campusmap.MapPinModel
    enum  PinType {
    +  PinType.Hidden = 0, +PinType.SearchPlace = 1, +PinType.CurrentPosition = 2, +PinType.InfoPlace = 3, +
    +  InfoLabPlace = 4, +InfoWcPlace = 5, +InfoRedPlace = 6, +InfoAccesPlace = 7 +
    + }
     Values that represent PinType. More...
     
    - Static Public Member Functions inherited from CampusAppWP8.Model.Campusmap.MapPinModel
    static string PinTypeToString (PinType type)
     Method convert PinType to a string More...
     
    - Properties inherited from CampusAppWP8.Model.Campusmap.ClickAblePlacePinModel
    MapModel.MapInfos CallBack [get, set]
     Gets or sets Callback Function, to show place information of the Pin More...
     
    List< PlaceModelAssocPlaces [get, set]
     Gets or sets place which are associative with this pin More...
     
    +

    Detailed Description

    +

    Search pin place model.

    +

    Stubbfel, 27.08.2013.

    +

    Constructor & Destructor Documentation

    + +
    +
    + + + + + + + +
    CampusAppWP8.Model.Campusmap.InfoLabPlacePinModel.InfoLabPlacePinModel ()
    +
    + +

    Initializes a new instance of the InfoPlacePinModel class.

    +

    Stubbfel, 27.08.2013.

    + +
    +
    +
    The documentation for this class was generated from the following file:
      +
    • C:/Users/stubbfel/gitrepos/CampusAppWP8/CampusAppWP8/CampusAppWP8/Model/Campusmap/InfoLabPlacePinModel.cs
    • +
    +
    +
    + + + + diff --git a/Doc/html/class_campus_app_w_p8_1_1_model_1_1_campusmap_1_1_info_lab_place_pin_model.js b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_campusmap_1_1_info_lab_place_pin_model.js new file mode 100644 index 00000000..e33629ec --- /dev/null +++ b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_campusmap_1_1_info_lab_place_pin_model.js @@ -0,0 +1,4 @@ +var class_campus_app_w_p8_1_1_model_1_1_campusmap_1_1_info_lab_place_pin_model = +[ + [ "InfoLabPlacePinModel", "class_campus_app_w_p8_1_1_model_1_1_campusmap_1_1_info_lab_place_pin_model.html#a0d517648648d8bbb8ac0b4640c719afc", null ] +]; \ No newline at end of file diff --git a/Doc/html/class_campus_app_w_p8_1_1_model_1_1_campusmap_1_1_info_lab_place_pin_model.png b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_campusmap_1_1_info_lab_place_pin_model.png new file mode 100644 index 00000000..c1842cf9 Binary files /dev/null and b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_campusmap_1_1_info_lab_place_pin_model.png differ diff --git a/Doc/html/class_campus_app_w_p8_1_1_model_1_1_campusmap_1_1_info_place_access_pin_model-members.html b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_campusmap_1_1_info_place_access_pin_model-members.html new file mode 100644 index 00000000..2bc1bfe1 --- /dev/null +++ b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_campusmap_1_1_info_place_access_pin_model-members.html @@ -0,0 +1,148 @@ + + + + + + +CampusAppWp8: Member List + + + + + + + + + + + + + +
    +
    + + + + + + + +
    +
    CampusAppWp8 +
    +
    +
    + + + + + +
    +
    + +
    +
    +
    + +
    + + + + +
    + +
    + +
    +
    +
    CampusAppWP8.Model.Campusmap.InfoPlaceAccessPinModel Member List
    +
    +
    + +

    This is the complete list of members for CampusAppWP8.Model.Campusmap.InfoPlaceAccessPinModel, including all inherited members.

    + + + + + + + + + + + + + + + + + + + + + + + + + +
    AssocPlacesCampusAppWP8.Model.Campusmap.ClickAblePlacePinModel
    CallBackCampusAppWP8.Model.Campusmap.ClickAblePlacePinModel
    CurrendPositionPlacePinStringCampusAppWP8.Model.Campusmap.MapPinModelstatic
    HiddenPlacePinStringCampusAppWP8.Model.Campusmap.MapPinModelstatic
    ImageHeightCampusAppWP8.Model.Campusmap.MapPinModel
    ImageSourceCampusAppWP8.Model.Campusmap.MapPinModel
    ImageWidthCampusAppWP8.Model.Campusmap.MapPinModel
    InfoAccesPlacePinString (defined in CampusAppWP8.Model.Campusmap.MapPinModel)CampusAppWP8.Model.Campusmap.MapPinModelstatic
    InfoLabPlacePinString (defined in CampusAppWP8.Model.Campusmap.MapPinModel)CampusAppWP8.Model.Campusmap.MapPinModelstatic
    InfoPlaceAccessPinModel()CampusAppWP8.Model.Campusmap.InfoPlaceAccessPinModel
    InfoPlacePinModel()CampusAppWP8.Model.Campusmap.InfoPlacePinModel
    InfoPlacePinStringCampusAppWP8.Model.Campusmap.MapPinModelstatic
    InfoRedPlacePinString (defined in CampusAppWP8.Model.Campusmap.MapPinModel)CampusAppWP8.Model.Campusmap.MapPinModelstatic
    InfoWcPlacePinString (defined in CampusAppWP8.Model.Campusmap.MapPinModel)CampusAppWP8.Model.Campusmap.MapPinModelstatic
    MapPinModel()CampusAppWP8.Model.Campusmap.MapPinModel
    PinImageOffsetXCampusAppWP8.Model.Campusmap.MapPinModel
    PinImageOffsetYCampusAppWP8.Model.Campusmap.MapPinModel
    PinType enum nameCampusAppWP8.Model.Campusmap.MapPinModel
    PinTypeToString(PinType type)CampusAppWP8.Model.Campusmap.MapPinModelstatic
    PositionCampusAppWP8.Model.Campusmap.MapPinModel
    SearchPlacePinStringCampusAppWP8.Model.Campusmap.MapPinModelstatic
    ShowInfo(object sender, System.Windows.Input.MouseButtonEventArgs e)CampusAppWP8.Model.Campusmap.ClickAblePlacePinModel
    TagCampusAppWP8.Model.Campusmap.MapPinModel
    ZIndexCampusAppWP8.Model.Campusmap.MapPinModel
    +
    + + + + diff --git a/Doc/html/class_campus_app_w_p8_1_1_model_1_1_campusmap_1_1_info_place_access_pin_model.html b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_campusmap_1_1_info_place_access_pin_model.html new file mode 100644 index 00000000..d47665c1 --- /dev/null +++ b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_campusmap_1_1_info_place_access_pin_model.html @@ -0,0 +1,212 @@ + + + + + + +CampusAppWp8: CampusAppWP8.Model.Campusmap.InfoPlaceAccessPinModel Class Reference + + + + + + + + + + + + + +
    +
    + + + + + + + +
    +
    CampusAppWp8 +
    +
    +
    + + + + + +
    +
    + +
    +
    +
    + +
    + + + + +
    + +
    + +
    + +
    +
    CampusAppWP8.Model.Campusmap.InfoPlaceAccessPinModel Class Reference
    +
    +
    + +

    Search pin place model. + More...

    +
    +Inheritance diagram for CampusAppWP8.Model.Campusmap.InfoPlaceAccessPinModel:
    +
    +
    + + +CampusAppWP8.Model.Campusmap.InfoPlacePinModel +CampusAppWP8.Model.Campusmap.ClickAblePlacePinModel +CampusAppWP8.Model.Campusmap.MapPinModel + +
    + + + + + + + + + + + + + + + + + +

    +Public Member Functions

     InfoPlaceAccessPinModel ()
     Initializes a new instance of the InfoPlacePinModel class. More...
     
    - Public Member Functions inherited from CampusAppWP8.Model.Campusmap.InfoPlacePinModel
     InfoPlacePinModel ()
     Initializes a new instance of the InfoPlacePinModel class. More...
     
    - Public Member Functions inherited from CampusAppWP8.Model.Campusmap.ClickAblePlacePinModel
    void ShowInfo (object sender, System.Windows.Input.MouseButtonEventArgs e)
     Show Information of this pin places More...
     
    - Public Member Functions inherited from CampusAppWP8.Model.Campusmap.MapPinModel
     MapPinModel ()
     Initializes a new instance of the MapPinModel class. More...
     
    + + + + + + + + + + + + + + + + +

    +Additional Inherited Members

    - Public Types inherited from CampusAppWP8.Model.Campusmap.MapPinModel
    enum  PinType {
    +  PinType.Hidden = 0, +PinType.SearchPlace = 1, +PinType.CurrentPosition = 2, +PinType.InfoPlace = 3, +
    +  InfoLabPlace = 4, +InfoWcPlace = 5, +InfoRedPlace = 6, +InfoAccesPlace = 7 +
    + }
     Values that represent PinType. More...
     
    - Static Public Member Functions inherited from CampusAppWP8.Model.Campusmap.MapPinModel
    static string PinTypeToString (PinType type)
     Method convert PinType to a string More...
     
    - Properties inherited from CampusAppWP8.Model.Campusmap.ClickAblePlacePinModel
    MapModel.MapInfos CallBack [get, set]
     Gets or sets Callback Function, to show place information of the Pin More...
     
    List< PlaceModelAssocPlaces [get, set]
     Gets or sets place which are associative with this pin More...
     
    +

    Detailed Description

    +

    Search pin place model.

    +

    Stubbfel, 27.08.2013.

    +

    Constructor & Destructor Documentation

    + +
    +
    + + + + + + + +
    CampusAppWP8.Model.Campusmap.InfoPlaceAccessPinModel.InfoPlaceAccessPinModel ()
    +
    + +

    Initializes a new instance of the InfoPlacePinModel class.

    +

    Stubbfel, 27.08.2013.

    + +
    +
    +
    The documentation for this class was generated from the following file:
      +
    • C:/Users/stubbfel/gitrepos/CampusAppWP8/CampusAppWP8/CampusAppWP8/Model/Campusmap/InfoPlaceAccessPinModel.cs
    • +
    +
    +
    + + + + diff --git a/Doc/html/class_campus_app_w_p8_1_1_model_1_1_campusmap_1_1_info_place_access_pin_model.js b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_campusmap_1_1_info_place_access_pin_model.js new file mode 100644 index 00000000..a6f43f42 --- /dev/null +++ b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_campusmap_1_1_info_place_access_pin_model.js @@ -0,0 +1,4 @@ +var class_campus_app_w_p8_1_1_model_1_1_campusmap_1_1_info_place_access_pin_model = +[ + [ "InfoPlaceAccessPinModel", "class_campus_app_w_p8_1_1_model_1_1_campusmap_1_1_info_place_access_pin_model.html#adc80a965da7401fd137aa07619455dbb", null ] +]; \ No newline at end of file diff --git a/Doc/html/class_campus_app_w_p8_1_1_model_1_1_campusmap_1_1_info_place_access_pin_model.png b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_campusmap_1_1_info_place_access_pin_model.png new file mode 100644 index 00000000..a2ba726e Binary files /dev/null and b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_campusmap_1_1_info_place_access_pin_model.png differ diff --git a/Doc/html/class_campus_app_w_p8_1_1_model_1_1_campusmap_1_1_info_place_pin_model-members.html b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_campusmap_1_1_info_place_pin_model-members.html index 335e03b9..fce2df78 100644 --- a/Doc/html/class_campus_app_w_p8_1_1_model_1_1_campusmap_1_1_info_place_pin_model-members.html +++ b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_campusmap_1_1_info_place_pin_model-members.html @@ -117,8 +117,12 @@ $(document).ready(function(){initNavTree('class_campus_app_w_p8_1_1_model_1_1_ca ImageHeightCampusAppWP8.Model.Campusmap.MapPinModel ImageSourceCampusAppWP8.Model.Campusmap.MapPinModel ImageWidthCampusAppWP8.Model.Campusmap.MapPinModel + InfoAccesPlacePinString (defined in CampusAppWP8.Model.Campusmap.MapPinModel)CampusAppWP8.Model.Campusmap.MapPinModelstatic + InfoLabPlacePinString (defined in CampusAppWP8.Model.Campusmap.MapPinModel)CampusAppWP8.Model.Campusmap.MapPinModelstatic InfoPlacePinModel()CampusAppWP8.Model.Campusmap.InfoPlacePinModel InfoPlacePinStringCampusAppWP8.Model.Campusmap.MapPinModelstatic + InfoRedPlacePinString (defined in CampusAppWP8.Model.Campusmap.MapPinModel)CampusAppWP8.Model.Campusmap.MapPinModelstatic + InfoWcPlacePinString (defined in CampusAppWP8.Model.Campusmap.MapPinModel)CampusAppWP8.Model.Campusmap.MapPinModelstatic MapPinModel()CampusAppWP8.Model.Campusmap.MapPinModel PinImageOffsetXCampusAppWP8.Model.Campusmap.MapPinModel PinImageOffsetYCampusAppWP8.Model.Campusmap.MapPinModel @@ -134,7 +138,7 @@ $(document).ready(function(){initNavTree('class_campus_app_w_p8_1_1_model_1_1_ca
    -CampusAppWP8.Model.Campusmap.ClickAblePlacePinModel -CampusAppWP8.Model.Campusmap.MapPinModel +CampusAppWP8.Model.Campusmap.ClickAblePlacePinModel +CampusAppWP8.Model.Campusmap.MapPinModel +CampusAppWP8.Model.Campusmap.InfoLabPlacePinModel +CampusAppWP8.Model.Campusmap.InfoPlaceAccessPinModel +CampusAppWP8.Model.Campusmap.InfoPlaceRedPinModel +CampusAppWP8.Model.Campusmap.InfoPlaceWCPinModel
    @@ -141,10 +145,17 @@ Public Member Functions - @@ -191,7 +202,7 @@ Additional Inherited Members

    Additional Inherited Members

    - Public Types inherited from CampusAppWP8.Model.Campusmap.MapPinModel
    enum  PinType { PinType.Hidden = 0, +
    enum  PinType {
    +  PinType.Hidden = 0, PinType.SearchPlace = 1, PinType.CurrentPosition = 2, -PinType.InfoPlace = 3 +PinType.InfoPlace = 3, +
    +  InfoLabPlace = 4, +InfoWcPlace = 5, +InfoRedPlace = 6, +InfoAccesPlace = 7 +
    }
     Values that represent PinType. More...
     
    + + + + + + +
    +
    CampusAppWp8 +
    +
    + + + + + + + +
    + +
    +
    +
    + +
    + + + + +
    + +
    + +
    +
    +
    CampusAppWP8.Model.Campusmap.InfoPlaceRedPinModel Member List
    +
    +
    + +

    This is the complete list of members for CampusAppWP8.Model.Campusmap.InfoPlaceRedPinModel, including all inherited members.

    + + + + + + + + + + + + + + + + + + + + + + + + + +
    AssocPlacesCampusAppWP8.Model.Campusmap.ClickAblePlacePinModel
    CallBackCampusAppWP8.Model.Campusmap.ClickAblePlacePinModel
    CurrendPositionPlacePinStringCampusAppWP8.Model.Campusmap.MapPinModelstatic
    HiddenPlacePinStringCampusAppWP8.Model.Campusmap.MapPinModelstatic
    ImageHeightCampusAppWP8.Model.Campusmap.MapPinModel
    ImageSourceCampusAppWP8.Model.Campusmap.MapPinModel
    ImageWidthCampusAppWP8.Model.Campusmap.MapPinModel
    InfoAccesPlacePinString (defined in CampusAppWP8.Model.Campusmap.MapPinModel)CampusAppWP8.Model.Campusmap.MapPinModelstatic
    InfoLabPlacePinString (defined in CampusAppWP8.Model.Campusmap.MapPinModel)CampusAppWP8.Model.Campusmap.MapPinModelstatic
    InfoPlacePinModel()CampusAppWP8.Model.Campusmap.InfoPlacePinModel
    InfoPlacePinStringCampusAppWP8.Model.Campusmap.MapPinModelstatic
    InfoPlaceRedPinModel()CampusAppWP8.Model.Campusmap.InfoPlaceRedPinModel
    InfoRedPlacePinString (defined in CampusAppWP8.Model.Campusmap.MapPinModel)CampusAppWP8.Model.Campusmap.MapPinModelstatic
    InfoWcPlacePinString (defined in CampusAppWP8.Model.Campusmap.MapPinModel)CampusAppWP8.Model.Campusmap.MapPinModelstatic
    MapPinModel()CampusAppWP8.Model.Campusmap.MapPinModel
    PinImageOffsetXCampusAppWP8.Model.Campusmap.MapPinModel
    PinImageOffsetYCampusAppWP8.Model.Campusmap.MapPinModel
    PinType enum nameCampusAppWP8.Model.Campusmap.MapPinModel
    PinTypeToString(PinType type)CampusAppWP8.Model.Campusmap.MapPinModelstatic
    PositionCampusAppWP8.Model.Campusmap.MapPinModel
    SearchPlacePinStringCampusAppWP8.Model.Campusmap.MapPinModelstatic
    ShowInfo(object sender, System.Windows.Input.MouseButtonEventArgs e)CampusAppWP8.Model.Campusmap.ClickAblePlacePinModel
    TagCampusAppWP8.Model.Campusmap.MapPinModel
    ZIndexCampusAppWP8.Model.Campusmap.MapPinModel
    +
    + + + + diff --git a/Doc/html/class_campus_app_w_p8_1_1_model_1_1_campusmap_1_1_info_place_red_pin_model.html b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_campusmap_1_1_info_place_red_pin_model.html new file mode 100644 index 00000000..0d5721a5 --- /dev/null +++ b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_campusmap_1_1_info_place_red_pin_model.html @@ -0,0 +1,212 @@ + + + + + + +CampusAppWp8: CampusAppWP8.Model.Campusmap.InfoPlaceRedPinModel Class Reference + + + + + + + + + + + + + +
    +
    + + + + + + + +
    +
    CampusAppWp8 +
    +
    +
    + + + + + +
    +
    + +
    +
    +
    + +
    + + + + +
    + +
    + +
    + +
    +
    CampusAppWP8.Model.Campusmap.InfoPlaceRedPinModel Class Reference
    +
    +
    + +

    Search pin place model. + More...

    +
    +Inheritance diagram for CampusAppWP8.Model.Campusmap.InfoPlaceRedPinModel:
    +
    +
    + + +CampusAppWP8.Model.Campusmap.InfoPlacePinModel +CampusAppWP8.Model.Campusmap.ClickAblePlacePinModel +CampusAppWP8.Model.Campusmap.MapPinModel + +
    + + + + + + + + + + + + + + + + + +

    +Public Member Functions

     InfoPlaceRedPinModel ()
     Initializes a new instance of the InfoPlacePinModel class. More...
     
    - Public Member Functions inherited from CampusAppWP8.Model.Campusmap.InfoPlacePinModel
     InfoPlacePinModel ()
     Initializes a new instance of the InfoPlacePinModel class. More...
     
    - Public Member Functions inherited from CampusAppWP8.Model.Campusmap.ClickAblePlacePinModel
    void ShowInfo (object sender, System.Windows.Input.MouseButtonEventArgs e)
     Show Information of this pin places More...
     
    - Public Member Functions inherited from CampusAppWP8.Model.Campusmap.MapPinModel
     MapPinModel ()
     Initializes a new instance of the MapPinModel class. More...
     
    + + + + + + + + + + + + + + + + +

    +Additional Inherited Members

    - Public Types inherited from CampusAppWP8.Model.Campusmap.MapPinModel
    enum  PinType {
    +  PinType.Hidden = 0, +PinType.SearchPlace = 1, +PinType.CurrentPosition = 2, +PinType.InfoPlace = 3, +
    +  InfoLabPlace = 4, +InfoWcPlace = 5, +InfoRedPlace = 6, +InfoAccesPlace = 7 +
    + }
     Values that represent PinType. More...
     
    - Static Public Member Functions inherited from CampusAppWP8.Model.Campusmap.MapPinModel
    static string PinTypeToString (PinType type)
     Method convert PinType to a string More...
     
    - Properties inherited from CampusAppWP8.Model.Campusmap.ClickAblePlacePinModel
    MapModel.MapInfos CallBack [get, set]
     Gets or sets Callback Function, to show place information of the Pin More...
     
    List< PlaceModelAssocPlaces [get, set]
     Gets or sets place which are associative with this pin More...
     
    +

    Detailed Description

    +

    Search pin place model.

    +

    Stubbfel, 27.08.2013.

    +

    Constructor & Destructor Documentation

    + +
    +
    + + + + + + + +
    CampusAppWP8.Model.Campusmap.InfoPlaceRedPinModel.InfoPlaceRedPinModel ()
    +
    + +

    Initializes a new instance of the InfoPlacePinModel class.

    +

    Stubbfel, 27.08.2013.

    + +
    +
    +
    The documentation for this class was generated from the following file:
      +
    • C:/Users/stubbfel/gitrepos/CampusAppWP8/CampusAppWP8/CampusAppWP8/Model/Campusmap/InfoPlaceRedPinModel.cs
    • +
    +
    +
    + + + + diff --git a/Doc/html/class_campus_app_w_p8_1_1_model_1_1_campusmap_1_1_info_place_red_pin_model.js b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_campusmap_1_1_info_place_red_pin_model.js new file mode 100644 index 00000000..21b53874 --- /dev/null +++ b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_campusmap_1_1_info_place_red_pin_model.js @@ -0,0 +1,4 @@ +var class_campus_app_w_p8_1_1_model_1_1_campusmap_1_1_info_place_red_pin_model = +[ + [ "InfoPlaceRedPinModel", "class_campus_app_w_p8_1_1_model_1_1_campusmap_1_1_info_place_red_pin_model.html#ad9d19e4a21d7c370d12d065b5fa24541", null ] +]; \ No newline at end of file diff --git a/Doc/html/class_campus_app_w_p8_1_1_model_1_1_campusmap_1_1_info_place_red_pin_model.png b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_campusmap_1_1_info_place_red_pin_model.png new file mode 100644 index 00000000..6f11b3b5 Binary files /dev/null and b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_campusmap_1_1_info_place_red_pin_model.png differ diff --git a/Doc/html/class_campus_app_w_p8_1_1_model_1_1_campusmap_1_1_info_place_w_c_pin_model-members.html b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_campusmap_1_1_info_place_w_c_pin_model-members.html new file mode 100644 index 00000000..020abb6c --- /dev/null +++ b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_campusmap_1_1_info_place_w_c_pin_model-members.html @@ -0,0 +1,148 @@ + + + + + + +CampusAppWp8: Member List + + + + + + + + + + + + + +
    +
    + + + + + + + +
    +
    CampusAppWp8 +
    +
    +
    + + + + + +
    +
    + +
    +
    +
    + +
    + + + + +
    + +
    + +
    +
    +
    CampusAppWP8.Model.Campusmap.InfoPlaceWCPinModel Member List
    +
    +
    + +

    This is the complete list of members for CampusAppWP8.Model.Campusmap.InfoPlaceWCPinModel, including all inherited members.

    + + + + + + + + + + + + + + + + + + + + + + + + + +
    AssocPlacesCampusAppWP8.Model.Campusmap.ClickAblePlacePinModel
    CallBackCampusAppWP8.Model.Campusmap.ClickAblePlacePinModel
    CurrendPositionPlacePinStringCampusAppWP8.Model.Campusmap.MapPinModelstatic
    HiddenPlacePinStringCampusAppWP8.Model.Campusmap.MapPinModelstatic
    ImageHeightCampusAppWP8.Model.Campusmap.MapPinModel
    ImageSourceCampusAppWP8.Model.Campusmap.MapPinModel
    ImageWidthCampusAppWP8.Model.Campusmap.MapPinModel
    InfoAccesPlacePinString (defined in CampusAppWP8.Model.Campusmap.MapPinModel)CampusAppWP8.Model.Campusmap.MapPinModelstatic
    InfoLabPlacePinString (defined in CampusAppWP8.Model.Campusmap.MapPinModel)CampusAppWP8.Model.Campusmap.MapPinModelstatic
    InfoPlacePinModel()CampusAppWP8.Model.Campusmap.InfoPlacePinModel
    InfoPlacePinStringCampusAppWP8.Model.Campusmap.MapPinModelstatic
    InfoPlaceWCPinModel()CampusAppWP8.Model.Campusmap.InfoPlaceWCPinModel
    InfoRedPlacePinString (defined in CampusAppWP8.Model.Campusmap.MapPinModel)CampusAppWP8.Model.Campusmap.MapPinModelstatic
    InfoWcPlacePinString (defined in CampusAppWP8.Model.Campusmap.MapPinModel)CampusAppWP8.Model.Campusmap.MapPinModelstatic
    MapPinModel()CampusAppWP8.Model.Campusmap.MapPinModel
    PinImageOffsetXCampusAppWP8.Model.Campusmap.MapPinModel
    PinImageOffsetYCampusAppWP8.Model.Campusmap.MapPinModel
    PinType enum nameCampusAppWP8.Model.Campusmap.MapPinModel
    PinTypeToString(PinType type)CampusAppWP8.Model.Campusmap.MapPinModelstatic
    PositionCampusAppWP8.Model.Campusmap.MapPinModel
    SearchPlacePinStringCampusAppWP8.Model.Campusmap.MapPinModelstatic
    ShowInfo(object sender, System.Windows.Input.MouseButtonEventArgs e)CampusAppWP8.Model.Campusmap.ClickAblePlacePinModel
    TagCampusAppWP8.Model.Campusmap.MapPinModel
    ZIndexCampusAppWP8.Model.Campusmap.MapPinModel
    +
    + + + + diff --git a/Doc/html/class_campus_app_w_p8_1_1_model_1_1_campusmap_1_1_info_place_w_c_pin_model.html b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_campusmap_1_1_info_place_w_c_pin_model.html new file mode 100644 index 00000000..d6e07ed5 --- /dev/null +++ b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_campusmap_1_1_info_place_w_c_pin_model.html @@ -0,0 +1,212 @@ + + + + + + +CampusAppWp8: CampusAppWP8.Model.Campusmap.InfoPlaceWCPinModel Class Reference + + + + + + + + + + + + + +
    +
    + + + + + + + +
    +
    CampusAppWp8 +
    +
    +
    + + + + + +
    +
    + +
    +
    +
    + +
    + + + + +
    + +
    + +
    + +
    +
    CampusAppWP8.Model.Campusmap.InfoPlaceWCPinModel Class Reference
    +
    +
    + +

    Search pin place model. + More...

    +
    +Inheritance diagram for CampusAppWP8.Model.Campusmap.InfoPlaceWCPinModel:
    +
    +
    + + +CampusAppWP8.Model.Campusmap.InfoPlacePinModel +CampusAppWP8.Model.Campusmap.ClickAblePlacePinModel +CampusAppWP8.Model.Campusmap.MapPinModel + +
    + + + + + + + + + + + + + + + + + +

    +Public Member Functions

     InfoPlaceWCPinModel ()
     Initializes a new instance of the InfoPlacePinModel class. More...
     
    - Public Member Functions inherited from CampusAppWP8.Model.Campusmap.InfoPlacePinModel
     InfoPlacePinModel ()
     Initializes a new instance of the InfoPlacePinModel class. More...
     
    - Public Member Functions inherited from CampusAppWP8.Model.Campusmap.ClickAblePlacePinModel
    void ShowInfo (object sender, System.Windows.Input.MouseButtonEventArgs e)
     Show Information of this pin places More...
     
    - Public Member Functions inherited from CampusAppWP8.Model.Campusmap.MapPinModel
     MapPinModel ()
     Initializes a new instance of the MapPinModel class. More...
     
    + + + + + + + + + + + + + + + + +

    +Additional Inherited Members

    - Public Types inherited from CampusAppWP8.Model.Campusmap.MapPinModel
    enum  PinType {
    +  PinType.Hidden = 0, +PinType.SearchPlace = 1, +PinType.CurrentPosition = 2, +PinType.InfoPlace = 3, +
    +  InfoLabPlace = 4, +InfoWcPlace = 5, +InfoRedPlace = 6, +InfoAccesPlace = 7 +
    + }
     Values that represent PinType. More...
     
    - Static Public Member Functions inherited from CampusAppWP8.Model.Campusmap.MapPinModel
    static string PinTypeToString (PinType type)
     Method convert PinType to a string More...
     
    - Properties inherited from CampusAppWP8.Model.Campusmap.ClickAblePlacePinModel
    MapModel.MapInfos CallBack [get, set]
     Gets or sets Callback Function, to show place information of the Pin More...
     
    List< PlaceModelAssocPlaces [get, set]
     Gets or sets place which are associative with this pin More...
     
    +

    Detailed Description

    +

    Search pin place model.

    +

    Stubbfel, 27.08.2013.

    +

    Constructor & Destructor Documentation

    + +
    +
    + + + + + + + +
    CampusAppWP8.Model.Campusmap.InfoPlaceWCPinModel.InfoPlaceWCPinModel ()
    +
    + +

    Initializes a new instance of the InfoPlacePinModel class.

    +

    Stubbfel, 27.08.2013.

    + +
    +
    +
    The documentation for this class was generated from the following file:
      +
    • C:/Users/stubbfel/gitrepos/CampusAppWP8/CampusAppWP8/CampusAppWP8/Model/Campusmap/InfoPlaceWCPinModel.cs
    • +
    +
    +
    + + + + diff --git a/Doc/html/class_campus_app_w_p8_1_1_model_1_1_campusmap_1_1_info_place_w_c_pin_model.js b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_campusmap_1_1_info_place_w_c_pin_model.js new file mode 100644 index 00000000..9b23a399 --- /dev/null +++ b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_campusmap_1_1_info_place_w_c_pin_model.js @@ -0,0 +1,4 @@ +var class_campus_app_w_p8_1_1_model_1_1_campusmap_1_1_info_place_w_c_pin_model = +[ + [ "InfoPlaceWCPinModel", "class_campus_app_w_p8_1_1_model_1_1_campusmap_1_1_info_place_w_c_pin_model.html#a672dc8680457ef28e504146641c41e38", null ] +]; \ No newline at end of file diff --git a/Doc/html/class_campus_app_w_p8_1_1_model_1_1_campusmap_1_1_info_place_w_c_pin_model.png b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_campusmap_1_1_info_place_w_c_pin_model.png new file mode 100644 index 00000000..2844737c Binary files /dev/null and b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_campusmap_1_1_info_place_w_c_pin_model.png differ diff --git a/Doc/html/class_campus_app_w_p8_1_1_model_1_1_campusmap_1_1_map_model-members.html b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_campusmap_1_1_map_model-members.html index 251207fe..7e665c26 100644 --- a/Doc/html/class_campus_app_w_p8_1_1_model_1_1_campusmap_1_1_map_model-members.html +++ b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_campusmap_1_1_map_model-members.html @@ -142,7 +142,7 @@ $(document).ready(function(){initNavTree('class_campus_app_w_p8_1_1_model_1_1_ca
    -CampusAppWP8.Model.Campusmap.CampusMapModel -CampusAppWP8.Model.Campusmap.CBMainMapModel +CampusAppWP8.Model.Campusmap.BuildingMapModel +CampusAppWP8.Model.Campusmap.CampusMapModel +CampusAppWP8.Model.Campusmap.CBMainMapModel
    @@ -990,7 +991,7 @@ Events + + + + @@ -130,7 +134,7 @@ $(document).ready(function(){initNavTree('class_campus_app_w_p8_1_1_model_1_1_ca
    -CampusAppWP8.Model.Campusmap.ClickAblePlacePinModel -CampusAppWP8.Model.Campusmap.CurrentPositionPinModel -CampusAppWP8.Model.Campusmap.HiddenPinPlaceModel -CampusAppWP8.Model.Campusmap.InfoPlacePinModel -CampusAppWP8.Model.Campusmap.SearchPlacePinModel +CampusAppWP8.Model.Campusmap.ClickAblePlacePinModel +CampusAppWP8.Model.Campusmap.CurrentPositionPinModel +CampusAppWP8.Model.Campusmap.HiddenPinPlaceModel +CampusAppWP8.Model.Campusmap.InfoPlacePinModel +CampusAppWP8.Model.Campusmap.SearchPlacePinModel +CampusAppWP8.Model.Campusmap.InfoLabPlacePinModel +CampusAppWP8.Model.Campusmap.InfoPlaceAccessPinModel +CampusAppWP8.Model.Campusmap.InfoPlaceRedPinModel +CampusAppWP8.Model.Campusmap.InfoPlaceWCPinModel
    ImageHeightCampusAppWP8.Model.Campusmap.MapPinModel
    ImageSourceCampusAppWP8.Model.Campusmap.MapPinModel
    ImageWidthCampusAppWP8.Model.Campusmap.MapPinModel
    InfoAccesPlacePinString (defined in CampusAppWP8.Model.Campusmap.MapPinModel)CampusAppWP8.Model.Campusmap.MapPinModelstatic
    InfoLabPlacePinString (defined in CampusAppWP8.Model.Campusmap.MapPinModel)CampusAppWP8.Model.Campusmap.MapPinModelstatic
    InfoPlacePinStringCampusAppWP8.Model.Campusmap.MapPinModelstatic
    InfoRedPlacePinString (defined in CampusAppWP8.Model.Campusmap.MapPinModel)CampusAppWP8.Model.Campusmap.MapPinModelstatic
    InfoWcPlacePinString (defined in CampusAppWP8.Model.Campusmap.MapPinModel)CampusAppWP8.Model.Campusmap.MapPinModelstatic
    MapPinModel()CampusAppWP8.Model.Campusmap.MapPinModel
    PinImageOffsetXCampusAppWP8.Model.Campusmap.MapPinModel
    PinImageOffsetYCampusAppWP8.Model.Campusmap.MapPinModel
    - @@ -154,6 +165,15 @@ Static Public Member Functions

    Public Types

    enum  PinType { PinType.Hidden = 0, +
    enum  PinType {
    +  PinType.Hidden = 0, PinType.SearchPlace = 1, PinType.CurrentPosition = 2, -PinType.InfoPlace = 3 +PinType.InfoPlace = 3, +
    +  InfoLabPlace = 4, +InfoWcPlace = 5, +InfoRedPlace = 6, +InfoAccesPlace = 7 +
    }
     Values that represent PinType. More...
     
    + + + + + + @@ -166,6 +186,9 @@ Properties + + @@ -549,7 +572,7 @@ Properties + + + + @@ -134,7 +138,7 @@ $(document).ready(function(){initNavTree('class_campus_app_w_p8_1_1_model_1_1_ca - @@ -191,7 +198,7 @@ Additional Inherited Members

    Properties

    +static string InfoRedPlacePinString [get]
     
    +static string InfoAccesPlacePinString [get]
     
    +static string InfoWcPlacePinString [get]
     
    static string CurrendPositionPlacePinString [get]
     Gets the string of current position pins More...
     
    static string InfoPlacePinString [get]
     Gets the string of info pins More...
     
    +static string InfoLabPlacePinString [get]
     
    string ImageSource [get, set]
     Gets or sets the ImageSource of the pin More...
     
    ImageHeightCampusAppWP8.Model.Campusmap.MapPinModel
    ImageSourceCampusAppWP8.Model.Campusmap.MapPinModel
    ImageWidthCampusAppWP8.Model.Campusmap.MapPinModel
    InfoAccesPlacePinString (defined in CampusAppWP8.Model.Campusmap.MapPinModel)CampusAppWP8.Model.Campusmap.MapPinModelstatic
    InfoLabPlacePinString (defined in CampusAppWP8.Model.Campusmap.MapPinModel)CampusAppWP8.Model.Campusmap.MapPinModelstatic
    InfoPlacePinStringCampusAppWP8.Model.Campusmap.MapPinModelstatic
    InfoRedPlacePinString (defined in CampusAppWP8.Model.Campusmap.MapPinModel)CampusAppWP8.Model.Campusmap.MapPinModelstatic
    InfoWcPlacePinString (defined in CampusAppWP8.Model.Campusmap.MapPinModel)CampusAppWP8.Model.Campusmap.MapPinModelstatic
    MapPinModel()CampusAppWP8.Model.Campusmap.MapPinModel
    PinImageOffsetXCampusAppWP8.Model.Campusmap.MapPinModel
    PinImageOffsetYCampusAppWP8.Model.Campusmap.MapPinModel

    Additional Inherited Members

    - Public Types inherited from CampusAppWP8.Model.Campusmap.MapPinModel
    enum  PinType { PinType.Hidden = 0, +
    enum  PinType {
    +  PinType.Hidden = 0, PinType.SearchPlace = 1, PinType.CurrentPosition = 2, -PinType.InfoPlace = 3 +PinType.InfoPlace = 3, +
    +  InfoLabPlace = 4, +InfoWcPlace = 5, +InfoRedPlace = 6, +InfoAccesPlace = 7 +
    }
     Values that represent PinType. More...
     
    + + + + + + +
    +
    CampusAppWp8 +
    +
    + + + + + + + +
    + +
    +
    +
    + +
    + + + + +
    + +
    + +
    +
    +
    CampusAppWP8.Model.Exams.ExamListWp8Model Class Reference
    +
    +
    + +

    Exam list model. + More...

    +
    +Inheritance diagram for CampusAppWP8.Model.Exams.ExamListWp8Model:
    +
    +
    + + + +
    +

    Detailed Description

    +

    Exam list model.

    +

    Stubbfel, 02.09.2013.

    +

    The documentation for this class was generated from the following file:
      +
    • C:/Users/stubbfel/gitrepos/CampusAppWP8/CampusAppWP8/CampusAppWP8/Model/Exams/ExamListWp8Model.cs
    • +
    +
    +
    + + + + diff --git a/Doc/html/class_campus_app_w_p8_1_1_model_1_1_exams_1_1_exam_list_wp8_model.png b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_exams_1_1_exam_list_wp8_model.png new file mode 100644 index 00000000..a2307218 Binary files /dev/null and b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_exams_1_1_exam_list_wp8_model.png differ diff --git a/Doc/html/class_campus_app_w_p8_1_1_model_1_1_exams_1_1_exam_wp8_model-members.html b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_exams_1_1_exam_wp8_model-members.html new file mode 100644 index 00000000..268c4a0f --- /dev/null +++ b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_exams_1_1_exam_wp8_model-members.html @@ -0,0 +1,125 @@ + + + + + + +CampusAppWp8: Member List + + + + + + + + + + + + + +
    +
    + + + + + + + +
    +
    CampusAppWp8 +
    +
    +
    + + + + + +
    +
    + +
    +
    +
    + +
    + + + + +
    + +
    + +
    +
    +
    CampusAppWP8.Model.Exams.ExamWp8Model Member List
    +
    +
    + +

    This is the complete list of members for CampusAppWP8.Model.Exams.ExamWp8Model, including all inherited members.

    + + +
    CaptionCampusAppWP8.Model.Exams.ExamWp8Model
    +
    + + + + diff --git a/Doc/html/class_campus_app_w_p8_1_1_model_1_1_exams_1_1_exam_wp8_model.html b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_exams_1_1_exam_wp8_model.html new file mode 100644 index 00000000..0b7f85f4 --- /dev/null +++ b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_exams_1_1_exam_wp8_model.html @@ -0,0 +1,173 @@ + + + + + + +CampusAppWp8: CampusAppWP8.Model.Exams.ExamWp8Model Class Reference + + + + + + + + + + + + + +
    +
    + + + + + + + +
    +
    CampusAppWp8 +
    +
    +
    + + + + + +
    +
    + +
    +
    +
    + +
    + + + + +
    + +
    + +
    + +
    +
    CampusAppWP8.Model.Exams.ExamWp8Model Class Reference
    +
    +
    + +

    Exam model. + More...

    +
    +Inheritance diagram for CampusAppWP8.Model.Exams.ExamWp8Model:
    +
    +
    + + + +
    + + + + + +

    +Properties

    string Caption [get]
     Gets the caption. More...
     
    +

    Detailed Description

    +

    Exam model.

    +

    Stubbfel, 02.09.2013.

    +

    Property Documentation

    + +
    +
    + + + + + +
    + + + + +
    string CampusAppWP8.Model.Exams.ExamWp8Model.Caption
    +
    +get
    +
    + +

    Gets the caption.

    +

    The caption.

    + +
    +
    +
    The documentation for this class was generated from the following file:
      +
    • C:/Users/stubbfel/gitrepos/CampusAppWP8/CampusAppWP8/CampusAppWP8/Model/Exams/ExamWp8Model.cs
    • +
    +
    +
    + + + + diff --git a/Doc/html/class_campus_app_w_p8_1_1_model_1_1_exams_1_1_exam_wp8_model.js b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_exams_1_1_exam_wp8_model.js new file mode 100644 index 00000000..85cf4f15 --- /dev/null +++ b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_exams_1_1_exam_wp8_model.js @@ -0,0 +1,4 @@ +var class_campus_app_w_p8_1_1_model_1_1_exams_1_1_exam_wp8_model = +[ + [ "Caption", "class_campus_app_w_p8_1_1_model_1_1_exams_1_1_exam_wp8_model.html#a91b5d882e164325decdd0c148f3a391b", null ] +]; \ No newline at end of file diff --git a/Doc/html/class_campus_app_w_p8_1_1_model_1_1_exams_1_1_exam_wp8_model.png b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_exams_1_1_exam_wp8_model.png new file mode 100644 index 00000000..5b628061 Binary files /dev/null and b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_exams_1_1_exam_wp8_model.png differ diff --git a/Doc/html/class_campus_app_w_p8_1_1_model_1_1_geo_db_1_1_campus_building_layer_model-members.html b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_geo_db_1_1_campus_building_layer_model-members.html index 140904d2..9392f3e8 100644 --- a/Doc/html/class_campus_app_w_p8_1_1_model_1_1_geo_db_1_1_campus_building_layer_model-members.html +++ b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_geo_db_1_1_campus_building_layer_model-members.html @@ -118,7 +118,7 @@ $(document).ready(function(){initNavTree('class_campus_app_w_p8_1_1_model_1_1_ge + + + + + + +
    + +
    +
    +
    + +
    + + + + +
    + +
    + +
    +
    +
    CampusAppWP8.Model.Lecture.LectureWp8Activity Member List
    +
    + +
    + + + + diff --git a/Doc/html/class_campus_app_w_p8_1_1_model_1_1_lecture_1_1_lecture_wp8_activity.html b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_lecture_1_1_lecture_wp8_activity.html new file mode 100644 index 00000000..aeb9c2e1 --- /dev/null +++ b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_lecture_1_1_lecture_wp8_activity.html @@ -0,0 +1,197 @@ + + + + + + +CampusAppWp8: CampusAppWP8.Model.Lecture.LectureWp8Activity Class Reference + + + + + + + + + + + + + +
    +
    + + + + + + + +
    +
    CampusAppWp8 +
    +
    +
    + + + + + +
    +
    + +
    +
    +
    + +
    + + + + +
    + +
    + +
    + +
    +
    CampusAppWP8.Model.Lecture.LectureWp8Activity Class Reference
    +
    +
    + +

    Model for a Activity + More...

    +
    +Inheritance diagram for CampusAppWP8.Model.Lecture.LectureWp8Activity:
    +
    +
    + + + +
    + + + + + + + + +

    +Properties

    string IconUrl [get]
     Gets URL of the icon. More...
     
    new string Topic [get, set]
     Gets or sets the topic of the Lecture More...
     
    +

    Detailed Description

    +

    Model for a Activity

    +

    Property Documentation

    + +
    +
    + + + + + +
    + + + + +
    string CampusAppWP8.Model.Lecture.LectureWp8Activity.IconUrl
    +
    +get
    +
    + +

    Gets URL of the icon.

    +

    The icon URL.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    new string CampusAppWP8.Model.Lecture.LectureWp8Activity.Topic
    +
    +getset
    +
    + +

    Gets or sets the topic of the Lecture

    + +
    +
    +
    The documentation for this class was generated from the following file:
      +
    • C:/Users/stubbfel/gitrepos/CampusAppWP8/CampusAppWP8/CampusAppWP8/Model/Lecture/LectureWp8Activity.cs
    • +
    +
    +
    + + + + diff --git a/Doc/html/class_campus_app_w_p8_1_1_model_1_1_lecture_1_1_lecture_wp8_activity.js b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_lecture_1_1_lecture_wp8_activity.js new file mode 100644 index 00000000..816ccb85 --- /dev/null +++ b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_lecture_1_1_lecture_wp8_activity.js @@ -0,0 +1,5 @@ +var class_campus_app_w_p8_1_1_model_1_1_lecture_1_1_lecture_wp8_activity = +[ + [ "IconUrl", "class_campus_app_w_p8_1_1_model_1_1_lecture_1_1_lecture_wp8_activity.html#abb2f152b8bef555b7de808039f1dfedc", null ], + [ "Topic", "class_campus_app_w_p8_1_1_model_1_1_lecture_1_1_lecture_wp8_activity.html#a12f914053ea08c385abdc5fa878352ce", null ] +]; \ No newline at end of file diff --git a/Doc/html/class_campus_app_w_p8_1_1_model_1_1_lecture_1_1_lecture_wp8_activity.png b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_lecture_1_1_lecture_wp8_activity.png new file mode 100644 index 00000000..4b2b6e95 Binary files /dev/null and b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_lecture_1_1_lecture_wp8_activity.png differ diff --git a/Doc/html/class_campus_app_w_p8_1_1_model_1_1_lecture_1_1_lecture_wp8_list-members.html b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_lecture_1_1_lecture_wp8_list-members.html new file mode 100644 index 00000000..42130aad --- /dev/null +++ b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_lecture_1_1_lecture_wp8_list-members.html @@ -0,0 +1,125 @@ + + + + + + +CampusAppWp8: Member List + + + + + + + + + + + + + +
    +
    + + + + + + + +
    +
    CampusAppWp8 +
    +
    +
    + + + + + +
    +
    + +
    +
    +
    + +
    + + + + +
    + +
    + +
    +
    +
    CampusAppWP8.Model.Lecture.LectureWp8List Member List
    +
    +
    + +

    This is the complete list of members for CampusAppWP8.Model.Lecture.LectureWp8List, including all inherited members.

    + + +
    GetActivity(int id)CampusAppWP8.Model.Lecture.LectureWp8List
    +
    + + + + diff --git a/Doc/html/class_campus_app_w_p8_1_1_model_1_1_lecture_1_1_lecture_wp8_list.html b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_lecture_1_1_lecture_wp8_list.html new file mode 100644 index 00000000..7ac6e49d --- /dev/null +++ b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_lecture_1_1_lecture_wp8_list.html @@ -0,0 +1,174 @@ + + + + + + +CampusAppWp8: CampusAppWP8.Model.Lecture.LectureWp8List Class Reference + + + + + + + + + + + + + +
    +
    + + + + + + + +
    +
    CampusAppWp8 +
    +
    +
    + + + + + +
    +
    + +
    +
    +
    + +
    + + + + +
    + +
    + +
    + +
    +
    CampusAppWP8.Model.Lecture.LectureWp8List Class Reference
    +
    +
    + +

    Model for a List of LectureActivity + More...

    +
    +Inheritance diagram for CampusAppWP8.Model.Lecture.LectureWp8List:
    +
    +
    + + + +
    + + + + + +

    +Public Member Functions

    new LectureWp8Activity GetActivity (int id)
     Method return a certain activity More...
     
    +

    Detailed Description

    +

    Model for a List of LectureActivity

    +

    Member Function Documentation

    + +
    +
    + + + + + + + + +
    new LectureWp8Activity CampusAppWP8.Model.Lecture.LectureWp8List.GetActivity (int id)
    +
    + +

    Method return a certain activity

    +
    Parameters
    + + +
    idid of the activity
    +
    +
    +
    Returns
    the activity (FirstOrDefault)
    + +
    +
    +
    The documentation for this class was generated from the following file:
      +
    • C:/Users/stubbfel/gitrepos/CampusAppWP8/CampusAppWP8/CampusAppWP8/Model/Lecture/LectureWp8List.cs
    • +
    +
    +
    + + + + diff --git a/Doc/html/class_campus_app_w_p8_1_1_model_1_1_lecture_1_1_lecture_wp8_list.js b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_lecture_1_1_lecture_wp8_list.js new file mode 100644 index 00000000..96873009 --- /dev/null +++ b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_lecture_1_1_lecture_wp8_list.js @@ -0,0 +1,4 @@ +var class_campus_app_w_p8_1_1_model_1_1_lecture_1_1_lecture_wp8_list = +[ + [ "GetActivity", "class_campus_app_w_p8_1_1_model_1_1_lecture_1_1_lecture_wp8_list.html#ad92b29222223cb34ed32c6fd17f27213", null ] +]; \ No newline at end of file diff --git a/Doc/html/class_campus_app_w_p8_1_1_model_1_1_lecture_1_1_lecture_wp8_list.png b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_lecture_1_1_lecture_wp8_list.png new file mode 100644 index 00000000..58c1dd46 Binary files /dev/null and b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_lecture_1_1_lecture_wp8_list.png differ diff --git a/Doc/html/class_campus_app_w_p8_1_1_model_1_1_main_model_3_01_t_01_4-members.html b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_main_model_3_01_t_01_4-members.html new file mode 100644 index 00000000..b6a55bb9 --- /dev/null +++ b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_main_model_3_01_t_01_4-members.html @@ -0,0 +1,137 @@ + + + + + + +CampusAppWp8: Member List + + + + + + + + + + + + + +
    +
    + + + + + + + +
    +
    CampusAppWp8 +
    +
    +
    + + + + + +
    +
    + +
    +
    +
    + + + + + + diff --git a/Doc/html/class_campus_app_w_p8_1_1_model_1_1_main_model_3_01_t_01_4.html b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_main_model_3_01_t_01_4.html new file mode 100644 index 00000000..25c530ae --- /dev/null +++ b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_main_model_3_01_t_01_4.html @@ -0,0 +1,561 @@ + + + + + + +CampusAppWp8: CampusAppWP8.Model.MainModel< T > Class Template Reference + + + + + + + + + + + + + +
    +
    + + + + + + + +
    +
    CampusAppWp8 +
    +
    +
    + + + + + +
    +
    + +
    +
    +
    + +
    + + + + +
    + +
    + +
    + +
    +
    CampusAppWP8.Model.MainModel< T > Class Template Reference
    +
    +
    + +

    Base model io handling class. + More...

    +
    +Inheritance diagram for CampusAppWP8.Model.MainModel< T >:
    +
    +
    + + +CampusAppWP8.Model.BinaryModel +CampusAppWP8.Model.XmlModel< T > +CampusAppWP8.File.Exams.ExamFile + +
    + + + + + + + + + + + +

    +Public Member Functions

     MainModel (ModelType modelType, string fileName, string url)
     Initializes a new instance of the MainModel{T} class. More...
     
     MainModel (ModelType modelType, string sourceName)
     Initializes a new instance of the MainModel{T} class. More...
     
    delegate bool IsFileUpToDate (T model, FileInfo fileInfo)
     Delegate of the IsFileUpToDate callback function. More...
     
    + + + + + + + + + + + + + + + + + + + +

    +Protected Member Functions

    override bool CheckLoadFileIsNotUpToDate ()
     Method overrides the base CheckLoadFileIsNotUpToDate Method More...
     
    override bool CheckSaveFileIsNotUpToDate ()
     Method overrides the base CheckSaveFileIsNotUpToDate Method More...
     
    override void SendHttpGet (Uri url)
     Method overrides the base SendHttpGet Method More...
     
    override void InitFile ()
     Initializes the file object. More...
     
    override void InitHttpApi ()
     Initializes the web object. More...
     
    override bool CheckIsNotUpToDate (object checkFunc)
     Check if model or file is not up to date. More...
     
    + + + + + + + +

    +Properties

    new CampusAppWP8.Utility.File File [get, set]
     Gets or sets the file More...
     
    new HttpRequest Api [get, set]
     Gets or sets the api More...
     
    + + + + + + + +

    +Events

    IsFileUpToDate IsFileUpToDateOnLoad = null
     Callback pointer, for checking if file is up to date at loading. More...
     
    IsFileUpToDate IsFileUpToDateOnSave = null
     Callback pointer, for checking if file is up to date at saving. More...
     
    +

    Detailed Description

    +

    Base model io handling class.

    +
    Template Parameters
    + + +
    Tmodel type
    +
    +
    +

    Constructor & Destructor Documentation

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    CampusAppWP8.Model.MainModel< T >.MainModel (ModelType modelType,
    string fileName,
    string url 
    )
    +
    + +

    Initializes a new instance of the MainModel{T} class.

    +
    Parameters
    + + + + +
    modelTypeModel IO type
    fileNamename of the file
    urlurl of the feed
    +
    +
    + +
    +
    + +
    +
    + + + + + + + + + + + + + + + + + + +
    CampusAppWP8.Model.MainModel< T >.MainModel (ModelType modelType,
    string sourceName 
    )
    +
    + +

    Initializes a new instance of the MainModel{T} class.

    +
    Parameters
    + + + +
    modelTypeModel IO type
    sourceNamename of the file or the url of the feed
    +
    +
    + +
    +
    +

    Member Function Documentation

    + +
    +
    + + + + + +
    + + + + + + + + +
    override bool CampusAppWP8.Model.MainModel< T >.CheckIsNotUpToDate (object checkFunc)
    +
    +protected
    +
    + +

    Check if model or file is not up to date.

    +
    Parameters
    + + +
    checkFuncThe check function.
    +
    +
    +
    Returns
    true if model or file is not up to date, false if it is.
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + +
    override bool CampusAppWP8.Model.MainModel< T >.CheckLoadFileIsNotUpToDate ()
    +
    +protected
    +
    + +

    Method overrides the base CheckLoadFileIsNotUpToDate Method

    +
    Returns
    true if it is not up-to-date, otherwise false
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + +
    override bool CampusAppWP8.Model.MainModel< T >.CheckSaveFileIsNotUpToDate ()
    +
    +protected
    +
    + +

    Method overrides the base CheckSaveFileIsNotUpToDate Method

    +
    Returns
    true if it is not up-to-date, otherwise false
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + +
    override void CampusAppWP8.Model.MainModel< T >.InitFile ()
    +
    +protected
    +
    + +

    Initializes the file object.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + +
    override void CampusAppWP8.Model.MainModel< T >.InitHttpApi ()
    +
    +protected
    +
    + +

    Initializes the web object.

    + +
    +
    + +
    +
    + + + + + + + + + + + + + + + + + + +
    delegate bool CampusAppWP8.Model.MainModel< T >.IsFileUpToDate (model,
    FileInfo fileInfo 
    )
    +
    + +

    Delegate of the IsFileUpToDate callback function.

    +
    Parameters
    + + + +
    modeldata model
    fileInfoinfo of the file
    +
    +
    +
    Returns
    true, is file is up to date
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    override void CampusAppWP8.Model.MainModel< T >.SendHttpGet (Uri url)
    +
    +protected
    +
    + +

    Method overrides the base SendHttpGet Method

    +
    Parameters
    + + +
    urlthe url
    +
    +
    + +
    +
    +

    Property Documentation

    + +
    +
    + + + + + +
    + + + + +
    new HttpRequest CampusAppWP8.Model.MainModel< T >.Api
    +
    +getset
    +
    + +

    Gets or sets the api

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    new CampusAppWP8.Utility.File CampusAppWP8.Model.MainModel< T >.File
    +
    +getset
    +
    + +

    Gets or sets the file

    + +
    +
    +

    Event Documentation

    + +
    +
    + + + + +
    IsFileUpToDate CampusAppWP8.Model.MainModel< T >.IsFileUpToDateOnLoad = null
    +
    + +

    Callback pointer, for checking if file is up to date at loading.

    + +
    +
    + +
    +
    + + + + +
    IsFileUpToDate CampusAppWP8.Model.MainModel< T >.IsFileUpToDateOnSave = null
    +
    + +

    Callback pointer, for checking if file is up to date at saving.

    + +
    +
    +
    The documentation for this class was generated from the following file:
      +
    • C:/Users/stubbfel/gitrepos/CampusAppWP8/CampusAppWP8/CampusAppWP8/Model/MainModel.cs
    • +
    +
    +
    + + + + diff --git a/Doc/html/class_campus_app_w_p8_1_1_model_1_1_main_model_3_01_t_01_4.js b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_main_model_3_01_t_01_4.js new file mode 100644 index 00000000..74206b2b --- /dev/null +++ b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_main_model_3_01_t_01_4.js @@ -0,0 +1,16 @@ +var class_campus_app_w_p8_1_1_model_1_1_main_model_3_01_t_01_4 = +[ + [ "MainModel", "class_campus_app_w_p8_1_1_model_1_1_main_model_3_01_t_01_4.html#a71d73740bdc8316f3071c139a9c5351e", null ], + [ "MainModel", "class_campus_app_w_p8_1_1_model_1_1_main_model_3_01_t_01_4.html#aa10a361eab090da4ed4a4c29499039a1", null ], + [ "CheckIsNotUpToDate", "class_campus_app_w_p8_1_1_model_1_1_main_model_3_01_t_01_4.html#a5abc8f243fd5396313bd88127fe7f1f8", null ], + [ "CheckLoadFileIsNotUpToDate", "class_campus_app_w_p8_1_1_model_1_1_main_model_3_01_t_01_4.html#ab0d4a965f9e0ccdc9f0a1927dcf51b0e", null ], + [ "CheckSaveFileIsNotUpToDate", "class_campus_app_w_p8_1_1_model_1_1_main_model_3_01_t_01_4.html#af51ba4cccde32dadac3a15a7e37a77e8", null ], + [ "InitFile", "class_campus_app_w_p8_1_1_model_1_1_main_model_3_01_t_01_4.html#a40ca563157e978bacac9811665c2c685", null ], + [ "InitHttpApi", "class_campus_app_w_p8_1_1_model_1_1_main_model_3_01_t_01_4.html#a7a5a765df88944c1b6781902f3deba6e", null ], + [ "IsFileUpToDate", "class_campus_app_w_p8_1_1_model_1_1_main_model_3_01_t_01_4.html#a6c48fa72296955d196ff7adc9685f60d", null ], + [ "SendHttpGet", "class_campus_app_w_p8_1_1_model_1_1_main_model_3_01_t_01_4.html#ab4a3c236e8fd1758251b4980b0be9ae4", null ], + [ "Api", "class_campus_app_w_p8_1_1_model_1_1_main_model_3_01_t_01_4.html#af996932258390787d7ca878108eaef8c", null ], + [ "File", "class_campus_app_w_p8_1_1_model_1_1_main_model_3_01_t_01_4.html#a3c423501d8ee5665b93868fe114486e4", null ], + [ "IsFileUpToDateOnLoad", "class_campus_app_w_p8_1_1_model_1_1_main_model_3_01_t_01_4.html#a0b8ad40b0c625805f4a077a68c28268b", null ], + [ "IsFileUpToDateOnSave", "class_campus_app_w_p8_1_1_model_1_1_main_model_3_01_t_01_4.html#acee3cde4681ffabd71bb27d9802f49ce", null ] +]; \ No newline at end of file diff --git a/Doc/html/class_campus_app_w_p8_1_1_model_1_1_main_model_3_01_t_01_4.png b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_main_model_3_01_t_01_4.png new file mode 100644 index 00000000..220fa6ee Binary files /dev/null and b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_main_model_3_01_t_01_4.png differ diff --git a/Doc/html/class_campus_app_w_p8_1_1_model_1_1_openinghours_1_1_openinghours_institution_wp8_model-members.html b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_openinghours_1_1_openinghours_institution_wp8_model-members.html new file mode 100644 index 00000000..dfd2c2e9 --- /dev/null +++ b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_openinghours_1_1_openinghours_institution_wp8_model-members.html @@ -0,0 +1,136 @@ + + + + + + +CampusAppWp8: Member List + + + + + + + + + + + + + +
    +
    + + + + + + + +
    +
    CampusAppWp8 +
    +
    +
    + + + + + +
    +
    + +
    +
    +
    + + + + + + diff --git a/Doc/html/class_campus_app_w_p8_1_1_model_1_1_openinghours_1_1_openinghours_institution_wp8_model.html b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_openinghours_1_1_openinghours_institution_wp8_model.html new file mode 100644 index 00000000..370a09e7 --- /dev/null +++ b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_openinghours_1_1_openinghours_institution_wp8_model.html @@ -0,0 +1,446 @@ + + + + + + +CampusAppWp8: CampusAppWP8.Model.Openinghours.OpeninghoursInstitutionWp8Model Class Reference + + + + + + + + + + + + + +
    +
    + + + + + + + +
    +
    CampusAppWp8 +
    +
    +
    + + + + + +
    +
    + +
    +
    +
    + +
    + + + + +
    + +
    + +
    + +
    +
    CampusAppWP8.Model.Openinghours.OpeninghoursInstitutionWp8Model Class Reference
    +
    +
    + +

    Model for menu + More...

    +
    +Inheritance diagram for CampusAppWP8.Model.Openinghours.OpeninghoursInstitutionWp8Model:
    +
    +
    + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Properties

    Visibility VisibleMonday [get]
     Gets the visibility state of the monday TextBlock. More...
     
    Visibility VisibleTuesday [get]
     Gets the visibility state of the tuesday TextBlock. More...
     
    Visibility VisibleWednesday [get]
     Gets the visibility state of the wednesday TextBlock. More...
     
    Visibility VisibleThursday [get]
     Gets the visibility state of the thursday TextBlock. More...
     
    Visibility VisibleFriday [get]
     Gets the visibility state of the friday TextBlock. More...
     
    Visibility VisibleSaturday [get]
     Gets the visibility state of the saturday TextBlock. More...
     
    Visibility VisibleSunday [get]
     Gets the visibility state of the sunday TextBlock. More...
     
    Visibility VisibleComment [get]
     Gets the visibility state of the comment. More...
     
    Visibility VisibleEMail [get]
     Gets the visibility state of the email address. More...
     
    Visibility VisiblePhone [get]
     Gets the visibility state of the phone number. More...
     
    Visibility VisibleRoom [get]
     Gets the visibility state of the room. More...
     
    Visibility VisibleBuilding [get]
     Gets the visibility state of the building. More...
     
    +

    Detailed Description

    +

    Model for menu

    +

    Property Documentation

    + +
    +
    + + + + + +
    + + + + +
    Visibility CampusAppWP8.Model.Openinghours.OpeninghoursInstitutionWp8Model.VisibleBuilding
    +
    +get
    +
    + +

    Gets the visibility state of the building.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    Visibility CampusAppWP8.Model.Openinghours.OpeninghoursInstitutionWp8Model.VisibleComment
    +
    +get
    +
    + +

    Gets the visibility state of the comment.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    Visibility CampusAppWP8.Model.Openinghours.OpeninghoursInstitutionWp8Model.VisibleEMail
    +
    +get
    +
    + +

    Gets the visibility state of the email address.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    Visibility CampusAppWP8.Model.Openinghours.OpeninghoursInstitutionWp8Model.VisibleFriday
    +
    +get
    +
    + +

    Gets the visibility state of the friday TextBlock.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    Visibility CampusAppWP8.Model.Openinghours.OpeninghoursInstitutionWp8Model.VisibleMonday
    +
    +get
    +
    + +

    Gets the visibility state of the monday TextBlock.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    Visibility CampusAppWP8.Model.Openinghours.OpeninghoursInstitutionWp8Model.VisiblePhone
    +
    +get
    +
    + +

    Gets the visibility state of the phone number.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    Visibility CampusAppWP8.Model.Openinghours.OpeninghoursInstitutionWp8Model.VisibleRoom
    +
    +get
    +
    + +

    Gets the visibility state of the room.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    Visibility CampusAppWP8.Model.Openinghours.OpeninghoursInstitutionWp8Model.VisibleSaturday
    +
    +get
    +
    + +

    Gets the visibility state of the saturday TextBlock.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    Visibility CampusAppWP8.Model.Openinghours.OpeninghoursInstitutionWp8Model.VisibleSunday
    +
    +get
    +
    + +

    Gets the visibility state of the sunday TextBlock.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    Visibility CampusAppWP8.Model.Openinghours.OpeninghoursInstitutionWp8Model.VisibleThursday
    +
    +get
    +
    + +

    Gets the visibility state of the thursday TextBlock.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    Visibility CampusAppWP8.Model.Openinghours.OpeninghoursInstitutionWp8Model.VisibleTuesday
    +
    +get
    +
    + +

    Gets the visibility state of the tuesday TextBlock.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    Visibility CampusAppWP8.Model.Openinghours.OpeninghoursInstitutionWp8Model.VisibleWednesday
    +
    +get
    +
    + +

    Gets the visibility state of the wednesday TextBlock.

    + +
    +
    +
    The documentation for this class was generated from the following file:
      +
    • C:/Users/stubbfel/gitrepos/CampusAppWP8/CampusAppWP8/CampusAppWP8/Model/Openinghours/OpeninghoursInstitutionWp8Model.cs
    • +
    +
    +
    + + + + diff --git a/Doc/html/class_campus_app_w_p8_1_1_model_1_1_openinghours_1_1_openinghours_institution_wp8_model.js b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_openinghours_1_1_openinghours_institution_wp8_model.js new file mode 100644 index 00000000..5590bc3b --- /dev/null +++ b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_openinghours_1_1_openinghours_institution_wp8_model.js @@ -0,0 +1,15 @@ +var class_campus_app_w_p8_1_1_model_1_1_openinghours_1_1_openinghours_institution_wp8_model = +[ + [ "VisibleBuilding", "class_campus_app_w_p8_1_1_model_1_1_openinghours_1_1_openinghours_institution_wp8_model.html#aa2024878ba2de1fb3cc8345d1490ff1c", null ], + [ "VisibleComment", "class_campus_app_w_p8_1_1_model_1_1_openinghours_1_1_openinghours_institution_wp8_model.html#ae77244b7b42e2a9c9730971522640424", null ], + [ "VisibleEMail", "class_campus_app_w_p8_1_1_model_1_1_openinghours_1_1_openinghours_institution_wp8_model.html#a82d024d8842e2b06aec2a6e6b3391033", null ], + [ "VisibleFriday", "class_campus_app_w_p8_1_1_model_1_1_openinghours_1_1_openinghours_institution_wp8_model.html#af4a8b2738688914558382a547032dfab", null ], + [ "VisibleMonday", "class_campus_app_w_p8_1_1_model_1_1_openinghours_1_1_openinghours_institution_wp8_model.html#a7c68017de47a2c725781cfbc124685f3", null ], + [ "VisiblePhone", "class_campus_app_w_p8_1_1_model_1_1_openinghours_1_1_openinghours_institution_wp8_model.html#a3eee2df89f131fa05f667e316c733bd4", null ], + [ "VisibleRoom", "class_campus_app_w_p8_1_1_model_1_1_openinghours_1_1_openinghours_institution_wp8_model.html#aed9ee06dd649cb9df501cc0bf7d655fc", null ], + [ "VisibleSaturday", "class_campus_app_w_p8_1_1_model_1_1_openinghours_1_1_openinghours_institution_wp8_model.html#a153eddba2a2a96680e3456076f537fc7", null ], + [ "VisibleSunday", "class_campus_app_w_p8_1_1_model_1_1_openinghours_1_1_openinghours_institution_wp8_model.html#aba59363176795fc62d90be0e9cf64c34", null ], + [ "VisibleThursday", "class_campus_app_w_p8_1_1_model_1_1_openinghours_1_1_openinghours_institution_wp8_model.html#aa809a94119b97e6e54bb6398d2e5d078", null ], + [ "VisibleTuesday", "class_campus_app_w_p8_1_1_model_1_1_openinghours_1_1_openinghours_institution_wp8_model.html#ae53e09cd7d1fbf2cfe3af772c24c6f96", null ], + [ "VisibleWednesday", "class_campus_app_w_p8_1_1_model_1_1_openinghours_1_1_openinghours_institution_wp8_model.html#a9ac69478ad9832e262095b5ed1ec6944", null ] +]; \ No newline at end of file diff --git a/Doc/html/class_campus_app_w_p8_1_1_model_1_1_openinghours_1_1_openinghours_institution_wp8_model.png b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_openinghours_1_1_openinghours_institution_wp8_model.png new file mode 100644 index 00000000..33825a6e Binary files /dev/null and b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_openinghours_1_1_openinghours_institution_wp8_model.png differ diff --git a/Doc/html/class_campus_app_w_p8_1_1_model_1_1_openinghours_1_1_openinghours_wp8_model.html b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_openinghours_1_1_openinghours_wp8_model.html new file mode 100644 index 00000000..fd497b2c --- /dev/null +++ b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_openinghours_1_1_openinghours_wp8_model.html @@ -0,0 +1,138 @@ + + + + + + +CampusAppWp8: CampusAppWP8.Model.Openinghours.OpeninghoursWp8Model Class Reference + + + + + + + + + + + + + +
    +
    + + + + + + + +
    +
    CampusAppWp8 +
    +
    +
    + + + + + +
    +
    + +
    +
    +
    + +
    + + + + +
    + +
    + +
    +
    +
    CampusAppWP8.Model.Openinghours.OpeninghoursWp8Model Class Reference
    +
    +
    + +

    Model for opening hours. + More...

    +
    +Inheritance diagram for CampusAppWP8.Model.Openinghours.OpeninghoursWp8Model:
    +
    +
    + + + +
    +

    Detailed Description

    +

    Model for opening hours.

    +

    The documentation for this class was generated from the following file:
      +
    • C:/Users/stubbfel/gitrepos/CampusAppWP8/CampusAppWP8/CampusAppWP8/Model/Openinghours/OpeninghoursWp8Model.cs
    • +
    +
    +
    + + + + diff --git a/Doc/html/class_campus_app_w_p8_1_1_model_1_1_openinghours_1_1_openinghours_wp8_model.png b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_openinghours_1_1_openinghours_wp8_model.png new file mode 100644 index 00000000..384d3d39 Binary files /dev/null and b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_openinghours_1_1_openinghours_wp8_model.png differ diff --git a/Doc/html/class_campus_app_w_p8_1_1_model_1_1_person_1_1_person_function_wp8_model-members.html b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_person_1_1_person_function_wp8_model-members.html new file mode 100644 index 00000000..7ddf0c40 --- /dev/null +++ b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_person_1_1_person_function_wp8_model-members.html @@ -0,0 +1,127 @@ + + + + + + +CampusAppWp8: Member List + + + + + + + + + + + + + +
    +
    + + + + + + + +
    +
    CampusAppWp8 +
    +
    +
    + + + + + +
    +
    + +
    +
    +
    + + + + + + diff --git a/Doc/html/class_campus_app_w_p8_1_1_model_1_1_person_1_1_person_function_wp8_model.html b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_person_1_1_person_function_wp8_model.html new file mode 100644 index 00000000..b0ab1d41 --- /dev/null +++ b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_person_1_1_person_function_wp8_model.html @@ -0,0 +1,225 @@ + + + + + + +CampusAppWp8: CampusAppWP8.Model.Person.PersonFunctionWp8Model Class Reference + + + + + + + + + + + + + +
    +
    + + + + + + + +
    +
    CampusAppWp8 +
    +
    +
    + + + + + +
    +
    + +
    +
    +
    + +
    + + + + +
    + +
    + +
    + +
    +
    CampusAppWP8.Model.Person.PersonFunctionWp8Model Class Reference
    +
    +
    + +

    Person function model. + More...

    +
    +Inheritance diagram for CampusAppWP8.Model.Person.PersonFunctionWp8Model:
    +
    +
    + + + +
    + + + + + + + + + + + +

    +Properties

    new string Function [get, set]
     Gets or sets the function. More...
     
    new string Appointment [get, set]
     Gets or sets the appointment. More...
     
    new string Building [get, set]
     Gets or sets the building. More...
     
    +

    Detailed Description

    +

    Person function model.

    +

    Stubbfel, 05.09.2013.

    +

    Property Documentation

    + +
    +
    + + + + + +
    + + + + +
    new string CampusAppWP8.Model.Person.PersonFunctionWp8Model.Appointment
    +
    +getset
    +
    + +

    Gets or sets the appointment.

    +

    The appointment.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    new string CampusAppWP8.Model.Person.PersonFunctionWp8Model.Building
    +
    +getset
    +
    + +

    Gets or sets the building.

    +

    The building.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    new string CampusAppWP8.Model.Person.PersonFunctionWp8Model.Function
    +
    +getset
    +
    + +

    Gets or sets the function.

    +

    The function.

    + +
    +
    +
    The documentation for this class was generated from the following file:
      +
    • C:/Users/stubbfel/gitrepos/CampusAppWP8/CampusAppWP8/CampusAppWP8/Model/Person/PersonFunctionWp8Model.cs
    • +
    +
    +
    + + + + diff --git a/Doc/html/class_campus_app_w_p8_1_1_model_1_1_person_1_1_person_function_wp8_model.js b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_person_1_1_person_function_wp8_model.js new file mode 100644 index 00000000..ec567580 --- /dev/null +++ b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_person_1_1_person_function_wp8_model.js @@ -0,0 +1,6 @@ +var class_campus_app_w_p8_1_1_model_1_1_person_1_1_person_function_wp8_model = +[ + [ "Appointment", "class_campus_app_w_p8_1_1_model_1_1_person_1_1_person_function_wp8_model.html#adae83b8a850d8fbda113b5ef0f212df5", null ], + [ "Building", "class_campus_app_w_p8_1_1_model_1_1_person_1_1_person_function_wp8_model.html#a19dc23ab841974d5450a97cad01c5ba4", null ], + [ "Function", "class_campus_app_w_p8_1_1_model_1_1_person_1_1_person_function_wp8_model.html#a9ab053ca47d892a8e8e9049c29e32ef6", null ] +]; \ No newline at end of file diff --git a/Doc/html/class_campus_app_w_p8_1_1_model_1_1_person_1_1_person_function_wp8_model.png b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_person_1_1_person_function_wp8_model.png new file mode 100644 index 00000000..83570067 Binary files /dev/null and b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_person_1_1_person_function_wp8_model.png differ diff --git a/Doc/html/class_campus_app_w_p8_1_1_model_1_1_person_1_1_person_list_wp8_model-members.html b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_person_1_1_person_list_wp8_model-members.html new file mode 100644 index 00000000..058391d1 --- /dev/null +++ b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_person_1_1_person_list_wp8_model-members.html @@ -0,0 +1,127 @@ + + + + + + +CampusAppWp8: Member List + + + + + + + + + + + + + +
    +
    + + + + + + + +
    +
    CampusAppWp8 +
    +
    +
    + + + + + +
    +
    + +
    +
    +
    + + + + + + diff --git a/Doc/html/class_campus_app_w_p8_1_1_model_1_1_person_1_1_person_list_wp8_model.html b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_person_1_1_person_list_wp8_model.html new file mode 100644 index 00000000..c8cf1cb7 --- /dev/null +++ b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_person_1_1_person_list_wp8_model.html @@ -0,0 +1,227 @@ + + + + + + +CampusAppWp8: CampusAppWP8.Model.Person.PersonListWp8Model Class Reference + + + + + + + + + + + + + +
    +
    + + + + + + + +
    +
    CampusAppWp8 +
    +
    +
    + + + + + +
    +
    + +
    +
    +
    + +
    + + + + +
    + +
    + +
    + +
    +
    CampusAppWP8.Model.Person.PersonListWp8Model Class Reference
    +
    +
    + +

    Person list model. + More...

    +
    +Inheritance diagram for CampusAppWP8.Model.Person.PersonListWp8Model:
    +
    +
    + + + +
    + + + + + + + + + + + +

    +Public Member Functions

    override PersonWp8Model GetPerson (string id)
     Gets a person. More...
     
    override void RemoveNonFunctionPerson ()
     Removes the non function person. More...
     
    override void SetPersonIdToFunction ()
     Sets person identifier to function. More...
     
    +

    Detailed Description

    +

    Person list model.

    +

    Stubbfel, 05.09.2013.

    +

    Member Function Documentation

    + +
    +
    + + + + + + + + +
    override PersonWp8Model CampusAppWP8.Model.Person.PersonListWp8Model.GetPerson (string id)
    +
    + +

    Gets a person.

    +

    Stubbfel, 05.09.2013.

    +
    Parameters
    + + +
    idThe identifier.
    +
    +
    +
    Returns
    The person.
    +

    Gets a person.

    +

    Stubbfel, 05.09.2013.

    +
    Parameters
    + + +
    idThe identifier.
    +
    +
    +
    Returns
    The person.
    + +
    +
    + +
    +
    + + + + + + + +
    override void CampusAppWP8.Model.Person.PersonListWp8Model.RemoveNonFunctionPerson ()
    +
    + +

    Removes the non function person.

    +

    Stubbfel, 05.09.2013.

    + +
    +
    + +
    +
    + + + + + + + +
    override void CampusAppWP8.Model.Person.PersonListWp8Model.SetPersonIdToFunction ()
    +
    + +

    Sets person identifier to function.

    +

    Stubbfel, 05.09.2013.

    + +
    +
    +
    The documentation for this class was generated from the following file:
      +
    • C:/Users/stubbfel/gitrepos/CampusAppWP8/CampusAppWP8/CampusAppWP8/Model/Person/PersonListWp8Model.cs
    • +
    +
    +
    + + + + diff --git a/Doc/html/class_campus_app_w_p8_1_1_model_1_1_person_1_1_person_list_wp8_model.js b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_person_1_1_person_list_wp8_model.js new file mode 100644 index 00000000..cd7c409f --- /dev/null +++ b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_person_1_1_person_list_wp8_model.js @@ -0,0 +1,6 @@ +var class_campus_app_w_p8_1_1_model_1_1_person_1_1_person_list_wp8_model = +[ + [ "GetPerson", "class_campus_app_w_p8_1_1_model_1_1_person_1_1_person_list_wp8_model.html#ac74c1ac37047183cdc94e0bcc609002b", null ], + [ "RemoveNonFunctionPerson", "class_campus_app_w_p8_1_1_model_1_1_person_1_1_person_list_wp8_model.html#a86a5d578582272db00410891f7fee099", null ], + [ "SetPersonIdToFunction", "class_campus_app_w_p8_1_1_model_1_1_person_1_1_person_list_wp8_model.html#ae4d54c5fa2c8ed79985a73a9c1e23d82", null ] +]; \ No newline at end of file diff --git a/Doc/html/class_campus_app_w_p8_1_1_model_1_1_person_1_1_person_list_wp8_model.png b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_person_1_1_person_list_wp8_model.png new file mode 100644 index 00000000..13d68ffa Binary files /dev/null and b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_person_1_1_person_list_wp8_model.png differ diff --git a/Doc/html/class_campus_app_w_p8_1_1_model_1_1_person_1_1_person_wp8_model-members.html b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_person_1_1_person_wp8_model-members.html new file mode 100644 index 00000000..26afc620 --- /dev/null +++ b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_person_1_1_person_wp8_model-members.html @@ -0,0 +1,127 @@ + + + + + + +CampusAppWp8: Member List + + + + + + + + + + + + + +
    +
    + + + + + + + +
    +
    CampusAppWp8 +
    +
    +
    + + + + + +
    +
    + +
    +
    +
    + + + + + + diff --git a/Doc/html/class_campus_app_w_p8_1_1_model_1_1_person_1_1_person_wp8_model.html b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_person_1_1_person_wp8_model.html new file mode 100644 index 00000000..ec208e7c --- /dev/null +++ b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_person_1_1_person_wp8_model.html @@ -0,0 +1,225 @@ + + + + + + +CampusAppWp8: CampusAppWP8.Model.Person.PersonWp8Model Class Reference + + + + + + + + + + + + + +
    +
    + + + + + + + +
    +
    CampusAppWp8 +
    +
    +
    + + + + + +
    +
    + +
    +
    +
    + +
    + + + + +
    + +
    + +
    + +
    +
    CampusAppWP8.Model.Person.PersonWp8Model Class Reference
    +
    +
    + +

    Person model. + More...

    +
    +Inheritance diagram for CampusAppWP8.Model.Person.PersonWp8Model:
    +
    +
    + + + +
    + + + + + + + + + + + +

    +Properties

    new string Akadgrad [get, set]
     Gets or sets the akadgrad. More...
     
    new string SurName [get, set]
     Gets or sets the name of the sur. More...
     
    new string FirstName [get, set]
     Gets or sets the person's first name. More...
     
    +

    Detailed Description

    +

    Person model.

    +

    Stubbfel, 05.09.2013.

    +

    Property Documentation

    + +
    +
    + + + + + +
    + + + + +
    new string CampusAppWP8.Model.Person.PersonWp8Model.Akadgrad
    +
    +getset
    +
    + +

    Gets or sets the akadgrad.

    +

    The akadgrad.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    new string CampusAppWP8.Model.Person.PersonWp8Model.FirstName
    +
    +getset
    +
    + +

    Gets or sets the person's first name.

    +

    The name of the first.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    new string CampusAppWP8.Model.Person.PersonWp8Model.SurName
    +
    +getset
    +
    + +

    Gets or sets the name of the sur.

    +

    The name of the sur.

    + +
    +
    +
    The documentation for this class was generated from the following file:
      +
    • C:/Users/stubbfel/gitrepos/CampusAppWP8/CampusAppWP8/CampusAppWP8/Model/Person/PersonWp8Model.cs
    • +
    +
    +
    + + + + diff --git a/Doc/html/class_campus_app_w_p8_1_1_model_1_1_person_1_1_person_wp8_model.js b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_person_1_1_person_wp8_model.js new file mode 100644 index 00000000..bb44f34e --- /dev/null +++ b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_person_1_1_person_wp8_model.js @@ -0,0 +1,6 @@ +var class_campus_app_w_p8_1_1_model_1_1_person_1_1_person_wp8_model = +[ + [ "Akadgrad", "class_campus_app_w_p8_1_1_model_1_1_person_1_1_person_wp8_model.html#a8f4c47b76f9cdd66116ec15187492b1d", null ], + [ "FirstName", "class_campus_app_w_p8_1_1_model_1_1_person_1_1_person_wp8_model.html#addd6530b57669adbc96d62111c2a55b0", null ], + [ "SurName", "class_campus_app_w_p8_1_1_model_1_1_person_1_1_person_wp8_model.html#aedaf8f3ecc7a46f7dad543fcd7e7d03d", null ] +]; \ No newline at end of file diff --git a/Doc/html/class_campus_app_w_p8_1_1_model_1_1_person_1_1_person_wp8_model.png b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_person_1_1_person_wp8_model.png new file mode 100644 index 00000000..1ae85b78 Binary files /dev/null and b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_person_1_1_person_wp8_model.png differ diff --git a/Doc/html/class_campus_app_w_p8_1_1_model_1_1_setting_1_1_app_settings-members.html b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_setting_1_1_app_settings-members.html index 7ab7f0a8..3699dfcf 100644 --- a/Doc/html/class_campus_app_w_p8_1_1_model_1_1_setting_1_1_app_settings-members.html +++ b/Doc/html/class_campus_app_w_p8_1_1_model_1_1_setting_1_1_app_settings-members.html @@ -110,18 +110,21 @@ $(document).ready(function(){initNavTree('class_campus_app_w_p8_1_1_model_1_1_se

    This is the complete list of members for CampusAppWP8.Model.Setting.AppSettings, including all inherited members.

    + + - - + + +
    BTUTagDefaultHandler enum name (defined in CampusAppWP8.Model.Setting.AppSettings)CampusAppWP8.Model.Setting.AppSettings
    DeploymentNumberCampusAppWP8.Model.Setting.AppSettings
    DevModeCampusAppWP8.Model.Setting.AppSettings
    GeoWatchEnableCampusAppWP8.Model.Setting.AppSettings
    InitAppCampusAppWP8.Model.Setting.AppSettings
    OnlyWifiCampusAppWP8.Model.Setting.AppSettings
    UniNetworkCampusAppWP8.Model.Setting.AppSettings
    WifiEnableCampusAppWP8.Model.Setting.AppSettings
    TagDefaultHandler (defined in CampusAppWP8.Model.Setting.AppSettings)CampusAppWP8.Model.Setting.AppSettings
    UniNetworkCampusAppWP8.Model.Setting.AppSettings
    WifiEnableCampusAppWP8.Model.Setting.AppSettings