Permalink
Browse files

Create one project for model layer

Create one project for service layer
Fix typo Epix to Epyx
  • Loading branch information...
1 parent 9eb5395 commit 3b7b66b18440fb2ecaf7de8aa1ba514b9aaf0d31 @tallichet committed May 6, 2011
Showing with 430 additions and 347 deletions.
  1. +3 −5 {WindMobile-WP7/Model → WindMobile-WP7-Model}/Design/StationData.cs
  2. +1 −12 {WindMobile-WP7/Model → WindMobile-WP7-Model}/Design/StationInfo.cs
  3. +1 −1 {WindMobile-WP7/Model → WindMobile-WP7-Model}/IChart.cs
  4. +1 −1 {WindMobile-WP7/Model → WindMobile-WP7-Model}/IChartPoint.cs
  5. +1 −1 {WindMobile-WP7/Model → WindMobile-WP7-Model}/IChartSerie.cs
  6. +1 −1 {WindMobile-WP7/Model → WindMobile-WP7-Model}/ILastUpdate.cs
  7. +1 −1 {WindMobile-WP7/Model → WindMobile-WP7-Model}/IStationData.cs
  8. +1 −1 {WindMobile-WP7/Model → WindMobile-WP7-Model}/IStationInfo.cs
  9. +1 −1 {WindMobile-WP7/Model → WindMobile-WP7-Model}/IWindDirectionChart.cs
  10. +1 −1 {WindMobile-WP7/Model → WindMobile-WP7-Model}/MaintenanceStatus.cs
  11. +35 −0 WindMobile-WP7-Model/Properties/AssemblyInfo.cs
  12. +81 −0 WindMobile-WP7-Model/WindMobile-WP7-Model.csproj
  13. +1 −1 {WindMobile-WP7/Model → WindMobile-WP7-Model}/Xml/Chart.cs
  14. +1 −1 {WindMobile-WP7/Model → WindMobile-WP7-Model}/Xml/ChartPoint.cs
  15. +1 −1 {WindMobile-WP7/Model → WindMobile-WP7-Model}/Xml/ChartSerie.cs
  16. +1 −1 {WindMobile-WP7/Model → WindMobile-WP7-Model}/Xml/LastUpdate.cs
  17. +1 −1 {WindMobile-WP7/Model → WindMobile-WP7-Model}/Xml/StationData.cs
  18. +1 −1 {WindMobile-WP7/Model → WindMobile-WP7-Model}/Xml/StationInfo.cs
  19. +1 −1 {WindMobile-WP7/Model → WindMobile-WP7-Model}/Xml/XmlBase.cs
  20. +3 −3 WindMobile-WP7/App.xaml
  21. +2 −2 WindMobile-WP7/App.xaml.cs
  22. +7 −5 WindMobile-WP7/Properties/AssemblyInfo.cs
  23. +3 −4 WindMobile-WP7/Properties/WMAppManifest.xml
  24. +0 −34 WindMobile-WP7/Service/Job/LastUpdateJob.cs
  25. +0 −25 WindMobile-WP7/Service/TypedServices/ListStationInfoService.cs
  26. +0 −24 WindMobile-WP7/Service/TypedServices/StationChartService.cs
  27. +0 −24 WindMobile-WP7/Service/TypedServices/StationDataService.cs
  28. +1 −1 WindMobile-WP7/View/ChartControl.xaml
  29. +2 −2 WindMobile-WP7/View/ChartControl.xaml.cs
  30. +1 −1 WindMobile-WP7/View/ExceptionView.xaml
  31. +1 −1 WindMobile-WP7/View/ExceptionView.xaml.cs
  32. +3 −3 WindMobile-WP7/View/MainPanoramaView.xaml
  33. +2 −2 WindMobile-WP7/View/MainPanoramaView.xaml.cs
  34. +1 −1 WindMobile-WP7/View/MapView.xaml
  35. +3 −3 WindMobile-WP7/View/MapView.xaml.cs
  36. +2 −2 WindMobile-WP7/View/StationDataControl.xaml
  37. +3 −3 WindMobile-WP7/View/StationDataControl.xaml.cs
  38. +3 −3 WindMobile-WP7/View/StationDataPivot.xaml
  39. +2 −2 WindMobile-WP7/View/StationDataPivot.xaml.cs
  40. +1 −1 WindMobile-WP7/View/StationInfoControl.xaml
  41. +1 −1 WindMobile-WP7/View/StationInfoControl.xaml.cs
  42. +2 −2 WindMobile-WP7/View/StationInfoView.xaml
  43. +2 −2 WindMobile-WP7/View/StationInfoView.xaml.cs
  44. +1 −1 WindMobile-WP7/View/Transition/FadeTransition.cs
  45. +1 −1 WindMobile-WP7/View/WindChartControl.xaml
  46. +2 −2 WindMobile-WP7/View/WindChartControl.xaml.cs
  47. +2 −2 WindMobile-WP7/ViewModel/ApplicationViewModel.cs
  48. +5 −5 WindMobile-WP7/ViewModel/ChartViewModel.cs
  49. +3 −11 WindMobile-WP7/ViewModel/Converter/MaintenanceStatusToSolidColorBrushConverter.cs
  50. +2 −2 WindMobile-WP7/ViewModel/Converter/StationInfoToGeoCoordinateConverter.cs
  51. +1 −1 WindMobile-WP7/ViewModel/Converter/TrendToColorConverter.cs
  52. +2 −2 WindMobile-WP7/ViewModel/DataViewModel.cs
  53. +1 −1 WindMobile-WP7/ViewModel/ExceptionViewModel.cs
  54. +6 −6 WindMobile-WP7/ViewModel/MainViewModel.cs
  55. +6 −6 WindMobile-WP7/ViewModel/StationInfoViewModel.cs
  56. +5 −4 WindMobile-WP7/ViewModel/ViewModelLocator.cs
  57. +3 −13 WindMobile-WP7/{Service → WindMobile-WP7-Service}/ApplicationRunData.cs
  58. +2 −11 WindMobile-WP7/{Service → WindMobile-WP7-Service}/BaseService.cs
  59. +2 −2 WindMobile-WP7/{Service → WindMobile-WP7-Service}/Design/DesignJobBase.cs
  60. +3 −3 WindMobile-WP7/{Service → WindMobile-WP7-Service}/Job/GetStationChartJob.cs
  61. +3 −12 WindMobile-WP7/{Service → WindMobile-WP7-Service}/Job/GetStationDataJob.cs
  62. +1 −4 WindMobile-WP7/{Service → WindMobile-WP7-Service}/Job/IJob.cs
  63. +1 −1 WindMobile-WP7/{Service → WindMobile-WP7-Service}/Job/JobBase.cs
  64. +5 −13 WindMobile-WP7/{Service → WindMobile-WP7-Service}/Job/ListStationInfoJob.cs
  65. +2 −11 WindMobile-WP7/{Service → WindMobile-WP7-Service}/Job/XmlJob.cs
  66. +35 −0 WindMobile-WP7/WindMobile-WP7-Service/Properties/AssemblyInfo.cs
  67. +5 −15 WindMobile-WP7/{Service → WindMobile-WP7-Service}/ServiceCentral.cs
  68. +15 −0 WindMobile-WP7/WindMobile-WP7-Service/TypedServices/ListStationInfoService.cs
  69. +14 −0 WindMobile-WP7/WindMobile-WP7-Service/TypedServices/StationChartService.cs
  70. +13 −0 WindMobile-WP7/WindMobile-WP7-Service/TypedServices/StationDataService.cs
  71. +84 −0 WindMobile-WP7/WindMobile-WP7-Service/WindMobile-WP7-Service.csproj
  72. +13 −35 WindMobile-WP7/WindMobile-WP7.csproj
  73. +12 −0 WindMobile-WP7/WindMobile-WP7.sln
