From: <wei...@us...> - 2009-03-03 12:14:30
|
Revision: 2690 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=2690&view=rev Author: weissollo Date: 2009-03-03 12:14:25 +0000 (Tue, 03 Mar 2009) Log Message: ----------- Added Paths: ----------- trunk/plugins/Test/ trunk/plugins/Test/First Try/ trunk/plugins/Test/First Try/MPPlugin/ trunk/plugins/Test/First Try/MPPlugin/Class1.cs trunk/plugins/Test/First Try/MPPlugin/ClassDiagram1.cd trunk/plugins/Test/First Try/MPPlugin/MPPlugin.csproj trunk/plugins/Test/First Try/MPPlugin/MPPlugin.csproj.user trunk/plugins/Test/First Try/MPPlugin/Properties/ trunk/plugins/Test/First Try/MPPlugin/Properties/AssemblyInfo.cs trunk/plugins/Test/First Try/MPPlugin/Properties/Settings.Designer.cs trunk/plugins/Test/First Try/MPPlugin/Properties/Settings.settings trunk/plugins/Test/First Try/MPPlugin/Web References/ trunk/plugins/Test/First Try/MPPlugin/Web References/OpenLiga/ trunk/plugins/Test/First Try/MPPlugin/Web References/OpenLiga/Fussballdaten1.datasource trunk/plugins/Test/First Try/MPPlugin/Web References/OpenLiga/Group1.datasource trunk/plugins/Test/First Try/MPPlugin/Web References/OpenLiga/League1.datasource trunk/plugins/Test/First Try/MPPlugin/Web References/OpenLiga/Matchdata1.datasource trunk/plugins/Test/First Try/MPPlugin/Web References/OpenLiga/Reference.cs trunk/plugins/Test/First Try/MPPlugin/Web References/OpenLiga/Reference.map trunk/plugins/Test/First Try/MPPlugin/Web References/OpenLiga/Sports1.datasource trunk/plugins/Test/First Try/MPPlugin/Web References/OpenLiga/Sportsdata.wsdl trunk/plugins/Test/First Try/MPPlugin/Web References/OpenLiga/Team1.datasource trunk/plugins/Test/First Try/MPPlugin/app.config trunk/plugins/Test/First Try/MPPlugin.sln trunk/plugins/Test/First Try/MPPlugin.suo Added: trunk/plugins/Test/First Try/MPPlugin/Class1.cs =================================================================== --- trunk/plugins/Test/First Try/MPPlugin/Class1.cs (rev 0) +++ trunk/plugins/Test/First Try/MPPlugin/Class1.cs 2009-03-03 12:14:25 UTC (rev 2690) @@ -0,0 +1,490 @@ +using System; +using System.Collections.Generic; +using System.Text; +using System.Windows.Forms; +using MediaPortal.GUI.Library; +using MediaPortal.Dialogs; +using System.Collections; + + +namespace MPPlugin +{ + public class Class1 : GUIWindow, ISetupForm + { + + + //First number is the line + //1: Date + //2: Time + //3: Name Team + //5: Score Team + + + [SkinControlAttribute(11)] + protected + GUILabelControl lbl11 = null; + [SkinControlAttribute(12)] + protected + GUILabelControl lbl12 = null; + [SkinControlAttribute(131)] + protected + GUILabelControl lbl131 = null; + [SkinControlAttribute(132)] + protected + GUILabelControl lbl132 = null; + [SkinControlAttribute(151)] + protected + GUILabelControl lbl151 = null; + [SkinControlAttribute(152)] + protected + GUILabelControl lbl152 = null; + [SkinControlAttribute(21)] + protected + GUILabelControl lbl21 = null; + [SkinControlAttribute(22)] + protected + GUILabelControl lbl22 = null; + [SkinControlAttribute(231)] + protected + GUILabelControl lbl231 = null; + [SkinControlAttribute(232)] + protected + GUILabelControl lbl232 = null; + [SkinControlAttribute(251)] + protected + GUILabelControl lbl251 = null; + [SkinControlAttribute(252)] + protected + GUILabelControl lbl252 = null; + + [SkinControlAttribute(31)] + protected + GUILabelControl lbl31 = null; + [SkinControlAttribute(32)] + protected + GUILabelControl lbl32 = null; + [SkinControlAttribute(331)] + protected + GUILabelControl lbl331 = null; + [SkinControlAttribute(332)] + protected + GUILabelControl lbl332 = null; + [SkinControlAttribute(351)] + protected + GUILabelControl lbl351 = null; + [SkinControlAttribute(352)] + protected + GUILabelControl lbl352 = null; + + [SkinControlAttribute(41)] + protected + GUILabelControl lbl41 = null; + [SkinControlAttribute(42)] + protected + GUILabelControl lbl42 = null; + [SkinControlAttribute(431)] + protected + GUILabelControl lbl431 = null; + [SkinControlAttribute(432)] + protected + GUILabelControl lbl432 = null; + [SkinControlAttribute(451)] + protected + GUILabelControl lbl451 = null; + [SkinControlAttribute(452)] + protected + GUILabelControl lbl452 = null; + + [SkinControlAttribute(51)] + protected + GUILabelControl lbl51 = null; + [SkinControlAttribute(52)] + protected + GUILabelControl lbl52 = null; + [SkinControlAttribute(531)] + protected + GUILabelControl lbl531 = null; + [SkinControlAttribute(532)] + protected + GUILabelControl lbl532 = null; + [SkinControlAttribute(551)] + protected + GUILabelControl lbl551 = null; + [SkinControlAttribute(552)] + protected + GUILabelControl lbl552 = null; + + [SkinControlAttribute(61)] + protected + GUILabelControl lbl61 = null; + [SkinControlAttribute(62)] + protected + GUILabelControl lbl62 = null; + [SkinControlAttribute(631)] + protected + GUILabelControl lbl631 = null; + [SkinControlAttribute(632)] + protected + GUILabelControl lbl632 = null; + [SkinControlAttribute(651)] + protected + GUILabelControl lbl651 = null; + [SkinControlAttribute(652)] + protected + GUILabelControl lbl652 = null; + + [SkinControlAttribute(71)] + protected + GUILabelControl lbl71 = null; + [SkinControlAttribute(72)] + protected + GUILabelControl lbl72 = null; + [SkinControlAttribute(731)] + protected + GUILabelControl lbl731 = null; + [SkinControlAttribute(732)] + protected + GUILabelControl lbl732 = null; + [SkinControlAttribute(751)] + protected + GUILabelControl lbl751 = null; + [SkinControlAttribute(752)] + protected + GUILabelControl lbl752 = null; + + [SkinControlAttribute(81)] + protected + GUILabelControl lbl81 = null; + [SkinControlAttribute(82)] + protected + GUILabelControl lbl82 = null; + [SkinControlAttribute(831)] + protected + GUILabelControl lbl831 = null; + [SkinControlAttribute(832)] + protected + GUILabelControl lbl832 = null; + [SkinControlAttribute(851)] + protected + GUILabelControl lbl851 = null; + [SkinControlAttribute(852)] + protected + GUILabelControl lbl852 = null; + + [SkinControlAttribute(91)] + protected + GUILabelControl lbl91 = null; + [SkinControlAttribute(92)] + protected + GUILabelControl lbl92 = null; + [SkinControlAttribute(931)] + protected + GUILabelControl lbl931 = null; + [SkinControlAttribute(932)] + protected + GUILabelControl lbl932 = null; + [SkinControlAttribute(951)] + protected + GUILabelControl lbl951 = null; + [SkinControlAttribute(952)] + protected + GUILabelControl lbl952 = null; + + + + OpenLiga.Sportsdata service = new OpenLiga.Sportsdata(); + ArrayList MyLabel = new ArrayList(); + + + public override bool Init() + { + return Load(GUIGraphicsContext.Skin + @"\MPPlugin.xml"); + } + + public Class1() + { + + } + + #region ISetupForm Members + + // Returns the name of the plugin which is shown in the plugin menu + public string PluginName() + { + return "MPPlugin"; + } + + // Returns the description of the plugin is shown in the plugin menu + public string Description() + { + return "My first Plugin"; + } + + // Returns the author of the plugin which is shown in the plugin menu + public string Author() + { + return "weissollo"; + } + + // show the setup dialog + public void ShowPlugin() + { + MessageBox.Show("Nothing to configure, this is just an example"); + } + + // Indicates whether plugin can be enabled/disabled + public bool CanEnable() + { + return true; + } + + // Get Windows-ID + public int GetWindowId() + { + // WindowID of windowplugin belonging to this setup + // enter your own unique code + return 82084; + } + + // Indicates if plugin is enabled by default; + public bool DefaultEnabled() + { + return true; + } + + // indicates if a plugin has it's own setup screen + public bool HasSetup() + { + return true; + } + + /// <summary> + /// If the plugin should have it's own button on the main menu of MediaPortal then it + /// should return true to this method, otherwise if it should not be on home + /// it should return false + /// </summary> + /// <param name="strButtonText">text the button should have</param> + /// <param name="strButtonImage">image for the button, or empty for default</param> + /// <param name="strButtonImageFocus">image for the button, or empty for default</param> + /// <param name="strPictureImage">subpicture for the button or empty for none</param> + /// <returns>true : plugin needs it's own on home + /// false : plugin does not need it's own buttonbutton on home</returns> + + public bool GetHome(out string strButtonText, out string strButtonImage, + out string strButtonImageFocus, out string strPictureImage) + { + strButtonText = PluginName(); + strButtonImage = String.Empty; + strButtonImageFocus = String.Empty; + strPictureImage = String.Empty; + return true; + } + + // With GetID it will be an window-plugin / otherwise a process-plugin + // Enter the id number here again + public override int GetID + { + get + { + return 82084; + } + + set + { + + } + } + + + #endregion + + #region Select Group league Saison + + string GroupOrder; + public void Select_GroupOrder() + { + VirtualKeyboard keyboard = (VirtualKeyboard)GUIWindowManager.GetWindow((int)GUIWindow.Window.WINDOW_VIRTUAL_KEYBOARD); + if (null == keyboard) + return; + + keyboard.Reset(); + keyboard.DoModal(GetID); + if (keyboard.IsConfirmed) + { + GroupOrder = keyboard.Text; + } + } + + string league; + public void Select_league() + { + VirtualKeyboard keyboard = (VirtualKeyboard)GUIWindowManager.GetWindow((int)GUIWindow.Window.WINDOW_VIRTUAL_KEYBOARD); + if (null == keyboard) + return; + + keyboard.Reset(); + keyboard.DoModal(GetID); + if (keyboard.IsConfirmed) + { + league = keyboard.Text; + } + } + + string saison; + public void Select_saison() + { + VirtualKeyboard keyboard = (VirtualKeyboard)GUIWindowManager.GetWindow((int)GUIWindow.Window.WINDOW_VIRTUAL_KEYBOARD); + if (null == keyboard) + return; + + keyboard.Reset(); + keyboard.DoModal(GetID); + if (keyboard.IsConfirmed) + { + saison = keyboard.Text; + } + } + + + + + + + + #endregion + + + + protected override void OnPageLoad() + { + Select_GroupOrder(); + Select_league(); + Select_saison(); + GetData(); + } + + //First number is the line + //1: Date + //2: Time + //3: Name Team + //5: Score Team + + + + public void GetData() + { + + + + #region Schreibe Daten in Array + String[] Date = new String[10]; + String[] Time = new String[10]; + String[] NameTeam1 = new String[10]; + String[] NameTeam2 = new String[10]; + String[] ScoreTeam1 = new String[10]; + String[] ScoreTeam2 = new String[10]; + int i = 1; + + + + foreach (OpenLiga.Matchdata Matchdata in + service.GetMatchdataByGroupLeagueSaison + (Convert.ToInt32(GroupOrder), league, saison)) + { + + Date[i] = Convert.ToString(Matchdata.matchDateTime.Date.DayOfWeek + ", " + + Matchdata.matchDateTime.Date.Day + "." + + Matchdata.matchDateTime.Date.Month + "." + + Matchdata.matchDateTime.Date.Year); + NameTeam1[i] = Convert.ToString(Matchdata.nameTeam1); + NameTeam2[i] = Convert.ToString(Matchdata.nameTeam2); + ScoreTeam1[i] = Convert.ToString(Matchdata.pointsTeam1); + ScoreTeam2[i] = Convert.ToString(Matchdata.pointsTeam2); + i = i + 1; + } + + + #endregion + + + #region Schreibe nach Mediaportal + + + + lbl11.Label = Date[1]; + lbl12.Label = Time[1]; + lbl131.Label = NameTeam1[1]; + lbl132.Label = NameTeam2[1]; + lbl151.Label = ScoreTeam1[1]; + lbl152.Label = ScoreTeam2[1]; + + lbl21.Label = Date[2]; + lbl22.Label = Time[2]; + lbl231.Label = NameTeam1[2]; + lbl232.Label = NameTeam2[2]; + lbl251.Label = ScoreTeam1[2]; + lbl252.Label = ScoreTeam2[2]; + + lbl31.Label = Date[3]; + lbl32.Label = Time[3]; + lbl331.Label = NameTeam1[3]; + lbl332.Label = NameTeam2[3]; + lbl351.Label = ScoreTeam1[3]; + lbl352.Label = ScoreTeam2[3]; + + lbl41.Label = Date[4]; + lbl42.Label = Time[4]; + lbl431.Label = NameTeam1[4]; + lbl432.Label = NameTeam2[4]; + lbl451.Label = ScoreTeam1[4]; + lbl452.Label = ScoreTeam2[4]; + + lbl51.Label = Date[5]; + lbl52.Label = Time[5]; + lbl531.Label = NameTeam1[5]; + lbl532.Label = NameTeam2[5]; + lbl551.Label = ScoreTeam1[5]; + lbl552.Label = ScoreTeam2[5]; + + lbl61.Label = Date[6]; + lbl62.Label = Time[6]; + lbl631.Label = NameTeam1[6]; + lbl632.Label = NameTeam2[6]; + lbl651.Label = ScoreTeam1[6]; + lbl652.Label = ScoreTeam2[6]; + + lbl71.Label = Date[7]; + lbl72.Label = Time[7]; + lbl731.Label = NameTeam1[7]; + lbl732.Label = NameTeam2[7]; + lbl751.Label = ScoreTeam1[7]; + lbl752.Label = ScoreTeam2[7]; + + lbl81.Label = Date[8]; + lbl82.Label = Time[8]; + lbl831.Label = NameTeam1[8]; + lbl832.Label = NameTeam2[8]; + lbl851.Label = ScoreTeam1[8]; + lbl852.Label = ScoreTeam2[8]; + + lbl91.Label = Date[9]; + lbl92.Label = Time[9]; + lbl931.Label = NameTeam1[9]; + lbl932.Label = NameTeam2[9]; + lbl951.Label = ScoreTeam1[9]; + lbl952.Label = ScoreTeam2[9]; + + + + + + + + #endregion + + + + + } + } +} Added: trunk/plugins/Test/First Try/MPPlugin/ClassDiagram1.cd =================================================================== --- trunk/plugins/Test/First Try/MPPlugin/ClassDiagram1.cd (rev 0) +++ trunk/plugins/Test/First Try/MPPlugin/ClassDiagram1.cd 2009-03-03 12:14:25 UTC (rev 2690) @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="utf-8"?> +<ClassDiagram MajorVersion="1" MinorVersion="1" GroupingSetting="Alphabetical" MembersFormat="FullSignature"> + <Class Name="MPPlugin.Class1"> + <Position X="1.75" Y="0.5" Width="1.5" /> + <TypeIdentifier> + <HashCode>QD8AABAAMNgvAAH/wAAAgIJfYAAEAAAAAECCBAAABMA=</HashCode> + <FileName>Class1.cs</FileName> + </TypeIdentifier> + <Lollipop Position="0.2" /> + </Class> + <Class Name="MPPlugin.Properties.Settings" Collapsed="true"> + <Position X="4.25" Y="1.75" Width="1.75" /> + <TypeIdentifier> + <HashCode>AAAAAAAAAAAAAAAAIAAAIAAAAAABAAAAAAAAAAAAAAA=</HashCode> + </TypeIdentifier> + </Class> + <Font Name="Segoe UI" Size="9" /> +</ClassDiagram> \ No newline at end of file Added: trunk/plugins/Test/First Try/MPPlugin/MPPlugin.csproj =================================================================== --- trunk/plugins/Test/First Try/MPPlugin/MPPlugin.csproj (rev 0) +++ trunk/plugins/Test/First Try/MPPlugin/MPPlugin.csproj 2009-03-03 12:14:25 UTC (rev 2690) @@ -0,0 +1,120 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> + <ProductVersion>9.0.30729</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{ED04CD5D-D1CF-46C1-AFB5-B7F329256A00}</ProjectGuid> + <OutputType>Library</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>MPPlugin</RootNamespace> + <AssemblyName>MPPlugin</AssemblyName> + <TargetFrameworkVersion>v2.0</TargetFrameworkVersion> + <FileAlignment>512</FileAlignment> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> + <DebugSymbols>true</DebugSymbols> + <DebugType>full</DebugType> + <Optimize>false</Optimize> + <OutputPath>bin\Debug\</OutputPath> + <DefineConstants>DEBUG;TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + <AllowUnsafeBlocks>false</AllowUnsafeBlocks> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> + <DebugType>pdbonly</DebugType> + <Optimize>true</Optimize> + <OutputPath>bin\Release\</OutputPath> + <DefineConstants>TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + <AllowUnsafeBlocks>false</AllowUnsafeBlocks> + </PropertyGroup> + <ItemGroup> + <Reference Include="Core, Version=0.9.4.31350, Culture=neutral, processorArchitecture=x86"> + <SpecificVersion>False</SpecificVersion> + <HintPath>C:\Program Files (x86)\Team MediaPortal\MediaPortal\Core.dll</HintPath> + </Reference> + <Reference Include="Dialogs, Version=0.9.4.31361, Culture=neutral, processorArchitecture=x86"> + <SpecificVersion>False</SpecificVersion> + <HintPath>C:\Program Files (x86)\Team MediaPortal\MediaPortal\plugins\Windows\Dialogs.dll</HintPath> + </Reference> + <Reference Include="System" /> + <Reference Include="System.Data" /> + <Reference Include="System.EnterpriseServices" /> + <Reference Include="System.Web.Services" /> + <Reference Include="System.Windows.Forms" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="Class1.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + <Compile Include="Properties\Settings.Designer.cs"> + <AutoGen>True</AutoGen> + <DesignTimeSharedInput>True</DesignTimeSharedInput> + <DependentUpon>Settings.settings</DependentUpon> + </Compile> + <Compile Include="Web References\OpenLiga\Reference.cs"> + <AutoGen>True</AutoGen> + <DesignTime>True</DesignTime> + <DependentUpon>Reference.map</DependentUpon> + </Compile> + </ItemGroup> + <ItemGroup> + <WebReferences Include="Web References\" /> + </ItemGroup> + <ItemGroup> + <WebReferenceUrl Include="http://www.openligadb.de/Webservices/Sportsdata.asmx%3fWSDL"> + <UrlBehavior>Dynamic</UrlBehavior> + <RelPath>Web References\OpenLiga\</RelPath> + <UpdateFromURL>http://www.openligadb.de/Webservices/Sportsdata.asmx%3fWSDL</UpdateFromURL> + <ServiceLocationURL> + </ServiceLocationURL> + <CachedDynamicPropName> + </CachedDynamicPropName> + <CachedAppSettingsObjectName>Settings</CachedAppSettingsObjectName> + <CachedSettingsPropName>MPPlugin_de_openligadb_www_Sportsdata</CachedSettingsPropName> + </WebReferenceUrl> + </ItemGroup> + <ItemGroup> + <None Include="app.config" /> + <None Include="ClassDiagram1.cd" /> + <None Include="Properties\Settings.settings"> + <Generator>SettingsSingleFileGenerator</Generator> + <LastGenOutput>Settings.Designer.cs</LastGenOutput> + </None> + <None Include="Web References\OpenLiga\Fussballdaten1.datasource"> + <DependentUpon>Reference.map</DependentUpon> + </None> + <None Include="Web References\OpenLiga\Group1.datasource"> + <DependentUpon>Reference.map</DependentUpon> + </None> + <None Include="Web References\OpenLiga\League1.datasource"> + <DependentUpon>Reference.map</DependentUpon> + </None> + <None Include="Web References\OpenLiga\Matchdata1.datasource"> + <DependentUpon>Reference.map</DependentUpon> + </None> + <None Include="Web References\OpenLiga\Reference.map"> + <Generator>MSDiscoCodeGenerator</Generator> + <LastGenOutput>Reference.cs</LastGenOutput> + </None> + <None Include="Web References\OpenLiga\Sports1.datasource"> + <DependentUpon>Reference.map</DependentUpon> + </None> + <None Include="Web References\OpenLiga\Sportsdata.wsdl" /> + <None Include="Web References\OpenLiga\Team1.datasource"> + <DependentUpon>Reference.map</DependentUpon> + </None> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <!-- 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> \ No newline at end of file Added: trunk/plugins/Test/First Try/MPPlugin/MPPlugin.csproj.user =================================================================== --- trunk/plugins/Test/First Try/MPPlugin/MPPlugin.csproj.user (rev 0) +++ trunk/plugins/Test/First Try/MPPlugin/MPPlugin.csproj.user 2009-03-03 12:14:25 UTC (rev 2690) @@ -0,0 +1,20 @@ +<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> + <StartWorkingDirectory> + </StartWorkingDirectory> + <RemoteDebugEnabled>false</RemoteDebugEnabled> + <StartAction>Project</StartAction> + <StartProgram>C:\Program Files (x86)\Team MediaPortal\MediaPortal\MediaPortal.exe</StartProgram> + <EnableUnmanagedDebugging>true</EnableUnmanagedDebugging> + <StartURL>C:\Program Files (x86)\Team MediaPortal\MediaPortal\</StartURL> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> + <StartWorkingDirectory> + </StartWorkingDirectory> + <RemoteDebugEnabled>false</RemoteDebugEnabled> + <StartAction>Project</StartAction> + <StartProgram>C:\Program Files (x86)\Team MediaPortal\MediaPortal\MediaPortal.exe</StartProgram> + <EnableUnmanagedDebugging>true</EnableUnmanagedDebugging> + <StartURL>C:\Program Files (x86)\Team MediaPortal\MediaPortal\</StartURL> + </PropertyGroup> +</Project> \ No newline at end of file Added: trunk/plugins/Test/First Try/MPPlugin/Properties/AssemblyInfo.cs =================================================================== --- trunk/plugins/Test/First Try/MPPlugin/Properties/AssemblyInfo.cs (rev 0) +++ trunk/plugins/Test/First Try/MPPlugin/Properties/AssemblyInfo.cs 2009-03-03 12:14:25 UTC (rev 2690) @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// Allgemeine Informationen über eine Assembly werden über die folgenden +// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern, +// die mit einer Assembly verknüpft sind. +[assembly: AssemblyTitle("MPPlugin")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("MPPlugin")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2008")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Durch Festlegen von ComVisible auf "false" werden die Typen in dieser Assembly unsichtbar +// für COM-Komponenten. Wenn Sie auf einen Typ in dieser Assembly von +// COM zugreifen müssen, legen Sie das ComVisible-Attribut für diesen Typ auf "true" fest. +[assembly: ComVisible(false)] + +// Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird +[assembly: Guid("c8c020fb-830e-4c6d-a7de-edf54e607606")] + +// Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten: +// +// Hauptversion +// Nebenversion +// Buildnummer +// Revision +// +// Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern +// übernehmen, indem Sie "*" eingeben: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] Added: trunk/plugins/Test/First Try/MPPlugin/Properties/Settings.Designer.cs =================================================================== --- trunk/plugins/Test/First Try/MPPlugin/Properties/Settings.Designer.cs (rev 0) +++ trunk/plugins/Test/First Try/MPPlugin/Properties/Settings.Designer.cs 2009-03-03 12:14:25 UTC (rev 2690) @@ -0,0 +1,36 @@ +//------------------------------------------------------------------------------ +// <auto-generated> +// Dieser Code wurde von einem Tool generiert. +// Laufzeitversion:2.0.50727.1434 +// +// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn +// der Code erneut generiert wird. +// </auto-generated> +//------------------------------------------------------------------------------ + +namespace MPPlugin.Properties { + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "9.0.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default { + get { + return defaultInstance; + } + } + + [global::System.Configuration.ApplicationScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.WebServiceUrl)] + [global::System.Configuration.DefaultSettingValueAttribute("http://www.openligadb.de/Webservices/Sportsdata.asmx")] + public string MPPlugin_de_openligadb_www_Sportsdata { + get { + return ((string)(this["MPPlugin_de_openligadb_www_Sportsdata"])); + } + } + } +} Added: trunk/plugins/Test/First Try/MPPlugin/Properties/Settings.settings =================================================================== --- trunk/plugins/Test/First Try/MPPlugin/Properties/Settings.settings (rev 0) +++ trunk/plugins/Test/First Try/MPPlugin/Properties/Settings.settings 2009-03-03 12:14:25 UTC (rev 2690) @@ -0,0 +1,9 @@ +<?xml version='1.0' encoding='utf-8'?> +<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="MPPlugin.Properties" GeneratedClassName="Settings"> + <Profiles /> + <Settings> + <Setting Name="MPPlugin_de_openligadb_www_Sportsdata" Type="(Web Service URL)" Scope="Application"> + <Value Profile="(Default)">http://www.openligadb.de/Webservices/Sportsdata.asmx</Value> + </Setting> + </Settings> +</SettingsFile> \ No newline at end of file Added: trunk/plugins/Test/First Try/MPPlugin/Web References/OpenLiga/Fussballdaten1.datasource =================================================================== --- trunk/plugins/Test/First Try/MPPlugin/Web References/OpenLiga/Fussballdaten1.datasource (rev 0) +++ trunk/plugins/Test/First Try/MPPlugin/Web References/OpenLiga/Fussballdaten1.datasource 2009-03-03 12:14:25 UTC (rev 2690) @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="Fussballdaten" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>MPPlugin.OpenLiga.Fussballdaten, Web References.OpenLiga.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource> \ No newline at end of file Added: trunk/plugins/Test/First Try/MPPlugin/Web References/OpenLiga/Group1.datasource =================================================================== --- trunk/plugins/Test/First Try/MPPlugin/Web References/OpenLiga/Group1.datasource (rev 0) +++ trunk/plugins/Test/First Try/MPPlugin/Web References/OpenLiga/Group1.datasource 2009-03-03 12:14:25 UTC (rev 2690) @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="Group" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>MPPlugin.OpenLiga.Group, Web References.OpenLiga.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource> \ No newline at end of file Added: trunk/plugins/Test/First Try/MPPlugin/Web References/OpenLiga/League1.datasource =================================================================== --- trunk/plugins/Test/First Try/MPPlugin/Web References/OpenLiga/League1.datasource (rev 0) +++ trunk/plugins/Test/First Try/MPPlugin/Web References/OpenLiga/League1.datasource 2009-03-03 12:14:25 UTC (rev 2690) @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="League" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>MPPlugin.OpenLiga.League, Web References.OpenLiga.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource> \ No newline at end of file Added: trunk/plugins/Test/First Try/MPPlugin/Web References/OpenLiga/Matchdata1.datasource =================================================================== --- trunk/plugins/Test/First Try/MPPlugin/Web References/OpenLiga/Matchdata1.datasource (rev 0) +++ trunk/plugins/Test/First Try/MPPlugin/Web References/OpenLiga/Matchdata1.datasource 2009-03-03 12:14:25 UTC (rev 2690) @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="Matchdata" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>MPPlugin.OpenLiga.Matchdata, Web References.OpenLiga.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource> \ No newline at end of file Added: trunk/plugins/Test/First Try/MPPlugin/Web References/OpenLiga/Reference.cs =================================================================== --- trunk/plugins/Test/First Try/MPPlugin/Web References/OpenLiga/Reference.cs (rev 0) +++ trunk/plugins/Test/First Try/MPPlugin/Web References/OpenLiga/Reference.cs 2009-03-03 12:14:25 UTC (rev 2690) @@ -0,0 +1,1614 @@ +//------------------------------------------------------------------------------ +// <auto-generated> +// Dieser Code wurde von einem Tool generiert. +// Laufzeitversion:2.0.50727.3053 +// +// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn +// der Code erneut generiert wird. +// </auto-generated> +//------------------------------------------------------------------------------ + +// +// Der Quellcode wurde automatisch mit Microsoft.VSDesigner generiert. Version 2.0.50727.3053. +// +#pragma warning disable 1591 + +namespace MPPlugin.OpenLiga { + using System.Diagnostics; + using System.Web.Services; + using System.ComponentModel; + using System.Web.Services.Protocols; + using System; + using System.Xml.Serialization; + + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Web.Services.WebServiceBindingAttribute(Name="SportsdataSoap", Namespace="http://msiggi.de/Sportsdata/Webservices")] + public partial class Sportsdata : System.Web.Services.Protocols.SoapHttpClientProtocol { + + private System.Threading.SendOrPostCallback GetAvailLeaguesOperationCompleted; + + private System.Threading.SendOrPostCallback GetNextMatchOperationCompleted; + + private System.Threading.SendOrPostCallback GetLastMatchOperationCompleted; + + private System.Threading.SendOrPostCallback GetCurrentGroupOrderIDOperationCompleted; + + private System.Threading.SendOrPostCallback GetMatchdataByGroupLeagueSaisonOperationCompleted; + + private System.Threading.SendOrPostCallback GetMatchdataByLeagueDateTimeOperationCompleted; + + private System.Threading.SendOrPostCallback GetMatchdataByTeamsOperationCompleted; + + private System.Threading.SendOrPostCallback GetMatchdataByLeagueSaisonOperationCompleted; + + private System.Threading.SendOrPostCallback GetMatchdataByGroupLeagueSaisonJSONOperationCompleted; + + private System.Threading.SendOrPostCallback GetFusballdatenOperationCompleted; + + private System.Threading.SendOrPostCallback GetMatchByMatchIDOperationCompleted; + + private System.Threading.SendOrPostCallback GetTeamsByLeagueSaisonOperationCompleted; + + private System.Threading.SendOrPostCallback GetAvailGroupsOperationCompleted; + + private System.Threading.SendOrPostCallback GetAvailSportsOperationCompleted; + + private System.Threading.SendOrPostCallback GetAvailLeaguesBySportsOperationCompleted; + + private bool useDefaultCredentialsSetExplicitly; + + /// <remarks/> + public Sportsdata() { + this.Url = global::MPPlugin.Properties.Settings.Default.MPPlugin_de_openligadb_www_Sportsdata; + if ((this.IsLocalFileSystemWebService(this.Url) == true)) { + this.UseDefaultCredentials = true; + this.useDefaultCredentialsSetExplicitly = false; + } + else { + this.useDefaultCredentialsSetExplicitly = true; + } + } + + public new string Url { + get { + return base.Url; + } + set { + if ((((this.IsLocalFileSystemWebService(base.Url) == true) + && (this.useDefaultCredentialsSetExplicitly == false)) + && (this.IsLocalFileSystemWebService(value) == false))) { + base.UseDefaultCredentials = false; + } + base.Url = value; + } + } + + public new bool UseDefaultCredentials { + get { + return base.UseDefaultCredentials; + } + set { + base.UseDefaultCredentials = value; + this.useDefaultCredentialsSetExplicitly = true; + } + } + + /// <remarks/> + public event GetAvailLeaguesCompletedEventHandler GetAvailLeaguesCompleted; + + /// <remarks/> + public event GetNextMatchCompletedEventHandler GetNextMatchCompleted; + + /// <remarks/> + public event GetLastMatchCompletedEventHandler GetLastMatchCompleted; + + /// <remarks/> + public event GetCurrentGroupOrderIDCompletedEventHandler GetCurrentGroupOrderIDCompleted; + + /// <remarks/> + public event GetMatchdataByGroupLeagueSaisonCompletedEventHandler GetMatchdataByGroupLeagueSaisonCompleted; + + /// <remarks/> + public event GetMatchdataByLeagueDateTimeCompletedEventHandler GetMatchdataByLeagueDateTimeCompleted; + + /// <remarks/> + public event GetMatchdataByTeamsCompletedEventHandler GetMatchdataByTeamsCompleted; + + /// <remarks/> + public event GetMatchdataByLeagueSaisonCompletedEventHandler GetMatchdataByLeagueSaisonCompleted; + + /// <remarks/> + public event GetMatchdataByGroupLeagueSaisonJSONCompletedEventHandler GetMatchdataByGroupLeagueSaisonJSONCompleted; + + /// <remarks/> + public event GetFusballdatenCompletedEventHandler GetFusballdatenCompleted; + + /// <remarks/> + public event GetMatchByMatchIDCompletedEventHandler GetMatchByMatchIDCompleted; + + /// <remarks/> + public event GetTeamsByLeagueSaisonCompletedEventHandler GetTeamsByLeagueSaisonCompleted; + + /// <remarks/> + public event GetAvailGroupsCompletedEventHandler GetAvailGroupsCompleted; + + /// <remarks/> + public event GetAvailSportsCompletedEventHandler GetAvailSportsCompleted; + + /// <remarks/> + public event GetAvailLeaguesBySportsCompletedEventHandler GetAvailLeaguesBySportsCompleted; + + /// <remarks/> + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://msiggi.de/Sportsdata/Webservices/GetAvailLeagues", RequestNamespace="http://msiggi.de/Sportsdata/Webservices", ResponseNamespace="http://msiggi.de/Sportsdata/Webservices", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + [return: System.Xml.Serialization.XmlArrayItemAttribute(IsNullable=false)] + public League[] GetAvailLeagues() { + object[] results = this.Invoke("GetAvailLeagues", new object[0]); + return ((League[])(results[0])); + } + + /// <remarks/> + public void GetAvailLeaguesAsync() { + this.GetAvailLeaguesAsync(null); + } + + /// <remarks/> + public void GetAvailLeaguesAsync(object userState) { + if ((this.GetAvailLeaguesOperationCompleted == null)) { + this.GetAvailLeaguesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetAvailLeaguesOperationCompleted); + } + this.InvokeAsync("GetAvailLeagues", new object[0], this.GetAvailLeaguesOperationCompleted, userState); + } + + private void OnGetAvailLeaguesOperationCompleted(object arg) { + if ((this.GetAvailLeaguesCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetAvailLeaguesCompleted(this, new GetAvailLeaguesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// <remarks/> + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://msiggi.de/Sportsdata/Webservices/GetNextMatch", RequestNamespace="http://msiggi.de/Sportsdata/Webservices", ResponseNamespace="http://msiggi.de/Sportsdata/Webservices", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public Matchdata GetNextMatch(string leagueShortcut) { + object[] results = this.Invoke("GetNextMatch", new object[] { + leagueShortcut}); + return ((Matchdata)(results[0])); + } + + /// <remarks/> + public void GetNextMatchAsync(string leagueShortcut) { + this.GetNextMatchAsync(leagueShortcut, null); + } + + /// <remarks/> + public void GetNextMatchAsync(string leagueShortcut, object userState) { + if ((this.GetNextMatchOperationCompleted == null)) { + this.GetNextMatchOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetNextMatchOperationCompleted); + } + this.InvokeAsync("GetNextMatch", new object[] { + leagueShortcut}, this.GetNextMatchOperationCompleted, userState); + } + + private void OnGetNextMatchOperationCompleted(object arg) { + if ((this.GetNextMatchCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetNextMatchCompleted(this, new GetNextMatchCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// <remarks/> + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://msiggi.de/Sportsdata/Webservices/GetLastMatch", RequestNamespace="http://msiggi.de/Sportsdata/Webservices", ResponseNamespace="http://msiggi.de/Sportsdata/Webservices", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public Matchdata GetLastMatch(string leagueShortcut) { + object[] results = this.Invoke("GetLastMatch", new object[] { + leagueShortcut}); + return ((Matchdata)(results[0])); + } + + /// <remarks/> + public void GetLastMatchAsync(string leagueShortcut) { + this.GetLastMatchAsync(leagueShortcut, null); + } + + /// <remarks/> + public void GetLastMatchAsync(string leagueShortcut, object userState) { + if ((this.GetLastMatchOperationCompleted == null)) { + this.GetLastMatchOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetLastMatchOperationCompleted); + } + this.InvokeAsync("GetLastMatch", new object[] { + leagueShortcut}, this.GetLastMatchOperationCompleted, userState); + } + + private void OnGetLastMatchOperationCompleted(object arg) { + if ((this.GetLastMatchCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetLastMatchCompleted(this, new GetLastMatchCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// <remarks/> + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://msiggi.de/Sportsdata/Webservices/GetCurrentGroupOrderID", RequestNamespace="http://msiggi.de/Sportsdata/Webservices", ResponseNamespace="http://msiggi.de/Sportsdata/Webservices", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public int GetCurrentGroupOrderID(string leagueShortcut) { + object[] results = this.Invoke("GetCurrentGroupOrderID", new object[] { + leagueShortcut}); + return ((int)(results[0])); + } + + /// <remarks/> + public void GetCurrentGroupOrderIDAsync(string leagueShortcut) { + this.GetCurrentGroupOrderIDAsync(leagueShortcut, null); + } + + /// <remarks/> + public void GetCurrentGroupOrderIDAsync(string leagueShortcut, object userState) { + if ((this.GetCurrentGroupOrderIDOperationCompleted == null)) { + this.GetCurrentGroupOrderIDOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetCurrentGroupOrderIDOperationCompleted); + } + this.InvokeAsync("GetCurrentGroupOrderID", new object[] { + leagueShortcut}, this.GetCurrentGroupOrderIDOperationCompleted, userState); + } + + private void OnGetCurrentGroupOrderIDOperationCompleted(object arg) { + if ((this.GetCurrentGroupOrderIDCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetCurrentGroupOrderIDCompleted(this, new GetCurrentGroupOrderIDCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// <remarks/> + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://msiggi.de/Sportsdata/Webservices/GetMatchdataByGroupLeagueSaison", RequestNamespace="http://msiggi.de/Sportsdata/Webservices", ResponseNamespace="http://msiggi.de/Sportsdata/Webservices", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + [return: System.Xml.Serialization.XmlArrayItemAttribute(IsNullable=false)] + public Matchdata[] GetMatchdataByGroupLeagueSaison(int groupOrderID, string leagueShortcut, string leagueSaison) { + object[] results = this.Invoke("GetMatchdataByGroupLeagueSaison", new object[] { + groupOrderID, + leagueShortcut, + leagueSaison}); + return ((Matchdata[])(results[0])); + } + + /// <remarks/> + public void GetMatchdataByGroupLeagueSaisonAsync(int groupOrderID, string leagueShortcut, string leagueSaison) { + this.GetMatchdataByGroupLeagueSaisonAsync(groupOrderID, leagueShortcut, leagueSaison, null); + } + + /// <remarks/> + public void GetMatchdataByGroupLeagueSaisonAsync(int groupOrderID, string leagueShortcut, string leagueSaison, object userState) { + if ((this.GetMatchdataByGroupLeagueSaisonOperationCompleted == null)) { + this.GetMatchdataByGroupLeagueSaisonOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetMatchdataByGroupLeagueSaisonOperationCompleted); + } + this.InvokeAsync("GetMatchdataByGroupLeagueSaison", new object[] { + groupOrderID, + leagueShortcut, + leagueSaison}, this.GetMatchdataByGroupLeagueSaisonOperationCompleted, userState); + } + + private void OnGetMatchdataByGroupLeagueSaisonOperationCompleted(object arg) { + if ((this.GetMatchdataByGroupLeagueSaisonCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetMatchdataByGroupLeagueSaisonCompleted(this, new GetMatchdataByGroupLeagueSaisonCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// <remarks/> + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://msiggi.de/Sportsdata/Webservices/GetMatchdataByLeagueDateTime", RequestNamespace="http://msiggi.de/Sportsdata/Webservices", ResponseNamespace="http://msiggi.de/Sportsdata/Webservices", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + [return: System.Xml.Serialization.XmlArrayItemAttribute(IsNullable=false)] + public Matchdata[] GetMatchdataByLeagueDateTime(System.DateTime fromDateTime, System.DateTime toDateTime, string leagueShortcut) { + object[] results = this.Invoke("GetMatchdataByLeagueDateTime", new object[] { + fromDateTime, + toDateTime, + leagueShortcut}); + return ((Matchdata[])(results[0])); + } + + /// <remarks/> + public void GetMatchdataByLeagueDateTimeAsync(System.DateTime fromDateTime, System.DateTime toDateTime, string leagueShortcut) { + this.GetMatchdataByLeagueDateTimeAsync(fromDateTime, toDateTime, leagueShortcut, null); + } + + /// <remarks/> + public void GetMatchdataByLeagueDateTimeAsync(System.DateTime fromDateTime, System.DateTime toDateTime, string leagueShortcut, object userState) { + if ((this.GetMatchdataByLeagueDateTimeOperationCompleted == null)) { + this.GetMatchdataByLeagueDateTimeOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetMatchdataByLeagueDateTimeOperationCompleted); + } + this.InvokeAsync("GetMatchdataByLeagueDateTime", new object[] { + fromDateTime, + toDateTime, + leagueShortcut}, this.GetMatchdataByLeagueDateTimeOperationCompleted, userState); + } + + private void OnGetMatchdataByLeagueDateTimeOperationCompleted(object arg) { + if ((this.GetMatchdataByLeagueDateTimeCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetMatchdataByLeagueDateTimeCompleted(this, new GetMatchdataByLeagueDateTimeCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// <remarks/> + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://msiggi.de/Sportsdata/Webservices/GetMatchdataByTeams", RequestNamespace="http://msiggi.de/Sportsdata/Webservices", ResponseNamespace="http://msiggi.de/Sportsdata/Webservices", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + [return: System.Xml.Serialization.XmlArrayItemAttribute(IsNullable=false)] + public Matchdata[] GetMatchdataByTeams(int teamID1, int teamID2) { + object[] results = this.Invoke("GetMatchdataByTeams", new object[] { + teamID1, + teamID2}); + return ((Matchdata[])(results[0])); + } + + /// <remarks/> + public void GetMatchdataByTeamsAsync(int teamID1, int teamID2) { + this.GetMatchdataByTeamsAsync(teamID1, teamID2, null); + } + + /// <remarks/> + public void GetMatchdataByTeamsAsync(int teamID1, int teamID2, object userState) { + if ((this.GetMatchdataByTeamsOperationCompleted == null)) { + this.GetMatchdataByTeamsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetMatchdataByTeamsOperationCompleted); + } + this.InvokeAsync("GetMatchdataByTeams", new object[] { + teamID1, + teamID2}, this.GetMatchdataByTeamsOperationCompleted, userState); + } + + private void OnGetMatchdataByTeamsOperationCompleted(object arg) { + if ((this.GetMatchdataByTeamsCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetMatchdataByTeamsCompleted(this, new GetMatchdataByTeamsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// <remarks/> + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://msiggi.de/Sportsdata/Webservices/GetMatchdataByLeagueSaison", RequestNamespace="http://msiggi.de/Sportsdata/Webservices", ResponseNamespace="http://msiggi.de/Sportsdata/Webservices", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + [return: System.Xml.Serialization.XmlArrayItemAttribute(IsNullable=false)] + public Matchdata[] GetMatchdataByLeagueSaison(string leagueShortcut, string leagueSaison) { + object[] results = this.Invoke("GetMatchdataByLeagueSaison", new object[] { + leagueShortcut, + leagueSaison}); + return ((Matchdata[])(results[0])); + } + + /// <remarks/> + public void GetMatchdataByLeagueSaisonAsync(string leagueShortcut, string leagueSaison) { + this.GetMatchdataByLeagueSaisonAsync(leagueShortcut, leagueSaison, null); + } + + /// <remarks/> + public void GetMatchdataByLeagueSaisonAsync(string leagueShortcut, string leagueSaison, object userState) { + if ((this.GetMatchdataByLeagueSaisonOperationCompleted == null)) { + this.GetMatchdataByLeagueSaisonOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetMatchdataByLeagueSaisonOperationCompleted); + } + this.InvokeAsync("GetMatchdataByLeagueSaison", new object[] { + leagueShortcut, + leagueSaison}, this.GetMatchdataByLeagueSaisonOperationCompleted, userState); + } + + private void OnGetMatchdataByLeagueSaisonOperationCompleted(object arg) { + if ((this.GetMatchdataByLeagueSaisonCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetMatchdataByLeagueSaisonCompleted(this, new GetMatchdataByLeagueSaisonCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// <remarks/> + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://msiggi.de/Sportsdata/Webservices/GetMatchdataByGroupLeagueSaisonJSON", RequestNamespace="http://msiggi.de/Sportsdata/Webservices", ResponseNamespace="http://msiggi.de/Sportsdata/Webservices", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public string GetMatchdataByGroupLeagueSaisonJSON(int groupOrderID, string leagueShortcut, string leagueSaison) { + object[] results = this.Invoke("GetMatchdataByGroupLeagueSaisonJSON", new object[] { + groupOrderID, + leagueShortcut, + leagueSaison}); + return ((string)(results[0])); + } + + /// <remarks/> + public void GetMatchdataByGroupLeagueSaisonJSONAsync(int groupOrderID, string leagueShortcut, string leagueSaison) { + this.GetMatchdataByGroupLeagueSaisonJSONAsync(groupOrderID, leagueShortcut, leagueSaison, null); + } + + /// <remarks/> + public void GetMatchdataByGroupLeagueSaisonJSONAsync(int groupOrderID, string leagueShortcut, string leagueSaison, object userState) { + if ((this.GetMatchdataByGroupLeagueSaisonJSONOperationCompleted == null)) { + this.GetMatchdataByGroupLeagueSaisonJSONOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetMatchdataByGroupLeagueSaisonJSONOperationCompleted); + } + this.InvokeAsync("GetMatchdataByGroupLeagueSaisonJSON", new object[] { + groupOrderID, + leagueShortcut, + leagueSaison}, this.GetMatchdataByGroupLeagueSaisonJSONOperationCompleted, userState); + } + + private void OnGetMatchdataByGroupLeagueSaisonJSONOperationCompleted(object arg) { + if ((this.GetMatchdataByGroupLeagueSaisonJSONCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetMatchdataByGroupLeagueSaisonJSONCompleted(this, new GetMatchdataByGroupLeagueSaisonJSONCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// <remarks/> + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://msiggi.de/Sportsdata/Webservices/GetFusballdaten", RequestNamespace="http://msiggi.de/Sportsdata/Webservices", ResponseNamespace="http://msiggi.de/Sportsdata/Webservices", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + [return: System.Xml.Serialization.XmlArrayItemAttribute(IsNullable=false)] + public Fussballdaten[] GetFusballdaten(int Spieltag, string Liga, int Saison, string Userkennung) { + object[] results = this.Invoke("GetFusballdaten", new object[] { + Spieltag, + Liga, + Saison, + Userkennung}); + return ((Fussballdaten[])(results[0])); + } + + /// <remarks/> + public void GetFusballdatenAsync(int Spieltag, string Liga, int Saison, string Userkennung) { + this.GetFusballdatenAsync(Spieltag, Liga, Saison, Userkennung, null); + } + + /// <remarks/> + public void GetFusballdatenAsync(int Spieltag, string Liga, int Saison, string Userkennung, object userStat... [truncated message content] |