Compare commits
318 Commits
r#188
...
develmaste
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dbd414a19c | ||
|
|
a31149215b | ||
|
|
8a2319110f | ||
|
|
b11912fa91 | ||
|
|
cf81722efe | ||
|
|
441af8e2a2 | ||
|
|
c3d68f726c | ||
|
|
aa9e0f3636 | ||
|
|
8c2ce5db35 | ||
|
|
eb012a8d03 | ||
|
|
560fbaea95 | ||
|
|
e571e3e2e1 | ||
|
|
a1256ff18e | ||
|
|
11016d033f | ||
|
|
a2f1a7082d | ||
|
|
abd3488608 | ||
|
|
0ebe01dfe6 | ||
|
|
6c77228a45 | ||
|
|
41780b5c35 | ||
|
|
8e5d761748 | ||
|
|
3a7be7d754 | ||
|
|
f721d8547c | ||
|
|
4b022cf099 | ||
|
|
7e0a7b25ef | ||
|
|
e741652f7e | ||
|
|
edefc17879 | ||
|
|
e6bd2c3df2 | ||
|
|
ad3c73dcf2 | ||
|
|
c92e301a7e | ||
|
|
1589220445 | ||
|
|
ea717fcef0 | ||
|
|
f2c32ce2db | ||
|
|
37460f1555 | ||
|
|
d6ff7890c4 | ||
|
|
43c1e203f8 | ||
|
|
70d464b4f5 | ||
|
|
adb57146f7 | ||
|
|
d81599f367 | ||
|
|
c6b1c73d9e | ||
|
|
cba34ffa60 | ||
|
|
81594caa96 | ||
|
|
697256e49d | ||
|
|
18501ed6ca | ||
|
|
ac42cca415 | ||
|
|
5cb5ac0536 | ||
|
|
5605491ea9 | ||
|
|
5c21a61167 | ||
|
|
8fa38d3014 | ||
|
|
47660d34ea | ||
|
|
0b3aec7084 | ||
|
|
05bacbf613 | ||
|
|
d9b732c27b | ||
|
|
cf56df35d3 | ||
|
|
b604f02ec7 | ||
|
|
b139e9e0e3 | ||
|
|
6e5d7c308c | ||
|
|
55f2cf0705 | ||
|
|
53ad8c8279 | ||
|
|
cea07ff526 | ||
|
|
03b60a40ff | ||
|
|
940718e805 | ||
|
|
29effd04af | ||
|
|
91c90bce28 | ||
|
|
d264900b13 | ||
|
|
525964d094 | ||
|
|
4ecc87f863 | ||
|
|
9607518318 | ||
|
|
c7f7566e5a | ||
|
|
fa5d2e17e5 | ||
|
|
8365b5b0dc | ||
|
|
39f70beab7 | ||
|
|
6197a4cc12 | ||
|
|
d89b544cf0 | ||
|
|
4425a4f562 | ||
|
|
1e7d9767ec | ||
|
|
c225d3b9be | ||
|
|
f1cf9cdefb | ||
|
|
56228da641 | ||
|
|
168f72b979 | ||
|
|
4b33e1fe34 | ||
|
|
c6ea2b5ed7 | ||
|
|
df6dac4944 | ||
|
|
900d7e1bcd | ||
|
|
8b76c1f687 | ||
|
|
909a5dd0de | ||
|
|
f9966f7ad9 | ||
|
|
5e598befd9 | ||
|
|
136676a894 | ||
|
|
4f1ff8b0ce | ||
|
|
133b86a292 | ||
|
|
95f5d71391 | ||
|
|
35dd770e6f | ||
|
|
7a159e22c6 | ||
|
|
37d2a5fcdb | ||
|
|
8eea6d58d3 | ||
|
|
edb1936577 | ||
|
|
55339f2da6 | ||
|
|
4b8b83d583 | ||
|
|
48844cb23e | ||
|
|
54a79458f4 | ||
|
|
92aabfa4f5 | ||
|
|
3c4f3239c5 | ||
|
|
0633317ad2 | ||
|
|
ed75517f26 | ||
|
|
9bfd258480 | ||
|
|
e556017dc8 | ||
|
|
8f4f2c88f7 | ||
|
|
99f465bb0c | ||
|
|
23ccf8de0e | ||
|
|
c1ef3c13bb | ||
|
|
b6df184f04 | ||
|
|
e38f113443 | ||
|
|
d30d38c1e9 | ||
|
|
fc52a18911 | ||
|
|
ab6990786d | ||
|
|
09a7626d49 | ||
|
|
dcff024136 | ||
|
|
d296fe25ea | ||
|
|
12eb1de958 | ||
|
|
b4469549be | ||
|
|
3174669fb1 | ||
|
|
2b260b2a0b | ||
|
|
02fc7e4ba5 | ||
|
|
224d1efdfc | ||
|
|
875fc05fa8 | ||
|
|
5661765481 | ||
|
|
af37d3e760 | ||
|
|
a4769600f5 | ||
|
|
a81c36280b | ||
|
|
0ef0870509 | ||
|
|
bd807b16ea | ||
|
|
552131dda4 | ||
|
|
943d559d70 | ||
|
|
78a5682d7f | ||
|
|
1f549f3763 | ||
|
|
5f76448804 | ||
|
|
46ce22fc59 | ||
|
|
0e0648681c | ||
|
|
2e99b7b8be | ||
|
|
4fb2f5b06d | ||
|
|
98adae1109 | ||
|
|
9538ca42b2 | ||
|
|
05dd615ca6 | ||
|
|
f8f3eb89ec | ||
|
|
876fce515d | ||
|
|
a083cbe1bc | ||
|
|
edae1e114f | ||
|
|
eb8a42b762 | ||
|
|
fdefe1af20 | ||
|
|
6d29a46b63 | ||
|
|
be2fb8ff06 | ||
|
|
2f7ca919cc | ||
|
|
4f658a0fbc | ||
|
|
0554b0d2e0 | ||
|
|
82761a6168 | ||
|
|
354bbfc2e4 | ||
|
|
e9a1df282d | ||
|
|
85c196df78 | ||
|
|
67a56535ba | ||
|
|
cfcfd20956 | ||
|
|
2e6f504493 | ||
|
|
b41155b3ad | ||
|
|
6f6129ceb2 | ||
|
|
b6d33730ee | ||
|
|
87fc91073a | ||
|
|
1aaa934b0e | ||
|
|
d46dd6140e | ||
|
|
026effb354 | ||
|
|
7d5cac18cb | ||
|
|
e5347364f4 | ||
|
|
a1e527e837 | ||
|
|
b6ac8959b2 | ||
|
|
b95b5bc71b | ||
|
|
844953a070 | ||
|
|
b98f85166c | ||
|
|
67241bdca9 | ||
|
|
7cbf8de66b | ||
|
|
bb611d60e5 | ||
|
|
c06828e411 | ||
|
|
d6ddd42075 | ||
|
|
38e75365ef | ||
|
|
4c09ec4139 | ||
|
|
874636b5af | ||
|
|
dcec407160 | ||
|
|
a454cd50f1 | ||
|
|
1cc19e0b74 | ||
|
|
e78a03d403 | ||
|
|
027de4972d | ||
|
|
80f1b9ef5c | ||
|
|
f0d1fd4cf2 | ||
|
|
f06cb08d7b | ||
|
|
59a726370e | ||
|
|
baafabc5c1 | ||
|
|
c63e3611c1 | ||
|
|
ecba094362 | ||
|
|
931d063d1b | ||
|
|
5115ffa540 | ||
|
|
4c803da166 | ||
|
|
926e694eba | ||
|
|
7eced53e92 | ||
|
|
4a36b1ba36 | ||
|
|
ecf1147c92 | ||
|
|
81e2ec2fb2 | ||
|
|
9d441ad478 | ||
|
|
e94bffdab4 | ||
|
|
3ac3c6221d | ||
|
|
92918be6a7 | ||
|
|
094b769f99 | ||
|
|
31da6d78a7 | ||
|
|
1a9cadc805 | ||
|
|
1193dda749 | ||
|
|
916ca31713 | ||
|
|
7a52b2ca39 | ||
|
|
0696798624 | ||
|
|
d19aae4ff0 | ||
|
|
8191b87779 | ||
|
|
2686deeb0b | ||
|
|
50c1c32466 | ||
|
|
8010781f51 | ||
|
|
e628993a17 | ||
|
|
bb73622aa1 | ||
|
|
f9c2f95ea5 | ||
|
|
0f3bbc3cf6 | ||
|
|
92097cf881 | ||
|
|
cefe681199 | ||
|
|
577b2fd061 | ||
|
|
4264e1fcd3 | ||
|
|
540189d86a | ||
|
|
7bc55f6527 | ||
|
|
98ea0fcfd5 | ||
|
|
13a0cb2cd4 | ||
|
|
018619e599 | ||
|
|
6be3154818 | ||
|
|
d8e28522b0 | ||
|
|
f1e163c53b | ||
|
|
3869bbda5b | ||
|
|
109ad354a3 | ||
|
|
b702b0bfd9 | ||
|
|
710b4c1e07 | ||
|
|
d9838ddc16 | ||
|
|
ca3bd2381f | ||
|
|
6ea8d06a0e | ||
|
|
e4257b1e73 | ||
|
|
87fc00071a | ||
|
|
f3d0667310 | ||
|
|
7668450d9c | ||
|
|
dc3c527996 | ||
|
|
80d05b9c45 | ||
|
|
5de000ef17 | ||
|
|
c26344fc40 | ||
|
|
cb3dd94b55 | ||
|
|
71d113f819 | ||
|
|
7b879319b2 | ||
|
|
ca9eab8bd5 | ||
|
|
cd8d94b7ee | ||
|
|
f3507c7960 | ||
|
|
8527f657fc | ||
|
|
a898477394 | ||
|
|
a0d68f8d3f | ||
|
|
1753954c33 | ||
|
|
ffa91ee8fd | ||
|
|
93c9bbe5d1 | ||
|
|
c89fb9ab79 | ||
|
|
329e5525e3 | ||
|
|
7c43d8cd70 | ||
|
|
496fa63cf3 | ||
|
|
1cd34afb9c | ||
|
|
a8b2d33826 | ||
|
|
8dfb7693ac | ||
|
|
77b30b35c5 | ||
|
|
d565b332e8 | ||
|
|
995edbc32a | ||
|
|
05168211b7 | ||
|
|
1dbd2be23f | ||
|
|
d2157f64b2 | ||
|
|
0396a62301 | ||
|
|
dd709f8937 | ||
|
|
cb9b2d62a4 | ||
|
|
29efcd8ddb | ||
|
|
5c1891459b | ||
|
|
b075e5bb7e | ||
|
|
750ebe4e22 | ||
|
|
162c7042ae | ||
|
|
543247cea2 | ||
|
|
85cb54f0e1 | ||
|
|
824bd7c8b1 | ||
|
|
3ce33a803b | ||
|
|
4047aacf0f | ||
|
|
94c538a429 | ||
|
|
d23c6431f1 | ||
|
|
fc0e7fba64 | ||
|
|
5f7a563f26 | ||
|
|
87436ef6e8 | ||
|
|
2f2237eae2 | ||
|
|
e734a750ff | ||
|
|
621aadc9a0 | ||
|
|
7183d6de01 | ||
|
|
771e1fc7b5 | ||
|
|
04ff3ad80b | ||
|
|
e1b6a2d279 | ||
|
|
babb4092d8 | ||
|
|
92b3fea798 | ||
|
|
156df2766d | ||
|
|
e1c77d5544 | ||
|
|
ea5a988670 | ||
|
|
34c38cc1b2 | ||
|
|
51a100d34b | ||
|
|
cee9407650 | ||
|
|
d96a65bf1d | ||
|
|
21c0638d0a | ||
|
|
589bee809f | ||
|
|
e02c2d3607 | ||
|
|
4fba48225b | ||
|
|
f73d722555 | ||
|
|
53fb8599d1 | ||
|
|
81893c8224 | ||
|
|
4140f2771e | ||
|
|
880422dc41 |
1
.gitattributes
vendored
@@ -25,7 +25,6 @@
|
||||
*.csproj -text merge=union
|
||||
*.sln -text merge=union
|
||||
*.resx -text merge=union
|
||||
*.StyleCop -text merge=union
|
||||
#*.vbproj merge=binary
|
||||
#*.vcxproj merge=binary
|
||||
#*.vcproj merge=binary
|
||||
|
||||
4
.gitignore
vendored
@@ -160,7 +160,6 @@ winphone/
|
||||
*.spl
|
||||
*.srum
|
||||
Doxyfile
|
||||
screenshots/
|
||||
CampusAppWP8/packages/WPtoolkit.4.2012.10.30/lib/sl3-wp/Microsoft.Phone.Controls.Toolkit.dll
|
||||
CampusAppWP8/packages/WPtoolkit.4.2012.10.30/lib/sl4-windowsphone71/Microsoft.Phone.Controls.Toolkit.dll
|
||||
CampusAppWP8/packages/WPtoolkit.4.2012.10.30/lib/wp8/Microsoft.Phone.Controls.Toolkit.dll
|
||||
@@ -307,3 +306,6 @@ CampusAppWP8/packages/ZXing.Net.0.11.0.1/lib/windows8-native+javascript/ZXing.wi
|
||||
CampusAppWP8/packages/ZXing.Net.0.11.0.1/lib/wp8/zxing.wp8.0.XML
|
||||
CampusAppWP8/packages/ZXing.Net.0.11.0.1/lib/wp8/zxing.wp8.0.dll
|
||||
work/.svn/
|
||||
CampusAppWP8/packages/
|
||||
*.DLL
|
||||
*.dll
|
||||
|
||||
4
.gitmodules
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
[submodule "CampusAppWP8/NfcLib"]
|
||||
path = CampusAppWP8/NfcLib
|
||||
url = git@141.43.76.143:repos/bare/nfclib.git
|
||||
branch = develop
|
||||
@@ -35,7 +35,7 @@ namespace CampusAppDLL.Model.Campusmap
|
||||
this.Spatial = new SpsModel();
|
||||
foreach (PlaceModel place in model.Places)
|
||||
{
|
||||
if (Campus.Equals(place.ParentId) || Campus.Equals(place.PlaceId))
|
||||
if (place.ParentId.StartsWith(CBMainMapModel.Campus))
|
||||
{
|
||||
this.Spatial.Places.Add(place);
|
||||
}
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
namespace CampusAppDLL.Model.Campusmap
|
||||
{
|
||||
using CampusAppDLL.Model.GeoDb;
|
||||
using CampusAppDLL.Utility;
|
||||
using System;
|
||||
|
||||
/// <summary>
|
||||
@@ -41,6 +42,8 @@ namespace CampusAppDLL.Model.Campusmap
|
||||
/// <remarks>Stubbfel, 19.08.2013.</remarks>
|
||||
protected virtual void LoadSpatials(string xmlFilePath)
|
||||
{
|
||||
SpsModel model = XmlManager.DeserializationFileToModel<SpsModel>(xmlFilePath);
|
||||
this.Spatial = model;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
10
CampusAppWP8/CampusAppDLL/Settings.StyleCop
Normal file
@@ -0,0 +1,10 @@
|
||||
<StyleCopSettings Version="105">
|
||||
<Analyzers>
|
||||
<Analyzer AnalyzerId="StyleCop.CSharp.DocumentationRules">
|
||||
<AnalyzerSettings>
|
||||
<StringProperty Name="CompanyName">BTU/IIT</StringProperty>
|
||||
<StringProperty Name="Copyright">BTU/IIT</StringProperty>
|
||||
</AnalyzerSettings>
|
||||
</Analyzer>
|
||||
</Analyzers>
|
||||
</StyleCopSettings>
|
||||
@@ -13,6 +13,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CampusAppDLL", "CampusAppDL
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CampusAppWP8ScheduledTaskAgent", "CampusAppWP8ScheduledTaskAgent\CampusAppWP8ScheduledTaskAgent.csproj", "{2A51FA6C-791B-4935-B869-FDBA9ED774D7}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ndefpclib", "NfcLib\src\ndefpclib\ndefpclib.csproj", "{01C6941E-AAF1-4324-BA54-B4A53BC66ADF}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
@@ -35,9 +37,9 @@ Global
|
||||
{120B88CC-F3F0-4C5A-A3FD-C26E835338CC}.Debug|ARM.ActiveCfg = Debug|ARM
|
||||
{120B88CC-F3F0-4C5A-A3FD-C26E835338CC}.Debug|ARM.Build.0 = Debug|ARM
|
||||
{120B88CC-F3F0-4C5A-A3FD-C26E835338CC}.Debug|ARM.Deploy.0 = Debug|ARM
|
||||
{120B88CC-F3F0-4C5A-A3FD-C26E835338CC}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||
{120B88CC-F3F0-4C5A-A3FD-C26E835338CC}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
|
||||
{120B88CC-F3F0-4C5A-A3FD-C26E835338CC}.Debug|Mixed Platforms.Deploy.0 = Debug|Any CPU
|
||||
{120B88CC-F3F0-4C5A-A3FD-C26E835338CC}.Debug|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{120B88CC-F3F0-4C5A-A3FD-C26E835338CC}.Debug|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{120B88CC-F3F0-4C5A-A3FD-C26E835338CC}.Debug|Mixed Platforms.Deploy.0 = Release|Any CPU
|
||||
{120B88CC-F3F0-4C5A-A3FD-C26E835338CC}.Debug|Win32.ActiveCfg = Debug|x86
|
||||
{120B88CC-F3F0-4C5A-A3FD-C26E835338CC}.Debug|Win32.Build.0 = Debug|x86
|
||||
{120B88CC-F3F0-4C5A-A3FD-C26E835338CC}.Debug|Win32.Deploy.0 = Debug|x86
|
||||
@@ -51,9 +53,9 @@ Global
|
||||
{120B88CC-F3F0-4C5A-A3FD-C26E835338CC}.Release|ARM.ActiveCfg = Release|ARM
|
||||
{120B88CC-F3F0-4C5A-A3FD-C26E835338CC}.Release|ARM.Build.0 = Release|ARM
|
||||
{120B88CC-F3F0-4C5A-A3FD-C26E835338CC}.Release|ARM.Deploy.0 = Release|ARM
|
||||
{120B88CC-F3F0-4C5A-A3FD-C26E835338CC}.Release|Mixed Platforms.ActiveCfg = Release|x86
|
||||
{120B88CC-F3F0-4C5A-A3FD-C26E835338CC}.Release|Mixed Platforms.Build.0 = Release|x86
|
||||
{120B88CC-F3F0-4C5A-A3FD-C26E835338CC}.Release|Mixed Platforms.Deploy.0 = Release|x86
|
||||
{120B88CC-F3F0-4C5A-A3FD-C26E835338CC}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{120B88CC-F3F0-4C5A-A3FD-C26E835338CC}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{120B88CC-F3F0-4C5A-A3FD-C26E835338CC}.Release|Mixed Platforms.Deploy.0 = Release|Any CPU
|
||||
{120B88CC-F3F0-4C5A-A3FD-C26E835338CC}.Release|Win32.ActiveCfg = Release|x86
|
||||
{120B88CC-F3F0-4C5A-A3FD-C26E835338CC}.Release|Win32.Build.0 = Release|x86
|
||||
{120B88CC-F3F0-4C5A-A3FD-C26E835338CC}.Release|Win32.Deploy.0 = Release|x86
|
||||
@@ -67,9 +69,9 @@ Global
|
||||
{E49420AA-3023-42EF-8255-67B1F5E52B43}.Debug|ARM.ActiveCfg = Debug|ARM
|
||||
{E49420AA-3023-42EF-8255-67B1F5E52B43}.Debug|ARM.Build.0 = Debug|ARM
|
||||
{E49420AA-3023-42EF-8255-67B1F5E52B43}.Debug|ARM.Deploy.0 = Debug|ARM
|
||||
{E49420AA-3023-42EF-8255-67B1F5E52B43}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||
{E49420AA-3023-42EF-8255-67B1F5E52B43}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
|
||||
{E49420AA-3023-42EF-8255-67B1F5E52B43}.Debug|Mixed Platforms.Deploy.0 = Debug|Any CPU
|
||||
{E49420AA-3023-42EF-8255-67B1F5E52B43}.Debug|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{E49420AA-3023-42EF-8255-67B1F5E52B43}.Debug|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{E49420AA-3023-42EF-8255-67B1F5E52B43}.Debug|Mixed Platforms.Deploy.0 = Release|Any CPU
|
||||
{E49420AA-3023-42EF-8255-67B1F5E52B43}.Debug|Win32.ActiveCfg = Debug|x86
|
||||
{E49420AA-3023-42EF-8255-67B1F5E52B43}.Debug|Win32.Build.0 = Debug|x86
|
||||
{E49420AA-3023-42EF-8255-67B1F5E52B43}.Debug|Win32.Deploy.0 = Debug|x86
|
||||
@@ -85,9 +87,9 @@ Global
|
||||
{E49420AA-3023-42EF-8255-67B1F5E52B43}.Release|ARM.ActiveCfg = Release|ARM
|
||||
{E49420AA-3023-42EF-8255-67B1F5E52B43}.Release|ARM.Build.0 = Release|ARM
|
||||
{E49420AA-3023-42EF-8255-67B1F5E52B43}.Release|ARM.Deploy.0 = Release|ARM
|
||||
{E49420AA-3023-42EF-8255-67B1F5E52B43}.Release|Mixed Platforms.ActiveCfg = Release|x86
|
||||
{E49420AA-3023-42EF-8255-67B1F5E52B43}.Release|Mixed Platforms.Build.0 = Release|x86
|
||||
{E49420AA-3023-42EF-8255-67B1F5E52B43}.Release|Mixed Platforms.Deploy.0 = Release|x86
|
||||
{E49420AA-3023-42EF-8255-67B1F5E52B43}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{E49420AA-3023-42EF-8255-67B1F5E52B43}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{E49420AA-3023-42EF-8255-67B1F5E52B43}.Release|Mixed Platforms.Deploy.0 = Release|Any CPU
|
||||
{E49420AA-3023-42EF-8255-67B1F5E52B43}.Release|Win32.ActiveCfg = Release|x86
|
||||
{E49420AA-3023-42EF-8255-67B1F5E52B43}.Release|Win32.Build.0 = Release|x86
|
||||
{E49420AA-3023-42EF-8255-67B1F5E52B43}.Release|Win32.Deploy.0 = Release|x86
|
||||
@@ -100,8 +102,8 @@ Global
|
||||
{67D80BE2-0FB7-44C8-A495-7D44FC2AC262}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{67D80BE2-0FB7-44C8-A495-7D44FC2AC262}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{67D80BE2-0FB7-44C8-A495-7D44FC2AC262}.Debug|ARM.ActiveCfg = Debug|Any CPU
|
||||
{67D80BE2-0FB7-44C8-A495-7D44FC2AC262}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||
{67D80BE2-0FB7-44C8-A495-7D44FC2AC262}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
|
||||
{67D80BE2-0FB7-44C8-A495-7D44FC2AC262}.Debug|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{67D80BE2-0FB7-44C8-A495-7D44FC2AC262}.Debug|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{67D80BE2-0FB7-44C8-A495-7D44FC2AC262}.Debug|Win32.ActiveCfg = Debug|Any CPU
|
||||
{67D80BE2-0FB7-44C8-A495-7D44FC2AC262}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||
{67D80BE2-0FB7-44C8-A495-7D44FC2AC262}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
@@ -115,7 +117,7 @@ Global
|
||||
{67D80BE2-0FB7-44C8-A495-7D44FC2AC262}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{78E8DC22-F4E1-42D9-BA04-93EA031C630C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{78E8DC22-F4E1-42D9-BA04-93EA031C630C}.Debug|ARM.ActiveCfg = Debug|Any CPU
|
||||
{78E8DC22-F4E1-42D9-BA04-93EA031C630C}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||
{78E8DC22-F4E1-42D9-BA04-93EA031C630C}.Debug|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{78E8DC22-F4E1-42D9-BA04-93EA031C630C}.Debug|Win32.ActiveCfg = Debug|Any CPU
|
||||
{78E8DC22-F4E1-42D9-BA04-93EA031C630C}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||
{78E8DC22-F4E1-42D9-BA04-93EA031C630C}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
@@ -128,8 +130,8 @@ Global
|
||||
{E4EC5B95-06FC-4304-97E2-9E3F9B980303}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{E4EC5B95-06FC-4304-97E2-9E3F9B980303}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{E4EC5B95-06FC-4304-97E2-9E3F9B980303}.Debug|ARM.ActiveCfg = Debug|Any CPU
|
||||
{E4EC5B95-06FC-4304-97E2-9E3F9B980303}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||
{E4EC5B95-06FC-4304-97E2-9E3F9B980303}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
|
||||
{E4EC5B95-06FC-4304-97E2-9E3F9B980303}.Debug|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{E4EC5B95-06FC-4304-97E2-9E3F9B980303}.Debug|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{E4EC5B95-06FC-4304-97E2-9E3F9B980303}.Debug|Win32.ActiveCfg = Debug|Any CPU
|
||||
{E4EC5B95-06FC-4304-97E2-9E3F9B980303}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||
{E4EC5B95-06FC-4304-97E2-9E3F9B980303}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
@@ -145,8 +147,8 @@ Global
|
||||
{2A51FA6C-791B-4935-B869-FDBA9ED774D7}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{2A51FA6C-791B-4935-B869-FDBA9ED774D7}.Debug|ARM.ActiveCfg = Debug|ARM
|
||||
{2A51FA6C-791B-4935-B869-FDBA9ED774D7}.Debug|ARM.Build.0 = Debug|ARM
|
||||
{2A51FA6C-791B-4935-B869-FDBA9ED774D7}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||
{2A51FA6C-791B-4935-B869-FDBA9ED774D7}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
|
||||
{2A51FA6C-791B-4935-B869-FDBA9ED774D7}.Debug|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{2A51FA6C-791B-4935-B869-FDBA9ED774D7}.Debug|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{2A51FA6C-791B-4935-B869-FDBA9ED774D7}.Debug|Win32.ActiveCfg = Debug|x86
|
||||
{2A51FA6C-791B-4935-B869-FDBA9ED774D7}.Debug|Win32.Build.0 = Debug|x86
|
||||
{2A51FA6C-791B-4935-B869-FDBA9ED774D7}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||
@@ -156,13 +158,29 @@ Global
|
||||
{2A51FA6C-791B-4935-B869-FDBA9ED774D7}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{2A51FA6C-791B-4935-B869-FDBA9ED774D7}.Release|ARM.ActiveCfg = Release|ARM
|
||||
{2A51FA6C-791B-4935-B869-FDBA9ED774D7}.Release|ARM.Build.0 = Release|ARM
|
||||
{2A51FA6C-791B-4935-B869-FDBA9ED774D7}.Release|Mixed Platforms.ActiveCfg = Release|x86
|
||||
{2A51FA6C-791B-4935-B869-FDBA9ED774D7}.Release|Mixed Platforms.Build.0 = Release|x86
|
||||
{2A51FA6C-791B-4935-B869-FDBA9ED774D7}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{2A51FA6C-791B-4935-B869-FDBA9ED774D7}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{2A51FA6C-791B-4935-B869-FDBA9ED774D7}.Release|Win32.ActiveCfg = Release|x86
|
||||
{2A51FA6C-791B-4935-B869-FDBA9ED774D7}.Release|Win32.Build.0 = Release|x86
|
||||
{2A51FA6C-791B-4935-B869-FDBA9ED774D7}.Release|x64.ActiveCfg = Release|Any CPU
|
||||
{2A51FA6C-791B-4935-B869-FDBA9ED774D7}.Release|x86.ActiveCfg = Release|x86
|
||||
{2A51FA6C-791B-4935-B869-FDBA9ED774D7}.Release|x86.Build.0 = Release|x86
|
||||
{01C6941E-AAF1-4324-BA54-B4A53BC66ADF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{01C6941E-AAF1-4324-BA54-B4A53BC66ADF}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{01C6941E-AAF1-4324-BA54-B4A53BC66ADF}.Debug|ARM.ActiveCfg = Debug|Any CPU
|
||||
{01C6941E-AAF1-4324-BA54-B4A53BC66ADF}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||
{01C6941E-AAF1-4324-BA54-B4A53BC66ADF}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
|
||||
{01C6941E-AAF1-4324-BA54-B4A53BC66ADF}.Debug|Win32.ActiveCfg = Debug|Any CPU
|
||||
{01C6941E-AAF1-4324-BA54-B4A53BC66ADF}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||
{01C6941E-AAF1-4324-BA54-B4A53BC66ADF}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{01C6941E-AAF1-4324-BA54-B4A53BC66ADF}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{01C6941E-AAF1-4324-BA54-B4A53BC66ADF}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{01C6941E-AAF1-4324-BA54-B4A53BC66ADF}.Release|ARM.ActiveCfg = Release|Any CPU
|
||||
{01C6941E-AAF1-4324-BA54-B4A53BC66ADF}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{01C6941E-AAF1-4324-BA54-B4A53BC66ADF}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{01C6941E-AAF1-4324-BA54-B4A53BC66ADF}.Release|Win32.ActiveCfg = Release|Any CPU
|
||||
{01C6941E-AAF1-4324-BA54-B4A53BC66ADF}.Release|x64.ActiveCfg = Release|Any CPU
|
||||
{01C6941E-AAF1-4324-BA54-B4A53BC66ADF}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
|
||||
@@ -1,27 +1,28 @@
|
||||
//-----------------------------------------------------------------------
|
||||
// <copyright file="CampusSpsApi.cs" company="BTU/IIT">
|
||||
// Company copyright tag.
|
||||
// The MIT License (MIT). Copyright (c) 2013 BTU/IIT.
|
||||
// </copyright>
|
||||
// <author>stubbfel</author>
|
||||
// <sience>12.08.2013</sience>
|
||||
//----------------------------------------------------------------------
|
||||
// <author>Stubbfel</author>
|
||||
// <date>14.10.2013</date>
|
||||
// <summary>Implements the campus sps API class</summary>
|
||||
//-----------------------------------------------------------------------
|
||||
namespace CampusAppWP8.Api.GeoApi
|
||||
{
|
||||
using System;
|
||||
using CampusAppWP8.Model.GeoDb;
|
||||
using System;
|
||||
using CampusAppWP8.Resources;
|
||||
using CampusAppWP8.Utility;
|
||||
using CampusAppWP8.Utility;
|
||||
using CampusAppWPortalLib8.Model.GeoDb;
|
||||
using CampusAppWPortalLib8.Model.Utility;
|
||||
|
||||
/// <summary>
|
||||
/// Class for SPSAPI
|
||||
/// </summary>
|
||||
/// <summary> Class for SPSAPI. </summary>
|
||||
/// <remarks> Stubbfel, 14.10.2013. </remarks>
|
||||
/// <seealso cref="T:CampusAppWP8.Api.GeoApi.SpsApi"/>
|
||||
public class CampusSpsApi : SpsApi
|
||||
{
|
||||
#region Constructor
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="CampusSpsApi" /> class.
|
||||
/// </summary>
|
||||
/// <summary> Initializes a new instance of the <see cref="CampusSpsApi" /> class. </summary>
|
||||
/// <remarks> Stubbfel, 14.10.2013. </remarks>
|
||||
public CampusSpsApi()
|
||||
: base()
|
||||
{
|
||||
@@ -32,38 +33,39 @@ namespace CampusAppWP8.Api.GeoApi
|
||||
#region Method
|
||||
|
||||
/// <summary>
|
||||
/// Method set the UriParameter of a campusRequest for a given latitude and longitude
|
||||
/// Method set the UriParameter of a campusRequest for a given latitude and longitude.
|
||||
/// </summary>
|
||||
/// <param name="lat">latitude parameter</param>
|
||||
/// <param name="log">longitude parameter</param>
|
||||
public void SetupCampusRequest(string lat, string log)
|
||||
/// <remarks> Stubbfel, 14.10.2013. </remarks>
|
||||
/// <param name="lat"> latitude parameter. </param>
|
||||
/// <param name="log"> longitude parameter. </param>
|
||||
public void SetupCampusRequest(double lat, double log)
|
||||
{
|
||||
this.SetupPlaceRequest(lat, log, Constants.SpsApi_CampusDomain);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Method set the UriParameter of a campusRequest for the actualPosition
|
||||
/// </summary>
|
||||
/// <summary> Method set the UriParameter of a campusRequest for the actualPosition. </summary>
|
||||
/// <remarks> Stubbfel, 14.10.2013. </remarks>
|
||||
public void SetupCurrentCampusRequest()
|
||||
{
|
||||
Utilities.DetermineAndStoreCurrentPosition();
|
||||
string lat = App.LoadFromAppState<string>(Constants.GeoWatch_CurrentPosition_Lat);
|
||||
string log = App.LoadFromAppState<string>(Constants.GeoWatch_CurrentPosition_Long);
|
||||
this.SetupCampusRequest(lat, log);
|
||||
GeoMapPoint currentPosition = App.LoadFromAppState<GeoMapPoint>(Constants.GeoWatch_CurrentPositionPoint);
|
||||
if (currentPosition != null)
|
||||
{
|
||||
this.SetupCampusRequest(currentPosition.Latitude, currentPosition.Longitude);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Method return the campus of the placeList
|
||||
/// </summary>
|
||||
/// <returns>actual campus</returns>
|
||||
public CampusAppWP8.Model.Setting.UserProfilModel.Campus GetCampus()
|
||||
/// <summary> Method return the campus of the placeList. </summary>
|
||||
/// <remarks> Stubbfel, 14.10.2013. </remarks>
|
||||
/// <returns> actual campus. </returns>
|
||||
public CampusAppWPortalLib8.Model.Settings.Campus GetCampus()
|
||||
{
|
||||
if (this.Model == null)
|
||||
{
|
||||
return Settings.UserProfil.DefaultCampus;
|
||||
}
|
||||
|
||||
CampusAppWP8.Model.Setting.UserProfilModel.Campus campus;
|
||||
CampusAppWPortalLib8.Model.Settings.Campus campus;
|
||||
foreach (PlaceModel place in this.Model.Places)
|
||||
{
|
||||
if (Enum.TryParse(place.PlaceId, true, out campus))
|
||||
|
||||
@@ -1,28 +1,29 @@
|
||||
//-----------------------------------------------------------------------
|
||||
// <copyright file="PisApi.cs" company="BTU/IIT">
|
||||
// Company copyright tag.
|
||||
// The MIT License (MIT). Copyright (c) 2013 BTU/IIT.
|
||||
// </copyright>
|
||||
// <author>stubbfel</author>
|
||||
// <sience>09.09.2013</sience>
|
||||
//----------------------------------------------------------------------
|
||||
|
||||
// <author>Stubbfel</author>
|
||||
// <date>14.10.2013</date>
|
||||
// <summary>Implements the pis API class</summary>
|
||||
//-----------------------------------------------------------------------
|
||||
namespace CampusAppWP8.Api.GeoApi
|
||||
{
|
||||
using System.Collections.Generic;
|
||||
using CampusAppWP8.Model;
|
||||
using CampusAppWP8.Model.GeoDb;
|
||||
using CampusAppWP8.Model.Utility;
|
||||
using CampusAppWP8.Resources;
|
||||
using CampusAppWPortalLib8.Model.Utility;
|
||||
using CampusAppWPortalLib8.Model;
|
||||
using CampusAppWPortalLib8.Model.GeoDb;
|
||||
using CampusAppWPortalLib8.Model.Utility;
|
||||
|
||||
/// <summary>Pis api.</summary>
|
||||
/// <remarks>Stubbfel, 09.09.2013.</remarks>
|
||||
/// <summary> Pis api. </summary>
|
||||
/// <remarks> Stubbfel, 09.09.2013. </remarks>
|
||||
/// <seealso cref="T:CampusAppWP8.Model.XmlModel{CampusAppWP8.Model.GeoDb.SpsModel}"/>
|
||||
public class PisApi : XmlModel<SpsModel>
|
||||
{
|
||||
#region Constructor
|
||||
|
||||
/// <summary>Initializes a new instance of the PisApi class.</summary>
|
||||
/// <remarks>Stubbfel, 09.09.2013.</remarks>
|
||||
/// <summary> Initializes a new instance of the PisApi class. </summary>
|
||||
/// <remarks> Stubbfel, 09.09.2013. </remarks>
|
||||
public PisApi()
|
||||
: base(ModelType.Feed, Constants.UrlPisService)
|
||||
{
|
||||
@@ -32,10 +33,10 @@ namespace CampusAppWP8.Api.GeoApi
|
||||
|
||||
#region Method
|
||||
|
||||
/// <summary>Sets up the information request.</summary>
|
||||
/// <remarks>Stubbfel, 09.09.2013.</remarks>
|
||||
/// <param name="pidList"> List of pids.</param>
|
||||
/// <param name="infoNames">(Optional) list of names of the information.</param>
|
||||
/// <summary> Sets up the information request. </summary>
|
||||
/// <remarks> Stubbfel, 09.09.2013. </remarks>
|
||||
/// <param name="pidList"> List of pids. </param>
|
||||
/// <param name="infoNames"> (Optional) list of names of the information. </param>
|
||||
public void SetupInformationRequest(List<string> pidList, List<string> infoNames = null)
|
||||
{
|
||||
string pidListStr = string.Empty;
|
||||
|
||||
@@ -1,28 +1,29 @@
|
||||
//-----------------------------------------------------------------------
|
||||
// <copyright file="PssApi.cs" company="BTU/IIT">
|
||||
// Company copyright tag.
|
||||
// The MIT License (MIT). Copyright (c) 2013 BTU/IIT.
|
||||
// </copyright>
|
||||
// <author>stubbfel</author>
|
||||
// <sience>09.09.2013</sience>
|
||||
//----------------------------------------------------------------------
|
||||
|
||||
// <author>Stubbfel</author>
|
||||
// <date>14.10.2013</date>
|
||||
// <summary>Implements the pss API class</summary>
|
||||
//-----------------------------------------------------------------------
|
||||
namespace CampusAppWP8.Api.GeoApi
|
||||
{
|
||||
using System.Collections.Generic;
|
||||
using CampusAppWP8.Model;
|
||||
using CampusAppWP8.Model.GeoDb;
|
||||
using CampusAppWP8.Model.Utility;
|
||||
using CampusAppWP8.Resources;
|
||||
using CampusAppWPortalLib8.Model;
|
||||
using CampusAppWPortalLib8.Model.GeoDb;
|
||||
using CampusAppWPortalLib8.Model.Utility;
|
||||
|
||||
/// <summary>Pss api.</summary>
|
||||
/// <remarks>Stubbfel, 09.09.2013.</remarks>
|
||||
/// <summary> Pss api. </summary>
|
||||
/// <remarks> Stubbfel, 09.09.2013. </remarks>
|
||||
/// <seealso cref="T:CampusAppWP8.Model.XmlModel{CampusAppWP8.Model.GeoDb.SpsModel}"/>
|
||||
public class PssApi : XmlModel<SpsModel>
|
||||
{
|
||||
#region Constructor
|
||||
|
||||
/// <summary>Initializes a new instance of the PssApi class.</summary>
|
||||
/// <remarks>Stubbfel, 09.09.2013.</remarks>
|
||||
/// <summary> Initializes a new instance of the PssApi class. </summary>
|
||||
/// <remarks> Stubbfel, 09.09.2013. </remarks>
|
||||
public PssApi()
|
||||
: base(ModelType.Feed, Constants.UrlPssService)
|
||||
{
|
||||
@@ -32,10 +33,10 @@ namespace CampusAppWP8.Api.GeoApi
|
||||
|
||||
#region Method
|
||||
|
||||
/// <summary>Sets up the service request.</summary>
|
||||
/// <remarks>Stubbfel, 09.09.2013.</remarks>
|
||||
/// <param name="pidList"> List of pids.</param>
|
||||
/// <param name="serviceNames">(Optional) list of names of the services.</param>
|
||||
/// <summary> Sets up the service request. </summary>
|
||||
/// <remarks> Stubbfel, 09.09.2013. </remarks>
|
||||
/// <param name="pidList"> List of pids. </param>
|
||||
/// <param name="serviceNames"> (Optional) list of names of the services. </param>
|
||||
public void SetupServiceRequest(List<string> pidList, List<string> serviceNames = null)
|
||||
{
|
||||
string pidListStr = string.Empty;
|
||||
|
||||
@@ -1,30 +1,30 @@
|
||||
//-----------------------------------------------------------------------
|
||||
// <copyright file="SpsApi.cs" company="BTU/IIT">
|
||||
// Company copyright tag.
|
||||
// The MIT License (MIT). Copyright (c) 2013 BTU/IIT.
|
||||
// </copyright>
|
||||
// <author>stubbfel</author>
|
||||
// <sience>06.08.2013</sience>
|
||||
//----------------------------------------------------------------------
|
||||
// <author>Stubbfel</author>
|
||||
// <date>14.10.2013</date>
|
||||
// <summary>Implements the sps API class</summary>
|
||||
//-----------------------------------------------------------------------
|
||||
namespace CampusAppWP8.Api.GeoApi
|
||||
{
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Generic;
|
||||
using CampusAppWP8.Model;
|
||||
using CampusAppWP8.Model.GeoDb;
|
||||
using CampusAppWP8.Model.Utility;
|
||||
using CampusAppWP8.Resources;
|
||||
using CampusAppWP8.Utility;
|
||||
using CampusAppWPortalLib8.Model.Utility;
|
||||
using CampusAppWPortalLib8.Model;
|
||||
using CampusAppWPortalLib8.Model.GeoDb;
|
||||
using CampusAppWPortalLib8.Model.Utility;
|
||||
|
||||
/// <summary>
|
||||
/// Class for SPSAPI
|
||||
/// </summary>
|
||||
/// <summary> Class for SPSAPI. </summary>
|
||||
/// <remarks> Stubbfel, 14.10.2013. </remarks>
|
||||
/// <seealso cref="T:CampusAppWP8.Model.XmlModel{CampusAppWP8.Model.GeoDb.SpsModel}"/>
|
||||
public class SpsApi : XmlModel<SpsModel>
|
||||
{
|
||||
#region Constructor
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="SpsApi" /> class.
|
||||
/// </summary>
|
||||
/// <summary> Initializes a new instance of the <see cref="SpsApi" /> class. </summary>
|
||||
/// <remarks> Stubbfel, 14.10.2013. </remarks>
|
||||
public SpsApi()
|
||||
: base(ModelType.Feed, Constants.UrlSpsService)
|
||||
{
|
||||
@@ -35,16 +35,17 @@ namespace CampusAppWP8.Api.GeoApi
|
||||
#region Method
|
||||
|
||||
/// <summary>
|
||||
/// Method set the UriParameter of a placeRequest for a given latitude and longitude
|
||||
/// Method set the UriParameter of a placeRequest for a given latitude and longitude.
|
||||
/// </summary>
|
||||
/// <param name="lat">latitude of the place</param>
|
||||
/// <param name="log">longitude of the place</param>
|
||||
/// <param name="domian">request domain</param>
|
||||
public void SetupPlaceRequest(string lat, string log, string domian = null)
|
||||
/// <remarks> Stubbfel, 14.10.2013. </remarks>
|
||||
/// <param name="lat"> latitude of the place. </param>
|
||||
/// <param name="log"> longitude of the place. </param>
|
||||
/// <param name="domian"> (Optional) request domain. </param>
|
||||
public void SetupPlaceRequest(double lat, double log, string domian = null)
|
||||
{
|
||||
List<UrlParamModel> parameterList = new List<UrlParamModel>();
|
||||
parameterList.Add(new CleanUrlParamModel(Constants.SpsApi_LatitudeParaKey, lat));
|
||||
parameterList.Add(new CleanUrlParamModel(Constants.SpsApi_LongitudeParaKey, log));
|
||||
parameterList.Add(new CleanUrlParamModel(Constants.SpsApi_LatitudeParaKey, lat.ToString()));
|
||||
parameterList.Add(new CleanUrlParamModel(Constants.SpsApi_LongitudeParaKey, log.ToString()));
|
||||
if (domian != null)
|
||||
{
|
||||
parameterList.Add(new CleanUrlParamModel(Constants.SpsApi_DomainParaKey, domian));
|
||||
@@ -53,15 +54,17 @@ namespace CampusAppWP8.Api.GeoApi
|
||||
this.SetUriParams(parameterList);
|
||||
}
|
||||
|
||||
/// <summary>Sets up the current place request.</summary>
|
||||
/// <remarks>Stubbfel, 09.09.2013.</remarks>
|
||||
/// <param name="domian">(Optional) request domain.</param>
|
||||
/// <summary> Sets up the current place request. </summary>
|
||||
/// <remarks> Stubbfel, 09.09.2013. </remarks>
|
||||
/// <param name="domian"> (Optional) request domain. </param>
|
||||
public void SetupCurrentPlaceRequest(string domian = null)
|
||||
{
|
||||
Utilities.DetermineAndStoreCurrentPosition();
|
||||
string lat = App.LoadFromAppState<string>(Constants.GeoWatch_CurrentPosition_Lat);
|
||||
string log = App.LoadFromAppState<string>(Constants.GeoWatch_CurrentPosition_Long);
|
||||
this.SetupPlaceRequest(lat, log, domian);
|
||||
GeoMapPoint currentPosition = App.LoadFromAppState<GeoMapPoint>(Constants.GeoWatch_CurrentPositionPoint);
|
||||
if (currentPosition != null)
|
||||
{
|
||||
this.SetupPlaceRequest(currentPosition.Latitude, currentPosition.Latitude, domian);
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
@@ -1,29 +1,27 @@
|
||||
//-----------------------------------------------------------------------
|
||||
// <copyright file="LectureApi.cs" company="BTU/IIT">
|
||||
// Company copyright tag.
|
||||
// The MIT License (MIT). Copyright (c) 2013 BTU/IIT.
|
||||
// </copyright>
|
||||
// <author>stubbfel</author>
|
||||
// <sience>13.06.2013</sience>
|
||||
//----------------------------------------------------------------------
|
||||
// <author>Stubbfel</author>
|
||||
// <date>14.10.2013</date>
|
||||
// <summary>Implements the lecture API class</summary>
|
||||
//-----------------------------------------------------------------------
|
||||
namespace CampusAppWP8.Api.Lecture
|
||||
{
|
||||
using CampusAppWP8.Model;
|
||||
using CampusAppWP8.Model.Lecture;
|
||||
using CampusAppWP8.Resources;
|
||||
|
||||
/// <summary>
|
||||
/// Class for the feed of the Lecture
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// need the XmlAPI
|
||||
/// </remarks>
|
||||
public class LectureApi : XmlModel<LectureList>
|
||||
using CampusAppWPortalLib8.Model;
|
||||
|
||||
/// <summary> Class for the feed of the Lecture. </summary>
|
||||
/// <remarks> need the XmlAPI. </remarks>
|
||||
/// <seealso cref="T:CampusAppWP8.Model.XmlModel{CampusAppWP8.Model.Lecture.LectureWp8List}"/>
|
||||
public class LectureApi : XmlModel<LectureWp8List>
|
||||
{
|
||||
#region Constructor
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="LectureApi" /> class.
|
||||
/// </summary>
|
||||
/// <summary> Initializes a new instance of the <see cref="LectureApi" /> class. </summary>
|
||||
/// <remarks> Stubbfel, 14.10.2013. </remarks>
|
||||
public LectureApi()
|
||||
: base(ModelType.Feed, Constants.UrlLecture_ApiBaseAddr)
|
||||
{
|
||||
|
||||
@@ -1,25 +1,27 @@
|
||||
//-----------------------------------------------------------------------------
|
||||
//-----------------------------------------------------------------------
|
||||
// <copyright file="PersonSearchApi.cs" company="BTU/IIT">
|
||||
// Company copyright tag.
|
||||
// The MIT License (MIT). Copyright (c) 2013 BTU/IIT.
|
||||
// </copyright>
|
||||
// <author>stubbfel</author>
|
||||
// <sience>05.09.2013</sience>
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
// <author>Stubbfel</author>
|
||||
// <date>14.10.2013</date>
|
||||
// <summary>Implements the person search API class</summary>
|
||||
//-----------------------------------------------------------------------
|
||||
namespace CampusAppWP8.Api.Person
|
||||
{
|
||||
using CampusAppWP8.Model;
|
||||
using CampusAppWP8.Model.Person;
|
||||
using CampusAppWP8.Resources;
|
||||
using CampusAppWPortalLib8.Model;
|
||||
|
||||
/// <summary>Person search api.</summary>
|
||||
/// <remarks>Stubbfel, 05.09.2013.</remarks>
|
||||
public class PersonSearchApi : XmlModel<PersonListModel>
|
||||
/// <summary> Person search api. </summary>
|
||||
/// <remarks> Stubbfel, 05.09.2013. </remarks>
|
||||
/// <seealso cref="T:CampusAppWP8.Model.XmlModel{CampusAppWP8.Model.Person.PersonListWp8Model}"/>
|
||||
public class PersonSearchApi : XmlModel<PersonListWp8Model>
|
||||
{
|
||||
#region Constructor
|
||||
|
||||
/// <summary>Initializes a new instance of the PersonSearchApi class.</summary>
|
||||
/// <remarks>Stubbfel, 05.09.2013.</remarks>
|
||||
/// <summary> Initializes a new instance of the PersonSearchApi class. </summary>
|
||||
/// <remarks> Stubbfel, 05.09.2013. </remarks>
|
||||
public PersonSearchApi()
|
||||
: base(ModelType.Feed, Constants.UrlPerson_PersonSearchByName)
|
||||
{
|
||||
|
||||
@@ -12,6 +12,8 @@
|
||||
<ResourceDictionary.MergedDictionaries>
|
||||
<ResourceDictionary Source="Styles/ListButton.xaml"/>
|
||||
<ResourceDictionary Source="Styles/StartPageStyles.xaml"/>
|
||||
<ResourceDictionary Source="Styles/Labels.xaml"/>
|
||||
<ResourceDictionary Source="Styles/UniColors.xaml"/>
|
||||
<ResourceDictionary>
|
||||
<local:LocalizedStrings xmlns:local="clr-namespace:CampusAppWP8" x:Key="LocalizedStrings"/>
|
||||
<local:ThemelizedIcons xmlns:local="clr-namespace:CampusAppWP8" x:Key="ThemelizedIcons"/>
|
||||
|
||||
@@ -10,6 +10,7 @@ using System.IO.IsolatedStorage;
|
||||
using System.Threading;
|
||||
using System.Windows;
|
||||
using System.Windows.Markup;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Navigation;
|
||||
|
||||
|
||||
@@ -150,25 +151,52 @@ namespace CampusAppWP8
|
||||
Settings.AppSetting.DevMode = false;
|
||||
}
|
||||
|
||||
int appDeploy;
|
||||
bool parseResult = int.TryParse(Constants.DeploymentNumber, out appDeploy);
|
||||
if (!parseResult || Settings.AppSetting.DeploymentNumber != appDeploy)
|
||||
{
|
||||
Settings.AppSetting.InitApp = false;
|
||||
}
|
||||
|
||||
Color appColor = ((SolidColorBrush)App.Current.Resources["PhoneAccentBrush"]).Color;
|
||||
if (!Settings.AppSetting.DisplaySetting.PhoneAccentColor.Equals(appColor))
|
||||
{
|
||||
if (Settings.AppSetting.DisplaySetting.AppAccentColor.Equals(Settings.AppSetting.DisplaySetting.PhoneAccentColor))
|
||||
{
|
||||
Settings.AppSetting.DisplaySetting.AppAccentColor = appColor;
|
||||
}
|
||||
Settings.AppSetting.DisplaySetting.PhoneAccentColor = appColor;
|
||||
}
|
||||
|
||||
appColor = Settings.AppSetting.DisplaySetting.AppAccentColor;
|
||||
Utilities.SwitchAccentColor(appColor);
|
||||
|
||||
this.UserSettingsLoaded();
|
||||
|
||||
Settings.AppSetting.UniNetwork = Utilities.IsUniNetworkAvailable();
|
||||
if (!Settings.AppSetting.UniNetwork)
|
||||
Settings.AppSetting.NetworkSetting.UniNetwork = Utilities.IsUniNetworkAvailable();
|
||||
if (!Settings.AppSetting.NetworkSetting.UniNetwork)
|
||||
{
|
||||
Settings.AppSetting.WifiEnable = Utilities.IsWifiAvailable();
|
||||
Settings.AppSetting.NetworkSetting.WifiEnable = Utilities.IsWifiAvailable();
|
||||
}
|
||||
else
|
||||
{
|
||||
Settings.AppSetting.WifiEnable = true;
|
||||
Settings.AppSetting.NetworkSetting.WifiEnable = true;
|
||||
}
|
||||
|
||||
if (Settings.AppSetting.GeoWatchEnable)
|
||||
|
||||
if (Settings.AppSetting.LocatingSetting.GeoWatchEnable)
|
||||
{
|
||||
Thread thread = new Thread(new ThreadStart(Utilities.DetermineAndStoreCurrentPositionForce));
|
||||
Thread thread = new Thread(new ThreadStart(this.PositionThread));
|
||||
thread.Start();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary> Position thread. </summary>
|
||||
/// <remarks> Stubbfel, 18.11.2013. </remarks>
|
||||
private void PositionThread()
|
||||
{
|
||||
Utilities.DetermineAndStoreCurrentPositionForce();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Load the usersettings from the store
|
||||
/// </summary>
|
||||
@@ -198,7 +226,7 @@ namespace CampusAppWP8
|
||||
// Dieser Code wird beim Deaktivieren der Anwendung nicht ausgeführt
|
||||
private void Application_Closing(object sender, ClosingEventArgs e)
|
||||
{
|
||||
// Sicherstellen, dass der erforderliche Anwendungszustand hier beibehalten wird
|
||||
App.SaveToIsolatedStorage<string>("StartPageIndex", null);
|
||||
}
|
||||
|
||||
// Code, der bei einem Navigationsfehler ausgeführt wird
|
||||
@@ -243,6 +271,9 @@ namespace CampusAppWP8
|
||||
// Behandeln Sie Rücksetzanforderungen zum Löschen des Backstack
|
||||
RootFrame.Navigated += CheckForResetNavigation;
|
||||
|
||||
// Assign the lens example URI-mapper class to the application frame.
|
||||
RootFrame.UriMapper = new AppUriMapper();
|
||||
|
||||
// Sicherstellen, dass keine erneute Initialisierung erfolgt
|
||||
phoneApplicationInitialized = true;
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 8.8 KiB |
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 21 KiB |
BIN
CampusAppWP8/CampusAppWP8/Assets/Background.jpg
Normal file
|
After Width: | Height: | Size: 112 KiB |
|
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 483 B |
|
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 1.2 KiB |
BIN
CampusAppWP8/CampusAppWP8/Assets/Icons/DarkTheme/cancel_159.png
Normal file
|
After Width: | Height: | Size: 913 B |
BIN
CampusAppWP8/CampusAppWP8/Assets/Icons/DarkTheme/carotte_159.png
Normal file
|
After Width: | Height: | Size: 3.5 KiB |
BIN
CampusAppWP8/CampusAppWP8/Assets/Icons/DarkTheme/chicken_159.png
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 6.1 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 5.4 KiB |
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
BIN
CampusAppWP8/CampusAppWP8/Assets/Icons/DarkTheme/events_159.png
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
CampusAppWP8/CampusAppWP8/Assets/Icons/DarkTheme/fish_159.png
Normal file
|
After Width: | Height: | Size: 2.0 KiB |
BIN
CampusAppWP8/CampusAppWP8/Assets/Icons/DarkTheme/frei_159.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 8.9 KiB After Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 1.6 KiB |
BIN
CampusAppWP8/CampusAppWP8/Assets/Icons/DarkTheme/lamb_159.png
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 7.7 KiB After Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 979 B After Width: | Height: | Size: 979 B |
|
Before Width: | Height: | Size: 8.2 KiB After Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 9.0 KiB |
|
After Width: | Height: | Size: 3.1 KiB |
|
Before Width: | Height: | Size: 6.9 KiB After Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 9.2 KiB After Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 6.4 KiB After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 4.4 KiB |
|
Before Width: | Height: | Size: 1003 B After Width: | Height: | Size: 1003 B |
|
After Width: | Height: | Size: 755 B |
BIN
CampusAppWP8/CampusAppWP8/Assets/Icons/DarkTheme/pork_159.png
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
CampusAppWP8/CampusAppWP8/Assets/Icons/DarkTheme/pos_159.png
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
CampusAppWP8/CampusAppWP8/Assets/Icons/DarkTheme/prefs2_159.png
Normal file
|
After Width: | Height: | Size: 2.0 KiB |
BIN
CampusAppWP8/CampusAppWP8/Assets/Icons/DarkTheme/reset_159.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 6.7 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 7.3 KiB After Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 1.0 KiB |
BIN
CampusAppWP8/CampusAppWP8/Assets/Icons/DarkTheme/speaker_159.png
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
BIN
CampusAppWP8/CampusAppWP8/Assets/Icons/DarkTheme/steak_159.png
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
|
Before Width: | Height: | Size: 7.3 KiB After Width: | Height: | Size: 5.0 KiB |
|
After Width: | Height: | Size: 979 B |
|
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 6.4 KiB After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 2.8 KiB |
BIN
CampusAppWP8/CampusAppWP8/Assets/Icons/DarkTheme/zoomin_159.png
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
CampusAppWP8/CampusAppWP8/Assets/Icons/DarkTheme/zoomout_159.png
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 469 B |
|
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 1.1 KiB |
BIN
CampusAppWP8/CampusAppWP8/Assets/Icons/LightTheme/cancel_159.png
Normal file
|
After Width: | Height: | Size: 890 B |
|
After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 6.6 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 5.6 KiB |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
BIN
CampusAppWP8/CampusAppWP8/Assets/Icons/LightTheme/events_159.png
Normal file
|
After Width: | Height: | Size: 2.0 KiB |
BIN
CampusAppWP8/CampusAppWP8/Assets/Icons/LightTheme/fish_159.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
CampusAppWP8/CampusAppWP8/Assets/Icons/LightTheme/frei_159.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 1.5 KiB |
BIN
CampusAppWP8/CampusAppWP8/Assets/Icons/LightTheme/lamb_159.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 8.5 KiB After Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 864 B After Width: | Height: | Size: 864 B |
|
Before Width: | Height: | Size: 9.3 KiB After Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 2.8 KiB |
|
Before Width: | Height: | Size: 7.5 KiB After Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 7.0 KiB After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 4.4 KiB |
|
After Width: | Height: | Size: 1003 B |
|
After Width: | Height: | Size: 755 B |
BIN
CampusAppWP8/CampusAppWP8/Assets/Icons/LightTheme/pork_159.png
Normal file
|
After Width: | Height: | Size: 2.0 KiB |
BIN
CampusAppWP8/CampusAppWP8/Assets/Icons/LightTheme/pos_159.png
Normal file
|
After Width: | Height: | Size: 2.0 KiB |
BIN
CampusAppWP8/CampusAppWP8/Assets/Icons/LightTheme/prefs2_159.png
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
BIN
CampusAppWP8/CampusAppWP8/Assets/Icons/LightTheme/reset_159.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 8.1 KiB After Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 982 B |
|
After Width: | Height: | Size: 2.1 KiB |
BIN
CampusAppWP8/CampusAppWP8/Assets/Icons/LightTheme/steak_159.png
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 8.1 KiB After Width: | Height: | Size: 5.3 KiB |