Commit 8b840e86 by liulongfei

女足世界杯修改bug

parent 94b1bee9
...@@ -8,7 +8,7 @@ namespace VIZ.TVP.WMCUP.Module ...@@ -8,7 +8,7 @@ namespace VIZ.TVP.WMCUP.Module
{ {
public class PluginConstant public class PluginConstant
{ {
public static string GroupName { get; set; } = "足球"; public static string GroupName { get; set; } = "女足世界杯";
/// <summary> /// <summary>
......
...@@ -15,7 +15,7 @@ namespace VIZ.TVP.WMCUP.Module ...@@ -15,7 +15,7 @@ namespace VIZ.TVP.WMCUP.Module
/// <remarks> /// <remarks>
/// 插件ID不能包含点号 /// 插件ID不能包含点号
/// </remarks> /// </remarks>
public const string PLUGIN_ID = "FDayMatchView"; public const string PLUGIN_ID = "FDayMatchView11";
/// <summary> /// <summary>
/// 插件显示名称 /// 插件显示名称
......
...@@ -15,7 +15,7 @@ namespace VIZ.TVP.WMCUP.Module ...@@ -15,7 +15,7 @@ namespace VIZ.TVP.WMCUP.Module
/// <remarks> /// <remarks>
/// 插件ID不能包含点号 /// 插件ID不能包含点号
/// </remarks> /// </remarks>
public const string PLUGIN_ID = "FTeamStandingView"; public const string PLUGIN_ID = "FTeamStandingView11";
/// <summary> /// <summary>
/// 插件显示名称 /// 插件显示名称
......
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VIZ.Package.Domain;
namespace VIZ.TVP.WMCUP.Module
{
public class HeaderPagePlugin : IPluginLifeCycle
{
/// <summary>
/// 插件ID
/// </summary>
/// <remarks>
/// 插件ID不能包含点号
/// </remarks>
public const string PLUGIN_ID = "FDateHeaderView11";
/// <summary>
/// 插件显示名称
/// </summary>
public const string PLUGIN_NAME = "女足世界杯";
public void Dispose()
{
}
public void Initialize()
{
}
public PluginInfo Register()
{
PluginInfo info = new PluginInfo();
info.Group = PluginConstant.GroupName;
info.ID = PLUGIN_ID;
info.Name = PLUGIN_NAME;
info.PluginType = PluginType.Module;
info.ViewType = typeof(DateHeaderView);
return info;
}
}
}
...@@ -27,9 +27,9 @@ ...@@ -27,9 +27,9 @@
<Grid> <Grid>
<Grid.ColumnDefinitions> <Grid.ColumnDefinitions>
<ColumnDefinition Width="80"/> <ColumnDefinition Width="80"/>
<ColumnDefinition Width="110"/> <ColumnDefinition Width="120"/>
<ColumnDefinition Width="90"/>
<ColumnDefinition Width="90"/> <ColumnDefinition Width="90"/>
<ColumnDefinition Width="40"/>
<ColumnDefinition Width="150"/> <ColumnDefinition Width="150"/>
<ColumnDefinition Width="280"/> <ColumnDefinition Width="280"/>
</Grid.ColumnDefinitions> </Grid.ColumnDefinitions>
......
...@@ -12,6 +12,7 @@ using System.Windows.Media; ...@@ -12,6 +12,7 @@ using System.Windows.Media;
using System.Windows.Media.Imaging; using System.Windows.Media.Imaging;
using System.Windows.Navigation; using System.Windows.Navigation;
using System.Windows.Shapes; using System.Windows.Shapes;
using VIZ.Framework.Core;
namespace VIZ.TVP.WMCUP.Module namespace VIZ.TVP.WMCUP.Module
{ {
...@@ -23,6 +24,10 @@ namespace VIZ.TVP.WMCUP.Module ...@@ -23,6 +24,10 @@ namespace VIZ.TVP.WMCUP.Module
public DateHeaderView() public DateHeaderView()
{ {
InitializeComponent(); InitializeComponent();
//数据的绑定
WPFHelper.BindingViewModel(this, new DateHeaderViewModel());
} }
} }
} }
using System.Reflection; using System.Reflection;
using System.Runtime.CompilerServices; using System.Runtime.CompilerServices;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using VIZ.Framework.Core;
// 有关程序集的一般信息由以下 // 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改 // 控制。更改这些特性值可修改
...@@ -34,3 +35,5 @@ using System.Runtime.InteropServices; ...@@ -34,3 +35,5 @@ using System.Runtime.InteropServices;
// [assembly: AssemblyVersion("1.0.*")] // [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")] [assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")] [assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: ApplicationDllCheck(Key = "V1.2.0.04191103_beta")]
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VIZ.Package.Domain;
namespace VIZ.TVP.WMCUP.Module
{
public class HttpUrlPluginLifeCycle : IPluginLifeCycle
{
/// <summary>
/// 插件ID
/// </summary>
/// <remarks>
/// 插件ID不能包含点号
/// </remarks>
public const string PLUGIN_ID = "FBHttpUrlConfigView11";
/// <summary>
/// 插件名称
/// </summary>
public const string PLUGIN_NAME = "女足世界杯数据访问配置";
/// <summary>
/// 注册
/// </summary>
/// <returns>插件信息</returns>
public PluginInfo Register()
{
PluginInfo info = new PluginInfo();
info.ID = PLUGIN_ID;
info.Name = PLUGIN_NAME;
info.Group = PluginConstant.GroupName;
info.PluginType = PluginType.Setting;
info.ViewType = typeof(HttpUrlConfigView);
return info;
}
/// <summary>
/// 销毁
/// </summary>
public void Dispose()
{
}
}
}
...@@ -12,17 +12,30 @@ using System.Windows.Media; ...@@ -12,17 +12,30 @@ using System.Windows.Media;
using System.Windows.Media.Imaging; using System.Windows.Media.Imaging;
using System.Windows.Navigation; using System.Windows.Navigation;
using System.Windows.Shapes; using System.Windows.Shapes;
using VIZ.Framework.Core;
using VIZ.Package.Domain;
namespace VIZ.TVP.WMCUP.Module namespace VIZ.TVP.WMCUP.Module
{ {
/// <summary> /// <summary>
/// HttpUrlConfigView.xaml 的交互逻辑 /// HttpUrlConfigView.xaml 的交互逻辑
/// </summary> /// </summary>
public partial class HttpUrlConfigView : UserControl public partial class HttpUrlConfigView : UserControl, IPluginSettingView
{ {
public HttpUrlConfigView() public HttpUrlConfigView()
{ {
InitializeComponent(); InitializeComponent();
WPFHelper.BindingViewModel(this, new HttpUrlConfigViewModel());
} }
/// <summary>
/// 调用保存
/// </summary>
public void Save()
{
HttpUrlConfigViewModel vm = this.DataContext as HttpUrlConfigViewModel;
vm.Save();
}
} }
} }
...@@ -16,7 +16,7 @@ namespace VIZ.TVP.WMCUP.Module ...@@ -16,7 +16,7 @@ namespace VIZ.TVP.WMCUP.Module
/// <remarks> /// <remarks>
/// 插件ID不能包含点号 /// 插件ID不能包含点号
/// </remarks> /// </remarks>
public const string PLUGIN_ID = "ShootPlayerRankView"; public const string PLUGIN_ID = "ShootPlayerRankView11";
/// <summary> /// <summary>
/// 插件显示名称 /// 插件显示名称
......
...@@ -55,7 +55,7 @@ namespace VIZ.TVP.WMCUP.Module ...@@ -55,7 +55,7 @@ namespace VIZ.TVP.WMCUP.Module
System.IO.Directory.CreateDirectory(folder); System.IO.Directory.CreateDirectory(folder);
} }
string path = System.IO.Path.Combine(folder, "FootballCache.db"); string path = System.IO.Path.Combine(folder, "WomenFootballCache.db");
log.Error(path); log.Error(path);
localDbContext = new LocalDbContext(path); localDbContext = new LocalDbContext(path);
......
...@@ -20,7 +20,7 @@ namespace VIZ.TVP.WMCUP.Module ...@@ -20,7 +20,7 @@ namespace VIZ.TVP.WMCUP.Module
/// <summary> /// <summary>
/// 地址 /// 地址
/// </summary> /// </summary>
public string Url { get; set; } = "http://180.184.78.246:18080/miku/api/open_api/proxy_api/miku/api/system_base/migu/football/"; public string Url { get; set; } = "https://192.168.208.60:18080/miku/api/open_api/proxy_api/miku/api/system_base/migu/football/";
/// <summary> /// <summary>
/// 应用程序Id /// 应用程序Id
...@@ -41,7 +41,7 @@ namespace VIZ.TVP.WMCUP.Module ...@@ -41,7 +41,7 @@ namespace VIZ.TVP.WMCUP.Module
/// <summary> /// <summary>
/// 地址 /// 地址
/// </summary> /// </summary>
public string BUrl { get; set; } = "http://180.184.78.246:18080/miku/api/open_api/proxy_api/miku/api/system_base/migu/football/"; public string BUrl { get; set; } = "https://192.168.208.61:18080/miku/api/open_api/proxy_api/miku/api/system_base/migu/football/";
/// <summary> /// <summary>
/// 应用程序Id /// 应用程序Id
......
...@@ -89,6 +89,7 @@ ...@@ -89,6 +89,7 @@
<Compile Include="FTeamStandings\View\FTeamStandingView.xaml.cs"> <Compile Include="FTeamStandings\View\FTeamStandingView.xaml.cs">
<DependentUpon>FTeamStandingView.xaml</DependentUpon> <DependentUpon>FTeamStandingView.xaml</DependentUpon>
</Compile> </Compile>
<Compile Include="HeaderPage\HeaderPagePlugin.cs" />
<Compile Include="HeaderPage\ViewModel\DateHeaderViewModel.cs" /> <Compile Include="HeaderPage\ViewModel\DateHeaderViewModel.cs" />
<Compile Include="HeaderPage\View\DateHeaderView.xaml.cs"> <Compile Include="HeaderPage\View\DateHeaderView.xaml.cs">
<DependentUpon>DateHeaderView.xaml</DependentUpon> <DependentUpon>DateHeaderView.xaml</DependentUpon>
...@@ -98,6 +99,7 @@ ...@@ -98,6 +99,7 @@
<DependentUpon>MessageLastRecordDate.xaml</DependentUpon> <DependentUpon>MessageLastRecordDate.xaml</DependentUpon>
</Compile> </Compile>
<Compile Include="Properties\AssemblyInfo.cs" /> <Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Setting\httpUrl\HttpUrlPluginLifeCycle.cs" />
<Compile Include="Setting\httpUrl\ViewModel\HttpUrlConfigViewModel.cs" /> <Compile Include="Setting\httpUrl\ViewModel\HttpUrlConfigViewModel.cs" />
<Compile Include="Setting\httpUrl\View\HttpUrlConfigView.xaml.cs"> <Compile Include="Setting\httpUrl\View\HttpUrlConfigView.xaml.cs">
<DependentUpon>HttpUrlConfigView.xaml</DependentUpon> <DependentUpon>HttpUrlConfigView.xaml</DependentUpon>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment