Commit c5cdcb92 by wangonghui

CBA集合界面修改

parent b427b58d
......@@ -35,6 +35,7 @@ namespace VIZ.TVP.CBA.Module.DayMatch
public PluginInfo Register()
{
PluginInfo info = new PluginInfo();
info.Group = "CBA";
info.ID = PLUGIN_ID;
info.Name = PLUGIN_NAME;
info.PluginType = PluginType.Page;
......
......@@ -71,8 +71,8 @@
<Button Content="加载数据" Command="{Binding BtnCmd}" HorizontalContentAlignment="Center"
Grid.Column="4" Width="100" Height="30" FontSize="14" />
<Button Content="赛程数据上" Command="{Binding BtnMatchDayUp}" HorizontalContentAlignment="Center"
Grid.Column="5" Width="110" Height="30" FontSize="14" />
<!--<Button Content="赛程数据上" Command="{Binding BtnMatchDayUp}" HorizontalContentAlignment="Center"
Grid.Column="5" Width="110" Height="30" FontSize="14" />-->
</Grid>
</WrapPanel>
<!--<DataGrid AutoGenerateColumns="False" CanUserAddRows="False" CanUserDeleteRows="False" CanUserReorderColumns="False"
......
......@@ -38,6 +38,7 @@ namespace VIZ.TVP.CBA.Module
public PluginInfo Register()
{
PluginInfo info = new PluginInfo();
info.Group = "CBA";
info.ID = PLUGIN_ID;
info.Name = PLUGIN_NAME;
info.PluginType = PluginType.Page;
......
......@@ -125,8 +125,8 @@
HorizontalContentAlignment="Center"
HorizontalAlignment="Center" VerticalAlignment="Center"/>
<Button Content="球员对比上" Command="{Binding PlayerComCommand}" HorizontalContentAlignment="Center"
Grid.Column="5" Grid.Row="3" Width="100" Height="30" FontSize="14"/>
<!--<Button Content="球员对比上" Command="{Binding PlayerComCommand}" HorizontalContentAlignment="Center"
Grid.Column="5" Grid.Row="3" Width="100" Height="30" FontSize="14"/>-->
</Grid>
</WrapPanel>
......
......@@ -758,8 +758,15 @@ namespace VIZ.TVP.CBA.Module
public string CombinePlayerCommand()
{
string data = "";
data += matchStatsId.Replace(" ", "") + "*";
if(matchStatsId!=null)
{
data += matchStatsId.Replace(" ", "") + "*";
}
else
{
data += "7*";
}
data += title.Replace(" ", "") + "*";
data += HName.Replace(" ", "") + "*";
data += HPlayer.Replace(" ", "") + "*";
......
......@@ -36,6 +36,7 @@ namespace VIZ.TVP.CBA.Module
public PluginInfo Register()
{
PluginInfo info = new PluginInfo();
info.Group = "CBA";
info.ID = PLUGIN_ID;
info.Name = PLUGIN_NAME;
info.PluginType = PluginType.Page;
......
......@@ -49,7 +49,7 @@
<!--<TextBlock TextBlock.TextAlignment="Center" Text="球队排行榜" Grid.Column="0" Foreground="White" FontSize="20" Background="Black" Margin="100,0,3,0" Grid.ColumnSpan="2" />-->
<Button Grid.Column="4" Content="刷新" FontSize="14" Height="30" Width="95" Command="{Binding BtnCmd}" />
<Button Grid.Column="5" Content="数据上" FontSize="14" Height="30" Width="95" Command="{Binding BtnCmdUp}" />
<!--<Button Grid.Column="5" Content="数据上" FontSize="14" Height="30" Width="95" Command="{Binding BtnCmdUp}" />-->
</Grid>
</WrapPanel>
......
......@@ -36,6 +36,7 @@ namespace VIZ.TVP.CBA.Module
public PluginInfo Register()
{
PluginInfo info = new PluginInfo();
info.Group = "CBA";
info.ID = PLUGIN_ID;
info.Name = PLUGIN_NAME;
info.PluginType = PluginType.Page;
......
......@@ -134,10 +134,10 @@
HorizontalAlignment="Left" VerticalAlignment="Center" Text="{Binding Title,Mode=TwoWay }"></dxe:TextEdit>
<Button Content="刷新" Command="{Binding BtnCmd}" HorizontalContentAlignment="Center"
Grid.Column="2" Width="95" Height="30" FontSize="14"/>
<Button Content="单人球员" Command="{Binding SingleCommand}" HorizontalContentAlignment="Center"
<!--<Button Content="单人球员" Command="{Binding SingleCommand}" HorizontalContentAlignment="Center"
Grid.Column="3" Width="95" Height="30" FontSize="14"/>
<Button Content="MVP球员" Command="{Binding MVPCommand}" HorizontalContentAlignment="Center"
Grid.Column="4" Width="95" Height="30" FontSize="14"/>
Grid.Column="4" Width="95" Height="30" FontSize="14"/>-->
</Grid>
......
......@@ -1112,7 +1112,16 @@ namespace VIZ.TVP.CBA.Module
{
string data = "";
data += matchStatsId.Replace(" ", "") + "*";
if(matchStatsId!=null)
{
data += matchStatsId.Replace(" ", "") + "*";
}
else
{
data += "7*";
}
data += title.Replace(" ", "") + "*";
data += selectTeamItem.Replace(" ", "") + "*";
data += SelectPlayer.Replace(" ", "") + "&";
......
......@@ -36,6 +36,7 @@ namespace VIZ.TVP.CBA.Module
public PluginInfo Register()
{
PluginInfo info = new PluginInfo();
info.Group = "CBA";
info.ID = PLUGIN_ID;
info.Name = PLUGIN_NAME;
info.PluginType = PluginType.Page;
......
......@@ -42,8 +42,8 @@
HorizontalAlignment="Left" VerticalAlignment="Center" Text="{Binding Title,Mode=TwoWay }"></dxe:TextEdit>
<!--<TextBlock TextBlock.TextAlignment="Center" Text="球队排行榜" Grid.Column="0" Foreground="White" FontSize="20" Background="Black" Margin="100,0,3,0" Grid.ColumnSpan="2" />-->
<Button Grid.Column="3" Content="加载数据" FontSize="14" Width="95" Height="30" Command="{Binding BtnCmd}" />
<Button Grid.Column="4" Content="数据上" FontSize="14" Width="95" Height="30" Command="{Binding BtnCmdTeamStandingUp}" />
<Button Grid.Column="5" Content="下一页数据" FontSize="14" Width="95" Height="30" Command="{Binding BtnCmdNextPage}" />
<!--<Button Grid.Column="4" Content="数据上" FontSize="14" Width="95" Height="30" Command="{Binding BtnCmdTeamStandingUp}" />
<Button Grid.Column="5" Content="下一页数据" FontSize="14" Width="95" Height="30" Command="{Binding BtnCmdNextPage}" />-->
</Grid>
......
......@@ -37,7 +37,10 @@ namespace VIZ.TVP.CBA.Module
public void PreviewContinue(ConnModel conn)
{
if(conn.IsConnected)
{
ApplicationDomainEx.PreviewConn.EndpointManager.Send(VizEngineCommands.STAGE_CONTINUE);
}
}
public void PreviewIn(ConnModel conn)
......
......@@ -20,7 +20,7 @@ namespace VIZ.TVP.CBA.Module
/// <summary>
/// 插件显示名称
/// </summary>
public const string PLUGIN_NAME = "TeamStatsUI";
public const string PLUGIN_NAME = "球队对比数据";
public void Dispose()
{
......@@ -35,6 +35,7 @@ namespace VIZ.TVP.CBA.Module
public PluginInfo Register()
{
PluginInfo info = new PluginInfo();
info.Group = "CBA";
info.ID = PLUGIN_ID;
info.Name = PLUGIN_NAME;
info.PluginType = PluginType.Page;
......
......@@ -109,8 +109,8 @@
<Button Content="刷新" Command="{Binding BtnCommand}" HorizontalContentAlignment="Center"
Grid.Column="0" Width="95" Height="30" FontSize="14"/>
<Button Content="上数据" Command="{Binding BtnCmdUpData}" HorizontalContentAlignment="Center"
Grid.Column="1" Width="95" Height="30" FontSize="14"/>
<!--<Button Content="上数据" Command="{Binding BtnCmdUpData}" HorizontalContentAlignment="Center"
Grid.Column="1" Width="95" Height="30" FontSize="14"/>-->
</Grid>
</WrapPanel>
......
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