@@ -1,9 +1,7 @@
-using System;
+
+using System;
using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-
-namespace Ch.Epix.WindMobile.WP7.Model.Design
+namespace Ch.Epyx.WindMobile.WP7.Model.Design
{
public class StationData : IStationData
{
@@ -1,15 +1,4 @@
-using System;
-using System.Net;
-using System.Windows;
-using System.Windows.Controls;
-using System.Windows.Documents;
-using System.Windows.Ink;
-using System.Windows.Input;
-using System.Windows.Media;
-using System.Windows.Media.Animation;
-using System.Windows.Shapes;
-
-namespace Ch.Epix.WindMobile.WP7.Model.Design
+namespace Ch.Epyx.WindMobile.WP7.Model.Design
{
public class StationInfo : IStationInfo
{
@@ -3,7 +3,7 @@
using System.Linq;
using System.Text;
-namespace Ch.Epix.WindMobile.WP7.Model
+namespace Ch.Epyx.WindMobile.WP7.Model
{
public interface IChart
{
@@ -9,7 +9,7 @@
using System.Windows.Media.Animation;
using System.Windows.Shapes;
-namespace Ch.Epix.WindMobile.WP7.Model
+namespace Ch.Epyx.WindMobile.WP7.Model
{
public interface IChartPoint
{
@@ -3,7 +3,7 @@
using System.Linq;
using System.Text;
-namespace Ch.Epix.WindMobile.WP7.Model
+namespace Ch.Epyx.WindMobile.WP7.Model
{
public interface IChartSerie
{
@@ -3,7 +3,7 @@
using System.Linq;
using System.Text;
-namespace Ch.Epix.WindMobile.WP7.Model
+namespace Ch.Epyx.WindMobile.WP7.Model
{
public interface ILastUpdate
{
@@ -10,7 +10,7 @@
using System.Windows.Shapes;
using System.Collections.Generic;
-namespace Ch.Epix.WindMobile.WP7.Model
+namespace Ch.Epyx.WindMobile.WP7.Model
{
public interface IStationData
{
@@ -9,7 +9,7 @@
using System.Windows.Media.Animation;
using System.Windows.Shapes;
-namespace Ch.Epix.WindMobile.WP7.Model
+namespace Ch.Epyx.WindMobile.WP7.Model
{
public interface IStationInfo
{
@@ -11,7 +11,7 @@
using System.Collections;
using System.Collections.Generic;
-namespace Ch.Epix.WindMobile.WP7.Model
+namespace Ch.Epyx.WindMobile.WP7.Model
{
public interface IWindDirectionChart
{
@@ -9,7 +9,7 @@
using System.Windows.Media.Animation;
using System.Windows.Shapes;
-namespace Ch.Epix.WindMobile.WP7.Model
+namespace Ch.Epyx.WindMobile.WP7.Model
{
public enum MaintenanceStatus
{
@@ -0,0 +1,35 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("WindMobile_WP7_Model")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("Microsoft")]
+[assembly: AssemblyProduct("WindMobile_WP7_Model")]
+[assembly: AssemblyCopyright("Copyright © Microsoft 2011")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components. If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("630520d7-dae1-4539-af0c-21bc764e9233")]
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Revision and Build Numbers
+// by using the '*' as shown below:
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProductVersion>10.0.20506</ProductVersion>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{A6590DCD-2DD0-45F4-8D15-7E86CB0C38A8}</ProjectGuid>
+ <ProjectTypeGuids>{C089C8C0-30E0-4E22-80C0-CE093F111A43};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
+ <OutputType>Library</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <RootNamespace>Ch.Epyx.WindMobile.WP7.Model</RootNamespace>
+ <AssemblyName>Ch.Epyx.WindMobile.WP7.Model</AssemblyName>
+ <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
+ <SilverlightVersion>$(TargetFrameworkVersion)</SilverlightVersion>
+ <TargetFrameworkProfile>WindowsPhone</TargetFrameworkProfile>
+ <TargetFrameworkIdentifier>Silverlight</TargetFrameworkIdentifier>
+ <SilverlightApplication>false</SilverlightApplication>
+ <ValidateXaml>true</ValidateXaml>
+ <ThrowErrorsInValidation>true</ThrowErrorsInValidation>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>Bin\Debug</OutputPath>
+ <DefineConstants>DEBUG;TRACE;SILVERLIGHT;WINDOWS_PHONE</DefineConstants>
+ <NoStdLib>true</NoStdLib>
+ <NoConfig>true</NoConfig>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+ <OutputPath>Bin\Release</OutputPath>
+ <DefineConstants>TRACE;SILVERLIGHT;WINDOWS_PHONE</DefineConstants>
+ <NoStdLib>true</NoStdLib>
+ <NoConfig>true</NoConfig>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="System.Windows" />
+ <Reference Include="system" />
+ <Reference Include="System.Core" />
+ <Reference Include="System.Xml" />
+ <Reference Include="System.Net" />
+ <Reference Include="System.Xml.Linq" />
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="Design\StationData.cs" />
+ <Compile Include="Design\StationInfo.cs" />
+ <Compile Include="IChart.cs" />
+ <Compile Include="IChartPoint.cs" />
+ <Compile Include="IChartSerie.cs" />
+ <Compile Include="ILastUpdate.cs" />
+ <Compile Include="IStationData.cs" />
+ <Compile Include="IStationInfo.cs" />
+ <Compile Include="IWindDirectionChart.cs" />
+ <Compile Include="MaintenanceStatus.cs" />
+ <Compile Include="Xml\Chart.cs" />
+ <Compile Include="Xml\ChartPoint.cs" />
+ <Compile Include="Xml\ChartSerie.cs" />
+ <Compile Include="Xml\LastUpdate.cs" />
+ <Compile Include="Xml\StationData.cs" />
+ <Compile Include="Xml\StationInfo.cs" />
+ <Compile Include="Xml\XmlBase.cs" />
+ <Compile Include="Properties\AssemblyInfo.cs" />
+ </ItemGroup>
+ <Import Project="$(MSBuildExtensionsPath)\Microsoft\Silverlight for Phone\$(TargetFrameworkVersion)\Microsoft.Silverlight.$(TargetFrameworkProfile).Overrides.targets" />
+ <Import Project="$(MSBuildExtensionsPath)\Microsoft\Silverlight for Phone\$(TargetFrameworkVersion)\Microsoft.Silverlight.CSharp.targets" />
+ <ProjectExtensions />
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+ Other similar extension points exist, see Microsoft.Common.targets.
+ <Target Name="BeforeBuild">
+ </Target>
+ <Target Name="AfterBuild">
+ </Target>
+ -->
+</Project>
@@ -10,7 +10,7 @@
using System.Windows.Shapes;
using System.Xml.Linq;
-namespace Ch.Epix.WindMobile.WP7.Model.Xml
+namespace Ch.Epyx.WindMobile.WP7.Model.Xml
{
public class Chart : XmlBase, IChart
{
@@ -10,7 +10,7 @@
using System.Windows.Shapes;
using System.Xml.Linq;
-namespace Ch.Epix.WindMobile.WP7.Model.Xml
+namespace Ch.Epyx.WindMobile.WP7.Model.Xml
{
public class ChartPoint : IChartPoint
{
@@ -11,7 +11,7 @@
using System.Xml.Linq;
using System.Collections.Generic;
-namespace Ch.Epix.WindMobile.WP7.Model.Xml
+namespace Ch.Epyx.WindMobile.WP7.Model.Xml
{
public class ChartSerie : XmlBase, IChartSerie
{
@@ -10,7 +10,7 @@
using System.Windows.Shapes;
using System.Xml.Linq;
-namespace Ch.Epix.WindMobile.WP7.Model.Xml
+namespace Ch.Epyx.WindMobile.WP7.Model.Xml
{
public class LastUpdate : ILastUpdate
{
@@ -11,7 +11,7 @@
using System.Xml.Linq;
using System.Collections.Generic;
-namespace Ch.Epix.WindMobile.WP7.Model.Xml
+namespace Ch.Epyx.WindMobile.WP7.Model.Xml
{
public class StationData : XmlBase, IStationData
{
@@ -10,7 +10,7 @@
using System.Windows.Shapes;
using System.Xml.Linq;
-namespace Ch.Epix.WindMobile.WP7.Model.Xml
+namespace Ch.Epyx.WindMobile.WP7.Model.Xml
{
public class StationInfo : XmlBase, IStationInfo
{
@@ -10,7 +10,7 @@
using System.Windows.Shapes;
using System.Xml.Linq;
-namespace Ch.Epix.WindMobile.WP7.Model.Xml
+namespace Ch.Epyx.WindMobile.WP7.Model.Xml
{
public class XmlBase
{
@@ -1,13 +1,13 @@
-<Application x:Class="Ch.Epix.WindMobile.WP7.App"
+<Application x:Class="Ch.Epyx.WindMobile.WP7.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:converter="clr-namespace:Ch.Epix.WindMobile.WP7.ViewModel.Converter"
+ xmlns:converter="clr-namespace:Ch.Epyx.WindMobile.WP7.ViewModel.Converter"
mc:Ignorable="d"
- xmlns:vm="clr-namespace:Ch.Epix.WindMobile.WP7.ViewModel">
+ xmlns:vm="clr-namespace:Ch.Epyx.WindMobile.WP7.ViewModel">
<!--Application Resources-->
<Application.Resources>
@@ -12,10 +12,10 @@
using System.Windows.Shapes;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;
-using Ch.Epix.WindMobile.WP7.ViewModel;
+using Ch.Epyx.WindMobile.WP7.ViewModel;
using System.Diagnostics;
-namespace Ch.Epix.WindMobile.WP7
+namespace Ch.Epyx.WindMobile.WP7
{
public partial class App : Application
{
@@ -1,16 +1,17 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using System.Resources;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
-[assembly: AssemblyTitle("WindMobile_WP7")]
-[assembly: AssemblyDescription("")]
+[assembly: AssemblyTitle("WindMobile - Balise météo pour le vol en parapente")]
+[assembly: AssemblyDescription("Balise météo pour le vol en parapente")]
[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("WindMobile_WP7")]
-[assembly: AssemblyCopyright("Copyright © 2010")]
+[assembly: AssemblyCompany("Epyx")]
+[assembly: AssemblyProduct("WindMobile")]
+[assembly: AssemblyCopyright("Copyright © 2011")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
@@ -33,3 +34,4 @@
// by using the '*' as shown below:
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
+[assembly: NeutralResourcesLanguageAttribute("fr")]
@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
-
<Deployment xmlns="http://schemas.microsoft.com/windowsphone/2009/deployment" AppPlatformVersion="7.0">
- <App xmlns="" ProductID="{ac5b5d62-573c-4134-b290-0ad4f678ad7f}" Title="WindMobile_WP7" RuntimeType="Silverlight" Version="1.0.0.0" Genre="apps.normal" Author="WindMobile_WP7 author" Description="Sample description" Publisher="WindMobile_WP7 publisher">
+ <App xmlns="" ProductID="{ac5b5d62-573c-4134-b290-0ad4f678ad7f}" Title="WindMobile - Balise météo pour le vol en parapente" RuntimeType="Silverlight" Version="1.0.0.0" Genre="apps.normal" Author="WindMobile_WP7 author" Description="Sample description" Publisher="WindMobile_WP7 publisher">
<IconPath IsRelative="true" IsResource="false">ApplicationIcon.png</IconPath>
<Capabilities>
<Capability Name="ID_CAP_NETWORKING" />
@@ -15,14 +14,14 @@
<Capability Name="ID_CAP_WEBBROWSERCOMPONENT" />
</Capabilities>
<Tasks>
- <DefaultTask Name ="_default" NavigationPage="View/MainPanoramaView.xaml"/>
+ <DefaultTask Name="_default" NavigationPage="View/MainPanoramaView.xaml" />
</Tasks>
<Tokens>
<PrimaryToken TokenID="WindMobile_WP7Token" TaskName="_default">
<TemplateType5>
<BackgroundImageURI IsRelative="true" IsResource="false">Background.png</BackgroundImageURI>
<Count>0</Count>
- <Title>WindMobile_WP7</Title>
+ <Title>WindMobile</Title>
</TemplateType5>
</PrimaryToken>
</Tokens>
Oops, something went wrong.

0 comments on commit 3b7b66b

Please sign in to comment.