Commit c5cdcb92 by wangonghui

CBA集合界面修改

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